/* =====================================================
   MIRVAHIM CAPITAL MARKETS — 2026 Redesign
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

/* ─── TOKENS ──────────────────────────────────────── */
/* ─── LIGHT MODE (default) ────────────────────────── */
:root {
  --bg:            #F5F2EC;
  --bg-surface:    #FFFFFF;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #EDE9E0;
  --gold:          #A06A10;
  --gold-light:    #C5943A;
  --gold-pale:     rgba(160, 106, 16, 0.08);
  --gold-border:   rgba(160, 106, 16, 0.28);
  --teal:          #0A7A84;
  --teal-light:    #1A9EA8;
  --teal-pale:     rgba(10, 122, 132, 0.08);
  --text-primary:  #0C1B30;
  --text-secondary:#2E4A6E;
  --text-muted:    #6B82A0;
  --border:        rgba(12, 27, 48, 0.10);
  --nav-bg:        rgba(255, 255, 255, 0.97);
  --radius:        4px;
  --radius-lg:     12px;
  --shadow-card:   0 2px 20px rgba(0,0,0,0.07);
  --shadow-gold:   0 0 20px rgba(160, 106, 16, 0.18);
  --transition:    0.28s cubic-bezier(0.4,0,0.2,1);
  --font-en:       'Cormorant Garamond', 'Georgia', serif;
  --font-body-en:  'Inter', system-ui, sans-serif;
  --font-he:       'Heebo', 'Arial Hebrew', sans-serif;
  --max-w:         1280px;
}

/* ─── DARK MODE ───────────────────────────────────── */
html[data-theme="dark"] {
  --bg:            #0C1B30;
  --bg-surface:    #112240;
  --bg-card:       #162D50;
  --bg-card-hover: #1B3660;
  --gold:          #C5943A;
  --gold-light:    #DEAD6B;
  --gold-pale:     rgba(197, 148, 58, 0.12);
  --gold-border:   rgba(197, 148, 58, 0.35);
  --teal:          #1A9EA8;
  --teal-light:    #22B8C4;
  --teal-pale:     rgba(26, 158, 168, 0.12);
  --text-primary:  #F0EBE0;
  --text-secondary:#A8BDD6;
  --text-muted:    #617E9E;
  --border:        rgba(255,255,255,0.10);
  --nav-bg:        rgba(12, 27, 48, 0.97);
  --shadow-card:   0 4px 40px rgba(0,0,0,0.40);
  --shadow-gold:   0 0 30px rgba(197, 148, 58, 0.20);
}

/* ─── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-he);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── LANG-AWARE FONTS ────────────────────────────── */
[lang="en"] body,
[lang="en"] .nav-inner,
[lang="en"] h1,
[lang="en"] h2,
[lang="en"] h3 {
  font-family: var(--font-body-en);
}
[lang="en"] .display { font-family: var(--font-en); }

/* ─── VISIBILITY TOGGLES ──────────────────────────── */
html[lang="he"] .en { display: none !important; }
html[lang="en"] .he { display: none !important; }

