/* ============================================================
   GAMDALA — Main Stylesheet
   Modern Generative AI Consulting Website
   ============================================================ */

/* Self-hosted fonts — Inter (EN) + Rubik (HE)
   No data is sent to Google servers.
   ---------------------------------------------------------- */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Reset & Base
   ---------------------------------------------------------- */

/* Skip-to-content link (accessibility) */
.skip-link {
  position: absolute;
  top: -9999px;
  inset-inline-start: 1rem;
  left: 1rem; /* fallback for browsers that don't support logical properties */
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent, #2563eb);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Global Focus Indicators (WCAG 2.4.7 / IS 5568) ─── */
:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
  border-radius: 3px;
}
/* Dark-background focus ring (hero, footer, dark sections) */
.site-header :focus-visible,
.hero :focus-visible,
.cta-section :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible {
  outline-color: #60a5fa;
}
/* Remove default outline only when :focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

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

/* 2. Design Tokens
   ---------------------------------------------------------- */
:root {
  /* Palette */
  --color-bg:           #ffffff;
  --color-bg-alt:       #f4f7fb;
  --color-navy:         #0c1a2e;
  --color-navy-2:       #172a46;
  --color-blue:         #2563eb;
  --color-blue-light:   #3b82f6;
  --color-cyan:         #06b6d4;
  --color-text:         #0f172a;
  --color-text-muted:   #64748b;
  --color-border:       #e2e8f0;
  --color-white:        #ffffff;

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-hero:    linear-gradient(160deg, #0c1a2e 0%, #132244 60%, #0f2a4a 100%);
  --grad-card:    linear-gradient(145deg, #f8faff 0%, #eef3ff 100%);

  /* Typography */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-he: 'Rubik', 'Arial Hebrew', Arial, system-ui, sans-serif;

  /* Spacing */
  --section-py:    5.5rem;
  --container-max: 1200px;
  --container-px:  1.5rem;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.1),  0 4px 12px rgba(0,0,0,.05);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.13), 0 8px 24px rgba(0,0,0,.07);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.35);

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.25s;
}

/* 3. Layout
   ---------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section     { padding: var(--section-py) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-navy); color: var(--color-white); }

/* 4. Typography Helpers
   ---------------------------------------------------------- */
