/* ═══════════════════════════════════════════════════════════════
   WITAN CO. Law Firm — Production Stylesheet
   Brand: Gold #C5A880 | Charcoal #1E1E1E | Cream #FBF9F6
═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --gold:          #C5A880;
  --gold-hover:    #B39268;
  --gold-light:    #DFD0B8;
  --gold-faint:    rgba(197,168,128,0.12);
  --charcoal:      #1E1E1E;
  --charcoal-90:   rgba(30,30,30,0.90);
  --slate:         #2A2A2A;
  --slate-mid:     #3A3A3A;
  --cream:         #FBF9F6;
  --cream-dark:    #F3EFE8;
  --cream-border:  #E8E2D8;
  --ink:           #2C2C2C;
  --ink-soft:      #555555;
  --ink-muted:     #7A7A7A;
  --white:         #FFFFFF;
  --red-err:       #C0392B;

  --font-serif:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic:   'Noto Kufi Arabic', 'Inter', sans-serif;

  --header-h:      76px;
  --max-w:         1280px;
  --px:            clamp(20px, 5vw, 60px);

  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --trans:         0.26s var(--ease);

  --shadow-xs:     0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.14);
  --shadow-xl:     0 32px 80px rgba(0,0,0,0.18);

  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
}

/* ── Base Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[dir="rtl"] body { font-family: var(--font-arabic); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Bilingual Language Visibility ────────────────────────── */
/* Hero headline — class-based, inline spans */
.hero__headline--en { display: inline; }
.hero__headline--ar { display: none; }
[dir="rtl"] .hero__headline--en { display: none; }
[dir="rtl"] .hero__headline--ar { display: inline; }

/* Modal title — class-based, block spans */
.modal__title--en { display: block; }
.modal__title--ar { display: none; }
[dir="rtl"] .modal__title--en { display: none; }
[dir="rtl"] .modal__title--ar { display: block; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0.01em;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 { letter-spacing: 0; }

/* ── Layout ───────────────────────────────────────────────── */
.section-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section-header {
  margin-bottom: 56px;
}
.section-header.centered { text-align: center; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0.05em; }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.section-title.centered { text-align: center; }

.section-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
  margin-top: 12px;
}

.gold-bar {
  width: 48px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
  margin-bottom: 22px;
}
.gold-bar.centered { margin-left: auto; margin-right: auto; }

.body-copy {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--trans), border-color var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
  line-height: 1;
}
[dir="rtl"] .btn { letter-spacing: 0.04em; }

.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197,168,128,0.38);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251,249,246,0.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 40px; font-size: 0.82rem; }
.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(30, 30, 30, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197,168,128,0.16);
  transition: box-shadow var(--trans), background var(--trans);
}
.navbar.scrolled {
  background: rgba(30,30,30,0.99);
  box-shadow: 0 2px 24px rgba(0,0,0,0.40);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  gap: 20px;
}

.navbar__brand { flex-shrink: 0; line-height: 0; }
.navbar__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.navbar__link {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,249,246,0.72);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--trans);
}
[dir="rtl"] .navbar__link { letter-spacing: 0.04em; }
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--trans);
}
[dir="rtl"] .navbar__link::after { transform-origin: right center; }
.navbar__link:hover { color: var(--gold); }
.navbar__link:hover::after { transform: scaleX(1); }

.navbar__controls { display: flex; align-items: center; gap: 14px; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(197,168,128,0.40);
  border-radius: 20px;
  padding: 7px 16px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: rgba(251,249,246,0.65);
  transition: all var(--trans);
  white-space: nowrap;
}
.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,168,128,0.08);
}
.lang-btn__sep { opacity: 0.35; }
.lang-btn__en,
.lang-btn__ar { transition: color var(--trans), font-weight var(--trans); }
.lang-btn__en.active { color: var(--gold); font-weight: 700; }
.lang-btn__ar.active { color: var(--gold); font-weight: 700; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  width: 36px; height: 36px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(251,249,246,0.8);
  border-radius: 1px;
  transition: all var(--trans);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: var(--charcoal);
  border-top: 1px solid rgba(197,168,128,0.14);
  padding: 0 var(--px) 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s var(--ease), padding var(--trans);
}
.mobile-drawer.is-open {
  max-height: 360px;
  padding: 16px var(--px) 28px;
}
.mobile-drawer__link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,249,246,0.70);
  padding: 12px 0;
  border-bottom: 1px solid rgba(197,168,128,0.10);
  transition: color var(--trans);
}
.mobile-drawer__link:last-child { border-bottom: none; }
.mobile-drawer__link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--px) 80px;
  background: linear-gradient(155deg, #141416 0%, #1E1E1E 40%, #222222 70%, #1A1A1A 100%);
  overflow: hidden;
  text-align: center;
}

