/* ═══════════════════════════════════════════════════
   DR. YOAV SHECHTER — STYLESHEET
   Light theme · Slate blue-gray accent · DM Sans
════════════════════════════════════════════════════ */

/* ── RESET & ROOT ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #F7F9FC;
  --bg2:           #EEF2F8;
  --bg3:           #E4EBF5;
  --bg-card:       #FFFFFF;
  --bg-card-h:     #F4F7FB;
  --accent:        #3B5B8C;
  --accent-lt:     #4E72A8;
  --accent-dk:     #2A4270;
  --accent-glow:   rgba(59, 91, 140, 0.07);
  --accent-border: rgba(59, 91, 140, 0.18);
  --text:          #1A2035;
  --text-2:        #4A5870;
  --text-3:        #8896B0;
  --border:        rgba(0, 0, 0, 0.07);
  --border-md:     rgba(0, 0, 0, 0.12);
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 40px rgba(59,91,140,0.10);
  --shadow-xl:     0 20px 60px rgba(59,91,140,0.14);
  --radius:        12px;
  --radius-lg:     20px;
  --nav-h:         68px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --transition:    all 0.28s var(--ease);
  --pad:           96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; display: block; }
strong { font-weight: 600; }

/* ── TYPOGRAPHY ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.section-eyebrow.accent { color: var(--accent); }

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

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

/* ── LAYOUT ────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section      { padding: var(--pad) 0; }
.section-alt  { background: var(--bg2); }
.section-ai   {
  background: #050e26;
  position: relative;
  overflow: hidden;
}
.section-ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 70% at 10% 40%, rgba(59,91,140,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 60%, rgba(30,58,110,0.18) 0%, transparent 65%);
  pointer-events: none;
}
/* Dark section text overrides */
.section-ai .section-eyebrow { color: #93c5fd; }
.section-ai .section-title   { color: #ffffff; }
.section-ai .section-sub     { color: rgba(255,255,255,0.65); }

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,91,140,0.20);
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59,91,140,0.38);
}
.btn-primary:active { transform: translateY(0); }

/* On dark hero bg, outline button needs to be white */
.hero .btn-outline {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.90);
  border: 1.5px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  margin-top: 24px;
  font-weight: 600;
}
.btn-accent:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,91,140,0.15);
}

.btn-full { width: 100%; justify-content: center; }
.btn-sm   { padding: 10px 20px; font-size: 0.85rem; }

/* ── NAVIGATION ────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
  /* Start transparent over dark hero */
  background: transparent;
}
#navbar.scrolled {
  background: rgba(250, 251, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 216, 255, 0.35);
  box-shadow: 0 2px 20px rgba(59, 91, 140, 0.07);
}

/* Nav text colour: white on dark hero, normal after scroll */
#navbar:not(.scrolled) .nav-links a       { color: rgba(255,255,255,0.80); }
#navbar:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.10); }
#navbar:not(.scrolled) .logo-dr           { color: #93c5fd; }
#navbar:not(.scrolled) .logo-name         { color: #ffffff; }
#navbar:not(.scrolled) .hamburger span    { background: #ffffff; }
#navbar:not(.scrolled) .lang-toggle {
  color: rgba(255,255,255,0.80);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}
#navbar:not(.scrolled) .lang-opt.active   { color: #93c5fd; }
#navbar:not(.scrolled) .nav-links .nav-cta {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff;
}
#navbar:not(.scrolled) .nav-links .nav-cta:hover { background: rgba(255,255,255,0.25); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: baseline; gap: 4px; }
.logo-dr {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}
.logo-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 7px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }
.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,91,140,0.25);
}

/* ── Language Toggle ─────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-2);
  transition: var(--transition);
  margin-left: 8px;
  letter-spacing: 0.03em;
}
.lang-toggle:hover { border-color: var(--accent); background: rgba(255,255,255,0.85); }
.lang-opt { transition: color 0.2s; }
.lang-opt.active { color: var(--accent); }
.lang-sep { color: var(--border); opacity: 0.6; margin: 0 1px; }

/* ── Hamburger ───────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(247,249,252,0.98);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 600; }
.mobile-menu a:hover { color: var(--text); background: var(--bg2); }

/* ── HERO ──────────────────────────────────────── */
/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 24px 100px;
  background: #050e26;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&w=1920&q=80')
    center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 12s ease-out;
  will-change: transform;
}
.hero:hover .hero-bg { transform: scale(1.08); }