.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  padding: .3em 1em;
  border-radius: var(--r-full);
  margin-bottom: .875rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--color-navy);
  margin-top: .4rem;
}
.section-header p {
  max-width: 580px;
  margin: 1rem auto 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.section-dark .section-header h2 { color: var(--color-white); }
.section-dark .label { color: #93c5fd; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }

/* 5. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75em 1.875em;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t) var(--ease), border-color var(--t) var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,99,235,.45); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); }
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-outline:hover { background: var(--color-blue); color: #fff; }
.btn-lg { padding: 1em 2.625em; font-size: 1.0625rem; }
.btn svg { width: 1em; height: 1em; }

/* 6. Header / Navigation
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.375rem 0;
  transition: background var(--t) var(--ease), padding var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
  padding: .9rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  line-height: 1;
}
.logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff;
  transition: color var(--t);
}
.logo-sub {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-cyan);
  transition: color var(--t);
}
.site-header.scrolled .logo-main { color: var(--color-navy); }
.site-header.scrolled .logo-sub  { color: var(--color-blue); }
/* Inline SVG logo letter transitions */
.logo-letter-g { fill: #ffffff; transition: fill var(--t); }
.site-header.scrolled .logo-letter-g { fill: var(--color-navy); }
/* Footer logo (always dark background) */
.footer-logo .logo-main { color: #fff; }
.footer-logo .logo-sub  { color: var(--color-cyan); }
.footer-logo .logo-letter-g { fill: #ffffff; }

/* Main Nav */
.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: .125rem;
}
.main-nav a {
  display: block;
  padding: .5rem .9rem;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.site-header.scrolled .main-nav a { color: var(--color-navy-2); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--color-blue); background: rgba(37,99,235,.07); }

/* Dropdown */
.has-dropdown { position: relative; }
/* Invisible bridge to prevent gap between trigger and dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: .625rem;
  pointer-events: auto;
}
.dropdown {
  position: absolute;
  top: calc(100% + .375rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.dropdown-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s 0s;
}
.dropdown li a {
  color: var(--color-text) !important;
  background: none !important;
  font-size: .9rem !important;
  border-radius: var(--r-sm);
  padding: .6rem .875rem !important;
}
.dropdown li a:hover { background: var(--color-bg-alt) !important; color: var(--color-blue) !important; }

/* CSS-only dropdown arrow (no Unicode character) */
.dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  margin-left: .3rem;
  transition: transform var(--t);
  position: relative;
  top: -1px;
}
.has-dropdown:hover .dropdown-arrow,
.has-dropdown.dropdown-open .dropdown-arrow { transform: rotate(180deg); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4em .95em;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.28);
  transition: var(--t);
}
.lang-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }
.site-header.scrolled .lang-btn { color: var(--color-navy-2); border-color: var(--color-border); }
.site-header.scrolled .lang-btn:hover { background: var(--color-bg-alt); border-color: var(--color-blue); color: var(--color-blue); }
.lang-flag {
  font-size: 0;                  /* hide emoji — not supported on Windows */
  display: inline-block;
  width: 1.4rem;
  height: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}
/* EN pages → button switches to HE → Israel flag */
html:not([dir="rtl"]) .lang-flag { background-image: url('/assets/img/flag-il.svg'); }
/* HE pages → button switches to EN → US flag */
html[dir="rtl"]       .lang-flag { background-image: url('/assets/img/flag-us.svg'); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  z-index: 201;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--t) var(--ease);
}
.site-header.scrolled .mobile-menu-btn span { background: var(--color-navy); }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: 90px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.28) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.hero-orb-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(6,182,212,.22) 0%, transparent 70%);
  bottom: -100px; left: -50px;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-image img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 1;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .72; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
}
.nav-cta { white-space: nowrap; }
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.375rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 1.625rem;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.68);
  max-width: 600px;
  margin-bottom: 2.75rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* 8. Trust Bar
   ---------------------------------------------------------- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 2.75rem 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.trust-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-label { font-size: .875rem; font-weight: 500; color: var(--color-text-muted); }

/* 9. About
   ---------------------------------------------------------- */
.about-section { padding: var(--section-py) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text .label { margin-bottom: 1rem; }
.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--color-navy);
  margin-bottom: 1.625rem;
  line-height: 1.15;
}
.about-text p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* About Photo */
.about-photo-wrap { position: relative; }
.about-photo-bg {
  position: absolute;
  inset: -16px;
  background: var(--grad-brand);
  border-radius: calc(var(--r-xl) + 16px);
  opacity: .1;
  z-index: 0;
}
.about-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 10. Services
   ---------------------------------------------------------- */
.services-section { padding: var(--section-py) 0; background: var(--color-bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;
}
.service-card {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-xl); }
.service-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body {
  padding: 1.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(37,99,235,.09);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; color: var(--color-blue); }
.service-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: .75rem;
}
.service-card p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.375rem;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--color-blue);
  transition: gap var(--t);
  margin-top: auto;
}
.card-link:hover { gap: .7rem; }
.card-link svg { transition: transform var(--t); }
.card-link:hover svg { transform: translateX(3px); }

/* 11. Clients
   ---------------------------------------------------------- */
.clients-section { padding: var(--section-py) 0; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  align-items: center;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: #fff;
}
.client-logo img { max-width: 78%; max-height: 78%; width: auto; height: auto; object-fit: contain; }

/* 12. Contact Buttons (CTA)
   ---------------------------------------------------------- */
