/* ════════════════════════════════════════════════════════════════════════════
   hitmahut.css — דפי ההתמחויות (hitmahut/*.html)
   ---------------------------------------------------------------------------
   עיצוב בהיר, נקי ואדריכלי: רקע לבן-אפרפר, כרטיסיות לבנות עם מסגרת עדינה,
   כותרות בכחול כהה עמוק ונגיעות זהב שמפניה.

   לוח הצבעים:
     רקע ראשי    #fcfcfd
     רקע אזורים  #f5f6f8
     כרטיסיות    לבן טהור + מסגרת rgba(0,0,0,.06)
     כותרות      #0f172a
     טקסט רץ     #334155
     זהב         #c59b43

   הקובץ נטען אחרי styles.css (שממנו מגיעים ה-nav, ה-footer והכפתורים הצפים)
   ומשתמש בטוקנים משלו תחת .spec-page. שום דף קיים באתר לא טוען אותו, וכל
   הסלקטורים ממודרים תחת .spec-page או בקידומת .sp-.
   ════════════════════════════════════════════════════════════════════════════ */

.spec-page {
  --bg:      #fcfcfd;              /* רקע ראשי            */
  --bg-2:    #f5f6f8;              /* רקע אזור מתחלף      */
  --card:    #ffffff;              /* כרטיסיות ופאנלים    */
  --line:    rgba(0,0,0,.06);      /* מסגרת עדינה         */
  --line-2:  rgba(0,0,0,.1);
  --g:       #c59b43;              /* זהב שמפניה          */
  --g-soft:  rgba(197,155,67,.28);
  --g-wash:  rgba(197,155,67,.07);
  --head:    #0f172a;              /* כותרות              */
  --txt:     #334155;              /* טקסט רץ             */
  --txt-dim: #64748b;

  background: var(--bg);
  color: var(--txt);
}

/* ---------- ניווט עליון ---------- */
/* באתר הראשי הניווט שקוף מעל באנר כהה, ולכן הלוגו והקישורים לבנים.
   כאן הבאנר בהיר, ולכן הניווט לבן ואטום כבר מראש והלוגו נשאר כחול. */
.spec-page #navbar {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15,23,42,.07), 0 18px 40px -32px rgba(15,23,42,.35);
}
.spec-page .nav-logo img { filter: none; }
.spec-page .nav-links a { color: var(--head); }
.spec-page .hamburger span { background: var(--head); }

/* בתפריט הנייד הרקע כהה - שם הקישורים נשארים לבנים כמו בשאר האתר */
@media (max-width: 880px) {
  .spec-page .nav-links a { color: #fff; }
  .spec-page .nav-links a.nav-cta { color: var(--gold-2); }
}

/* ---------- מבנה כללי ---------- */
.sp-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }
.sp-sec  { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.sp-alt  { background: var(--bg-2); }

.sp-h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.9rem); font-weight: 800; color: var(--head);
  line-height: 1.22; letter-spacing: -.02em; margin: 0;
}

/* תווית אזור - גם הכותרת של האזור */
h2.sp-kicker {
  display: block; font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 700;
  color: var(--head); letter-spacing: -.015em; line-height: 1.25;
  margin: 0 0 clamp(2rem, 4vw, 3.2rem); padding-top: 1.3rem; position: relative;
}
h2.sp-kicker::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 46px; height: 2px; background: var(--g);
}

/* ---------- כפתורים ---------- */
.sp-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 2px;
  border: 1px solid transparent; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.sp-btn-ico { display: inline-flex; }