/* Decorative grid */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,168,128,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,168,128,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(197,168,128,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__overline {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
[dir="rtl"] .hero__overline { letter-spacing: 0.08em; }

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin-bottom: 30px;
}
[dir="rtl"] .hero__headline {
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-style: normal;
  letter-spacing: 0;
  font-family: var(--font-arabic);
}

.hero__body {
  max-width: 680px;
  margin: 0 auto 44px;
  color: rgba(251,249,246,0.62);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-cue span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollCue 2.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
  55%  { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
  100% { opacity: 0;   transform: scaleY(1);   transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════════════
   METRICS STRIP
═══════════════════════════════════════════════════════════════ */
.metrics {
  background: var(--charcoal);
  border-top:    1px solid rgba(197,168,128,0.18);
  border-bottom: 1px solid rgba(197,168,128,0.18);
}
.metrics__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 40px;
  gap: 6px;
}
.metric__num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.metric__label {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,249,246,0.48);
}
[dir="rtl"] .metric__label { letter-spacing: 0.04em; }
.metric__divider {
  width: 1px;
  height: 44px;
  background: rgba(197,168,128,0.20);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about {
  padding: 96px 0;
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.about__emblem-col {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__emblem-frame {
  aspect-ratio: 1;
  background: var(--cream-dark);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about__emblem-img { width: 100%; object-fit: contain; }

.about__badge-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-xs);
}
[dir="rtl"] .about__badge { border-left: none; border-right: 3px solid var(--gold); }

.about__badge-icon { font-size: 1.1rem; flex-shrink: 0; }
.about__badge-text {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(251,249,246,0.72);
  line-height: 1.4;
}

.about__copy {
  padding-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   PRACTICE AREAS
═══════════════════════════════════════════════════════════════ */
.practice {
  padding: 96px 0;
  background: var(--cream-dark);
}

.practice-block {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--cream-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  overflow: hidden;
  transition: box-shadow var(--trans);
}
.practice-block:last-child { margin-bottom: 0; }
.practice-block:hover { box-shadow: var(--shadow-md); }
.practice-block--alt { background: var(--cream); }

.practice-block__header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 44px 0;
}

.practice-block__num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(197,168,128,0.22);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.practice-block__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.practice-block__subtitle {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
}

.practice-block__body {
  padding: 28px 44px 44px;
}

.practice-block__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cream-border);
  max-width: 880px;
}

.practice-block__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}

.practice-block__col-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--gold-light);
}

