/* === MODERN CSS RESET & VARIABLES === */
:root {
  /* Palette */
  --primary-dark: #0b2238;
  --primary-blue: #1e5a96;
  --primary-light: #4fa3e6;

  --accent-gold: #cfaa48;
  --accent-gold-hover: #b39134;

  --action-teal: #00b4b4;
  --action-teal-dark: #008e8e;

  --bg-body: #f4f6f8;
  --bg-white: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);

  --text-main: #2c3e50;
  --text-secondary: #636e72;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-gold: 0 10px 20px -5px rgba(207, 170, 72, 0.4);

  /* Typography */
  --font-heading: 'Heebo', sans-serif;
  --font-body: 'Rubik', sans-serif;

  /* Animation */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z */
  --z-header: 1000;
  --z-mobile-menu: 990;
  --z-cookie: 2000;
  --z-modal: 3000;
  --z-a11y: 2500;
  --z-toast: 2000;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Accessibility Classes */
body.a11y-large-text { font-size: 120%; }
body.a11y-contrast { background-color: #000 !important; color: #fff !important; }
body.a11y-contrast * { background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
body.a11y-contrast img { filter: grayscale(100%) contrast(120%); }
body.a11y-links-highlight a { text-decoration: underline !important; font-weight: bold !important; color: #ffff00 !important; background: #000 !important; }

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
  margin: 0;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 32px; border-radius: 50px; font-weight: 700;
  font-size: 1rem; cursor: pointer; transition: var(--transition);
  gap: 10px; border: none; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(30, 90, 150, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 90, 150, 0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  color: white;
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-secondary:hover {
  background: white; color: var(--primary-dark); border-color: white;
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--accent-gold); color: white;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--accent-gold-hover); transform: translateY(-2px); }

/* === HEADER === */
header {
  position: fixed; top: 0; width: 100%; z-index: var(--z-header);
  background: var(--bg-white);
  padding: 20px 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s, padding 0.3s;
  box-shadow: var(--shadow-sm);
}
header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo-wrapper { display: block; }
.logo-wrapper img { height: 45px; width: auto; transition: var(--transition); }

.nav-menu { display: flex; align-items: center; gap: 35px; }

.nav-link {
  font-weight: 500;
  color: var(--primary-dark);
  position: relative;
  padding: 5px 0;
  font-size: 1.05rem;
}
header.scrolled .nav-link { color: var(--primary-dark); }

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  right: 0;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--primary-dark);
  border: none;
  background: none;
  font-size: 1.8rem;
  padding: 5px;
  z-index: calc(var(--z-header) + 1);
}
header.scrolled .hamburger { color: var(--primary-dark); }

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 34, 56, 0.9), rgba(30, 90, 150, 0.75)), url('OfficeBack.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
}

/* Scroll Indicator (Arrow) */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  opacity: 0.8;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* Inner Page Hero Override */
.hero-inner { min-height: 50vh; }

.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 2rem; }

.brand-main {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  color: #ffffff;
}

.brand-sub {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  display: block;
  margin-bottom: 20px;
  color: var(--accent-gold);
}
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.9; max-width: 600px; margin-inline: auto; }

.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* === SECTIONS GENERAL === */
.section-padding { padding: 100px 0; }
.bg-white { background: var(--bg-white); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 70px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--action-teal); margin: 10px auto 0; border-radius: 2px; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); }

/* === ANIMATION UTILS === */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* === AREAS GRID === */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.area-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.area-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.card-img { height: 200px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.area-card:hover .card-img img { transform: scale(1.1); }

.card-content { padding: 30px; flex-grow: 1; position: relative; }

.card-icon {
  width: 64px; height: 64px; background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary-blue);
  position: absolute; top: -32px; right: 30px;
  box-shadow: var(--shadow-md);
}

.card-content h3 { margin-bottom: 15px; margin-top: 15px; font-size: 1.4rem; }
.features-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.features-list i { color: var(--action-teal); font-size: 0.9rem; }

/* === PROCESS === */
.process-section { background-color: var(--bg-white); }
.process-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process-wrapper::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--action-teal), var(--accent-gold));
  z-index: 1;
  opacity: 0.2;
}

.process-step { position: relative; z-index: 2; text-align: center; background: var(--bg-white); padding: 10px; }
.process-icon {
  width: 100px; height: 100px; background: white; border-radius: 50%; margin: 0 auto 25px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; border: 2px solid #f0f0f0; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-1 .process-icon { color: var(--primary-blue); border-color: rgba(30, 90, 150, 0.2); }
.step-2 .process-icon { color: var(--action-teal); border-color: rgba(0, 180, 180, 0.2); }
.step-3 .process-icon { color: var(--accent-gold); border-color: rgba(212, 175, 55, 0.2); }
.step-4 .process-icon { color: var(--primary-dark); border-color: rgba(11, 34, 56, 0.2); }

.process-step:hover .process-icon { transform: scale(1.1) rotate(5deg); box-shadow: var(--shadow-md); background: #fdfdfd; }

/* === CONTACT / CTA === */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: white; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-bg-pattern {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.5;
}

.form-container {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(15px);
  padding: 40px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.15);
  max-width: 800px; margin: 0 auto; position: relative; z-index: 5;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-full { grid-column: 1 / -1; }

.form-input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent-gold); background: white; transform: translateY(-2px); }