/* Dark cinematic overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(4, 10, 28, 0.88) 0%,
    rgba(8, 22, 58, 0.78) 55%,
    rgba(4, 10, 28, 0.92) 100%
  );
}

/* Animated colour orbs (subtle) */
.hero-glow {
  display: block;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.22;
  animation: heroOrb 14s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -100px; left: -80px;
  background: radial-gradient(circle, #3b5b8c 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  bottom: -80px; right: -60px;
  background: radial-gradient(circle, #1e3a6e 0%, transparent 70%);
  animation-delay: -7s;
}
@keyframes heroOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}

/* Subtle floating grid */
.hero-grid {
  display: block;
  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;
  animation: gridDrift 30s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 80px 80px; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
  animation: heroFadeIn 1s var(--ease) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid rgba(147, 197, 253, 0.30);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.04;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.hero-title-accent {
  display: block;
  font-style: italic;
  background: linear-gradient(125deg, #7ab3f5 0%, #c7e0ff 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.82;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* ── HERO STATS ─────────────────── */
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 44px;
  gap: 0;
}
.hero-stat {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.50);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  color: var(--text-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.2; transform: scaleY(0.7); }
  50%     { opacity: 0.7; transform: scaleY(1); }
}

/* ── ABOUT ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-title { text-align: left; }
.about-body {
  font-size: 1.02rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 16px;
  font-weight: 400;
}
.about-credentials {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.875rem;
  color: var(--text-2);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.credential:hover {
  border-color: var(--accent-border);
  color: var(--text);
  box-shadow: var(--shadow-md);
}
.credential-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.credential-logo {
  flex-shrink: 0;
  width: 52px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credential-logo img {
  max-width: 52px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.about-visual { display: flex; justify-content: center; align-items: flex-start; }
.about-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(59,91,140,0.18);
  line-height: 0;
}
.about-photo {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: cover;
}
.about-card {
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-card-top {
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-lt));
}
.about-card-inner { padding: 32px 24px 28px; text-align: center; }
.about-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(59,91,140,0.25);
  overflow: hidden;
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.about-card-sub { font-size: 0.8rem; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.about-divider { height: 1px; background: var(--border); margin-bottom: 18px; }
.about-card-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3); margin-bottom: 10px; }
.about-regions { display: flex; flex-direction: column; gap: 6px; }
.about-regions span {
  padding: 5px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── PHILOSOPHY STRIP ──────────────────────────── */
.philosophy-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #040c22 0%, #071530 50%, #040c22 100%);
  padding: 100px 0;
}
.philosophy-strip::before {
  content: '"';
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  font-size: 28rem;
  line-height: 1;
  color: rgba(59,91,140,0.07);
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.philosophy-quote {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}
.philosophy-quote::before { display: none; }
.philosophy-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-top: 28px;
  font-weight: 600;
}

/* ── SERVICES GRID ─────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  cursor: default;
}
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,24,54,0.93) 0%,
    rgba(10,24,54,0.55) 55%,
    rgba(10,24,54,0.12) 100%);
  z-index: 1;
  transition: background 0.35s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.07); }
.service-card:hover::after {
  background: linear-gradient(to top,
    rgba(10,24,54,0.97) 0%,
    rgba(10,24,54,0.65) 55%,
    rgba(10,24,54,0.18) 100%);
}
.service-card-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px 26px;
}
.service-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.35;
}
.service-card-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-icon { display: none; }

/* ── AI & DIGITAL ──────────────────────────────── */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.ai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, #7ab3f5, #c7e0ff, #93c5fd);
}
.ai-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(147,197,253,0.30);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.ai-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ai-icon { font-size: 2.2rem; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.ai-badge {
  padding: 4px 12px;
  background: rgba(147,197,253,0.12);
  border: 1px solid rgba(147,197,253,0.28);
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ai-card h3 { font-size: 1.4rem; margin-bottom: 14px; color: #ffffff; }
.ai-card p  { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 18px; font-size: 0.96rem; }
.ai-features { display: flex; flex-direction: column; }
.ai-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.ai-features li:last-child { border-bottom: none; }
.ai-features li::before { content: '→'; color: #93c5fd; font-weight: 700; flex-shrink: 0; }
.ai-features li:hover { color: rgba(255,255,255,0.90); }

.ai-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.ai-note-icon { font-size: 1.3rem; flex-shrink: 0; }
.ai-note p { font-size: 0.91rem; color: var(--text-2); line-height: 1.65; }
.ai-note p em { font-style: italic; color: var(--accent); font-weight: 500; }

/* ── EXPERIENCE ────────────────────────────────── */
/* Experience split layout */
.experience-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.experience-visual {
  position: sticky;
  top: 90px;
}
.exp-visual-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.exp-visual-img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.exp-visual-img--1 {
  height: 360px;
  margin-bottom: 10px;
}
.exp-visual-img--2 {
  height: 220px;
}
.exp-visual-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.experience-list { display: flex; flex-direction: column; }
.exp-item {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: var(--transition);
}
.exp-item:first-child { padding-top: 0; }
.exp-item:last-child  { border-bottom: none; }
.exp-item:hover .exp-logo { border-color: var(--accent-border); color: var(--accent-lt); background: var(--bg2); }
.exp-logo {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0;
}
.exp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
  transition: var(--transition);
}
.exp-logo img.hidden { display: none; }
.exp-logo-init { display: none; }
.exp-logo.show-init .exp-logo-init { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.exp-logo.show-init img { display: none; }
.exp-content h3 { font-size: 1.15rem; margin-bottom: 5px; }
.exp-role {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.exp-content p { font-size: 0.93rem; color: var(--text-2); line-height: 1.78; }

/* ── FORUM ─────────────────────────────────────── */
.forum-section { overflow: hidden; }
.forum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.forum-text .section-title { text-align: left; }
.forum-body { font-size: 1rem; color: var(--text-2); line-height: 1.82; margin-bottom: 14px; }
.forum-stats { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.forum-stat  { text-align: center; }
.stat-num-sm {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}
.stat-label-sm { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.12em; }

.forum-visual { display: flex; justify-content: center; align-items: flex-start; }
.forum-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(59,91,140,0.18);
  line-height: 0;
}
.forum-photo {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: cover;
}
.forum-card {
  width: 310px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.forum-card-top { height: 4px; background: linear-gradient(to right, var(--accent), var(--accent-lt)); }
.forum-card-body { padding: 36px 28px; text-align: center; }
.forum-card-he { font-size: 1rem; font-weight: 700; direction: rtl; margin-bottom: 8px; color: var(--text); }
.forum-card-en { font-size: 0.78rem; color: var(--accent); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 20px; text-transform: uppercase; }
.forum-card-divider { height: 1px; background: var(--border); margin-bottom: 18px; }
.forum-card-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.72; margin-bottom: 24px; }
.forum-members { display: flex; align-items: center; justify-content: center; gap: 5px; }
.forum-member-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--accent-border);
}
.forum-member-count { font-size: 0.76rem; color: var(--accent); font-weight: 600; margin-left: 4px; }

/* ── REACH STRIP ───────────────────────────────── */
.reach-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.reach-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.reach-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.reach-regions { display: flex; align-items: center; flex-wrap: wrap; }
.reach-region { display: flex; align-items: center; gap: 7px; padding: 6px 22px; font-size: 0.88rem; font-weight: 500; color: var(--text); }
.reach-region.reach-secondary { color: var(--text-2); }
.reach-flag    { font-size: 1.1rem; }
.reach-divider { width: 1px; height: 20px; background: var(--border-md); }

/* ── CONTACT ───────────────────────────────────── */
.contact-section { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 52px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.required { color: var(--accent); }
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border-md);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  transition: var(--transition);
  outline: none;
  resize: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card);
}
.form-privacy { font-size: 0.77rem; color: var(--text-3); text-align: center; margin-top: 12px; line-height: 1.6; }
.form-status {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  padding: 13px 18px;
  border-radius: 8px;
  display: none;
  line-height: 1.5;
}
.form-status.success { display: block; background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.form-status.error   { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.contact-options { display: flex; flex-direction: column; gap: 14px; }
.contact-option {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-option:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.contact-option-icon { font-size: 1.3rem; flex-shrink: 0; padding-top: 2px; }
.contact-option-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.contact-option-body p  { font-size: 0.82rem; color: var(--text-2); margin-bottom: 10px; line-height: 1.5; }

.contact-regions-card {
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.region-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.region-tags span {
  padding: 5px 13px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.77rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
  background: #1A2035;
  padding: 52px 0 36px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-logo { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-nav a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer-bottom p { font-size: 0.77rem; color: rgba(255,255,255,0.3); }
.footer-note { font-style: italic; }

/* ── SCROLL REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger grid children */
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.24s; }
.ai-grid .reveal:nth-child(2)        { transition-delay: 0.12s; }
.experience-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.experience-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.experience-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.experience-list .reveal:nth-child(5) { transition-delay: 0.24s; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { gap: 56px; }
  .forum-grid    { gap: 56px; }
}

@media (max-width: 768px) {
  :root { --pad: 68px; }

  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .hero-title  { font-size: 2.6rem; }
  .hero-stats  { gap: 0; flex-wrap: wrap; }
  .hero-stat   { padding: 0 20px; flex: 1 1 45%; margin-bottom: 18px; border-right: none; }

  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .ai-grid       { grid-template-columns: 1fr; }
  .ai-card       { padding: 30px 26px; }

  .forum-grid    { grid-template-columns: 1fr; gap: 48px; }
  .forum-visual  { display: none; }

  .contact-grid     { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row         { grid-template-columns: 1fr; }

  .exp-item    { flex-direction: column; gap: 14px; }
  .experience-split { grid-template-columns: 1fr; }
  .experience-visual { display: none; }
  .reach-inner { flex-direction: column; gap: 16px; }
  .reach-regions { flex-direction: column; align-items: center; }
  .reach-divider { width: 40px; height: 1px; }

  .footer-top    { flex-direction: column; gap: 24px; }
  .footer-nav    { gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .philosophy-quote { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stat    { flex: 1 1 40%; }
  .stat-num     { font-size: 1.9rem; }
  .contact-form-wrap { padding: 22px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   RTL / Hebrew mode
   Applied when <html dir="rtl" lang="he">
   ═══════════════════════════════════════════════════════════ */

html[dir="rtl"] {
  font-family: 'Heebo', 'DM Sans', sans-serif;
}

html[dir="rtl"] body {
  font-family: 'Heebo', sans-serif;
}

/* Nav – mirror horizontal order */
html[dir="rtl"] .nav-container    { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links        { margin-right: auto; margin-left: 0; flex-direction: row-reverse; }
html[dir="rtl"] .lang-toggle      { margin-right: 8px; margin-left: 0; }
html[dir="rtl"] .hamburger        { margin-right: auto; margin-left: 0; }

/* Hero */
html[dir="rtl"] .hero-content     { text-align: right; }
html[dir="rtl"] .hero-actions     { justify-content: flex-start; }
html[dir="rtl"] .hero-eyebrow     { text-align: right; }
html[dir="rtl"] .hero-stats       { justify-content: flex-start; }

/* Section headings */
html[dir="rtl"] .section-eyebrow,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-sub      { text-align: right; }

/* About split */
html[dir="rtl"] .about-split      { direction: rtl; }
html[dir="rtl"] .about-text       { text-align: right; }
html[dir="rtl"] .about-traits     { justify-content: flex-end; }

/* Service cards */
html[dir="rtl"] .service-card-content { text-align: right; }

/* AI section */
html[dir="rtl"] .ai-section-header { text-align: right; }
html[dir="rtl"] .ai-badge          { margin-right: 0; }
html[dir="rtl"] .ai-card           { text-align: right; }
html[dir="rtl"] .ai-features li    { text-align: right; }
html[dir="rtl"] .ai-features li::before { margin-right: 0; margin-left: 8px; float: right; }

/* Experience */
html[dir="rtl"] .experience-split { direction: rtl; }
html[dir="rtl"] .exp-period       { text-align: right; }
html[dir="rtl"] .exp-title        { text-align: right; }
html[dir="rtl"] .exp-org          { text-align: right; }
html[dir="rtl"] .exp-bullets li   { text-align: right; }

/* Credentials */
html[dir="rtl"] .credential-item  { flex-direction: row-reverse; text-align: right; }

/* Forum */
html[dir="rtl"] .forum-text        { text-align: right; }

/* Contact */
html[dir="rtl"] .contact-info      { text-align: right; }
html[dir="rtl"] .contact-info-item { flex-direction: row-reverse; }
html[dir="rtl"] .form-group label  { text-align: right; }
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea { text-align: right; direction: rtl; }

/* Footer */
html[dir="rtl"] .footer-top    { flex-direction: row-reverse; }
html[dir="rtl"] .footer-nav    { flex-direction: row-reverse; }
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
html[dir="rtl"] .footer-logo   { text-align: right; }

/* Mobile menu RTL */
html[dir="rtl"] .mobile-menu a { text-align: right; }

/* Philosophy quote */
html[dir="rtl"] .philosophy-quote { text-align: right; direction: rtl; }

/* Reach section */
html[dir="rtl"] .reach-inner   { flex-direction: row-reverse; }
html[dir="rtl"] .reach-regions { text-align: right; }
