/* SHCHORI-JOB — shared styles (RTL, light premium theme) */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --surface: #ffffff;
  --border: #e6e8ef;
  --accent: #9c82e0;        /* הסגול הבהיר של הלוגו — hovers, אייקונים */
  --accent-deep: #6b4ec6;   /* הסגול העמוק של הלוגו — קישורים, כפתורים */
  --accent-tint: #f2edfd;
  --navy: #14162e;          /* הנייבי של הלוגו — פוטר, טקסט כהה */
  --text: #1c2142;
  --muted: #5b6478;
  --ok: #2e8b62;
  --err: #c0392b;
  --radius: 16px;
  --shadow: 0 6px 22px rgba(31, 42, 68, 0.08);
  --shadow-hover: 0 14px 34px rgba(31, 42, 68, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  direction: rtl;
}

img { max-width: 100%; }

a { color: var(--accent-deep); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
/* פס המותג — גרדיאנט נייבי→סגול כמו בבאנר הלוגו */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(100deg, #12142b 0%, #1c1a3e 55%, #3d2f74 100%);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10, 12, 30, 0.35);
}
.site-header .inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; direction: ltr; }
.brand svg.brand-mark { width: 50px; height: 50px; flex: none; }
.brand-divider { width: 1px; height: 42px; background: rgba(255, 255, 255, 0.28); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: "Syncopate", "Space Grotesk", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 5px;
  color: #ffffff;
}
.brand-slogan {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.53rem;
  letter-spacing: 1.7px;
  color: #b7a3f0;
  margin-top: 7px;
}
.brand.brand-sm svg.brand-mark { width: 40px; height: 40px; }
.brand.brand-sm .brand-divider { height: 34px; }
.brand.brand-sm .brand-word { font-size: 1rem; letter-spacing: 3.8px; }
.brand.brand-sm .brand-slogan { font-size: 0.45rem; letter-spacing: 1.3px; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  padding: 9px 16px;
  border-radius: 999px;
  color: #e4e0f4;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.nav a.active { color: #cbbcf5; background: rgba(255, 255, 255, 0.12); font-weight: 700; }
.nav a.cta {
  background: #7c5cd6;
  color: #ffffff;
  font-weight: 700;
  margin-inline-start: 8px;
}
.nav a.cta:hover { background: var(--accent); color: #ffffff; }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.15rem;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.1); }
.menu-btn:focus-visible { outline: 2px solid #cbbcf5; outline-offset: 2px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(12, 14, 32, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 40;
}
.nav-overlay.show {
  display: block;
  opacity: 1;
}
body.nav-locked { overflow: hidden; }

@media (max-width: 900px) {
  .menu-btn { display: block; z-index: 60; position: relative; }
  .brand svg.brand-mark { width: 40px; height: 40px; }
  .brand-divider { height: 34px; }
  .brand-word { font-size: 1.05rem; letter-spacing: 3.8px; }
  .brand-slogan { font-size: 0.45rem; letter-spacing: 1.3px; }
  .nav {
    display: flex;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, #1a1836 0%, #15132c 100%);
    box-shadow: var(--shadow-hover);
    padding: 8px 16px 18px;
    z-index: 55;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.32s ease, opacity 0.28s ease, transform 0.28s ease, padding 0.28s ease;
  }
  .nav.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 10px 16px 18px;
  }
  .nav a { padding: 13px 16px; border-radius: 12px; }
  .nav a {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease, color 0.15s ease;
  }
  .nav.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav.open a:nth-child(1) { transition-delay: 0.04s; }
  .nav.open a:nth-child(2) { transition-delay: 0.07s; }
  .nav.open a:nth-child(3) { transition-delay: 0.1s; }
  .nav.open a:nth-child(4) { transition-delay: 0.13s; }
  .nav.open a:nth-child(5) { transition-delay: 0.16s; }
  .nav.open a:nth-child(6) { transition-delay: 0.19s; }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav a, .nav-overlay, .menu-btn, .site-header { transition: none !important; }
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  z-index: 70;
  inset-inline-start: 20px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 28px rgba(20, 22, 46, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-fab:hover {
  color: #fff;
  background: #1ebe57;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(20, 22, 46, 0.34);
}
.whatsapp-fab:focus-visible {
  outline: 3px solid #cbbcf5;
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  background: #ffffff;
}
.hero .split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  /* מכויל כך שכל משפט נשאר בשורה אחת בדסקטופ (שתי שורות סה"כ) */
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.22;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--accent-deep); }
.hero p.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { width: 100%; max-width: 420px; margin: 0 auto; }
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { background: var(--accent-deep); color: #ffffff; }
.btn.primary:hover { background: var(--accent); color: #ffffff; }
.btn.lg {
  padding: 16px 42px;
  font-size: 1.15rem;
  box-shadow: 0 8px 22px rgba(107, 78, 198, 0.28);
}
.btn.ghost { background: #ffffff; border-color: var(--accent-deep); color: var(--accent-deep); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); /* עד 40px */
  margin: 0 0 12px;
  font-weight: 800;
}
.section .sub { color: var(--muted); margin: 0 0 40px; max-width: 640px; font-size: 1.1rem; }

.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

.card .icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--text);
  margin-bottom: 16px;
  transition: color 0.2s ease;
}
.card .icon svg { width: 28px; height: 28px; }
.card:hover .icon { color: var(--accent-deep); }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  inset-inline-start: 24px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent-deep);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