.sp-btn-ico svg { width: 19px; height: 19px; }
.sp-btn-gold { background: var(--g); color: #fff; box-shadow: 0 14px 34px -20px rgba(197,155,67,.9); }
.sp-btn-gold:hover { background: #b2893a; transform: translateY(-2px); }
.sp-btn-line { color: var(--head); border-color: rgba(15,23,42,.18); background: #fff; }
.sp-btn-line:hover { border-color: var(--g); color: var(--g); transform: translateY(-2px); }

/* ---------- 1 · Hero ---------- */
/* פיצול: תמונה בחצי אחד, הטקסט על פאנל בהיר בשני. */
.sp-hero {
  position: relative; min-height: min(84vh, 760px);
  display: flex; align-items: center; overflow: hidden; background: var(--bg);
}
.sp-hero-media {
  position: absolute; top: 0; bottom: 0; left: 0; width: 52%;
  margin: 0; overflow: hidden;
}
.sp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* תפר רך בין התמונה לפאנל הבהיר */
.sp-hero-seam {
  position: absolute; inset: 0;
  background: linear-gradient(to left, var(--bg) 0%, rgba(252,252,253,.85) 15%, rgba(252,252,253,0) 48%);
}
.sp-hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1180px;
  margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem);
  padding-block: clamp(7rem, 11vw, 9rem) clamp(3rem, 6vw, 4.5rem);
}
.sp-hero-copy { max-width: min(600px, 48%); }

/* פירורי לחם - פעם אחת בלבד בכל הדף, עדין */
.sp-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  font-size: .8rem; color: var(--txt-dim); margin-bottom: 1.6rem;
}
.sp-crumb a { color: var(--txt-dim); transition: color .3s; }
.sp-crumb a:hover { color: var(--g); }
.sp-crumb span { color: rgba(15,23,42,.25); }
.sp-crumb em { font-style: normal; color: var(--g); }

.sp-h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 800; color: var(--head);
  line-height: 1.14; letter-spacing: -.028em; margin: 0 0 1.3rem; max-width: 18ch;
}
.sp-h1 span { color: var(--g); }
.sp-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 400; line-height: 1.7;
  color: var(--txt); max-width: 58ch; margin: 0 0 2.4rem;
}

/* ---------- 2 · אזור הכאב ---------- */
.sp-pain .sp-h2 { max-width: 20ch; }
.sp-pain-text {
  margin: 1.8rem 0 0; max-width: 72ch;
  font-size: clamp(1.05rem, 1.65vw, 1.25rem); line-height: 1.95; color: var(--txt);
  padding-inline-start: 1.6rem; border-inline-start: 2px solid var(--g-soft);
}