.checkbox-wrapper { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 10px; }

/* === FOOTER === */
footer { background: var(--primary-dark); color: #ecf0f1; padding: 70px 0 20px; border-top: 5px solid var(--accent-gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
.footer-links a { display: block; margin-bottom: 12px; color: #aab7c4; transition: var(--transition); cursor: pointer; }
.footer-links a:hover { color: var(--accent-gold); padding-right: 8px; }

.social-icons { display: flex; gap: 15px; }
.social-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-icon:hover { background: var(--accent-gold); transform: translateY(-3px); color: var(--primary-dark); }

/* === ACCESSIBILITY WIDGET === */
.a11y-btn {
  position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px;
  background: var(--primary-blue); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow-lg);
  z-index: var(--z-a11y); border: 2px solid white; transition: var(--transition);
}
.a11y-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

.a11y-menu {
  position: fixed; bottom: 80px; left: 20px; width: 250px;
  background: white; border-radius: 12px; padding: 20px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.2); z-index: var(--z-a11y);
  display: none; opacity: 0; transform: translateY(20px);
  transition: var(--transition);
  border: 1px solid #ddd;
}
.a11y-menu.active { display: block; opacity: 1; transform: translateY(0); }
.a11y-menu h3 { font-size: 1.1rem; margin-bottom: 15px; border-bottom: 2px solid var(--accent-gold); padding-bottom: 5px; display: inline-block; }

.a11y-option {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  cursor: pointer; padding: 8px; border-radius: 6px; background: #f8f9fa;
  transition: 0.2s; color: var(--primary-dark); font-size: 0.95rem;
}
.a11y-option:hover { background: #e9ecef; }
.a11y-option i { width: 20px; color: var(--primary-blue); }

/* === MODALS (Privacy & A11y) === */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition);
  backdrop-filter: blur(5px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-content {
  background: white; width: 90%; max-width: 800px; max-height: 80vh;
  border-radius: 16px; padding: 40px; overflow-y: auto;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(50px); transition: var(--transition);
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-close {
  position: absolute; top: 20px; left: 20px; font-size: 1.5rem;
  cursor: pointer; color: var(--text-secondary); background: none; border: none;
}
.modal-close:hover { color: var(--primary-dark); }

.legal-text h2 { margin-bottom: 20px; font-size: 2rem; color: var(--primary-blue); }
.legal-text h4 { margin: 20px 0 10px; font-size: 1.2rem; }
.legal-text p, .legal-text li { font-size: 1rem; color: #444; margin-bottom: 10px; }
.legal-text ul { list-style: disc; padding-right: 20px; margin-bottom: 15px; }

/* === COOKIE BANNER (ישן, אם לא בשימוש אפשר למחוק) === */
#cookie-consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(11, 34, 56, 0.95);
  color: white; padding: 1.5rem 2rem; z-index: var(--z-cookie);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  transform: translateY(100%); transition: transform 0.5s ease-out;
  border-top: 4px solid var(--accent-gold); box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
#cookie-consent-banner.active { transform: translateY(0); }
#cookie-consent-banner p { margin: 0; flex-grow: 1; font-size: 0.95rem; }
#cookie-consent-banner a { color: var(--accent-gold); text-decoration: underline; }

#cookie-consent-btn {
  background: var(--accent-gold); color: var(--primary-dark);
  padding: 0.7rem 1.5rem; border: none; border-radius: 50px;
  cursor: pointer; transition: all 0.3s; font-weight: 700;
}
#cookie-consent-btn:hover { background: white; transform: translateY(-2px); }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .process-wrapper { grid-template-columns: 1fr 1fr; gap: 50px; }
  .process-wrapper::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: white; flex-direction: column; justify-content: center;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: var(--z-mobile-menu); box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-link { color: var(--primary-dark); font-size: 1.5rem; }

  .hamburger { display: block; }
  .hamburger.is-active i::before { content: "\f00d"; }
  .hamburger.is-active { color: var(--primary-dark); position: fixed; right: 15px; top: 15px; }

  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
  .logo-wrapper img { height: 40px; }

  .a11y-menu { left: 10px; width: 200px; }

  /* Mobile Height Adjustment */
  .hero { min-height: 60vh; padding-top: 100px; }
  .hero-inner { min-height: 40vh; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: -400px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-right: 5px solid var(--action-teal);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: var(--z-toast);
  transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.toast.show { right: 30px; }

/* === INNER PAGES STYLES === */
.detailed-content-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.wide-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  padding: 40px;
  transition: var(--transition);
  position: relative;
}
.wide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.wide-card h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.wide-card h3 i {
  color: var(--action-teal);
  background: rgba(0, 180, 180, 0.1);
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.wide-card p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.wide-card ul { margin-top: 20px; list-style: none; }
.wide-card li { margin-bottom: 15px; position: relative; padding-right: 25px; line-height: 1.6; }
.wide-card li strong { color: var(--primary-dark); font-weight: 700; }
.wide-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 3px;
  color: var(--accent-gold);
}

/* === PREMIUM CONTACT PAGE STYLES === */
.contact-split-wrapper {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  min-height: 600px;
}

/* Visual side */
.contact-visual-side {
  background-color: var(--primary-dark);
  padding: 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.contact-visual-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 161, 107, 0.05) 0%, transparent 40%);
  background-size: 100% 100%;
  z-index: 1;
}
.contact-visual-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.02) 75%, transparent 75%, transparent);
  background-size: 60px 60px;
  z-index: 1;
}