.practice-block__col-text {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.82;
  margin-bottom: 24px;
}
.practice-block__col-text:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   LEGAL TEAM
═══════════════════════════════════════════════════════════════ */
.team {
  padding: 96px 0;
  background: var(--cream);
}

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

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--cream-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.team-card__avatar {
  background: linear-gradient(148deg, var(--charcoal) 0%, var(--slate) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 0;
  position: relative;
}
.team-card__avatar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.team-card__initials {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(197,168,128,0.50);
  background: rgba(197,168,128,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.team-card__body { padding: 30px 28px 32px; }

.team-card__role {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
[dir="rtl"] .team-card__role { letter-spacing: 0.05em; }

.team-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.team-card__line {
  width: 32px;
  height: 1.5px;
  background: var(--gold-light);
  margin-bottom: 14px;
}

.team-card__spec {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.5;
}

.team-card__bio {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.78;
  margin-bottom: 24px;
}

.team-card__cta { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   CONSULTATION SCHEDULE
═══════════════════════════════════════════════════════════════ */
.schedule {
  padding: 96px 0;
  background: var(--cream-dark);
}

.schedule-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--cream-border);
  box-shadow: var(--shadow-lg);
  padding: 56px 60px;
  max-width: 960px;
  margin: 0 auto;
}

/* Form structure */
.schedule-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  gap: 20px;
}
.form-row--2 { }
.form-row--2 > * { flex: 1 1 0; }
.form-row--3 > * { flex: 1 1 0; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { flex: 1; }

.form-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
[dir="rtl"] .form-label { letter-spacing: 0.04em; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  -webkit-appearance: none;
  appearance: none;
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover { border-color: var(--gold-light); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197,168,128,0.14);
}

/* Custom select arrow */
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink-muted);
  pointer-events: none;
}
[dir="rtl"] .select-wrap::after { right: auto; left: 14px; }
.select-wrap .form-select { padding-right: 36px; }
[dir="rtl"] .select-wrap .form-select { padding-right: 14px; padding-left: 36px; }

/* Date input coloring */
input[type="date"] { color-scheme: light; }

.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.field-error {
  font-size: 0.74rem;
  color: var(--red-err);
  font-weight: 500;
  min-height: 1em;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.form-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
  font-size: 0.80rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.icon-lock {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   SECURE COMMUNICATIONS PANEL
═══════════════════════════════════════════════════════════════ */
.comms {
  padding: 96px 0;
  background: linear-gradient(148deg, var(--charcoal) 0%, #222222 60%, var(--slate-mid) 100%);
}

.comms__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Info column */
.comms__info .eyebrow { color: var(--gold); }
.comms__info .section-title { color: var(--cream); }
.comms__info .body-copy { color: rgba(251,249,246,0.65); }

.comms__contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.comms__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.comms__contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.comms__contact-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
[dir="rtl"] .comms__contact-label { letter-spacing: 0.04em; }

.comms__contact-value {
  font-size: 0.90rem;
  color: rgba(251,249,246,0.72);
  line-height: 1.6;
}

.comms__contact-link {
  color: var(--gold-light);
  transition: color var(--trans);
}
.comms__contact-link:hover { color: var(--gold); }

/* Communication panel */
.comms__panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.comms__panel-header {
  background: linear-gradient(135deg, var(--charcoal), var(--slate));
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.comms__panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(251,249,246,0.80);
  letter-spacing: 0.06em;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.20);
  animation: statusPulse 2.2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76,175,80,0.20); }
  50%       { box-shadow: 0 0 0 6px rgba(76,175,80,0.08); }
}

.comms__panel-enc {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: rgba(197,168,128,0.70);
  letter-spacing: 0.06em;
}

.comms-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 32px;
}

.comms-form .btn--full {
  margin-top: 4px;
}

.icon-send {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* Success state */
.comms-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  gap: 14px;
}
.comms-success.visible { display: flex; }

.comms-success__icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(197,168,128,0.38);
}

.comms-success__title {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-top: 4px;
}

.comms-success__body {
  font-size: 0.90rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 340px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer { background: var(--charcoal); }

.footer__top {
  border-bottom: 1px solid rgba(197,168,128,0.14);
  padding: 64px 0 56px;
}
.footer__top-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo { height: 70px; width: auto; object-fit: contain; }
.footer__tagline {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(197,168,128,0.55);
  letter-spacing: 0.06em;
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
[dir="rtl"] .footer__col-title { letter-spacing: 0.05em; }

.footer__links { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }

.footer__link {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: rgba(251,249,246,0.52);
  transition: color var(--trans);
  line-height: 1.4;
}
.footer__link:hover { color: var(--gold-light); }

.footer__address-col { padding-top: 4px; }

.footer__address {
  font-style: normal;
  font-size: 0.86rem;
  color: rgba(251,249,246,0.52);
  line-height: 1.85;
}

.footer__email {
  color: var(--gold-light);
  transition: color var(--trans);
}
.footer__email:hover { color: var(--gold); }

.footer__bottom {
  padding: 28px 0;
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(251,249,246,0.30);
}

.footer__legal {
  font-size: 0.73rem;
  color: rgba(251,249,246,0.20);
  max-width: 640px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL OVERLAY
═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 20, 24, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.30s var(--ease);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 52px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.32s var(--ease);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--ink-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans), color var(--trans);
  line-height: 1;
}
[dir="rtl"] .modal__close { right: auto; left: 20px; }
.modal__close:hover { background: var(--cream-dark); color: var(--charcoal); }

.modal__icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--white);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(197,168,128,0.40);
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.modal__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.modal__body {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 8px;
}