:root {
  --contact-sq: 80px;
  --contact-gap: 1rem;
}
.contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}
.contact-btns {
  display: flex;
  gap: var(--contact-gap);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.contact-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .02em;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--contact-sq);
  height: var(--contact-sq);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.contact-btn:hover { transform: translateY(-3px); }
.contact-btn svg { width: 30px; height: 30px; flex-shrink: 0; }
.contact-btn-email {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.contact-btn-email:hover { box-shadow: 0 10px 30px rgba(37,99,235,.45); }
.contact-btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}
.contact-btn-whatsapp:hover { box-shadow: 0 10px 28px rgba(37,211,102,.5); }
.contact-btn-phone {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 6px 20px rgba(124,58,237,.35);
}
.contact-btn-phone:hover { box-shadow: 0 10px 28px rgba(124,58,237,.55); }
.contact-btn-linkedin {
  background: #0077b5;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,119,181,.35);
}
.contact-btn-linkedin:hover { box-shadow: 0 10px 28px rgba(0,119,181,.5); }

/* 13. CTA Section
   ---------------------------------------------------------- */
.cta-section {
  background: var(--grad-hero);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.25) 0%, transparent 70%);
}
.cta-section .hero-dots { opacity: .35; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,.68);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2.75rem;
}

/* 14. Footer
   ---------------------------------------------------------- */
.site-footer {
  background: #07101f;
  color: rgba(255,255,255,.62);
  padding: 4rem 0 2.25rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  margin-top: .875rem;
  line-height: 1.65;
  max-width: 260px;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62); /* raised from .38 → .62 to meet WCAG 1.4.3 4.5:1 */
  margin-bottom: 1.125rem;
}
.footer-col a {
  display: block;
  font-size: .9375rem;
  color: rgba(255,255,255,.58);
  padding: .3rem 0;
  transition: color var(--t);
}
.footer-col a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  padding: .35rem 0;
  color: rgba(255,255,255,.58);
}
.footer-contact-item a { padding: 0; }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-item svg { color: var(--color-blue-light); flex-shrink: 0; width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: .875rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-bottom a:hover { color: #fff; }

/* 15. Presentations Page
   ---------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  padding: 9rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-dots { opacity: .4; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: .875rem; }
.page-hero p { color: rgba(255,255,255,.68); font-size: 1.125rem; max-width: 660px; margin: 0 auto; line-height: 1.75; }

/* Video */
.video-section { padding: 4.5rem 0; background: var(--color-bg-alt); }
.video-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.video-wrapper {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
  position: relative;
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* YouTube click-to-load facade */
.yt-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .2s;
}
.yt-facade:hover img, .yt-facade:focus img { opacity: .6; }
.yt-play-btn {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.6));
  transition: transform .15s;
}
.yt-facade:hover .yt-play-btn,
.yt-facade:focus .yt-play-btn { transform: scale(1.1); }
.yt-privacy-note {
  position: absolute;
  bottom: .75rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  background: rgba(0,0,0,.45);
  padding: .2rem .6rem;
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}

/* Presentation Photos Gallery */
.photos-section { padding: var(--section-py) 0; }
.pres-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pres-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.pres-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.pres-photo:hover img { transform: scale(1.05); }