.visual-content { position: relative; z-index: 2; }

.visual-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  color: #ffffff !important;
}

.visual-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 90%;
}

.decoration-line {
  width: 80px;
  height: 4px;
  background: var(--accent-gold);
  margin-top: 40px;
  border-radius: 2px;
}

/* Form side */
.contact-form-side {
  padding: 60px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.input-group { margin-bottom: 20px; }

.input-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.premium-input {
  width: 100%;
  padding: 15px;
  background: #f8fafd;
  border: 2px solid #eef2f7;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--primary-dark);
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.premium-input::placeholder { color: #aab7c4; }

.premium-input:focus {
  background: white;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(196, 161, 107, 0.15);
  outline: none;
}

.form-grid.single-col { display: block; }

.btn-lg {
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  border: none;
}
.btn-lg:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(30, 90, 150, 0.5);
}

@media (max-width: 992px) {
  .contact-split-wrapper { grid-template-columns: 1fr; min-height: auto; }
  .contact-visual-side { padding: 40px 30px; text-align: center; }
  .visual-title { font-size: 2rem; }
  .decoration-line { margin: 30px auto 0; }
  .contact-form-side { padding: 40px 30px; }
}

/* === ABOUT / TEAM PAGE STYLES === */
.leaders-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.leader-card {
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
}

.leader-card.reverse { flex-direction: row-reverse; }

.leader-image {
  flex: 0 0 350px;
  height: 400px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

.leader-image::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  z-index: 2;
  transition: var(--transition);
}
.leader-card:hover .leader-image::before {
  border-color: var(--accent-gold);
  transform: scale(0.95);
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.leader-card:hover .leader-image img { transform: scale(1.05); }

.leader-content { flex: 1; }

.leader-content h3 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 5px; }

.leader-role {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 5px;
}

.leader-bio p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

.leader-social {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.leader-social a {
  width: 40px; height: 40px;
  background: #f0f2f5;
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.leader-social a:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .leader-card, .leader-card.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
  }

  .leader-image {
    flex: auto;
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .leader-content h3 { font-size: 1.8rem; }
  .leader-social { justify-content: center; }
}

/* דחיית רינדור לתוכן מתחת לקפל */
main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* Cookie Toast, small, branded, responsive */
.cookie-toast{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: var(--z-cookie, 2000);
  display: grid;
  place-items: center;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;

  font-family: var(--font-body, 'Rubik', sans-serif);
}

.cookie-toast--show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-toast--hide{
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.cookie-toast__inner{
  width: min(860px, 100%);
  border-radius: 16px;
  padding: 10px 12px;

  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(207,170,72,0.22);
  box-shadow: 0 12px 28px rgba(11,34,56,0.12);
  backdrop-filter: blur(10px);

  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;

  text-align: right;
}

.cookie-toast__text{ min-width: 240px; }
.cookie-toast__text strong{ display: none; }

.cookie-toast__small{
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(44,62,80,0.88);
}

.cookie-toast__actions{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Privacy link as link, not a boxed button */
.cookie-toast__link{
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue, #1e5a96);
  text-decoration: underline;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
}

/* Compact buttons */
.cookie-toast__btn{
  font-family: inherit;
  border: 1px solid rgba(0,0,0,0.10);
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  white-space: nowrap;
  background: var(--accent-gold, #cfaa48);
  color: var(--primary-dark, #0b2238);
  border-color: rgba(207,170,72,0.55);
}
.cookie-toast__btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }

.cookie-toast__btn--ghost{
  background: rgba(11,34,56,0.06);
  color: var(--primary-dark, #0b2238);
  border-color: rgba(11,34,56,0.12);
}
.cookie-toast__btn--ghost:hover{
  background: rgba(11,34,56,0.09);
  filter: none;
}

@media (max-width: 600px){
  .cookie-toast__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Link on top, buttons side by side */
  .cookie-toast__actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    align-items: center;
  }

  .cookie-toast__link{
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cookie-toast__btn{
    width: auto;
    justify-self: stretch;
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

@media (max-width: 768px){
  header .header-content{
    position: relative;
    min-height: 64px;
  }

  /* המבורגר שמאל */
  header .hamburger{
    display: block;
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    margin: 0;
    z-index: calc(var(--z-header) + 2);
  }

  /* לוגו ימין */
  header .logo-wrapper{
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    margin: 0;
  }

  /* ביטול מרווחים שיכולים להזיז דברים */
  header .header-content,
  header .logo-wrapper,
  header .hamburger{
    justify-content: initial;
    align-items: initial;
  }
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