.modal__ref {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  min-height: 1.2em;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1100px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__emblem-col { position: static; flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .about__emblem-frame { max-width: 300px; flex: 0 0 300px; }
  .about__badge-strip { flex: 1; min-width: 240px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .comms__grid { grid-template-columns: 1fr; gap: 52px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Nav */
  .navbar__nav { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: flex; }

  /* Hero */
  .hero__headline { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; width: 100%; max-width: 360px; margin: 0 auto; }

  /* Metrics */
  .metrics__inner { flex-wrap: wrap; justify-content: center; }
  .metric { padding: 20px 24px; }
  .metric__divider { display: none; }

  /* About */
  .about__emblem-col { flex-direction: column; align-items: center; }
  .about__emblem-frame { max-width: 100%; flex: none; }
  .about { padding: 64px 0; }

  /* Practice */
  .practice { padding: 64px 0; }
  .practice-block__header { padding: 28px 28px 0; gap: 16px; }
  .practice-block__body { padding: 20px 28px 36px; }
  .practice-block__cols { grid-template-columns: 1fr; gap: 24px; }
  .practice-block__num { font-size: 2.8rem; }

  /* Team */
  .team { padding: 64px 0; }
  .team-grid { grid-template-columns: 1fr; }

  /* Schedule */
  .schedule { padding: 64px 0; }
  .schedule-card { padding: 32px 24px; border-radius: var(--radius-lg); }
  .form-row { flex-direction: column; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .btn { text-align: center; }

  /* Comms */
  .comms { padding: 64px 0; }

  /* Modal */
  .modal { padding: 44px 28px 40px; }
  .modal__title { font-size: 1.3rem; }

  /* Footer */
  .footer__top { padding: 48px 0 40px; }
  .footer__top-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 1.5rem; }
  .section-title { font-size: 1.6rem; }
  .schedule-card { padding: 24px 18px; }
  .modal { padding: 36px 20px 32px; }
  .metric__num { font-size: 1.9rem; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPACT HERO (catalog page)
═══════════════════════════════════════════════════════════════ */
.hero--compact {
  min-height: 52vh;
  padding: calc(var(--header-h) + 48px) var(--px) 64px;
}

/* ═══════════════════════════════════════════════════════════════
   CATALOG PAGE COMPONENTS
═══════════════════════════════════════════════════════════════ */

/* Service bullet lists within practice blocks */
.cat-services {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
}
.practice-block--alt .cat-services { background: var(--white); }

.cat-services__title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
[dir="rtl"] .cat-services__title { letter-spacing: 0.04em; }

.cat-services__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cat-services__list li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.cat-services__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}
[dir="rtl"] .cat-services__list li { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .cat-services__list li::before { left: auto; right: 0; }

/* Lead lawyer attribution box */
.cat-lead-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 22px 28px;
  background: var(--charcoal);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  flex-wrap: wrap;
}
[dir="rtl"] .cat-lead-box { border-left: none; border-right: 4px solid var(--gold); }

.cat-lead-box__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
.cat-lead-box__role {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-top: 3px;
}
.cat-lead-box .btn {
  margin-left: auto;
  flex-shrink: 0;
}
[dir="rtl"] .cat-lead-box .btn { margin-left: 0; margin-right: auto; }

/* Catalog CTA banner */
.cat-cta {
  padding: 72px 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--cream-border);
}
.cat-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cat-cta__text { max-width: 600px; }
.cat-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.cat-cta__body {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Discreet staff admin link in footer ──────────────────────── */
.footer__admin-link {
  font-size: 0.68rem;
  color: rgba(251,249,246,0.18);
  letter-spacing: 0.08em;
  margin-left: auto;
  transition: color var(--trans);
}
.footer__admin-link:hover { color: var(--gold); }

@media (max-width: 768px) {
  .cat-lead-box { flex-direction: column; align-items: flex-start; }
  .cat-lead-box .btn { margin-left: 0; }
  .cat-cta__inner { flex-direction: column; text-align: center; align-items: center; }
  .cat-cta__text { max-width: 100%; }
  .hero--compact { min-height: 40vh; }
}

/* ═══════════════════════════════════════════════════════════════
   TEAM CARD — PHOTO SUPPORT
   Added for dynamically-rendered cards from admin panel.
═══════════════════════════════════════════════════════════════ */
.team-card__photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(197,168,128,0.50);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES DIRECTORY (catalog.html — #services-dir)
═══════════════════════════════════════════════════════════════ */
.services-dir {
  padding: 96px 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-border);
}

.svcdir-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.svcdir-filter {
  padding: 9px 22px;
  border-radius: 24px;
  border: 1.5px solid var(--cream-border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all var(--trans);
}
.svcdir-filter:hover,
.svcdir-filter.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--gold);
}

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

.svc-card {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
}
.svc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-light);
}

.svc-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.svc-card__body { flex: 1; min-width: 0; }

.svc-card__cat {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.svc-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-card__desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.72;
}

.svcdir-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-muted);
  font-style: italic;
  padding: 32px 0;
}

@media (max-width: 1024px) {
  .svcdir-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .svcdir-grid { grid-template-columns: 1fr; }
  .services-dir { padding: 64px 0; }
}