/* Presentation Cards */
.presentations-list { padding: var(--section-py) 0; }
.pres-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.pres-item:first-child { padding-top: 0; }
.pres-item:last-child { border-bottom: none; padding-bottom: 0; }
.pres-num {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-border);
  font-variant-numeric: tabular-nums;
  user-select: none;
  padding-top: .2rem;
}
.pres-content h2 {
  font-size: clamp(1.25rem, 2.25vw, 1.625rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -.015em;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.pres-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: .875rem;
}
.pres-content p:last-child { margin-bottom: 0; }

/* 16. Hebrew / RTL
   ---------------------------------------------------------- */
[dir="rtl"] body {
  font-family: var(--font-he);
}
[dir="rtl"] .hero-content,
[dir="rtl"] .about-text { text-align: right; }
[dir="rtl"] .hero-orb-1 { right: auto; left: -150px; }
[dir="rtl"] .hero-orb-2 { left: auto; right: -50px; }
[dir="rtl"] .hero-scroll-indicator { left: auto; right: 50%; transform: translateX(50%); }
@keyframes scrollBounceRtl {
  0%, 100% { transform: translateX(50%) translateY(0); opacity: .72; }
  50% { transform: translateX(50%) translateY(7px); opacity: 1; }
}
[dir="rtl"] .hero-scroll-indicator { animation-name: scrollBounceRtl; }
[dir="rtl"] .about-grid { direction: rtl; }
[dir="rtl"] .footer-tagline { max-width: 280px; }
[dir="rtl"] .pres-item { direction: rtl; }
[dir="rtl"] .card-link:hover svg { transform: translateX(-3px); }
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .dropdown { left: auto; right: 50%; transform: translateX(50%) translateY(-4px); }
[dir="rtl"] .has-dropdown:hover .dropdown,
[dir="rtl"] .has-dropdown:focus-within .dropdown,
[dir="rtl"] .has-dropdown.dropdown-open .dropdown {
  transform: translateX(50%) translateY(0);
}
[dir="rtl"] .dropdown-arrow { margin-left: 0; margin-right: .3rem; }

/* 17. Animations
   ---------------------------------------------------------- */
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.75); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-aos] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos-delay="100"] { transition-delay: .1s; }
[data-aos-delay="200"] { transition-delay: .2s; }
[data-aos-delay="300"] { transition-delay: .3s; }
[data-aos-delay="400"] { transition-delay: .4s; }
[data-aos-delay="500"] { transition-delay: .5s; }

/* 18. Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid  { grid-template-columns: repeat(4, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .pres-photos   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-navy);
    z-index: 199;
    padding: 88px 1.5rem 2rem;
    flex-direction: column;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; gap: .375rem; }
  .main-nav a { font-size: 1.125rem; padding: .75rem 1rem; color: rgba(255,255,255,.85); }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.07); color: #fff; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none !important;
    box-shadow: none; border: none;
    background: rgba(255,255,255,.05);
    min-width: 0; border-radius: var(--r-sm);
    padding: .25rem 0 .25rem 1rem;
    margin-top: .25rem;
    transition: none !important;
  }
  .dropdown li a { color: rgba(255,255,255,.7) !important; font-size: 1rem !important; }
  [dir="rtl"] .main-nav > ul { flex-direction: column; }
  [dir="rtl"] .dropdown { transform: none !important; right: auto; }

  .mobile-menu-btn { display: flex; }

  .hero-content { grid-template-columns: 1fr; padding-bottom: 5rem; }
  .hero-image { display: none; }
  .nav-cta { display: none !important; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-wrap { max-width: 360px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid  { grid-template-columns: repeat(2, 1fr); }
  .trust-grid    { gap: 2rem; }
  .footer-top    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pres-item { grid-template-columns: 1fr; gap: .75rem; }
  .pres-num  { font-size: 2.5rem; }
  .page-hero { padding: 8rem 0 4rem; }
  .pres-photos { grid-template-columns: repeat(2, 1fr); }
  :root { --contact-sq: 68px; }
  .contact-btns { gap: .75rem; }
  .contact-btn { width: var(--contact-sq); height: var(--contact-sq); }
  .contact-btn svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .hero-actions   { flex-direction: column; }
  .clients-grid   { grid-template-columns: repeat(2, 1fr); }
  .section-header { margin-bottom: 2.75rem; }
  .pres-photos    { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .contact-btns   { flex-direction: column; align-items: center; }
  .contact-btn    { width: var(--contact-sq); height: var(--contact-sq); }
}

/* 19. Reduced Motion (WCAG 2.3.3 / IS 5568)
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-scroll-indicator { animation: none !important; }
  html { scroll-behavior: auto; }
}