/* ─── LAYOUT HELPERS ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: 120px 0; }
.section-alt { background: var(--bg-surface); }
.section-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
[lang="en"] .section-title { font-family: var(--font-en); font-weight: 600; }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}
html[lang="he"] .section-lead { max-width: 700px; }
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
}
html[lang="he"] .gold-line { margin-right: 0; }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: #07111E;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.78rem; }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 124px;
  gap: 40px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.logo-img {
  height: 110px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.logo-main {
  font-family: var(--font-he);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
[lang="en"] .logo-main { font-family: var(--font-en); font-size: 1.65rem; font-weight: 600; letter-spacing: 0.08em; }
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
html[data-theme="dark"] .nav-links a { color: rgba(255,255,255,0.78); }
html[data-theme="dark"] .nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-btn {
  padding: 7px 16px;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
  font-family: var(--font-body-en);
}
html[data-theme="dark"] .lang-btn { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); }
.lang-btn:hover { background: var(--gold-pale); }
html[data-theme="dark"] .lang-btn:hover { background: rgba(255,255,255,0.12); }
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
}
html[data-theme="dark"] .theme-btn {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
}
.theme-btn:hover { background: var(--bg-card-hover); color: var(--teal); }
html[data-theme="dark"] .theme-btn:hover { background: rgba(255,255,255,0.20); color: #fff; }
.theme-btn svg { width: 16px; height: 16px; }
/* Show/hide sun and moon icons */
html:not([data-theme="dark"]) .icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text-primary); transition: var(--transition); }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
html[data-theme="dark"] .hero {
  --text-primary: #F0EBE0;
  --text-secondary: #A8BDD6;
  --text-muted: #617E9E;
  --gold: #C5943A;
  --gold-light: #DEAD6B;
  --gold-pale: rgba(197,148,58,0.12);
  --gold-border: rgba(197,148,58,0.35);
  --border: rgba(255,255,255,0.10);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(160,106,16,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 50% 70% at 10% 80%, rgba(10,122,132,0.05) 0%, transparent 60%);
}
html[data-theme="dark"] .hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(197,148,58,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 50% 70% at 10% 80%, rgba(11,47,90,0.45) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}
.hero-chart {
  position: absolute;
  bottom: 0;
  inset-inline-end: -2%;
  width: 62%;
  height: 78%;
  opacity: 0.6;
  color: var(--gold);
}
html:not([data-theme="dark"]) .hero-chart { opacity: 0.52; color: #A06A10; }

/* Floating market chips */
.hero-tickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-chip {
  position: absolute;
  background: rgba(12,27,48,0.55);
  border: 1px solid rgba(197,148,58,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #F0EBE0;
  font-family: var(--font-body-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  animation: chip-float 6s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
html:not([data-theme="dark"]) .hero-chip {
  background: rgba(12,27,48,0.72);
  border-color: rgba(197,148,58,0.55);
  color: #F0EBE0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.chip-sym { color: #C5943A; margin-right: 4px; }
html[dir="rtl"] .chip-sym { margin-right: 0; margin-left: 4px; }
.hero-chip-1 { top: 18%; right: 42%; animation-delay: 0s; }
.hero-chip-2 { top: 28%; right: 22%; animation-delay: 1.2s; }
.hero-chip-3 { top: 48%; right: 8%; animation-delay: 0.6s; }
.hero-chip-4 { top: 64%; right: 30%; animation-delay: 1.8s; }
.hero-chip-5 { top: 38%; right: 52%; animation-delay: 0.9s; }
.hero-chip-6 { top: 72%; right: 12%; animation-delay: 2.4s; }
/* RTL layout — mirror chip positions */
html[dir="rtl"] .hero-chip-1 { right: auto; left: 42%; }
html[dir="rtl"] .hero-chip-2 { right: auto; left: 22%; }
html[dir="rtl"] .hero-chip-3 { right: auto; left: 8%; }
html[dir="rtl"] .hero-chip-4 { right: auto; left: 30%; }
html[dir="rtl"] .hero-chip-5 { right: auto; left: 52%; }
html[dir="rtl"] .hero-chip-6 { right: auto; left: 12%; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Scrolling ticker strip at bottom of hero */
.hero-ticker-strip {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 36px;
  background: rgba(0,0,0,0.28);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
}
html:not([data-theme="dark"]) .hero-ticker-strip {
  background: rgba(12,27,48,0.08);
  border-top-color: rgba(12,27,48,0.10);
}
.hero-ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 36s linear infinite;
  flex-shrink: 0;
}
.hero-ticker-track span {
  font-family: var(--font-body-en);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
html:not([data-theme="dark"]) .hero-ticker-track span {
  color: rgba(12,27,48,0.45);
  border-right-color: rgba(12,27,48,0.10);
}
.hero-ticker-track b { color: #C5943A; font-weight: 700; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Pulsing dot on chart tip */
@keyframes pulse-ring {
  0%   { r: 10; opacity: 0.3; }
  100% { r: 22; opacity: 0; }
}
.hero-pulse { animation: pulse-ring 2s ease-out infinite; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: var(--font-he);
}
[lang="en"] .hero-title {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -0.01em;
}
.hero-title-sub {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 32px;
  font-family: var(--font-he);
  letter-spacing: 0.02em;
}
[lang="en"] .hero-title-sub {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 48px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── STATS BAR ───────────────────────────────────── */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 32px;
  border-inline-end: 1px solid var(--border);
  text-align: center;
  transition: background var(--transition);
}
.stat-item:last-child { border-inline-end: none; }
.stat-item:hover { background: rgba(197,148,58,0.04); }
.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-body-en);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── VISION ──────────────────────────────────────── */
/* ─── VISION (always-dark panel) ─────────────────── */
.section-vision {
  background: var(--bg-surface);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(197,148,58,0.08) 0%, transparent 65%),
              radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,158,168,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.vision-claim {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.vision-since {
  font-family: var(--font-body-en);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
.vision-headline {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
html[lang="he"] .vision-headline {
  font-family: var(--font-he);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.25;
}
.vision-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.vision-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}
.vision-proofs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 72px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vision-proof {
  padding: 48px 40px;
  background: var(--bg-card);
  border-right: 1px solid var(--gold-border);
  transition: background var(--transition);
  text-align: center;
}
html[lang="he"] .vision-proof { border-right: none; border-left: 1px solid var(--gold-border); }
.vision-proof:last-child { border-right: none; border-left: none; }
html[lang="he"] .vision-proof:last-child { border-left: none; }
.vision-proof:hover { background: rgba(197,148,58,0.06); }
.vp-number {
  font-family: var(--font-en);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.vp-number sup { font-size: 1.8rem; vertical-align: super; }
.vp-text-num { font-size: 2.4rem; line-height: 1.2; }
.vp-text-num span { font-size: 1.6rem; display: block; color: var(--gold-border); }
.vp-label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-body-en);
  margin-bottom: 16px;
}
.vp-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.vision-cta { margin-top: 40px; }

/* ─── SERVICES ────────────────────────────────────── */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.35s ease;
}
.service-card:hover {
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 60px rgba(197,148,58,0.04);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gold-pale);
  border-color: var(--gold);
}
.service-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.service-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: 10px; color: var(--gold); }
.service-card-wide { grid-column: span 2; }

/* ─── ABOUT ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  margin-bottom: 96px;
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 0.98rem;
}
.about-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--text-primary);
}
.about-accent {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.accent-card {
  padding: 32px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  background: var(--gold-pale);
  position: relative;
}
.accent-card-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-body-en);
  line-height: 1;
  margin-bottom: 8px;
}
.accent-card-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}
.team-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 48px;
}
[lang="en"] .team-title { font-family: var(--font-en); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-family: var(--font-body-en);
  overflow: hidden;
  flex-shrink: 0;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.team-credentials {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.team-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.team-email {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.team-email:hover { color: var(--gold-light); }

/* ─── ARTICLES ────────────────────────────────────── */
.articles-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-pale);
}
/* ─── Logo light/dark swap ───────────────────────── */
.logo-img-wrap .logo-dark { display: none; }
html[data-theme="dark"] .logo-img-wrap .logo-light { display: none; }
html[data-theme="dark"] .logo-img-wrap .logo-dark { display: block; }

/* ─── Articles collapse ───────────────────────────── */
.articles-outer {
  position: relative;
  max-height: 820px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.articles-outer.expanded {
  max-height: 99999px;
}
.articles-mask {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
  transition: opacity 0.3s;
}
.articles-outer.expanded .articles-mask {
  opacity: 0;
  pointer-events: none;
}
.articles-toggle-row {
  text-align: center;
  margin-top: 28px;
}
.articles-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold);
  background: var(--gold-pale);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}
.articles-toggle-btn:hover {
  background: var(--gold-border);
  color: var(--text-primary);
}
.toggle-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.articles-outer.expanded ~ .articles-toggle-row .toggle-chevron {
  transform: rotate(180deg);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.article-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-card:hover .article-img img {
  transform: scale(1.04);
}
.article-img-icon {
  width: 48px;
  height: 48px;
  opacity: 0.15;
  color: var(--gold);
}
.article-img-year {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: 2px;
}
.article-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.article-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 12px;
}
.article-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.article-year-badge {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}
.contact-value a { transition: color var(--transition); }
.contact-value a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}
.form-input,
.form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-border);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo-main { font-size: 1.3rem; }
.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { transition: color var(--transition); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ─── DIVIDER ─────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

/* ─── ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}
.fade-in.visible { opacity: 1; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ─── MOBILE MENU ─────────────────────────────────── */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    inset-inline-start: 0;
    width: 100%;
    background: rgba(7, 17, 30, 0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .vision-grid { grid-template-columns: 1fr; gap: 48px; }
  .vision-proofs { grid-template-columns: 1fr; gap: 2px; }
  .vision-proof { border-right: none; border-left: none; border-bottom: 1px solid rgba(197,148,58,0.15); }
  .vision-proof:last-child { border-bottom: none; }
  .section-vision { padding: 72px 0; }
  .vision-headline { font-size: clamp(1.9rem, 6vw, 3rem); }
  html[lang="he"] .vision-intro,
  html[lang="he"] .vision-pillars { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-inline-end: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-inline-end: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-inline-end: none; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 4rem); }
  .services-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── CLIENT LOGOS ────────────────────────────────── */
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.client-logo-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), transform var(--transition);
  min-height: 80px;
}
.client-logo-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}
.client-logo-item img {
  max-height: 56px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.client-logo-item:hover img { opacity: 1; transform: scale(1.05); }

/* ─── SOCIAL LINKS ────────────────────────────────── */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.social-link:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal-light);
}
.social-link svg { width: 18px; height: 18px; }

/* ─── LOGO IMAGE ──────────────────────────────────── */
.logo-img-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img-wrap img {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ─── DISCLAIMER ──────────────────────────────────── */
.footer-disclaimer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}