/* ---------- 3 · למי השירות מיועד ---------- */
.sp-aud-grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}
.sp-aud {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  font-size: 1rem; line-height: 1.7; color: var(--txt);
  transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.sp-aud:hover {
  border-color: var(--g-soft); transform: translateY(-4px);
  box-shadow: 0 24px 50px -36px rgba(15,23,42,.45);
}
.sp-aud-ico { flex: none; color: var(--g); margin-top: .1rem; }
.sp-aud-ico svg { width: 20px; height: 20px; }

/* ---------- 4 · תהליך העבודה (ציר אופקי) ---------- */
/* ללא ספרות בעיגולים: סמן יהלום עדין על קו הציר. */
.sp-steps {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; gap: clamp(1.2rem, 2.6vw, 2.2rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sp-steps::before {
  content: ""; position: absolute; top: 13px; inset-inline: 14px;
  height: 1px; background: linear-gradient(to left, var(--g-soft), rgba(15,23,42,.07));
}
.sp-step { position: relative; padding-top: 3rem; }
.sp-step-dot {
  position: absolute; top: 0; inset-inline-start: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); font-size: 0;
}
.sp-alt .sp-step-dot { background: var(--bg-2); }
.sp-step-dot::before {
  content: ""; width: 11px; height: 11px;
  border: 1.5px solid var(--g); background: var(--card);
  transform: rotate(45deg);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.sp-step:hover .sp-step-dot::before { background: var(--g); transform: rotate(45deg) scale(1.12); }
.sp-step h3 { font-size: 1.1rem; font-weight: 700; color: var(--head); margin: 0 0 .55rem; }
.sp-step p  { margin: 0; font-size: .97rem; line-height: 1.75; color: var(--txt); }

/* ---------- 5 · מה מקבלים ביד ---------- */
.sp-split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.sp-deliver-text {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.9; color: var(--txt);
  margin: 0 0 2rem; max-width: 60ch;
}
.sp-note {
  display: flex; gap: 1.1rem; align-items: flex-start;
  border: 1px solid var(--g-soft); background: var(--g-wash);
  padding: 1.4rem 1.6rem;
}
.sp-note-ico { flex: none; color: var(--g); }
.sp-note-ico svg { width: 24px; height: 24px; }
.sp-note strong {
  display: block; color: #8a6a22; font-size: .82rem; font-weight: 700;
  letter-spacing: .16em; margin-bottom: .5rem;
}
.sp-note p { margin: 0; font-size: .95rem; line-height: 1.75; color: var(--txt); }

.sp-split-img { margin: 0; position: relative; }
.sp-split-img img {
  display: block; width: 100%; height: 100%; max-height: 480px;
  object-fit: cover; border: 1px solid var(--line);
}
.sp-split-img::after {
  content: ""; position: absolute; inset-inline-end: -14px; bottom: -14px;
  width: 58%; height: 58%; border: 1px solid var(--g-soft); pointer-events: none;
}

/* ---------- 6 · שאלות נפוצות ---------- */
.sp-faq-list { display: flex; flex-direction: column; gap: .8rem; max-width: 920px; }
.sp-q {
  border: 1px solid var(--line); background: var(--card);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.sp-q[open], .sp-q:hover { border-color: var(--g-soft); box-shadow: 0 18px 40px -34px rgba(15,23,42,.4); }
.sp-q summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem clamp(1.2rem, 2.4vw, 1.8rem);
  font-size: clamp(1rem, 1.5vw, 1.1rem); font-weight: 600; color: var(--head); line-height: 1.5;
}
.sp-q summary::-webkit-details-marker { display: none; }
.sp-q summary::after {
  content: "+"; flex: none; color: var(--g); font-size: 1.5rem; font-weight: 300;
  line-height: 1; transition: transform .3s var(--ease);
}
.sp-q[open] summary::after { transform: rotate(45deg); }
.sp-q p {
  margin: 0; padding: 0 clamp(1.2rem, 2.4vw, 1.8rem) 1.5rem;
  font-size: .98rem; line-height: 1.85; color: var(--txt); max-width: 74ch;
}

/* ---------- 7 · הוכחות מהשטח והעמקה (מותנה) ---------- */
/* כשאין תוכן האזור לא נכתב ל-HTML, ולכן אין כאן כללי הסתרה. */
.sp-wins { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sp-wins-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: var(--head);
  margin: 0 0 .5rem; letter-spacing: -.01em;
}
.sp-wins-intro { margin: 0 0 1.6rem; font-size: .97rem; line-height: 1.75; color: var(--txt); max-width: 64ch; }
.sp-wins-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.sp-win a {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--card); border: 1px solid var(--line);
  padding: 1.1rem clamp(1.1rem, 2.2vw, 1.6rem);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.sp-win a:hover {
  border-color: var(--g-soft); transform: translateY(-2px);
  box-shadow: 0 20px 44px -34px rgba(15,23,42,.45);
}
.sp-win-ico { flex: none; color: var(--g); display: inline-flex; }
.sp-win-ico svg { width: 22px; height: 22px; }
.sp-win-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.sp-win-body strong { font-size: 1.02rem; font-weight: 600; color: var(--head); line-height: 1.45; }
.sp-win-meta { font-size: .84rem; color: var(--txt-dim); }
/* אחוז ההפחתה - המספר הבולט בשורה */
.sp-win-cut {
  flex: none; display: inline-flex; flex-direction: column; align-items: center;
  min-width: 74px; padding: .4rem .5rem;
  background: var(--g-wash); border: 1px solid var(--g-soft);
}
.sp-win-cut b { font-size: 1.35rem; font-weight: 800; color: #8a6a22; line-height: 1; }
.sp-win-cut span { font-size: .64rem; font-weight: 700; letter-spacing: .12em; color: #8a6a22; margin-top: .25rem; }
.sp-win-result {
  align-self: flex-start; margin-top: .25rem;
  font-size: .86rem; font-weight: 600; color: #8a6a22;
}
.sp-win-go { flex: none; font-size: .86rem; font-weight: 600; color: var(--g); white-space: nowrap; }
.sp-win-go i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.sp-win a:hover .sp-win-go i { transform: translateX(-5px); }

.sp-proof-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.sp-proof {
  display: block; position: relative; background: var(--card);
  border: 1px solid var(--line); padding: clamp(1.6rem, 2.6vw, 2.1rem);
  transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.sp-proof:hover {
  border-color: var(--g-soft); transform: translateY(-4px);
  box-shadow: 0 24px 50px -36px rgba(15,23,42,.45);
}
.sp-proof.is-gov { border-color: var(--g-soft); background: var(--g-wash); }
.sp-proof-ico { display: inline-flex; color: var(--g); margin-bottom: 1rem; }
.sp-proof-ico svg { width: 26px; height: 26px; }
.sp-proof-kind {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .17em;
  color: #8a6a22; margin-bottom: .6rem;
}
.sp-proof h3 { font-size: 1.18rem; font-weight: 700; color: var(--head); line-height: 1.45; margin: 0 0 .6rem; }
.sp-proof p  { margin: 0 0 1.3rem; font-size: .95rem; line-height: 1.75; color: var(--txt); }
.sp-proof-go {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--g);
}
.sp-proof-go i { font-style: normal; transition: transform .4s var(--ease); }
.sp-proof:hover .sp-proof-go i { transform: translateX(-5px); }
.sp-proof-go em { font-style: normal; font-size: .74rem; font-weight: 400; color: var(--txt-dim); }

/* ---------- 8 · הנעה לפעולה מסכמת ---------- */
.sp-cta { text-align: center; overflow: hidden; background: var(--bg-2); }
.sp-cta::before {
  content: ""; position: absolute; inset-inline-start: 50%; top: 10%;
  width: min(760px, 90%); aspect-ratio: 2/1; transform: translateX(50%);
  background: radial-gradient(ellipse at center, rgba(197,155,67,.1), transparent 68%);
  pointer-events: none;
}
.sp-cta .sp-wrap { position: relative; z-index: 1; }
.sp-cta .sp-h2 { max-width: 22ch; margin-inline: auto; }
.sp-cta-text {
  margin: 1.2rem auto 2.4rem; max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.8; color: var(--txt);
}
.sp-actions.is-cta { justify-content: center; }
.sp-cta-alt { margin: 1.8rem 0 0; font-size: .88rem; color: var(--txt-dim); }
.sp-cta-alt a { color: var(--g); border-bottom: 1px solid var(--g-soft); }
.sp-cta-alt a:hover { color: var(--head); border-color: var(--head); }

/* ---------- אנימציית כניסה ---------- */
.spec-page .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.spec-page .reveal.in { opacity: 1; transform: none; }
.sp-aud-grid .sp-aud:nth-child(2), .sp-steps .sp-step:nth-child(2) { transition-delay: .08s; }
.sp-aud-grid .sp-aud:nth-child(3), .sp-steps .sp-step:nth-child(3) { transition-delay: .16s; }
.sp-steps .sp-step:nth-child(4) { transition-delay: .24s; }

/* ---------- רספונסיבי ---------- */
/* מתחת ל-900px: התמונה הופכת לרצועה בראש הדף והטקסט יושב מתחתיה. */
@media (max-width: 900px) {
  .sp-hero { display: block; min-height: 0; }
  .sp-hero-media { position: relative; width: 100%; height: min(42vh, 330px); }
  .sp-hero-seam { background: linear-gradient(to top, var(--bg) 1%, rgba(252,252,253,0) 26%); }
  .sp-hero-copy { max-width: none; }
  .sp-hero-inner { padding-block: 2.2rem clamp(2.5rem, 7vw, 3.5rem); }
}

@media (max-width: 1000px) {
  .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; }
  .sp-steps::before { display: none; }
  .sp-split { grid-template-columns: 1fr; }
  .sp-split-img { order: -1; }
  .sp-split-img img { max-height: 320px; }
}
@media (max-width: 640px) {
  .sp-win a { flex-wrap: wrap; gap: .8rem 1rem; }
  .sp-win-body { flex-basis: calc(100% - 7rem); }
  .sp-win-go { margin-inline-start: auto; }
}
@media (max-width: 600px) {
  .sp-steps { grid-template-columns: 1fr; row-gap: 2rem; }
  .sp-step { padding-top: 0; padding-inline-start: 2.8rem; min-height: 28px; }
  .sp-actions .sp-btn { width: 100%; }
  .sp-pain-text { padding-inline-start: 1.1rem; }
  .sp-split-img::after { display: none; }
}