/* ---------- Jobs ---------- */
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr; } }

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.job-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.job-card h3 a { color: var(--text); }
.job-card h3 a:hover { color: var(--accent-deep); }
.job-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .job-card { flex-direction: column; align-items: stretch; }
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 500;
}

.job-detail h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.job-detail .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.job-detail h2 { font-size: 1.3rem; margin: 30px 0 10px; color: var(--accent-deep); }
.job-detail ul { margin: 0; padding-inline-start: 22px; color: var(--muted); }
.job-detail li { margin-bottom: 8px; }

/* ---------- Forms ---------- */
form.std { display: grid; gap: 20px; max-width: 660px; }
form.std .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { form.std .row2 { grid-template-columns: 1fr; } }

label { font-weight: 600; font-size: 0.98rem; display: block; margin-bottom: 7px; }
label .req { color: var(--err); }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 5px; }

input[type="text"], input[type="tel"], input[type="email"], input[type="url"],
input[type="file"], select, textarea, input[type="search"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--accent); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
textarea { min-height: 120px; resize: vertical; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--accent-deep); }

.field-error { color: var(--err); font-size: 0.87rem; margin-top: 5px; display: none; }
.invalid input, .invalid select, .invalid textarea { border-color: var(--err); }
.invalid .field-error { display: block; }

.form-success {
  display: none;
  background: #eef8f2;
  border: 1px solid #bfe5d1;
  color: var(--ok);
  padding: 20px 26px;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ---------- Misc ---------- */
.contact-strip {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
}
.contact-strip strong { color: var(--text); }
.contact-strip .ic {
  display: inline-flex;
  vertical-align: -5px;
  margin-inline-end: 6px;
  color: var(--accent-deep);
}
.contact-strip .ic svg { width: 22px; height: 22px; }

.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 14px; font-weight: 800; }
.page-head p { color: var(--muted); max-width: 660px; margin: 0; font-size: 1.1rem; }

.prose p { color: var(--muted); }
.prose h2 { color: var(--accent-deep); font-size: 1.4rem; margin: 34px 0 10px; }

.site-footer {
  padding: 46px 0;
  margin-top: 72px;
  background: linear-gradient(120deg, var(--navy) 0%, #1e1b3f 55%, #33265c 100%);
}
.site-footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  color: #b9b3d6;
  font-size: 0.95rem;
}
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { color: #d4cdf0; }
.site-footer nav a:hover { color: #ffffff; }
.site-footer .brand-word { color: #ffffff; }
.site-footer .brand-slogan { color: #b7a3f0; }
.site-footer .brand-divider { background: rgba(255, 255, 255, 0.28); }

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  background: var(--accent-deep);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 0 0 10px 10px;
  z-index: 100;
}
.skip-link:focus { inset-inline-start: 16px; }

.empty-note { color: var(--muted); padding: 36px 0; text-align: center; }

/* ---------- פס אמון ---------- */
.trust-strip {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
  padding: 18px 0;
}
.trust-strip .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-strip p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.trust-names { display: flex; gap: 22px; align-items: center; }
.trust-names a {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.95rem;
  color: var(--text);
}
.trust-names a:hover { color: var(--accent-deep); }

/* ---------- מקטע דו־טורי כללי (רונית / Hero) ---------- */
.split2 {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 900px) {
  .split2 { grid-template-columns: 1fr; gap: 32px; }
  .split2 .photo { width: 100%; max-width: 380px; margin: 0 auto; }
}
.split2 .photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- SHCHORI בתקשורת ---------- */
.media-card { display: flex; flex-direction: column; gap: 10px; }
.media-card .media-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.media-card .media-source {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-deep);
}
.media-card h3 { margin: 0; font-size: 1.1rem; }
.media-card p.summary { flex: 1; margin: 0; color: var(--muted); font-size: 0.95rem; }
.media-card .btn { align-self: flex-start; padding: 9px 22px; font-size: 0.95rem; }

.submit-error {
  background: #fdeeee !important;
  border-color: #f0c8c8 !important;
  color: #8f2f25 !important;
}

/* ---------- הערת נתוני הדגמה ---------- */
.demo-note {
  background: var(--accent-tint);
  border: 1px solid #e2d8f8;
  color: #4a3d78;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
