/* ===== בסיס ===== */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f7f5f0;
  color: #17202e;
  font-family: Assistant, system-ui, sans-serif;
  direction: rtl;
}
a { color: #1d3557; }
a:hover { color: #a9762f; }

.serif { font-family: 'Suez One', Georgia, serif; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.inner { max-width: 860px; margin: 0 auto; }

/* ===== נגישות ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 1000;
  background: #1d3557; color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 4px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ===== פוטר ===== */
.site-footer { text-align: center; padding: 18px 16px 26px; font-size: 12px; color: #5f6673; }
.site-footer a { color: #5f6673; }
.site-footer span { margin: 0 8px; }

/* ===== כפתורים ===== */
.btn,
.btn:hover {
  display: inline-block;
  color: #fff;
  background: #1d3557;
  text-decoration: none;
  border-radius: 4px;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
}
.btn--hero { font-size: 19px; font-weight: 600; padding: 18px 34px; }
.btn--outline { border: 2px solid #e0a94f; font-size: 20px; font-weight: 700; padding: 18px 36px; }

/* ===== פתיח ===== */
.hero { padding: 96px 0 76px; }
.hero h1 {
  font-family: 'Suez One', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 6.2vw, 62px);
  line-height: 1.14;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}
.hero__num { display: block; text-align: center; margin-bottom: 14px; }
.hero__sub {
  font-family: 'Suez One', Georgia, serif;
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.45;
  margin: 0 0 18px;
  color: #2b3a52;
}
.hero__note { font-size: 19px; line-height: 1.6; margin: 0 0 6px; color: #4a5568; }
.hero__note--last { margin-bottom: 36px; }

/* ===== בלוק הוכחה ===== */
.proof { background: #1d3557; color: #f4f1ea; padding: 60px 24px; }
.proof p { font-size: 21px; line-height: 1.6; margin: 0 0 14px; color: #c7d2e2; }
.proof p.proof__line2 { margin-bottom: 22px; }
.proof strong { color: #fff; }
.proof p.proof__big {
  font-family: 'Suez One', Georgia, serif;
  font-size: clamp(28px, 4.6vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #f4f1ea;
}
.gold { color: #e0a94f; }
.proof__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.logo-plate {
  flex-shrink: 0;
  background: #fff;
  padding: 16px 26px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
}
.logo-plate img { display: block; height: 38px; width: auto; }

/* ===== סעיפים ===== */
.sec { padding: 64px 0 0; }
.sec--first { padding-top: 72px; }
.sec--tight { padding-top: 20px; }
.sec h2 { font-family: 'Suez One', Georgia, serif; font-size: 34px; margin: 0 0 18px; }
.sec h2.mb22 { margin-bottom: 22px; }
.sec h2.mb8 { margin-bottom: 8px; }
.sec h2.mb28 { margin-bottom: 28px; }
.sec h2.mb16 { margin-bottom: 16px; }

.body { font-size: 19px; line-height: 1.7; margin: 0 0 14px; color: #35425a; }
.body:last-child { margin-bottom: 0; }
.lead { font-size: 18px; color: #4a5568; margin: 0 0 22px; }

.where { display: grid; gap: 10px; margin-bottom: 22px; }
.where > div { background: #fff; border-right: 3px solid #1d3557; padding: 16px 20px; font-size: 18px; line-height: 1.6; }

.blockers { display: grid; gap: 14px; }
.blockers > div { background: #fff; padding: 18px 20px; font-size: 18px; line-height: 1.65; color: #35425a; }
.blockers strong { font-size: 19px; color: #17202e; }

.navy-stmt { font-family: 'Suez One', Georgia, serif; font-weight: 700; margin: 0; color: #1d3557; }
.navy-stmt--26 { font-size: 26px; }
.navy-stmt--28 { font-size: 28px; line-height: 1.4; margin-bottom: 22px; }

/* ===== טבלאות ===== */
.table-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl--roles { font-size: 17px; min-width: 540px; }
.tbl--pay { font-size: 18px; min-width: 380px; }
.tbl thead tr { background: #eceae3; }
.tbl th { text-align: right; padding: 12px 16px; font-weight: 700; }
.tbl td { padding: 12px 16px; border-top: 1px solid #e3e0d8; }
.tbl--roles td:last-child { color: #4a5568; }
.pay-label { font-size: 17px; font-weight: 600; margin: 0 0 10px; color: #4a5568; }

/* ===== המקרה - זרימה ===== */
.flow {
  position: relative;
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 34px;
  overflow: hidden;
}
.flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow__boxes { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.flow__src { background: #eceae3; color: #1d3557; font-size: 18px; font-weight: 600; padding: 14px 26px; text-align: center; min-width: 118px; }
.flow__circle-wrap { position: relative; z-index: 1; flex: 0 0 auto; }
.flow__circle {
  width: min(250px, 62vw);
  height: min(250px, 62vw);
  border-radius: 50%;
  background: #1d3557;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}
.flow__count { font-family: 'Suez One', Georgia, serif; font-weight: 400; font-size: clamp(26px, 6.4vw, 40px); line-height: 1; }

.quote { margin: 32px 0 0; background: #efe6d6; border-right: 4px solid #e0a94f; padding: 26px 24px; }
.quote p { font-family: 'Suez One', Georgia, serif; font-size: 21px; line-height: 1.65; margin: 0 0 18px; color: #2b3a52; }
.quote footer { font-size: 16px; color: #6b6250; }
.quote__name { display: block; font-weight: 700; color: #17202e; }
.quote__role { display: block; margin-top: 6px; }

/* ===== איך זה עובד ===== */
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.steps__track { position: absolute; top: 13px; right: 0; height: 2px; background: #1d3557; width: 100%; }
.step { position: relative; z-index: 1; }
.step__num {
  width: 28px; height: 28px; border-radius: 50%;
  background: #1d3557; color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; margin-bottom: 14px;
}
.step__num--gold { background: #e0a94f; color: #1d3557; }
.step__title { font-family: 'Suez One', Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.2; }
.step__text { font-size: 16px; line-height: 1.6; color: #4a5568; margin-top: 10px; }
.pay-line { margin-top: 26px; }

/* ===== למי זה מתאים ===== */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.fit__card { background: #fff; padding: 22px; border-top: 3px solid #1d3557; }
.fit__card--no { border-top-color: #b9c0cc; }
.fit__title { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.fit ul { margin: 0; padding-right: 20px; display: grid; gap: 10px; font-size: 17px; color: #35425a; line-height: 1.55; }
.fit__card--no ul { color: #4a5568; }

/* ===== שעון ===== */
.clock { display: flex; align-items: flex-start; gap: 22px; flex-wrap: wrap; }
.clock svg { flex: 0 0 auto; }
.clock__text { flex: 1 1 320px; min-width: 260px; }
.clock__text h2 { margin-bottom: 16px; }
.clock__text .body { margin-bottom: 10px; }
.clock__text .body:last-child { margin-bottom: 0; }

/* ===== שאלות ותשובות ===== */
.faq { display: grid; gap: 8px; }
.faq__item { background: #fff; }
.faq__q {
  width: 100%;
  text-align: right;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-family: Assistant, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #17202e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 44px;
}
.faq__sign { color: #a9762f; font-size: 22px; line-height: 1; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 200ms ease; }
.faq__item.is-open .faq__a { max-height: 400px; }
.faq__a p { margin: 0; padding: 0 20px 20px; font-size: 17px; line-height: 1.7; color: #35425a; }

/* ===== קריאה לפעולה ===== */
.cta { background: #1d3557; color: #fff; margin-top: 80px; padding: 76px 24px; }
.cta h2 { font-family: 'Suez One', Georgia, serif; font-size: clamp(30px, 5vw, 44px); margin: 0 0 16px; }
.cta p { font-size: 20px; line-height: 1.6; margin: 0 0 8px; color: #c7d2e2; }
.cta p.cta__last { line-height: normal; margin-bottom: 32px; }
.cta .btn, .cta .btn:hover { background: #e0a94f; color: #1d3557; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(224, 169, 79, 0.35); }

/* ===== טופס לידים ===== */
.lead { display: grid; gap: 18px; text-align: right; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead__field { display: grid; gap: 6px; }
.lead__label { font-size: 17px; font-weight: 600; color: #17202e; }
.lead__req { color: #96691c; }
.lead input {
  font: inherit; font-size: 18px; color: #17202e;
  background: #fff; border: 1px solid #d6d1c4; border-radius: 4px;
  padding: 13px 14px; width: 100%; box-sizing: border-box;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.lead input[dir="ltr"] { text-align: right; }
.lead input:focus { outline: none; border-color: #1d3557; box-shadow: 0 0 0 3px rgba(29, 53, 87, 0.15); }
.lead input.is-invalid { border-color: #c0392b; }
.lead__privacy { font-size: 15px; color: #5f6673; margin: 0; line-height: 1.5; }
.lead__error { font-size: 16px; color: #c0392b; margin: 0; }
.lead__submit { border: 0; cursor: pointer; font-family: inherit; width: 100%; }
.lead__submit:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 480px) { .lead__row { grid-template-columns: 1fr; } }

/* ===== הודעת עוגיות ===== */
.cookie-note {
  font-family: inherit; text-align: right;
  position: fixed; bottom: 22px; right: 22px; z-index: 998;
  max-width: calc(100% - 124px);
  background: rgba(29, 53, 87, 0.92); color: #fff;
  font-size: 14px; line-height: 1.4; padding: 9px 14px; border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer; opacity: 0; transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.cookie-note.is-shown { opacity: 1; transform: none; }
.cookie-note__x { display: inline-block; margin-right: 10px; font-size: 18px; line-height: 1; opacity: 0.8; vertical-align: -1px; }
@media (max-width: 480px) { .cookie-note { right: 16px; bottom: 30px; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 640px) {
  .proof__inner { flex-direction: column-reverse; gap: 24px; }
  .hero__num { text-align: right; }
  .flow { padding: 28px 12px; gap: 28px; }
  .flow__boxes { width: 100%; justify-content: space-between; gap: 8px; }
  .flow__src { flex: 1 1 0; min-width: 0; padding: 12px 6px; font-size: 16px; }
  .tbl--pay { min-width: 0; font-size: 16px; }
  /* טבלת התפקידים הופכת לכרטיסים */
  .tbl--roles { min-width: 0; background: none; }
  .tbl--roles thead { display: none; }
  .tbl--roles, .tbl--roles tbody, .tbl--roles tr, .tbl--roles td { display: block; }
  .tbl--roles tr { background: #fff; padding: 16px 18px; margin-bottom: 12px; }
  .tbl--roles td { border: 0; padding: 0; }
  .tbl--roles td:first-child { font-size: 19px; font-weight: 700; color: #17202e; margin-bottom: 8px; }
  .tbl--roles td + td { margin-top: 6px; line-height: 1.5; }
  .tbl--roles td + td::before { content: attr(data-label) ": "; color: #6b7280; font-size: 15px; font-weight: 600; }
  .tbl--pay th, .tbl--pay td { padding: 12px 10px; }
  .tbl--pay td:last-child, .tbl--pay th:last-child { text-align: left; }
}
