/* ==========================================================================
   שילינגר תכנון פיננסי מערכת עיצוב
   טיפוגרפיה: Rubik (כותרות) + Assistant (גוף)
   ========================================================================== */

:root{
  --navy:#16294A;
  --navy-deep:#0F1F3A;
  --navy-darkest:#091528;
  --gold:#B08D57;
  --gold-light:#D3B583;
  --gold-dim:rgba(176,141,87,.28);
  --gold-text:#826235;   /* זהב כהה לטקסט על רקע בהיר. עובר 4.5:1 גם על הקרם הכהה */
  --teal:#2E6F82;
  --cream:#FBF8F3;
  --cream-2:#F2EADD;
  --white:#FFFFFF;

  --text:#16294A;
  --text-soft:#41506B;
  --text-mute:#5C6880;
  --text-on-dark:#EAEFF7;
  --text-on-dark-soft:#BECBDE;

  --line:rgba(22,41,74,.13);
  --line-soft:rgba(22,41,74,.08);
  --line-dark:rgba(211,181,131,.28);

  --radius:20px;
  --radius-lg:28px;
  --radius-sm:12px;
  --shadow:0 10px 30px -12px rgba(22,41,74,.12);
  --shadow-md:0 20px 50px -18px rgba(22,41,74,.16);
  --shadow-lg:0 34px 80px -28px rgba(22,41,74,.24);

  --container:1180px;
  --measure:720px;

  --ff-display:"Rubik","Assistant",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --ff-body:"Assistant","Heebo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:86px}

body{
  margin:0;
  font-family:var(--ff-body);
  font-weight:400;
  font-size:17.5px;
  line-height:1.8;
  color:var(--text);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

/* Typography -------------------------------------------------------------- */
h1,h2,h3,h4{
  font-family:var(--ff-display);font-weight:600;margin:0;
  line-height:1.18;letter-spacing:-.02em;
}
h1{font-size:clamp(35px,5.3vw,60px);font-weight:600;letter-spacing:-.03em}
h2{font-size:clamp(28px,3.7vw,44px);letter-spacing:-.025em}
h3{font-size:clamp(20px,2.1vw,25px);letter-spacing:-.015em}
h4{font-size:19px}
p{margin:0}
strong{font-weight:600}

.eyebrow{
  font-family:var(--ff-body);font-size:13px;font-weight:700;
  letter-spacing:.2em;color:var(--gold-text);display:block;margin-bottom:18px;
}
.section--navy .eyebrow,.section--navy-deep .eyebrow{color:var(--gold-light)}

.lead{font-size:clamp(19px,2.1vw,23px);font-weight:400;line-height:1.65;color:var(--text)}
.section--navy .lead,.section--navy-deep .lead{color:var(--white)}
.body{font-weight:400;color:var(--text-soft)}
.section--navy .body,.section--navy-deep .body{color:var(--text-on-dark-soft)}
.center{text-align:center}
.narrow{max-width:var(--measure);margin-inline:auto}

/* ==========================================================================
   מידת קריאה. טקסט לא נמתח על כל רוחב העמוד, כדי שהעין לא תאבד את השורה
   וכדי שלא תישאר מילה בודדת בשורה האחרונה.
   ========================================================================== */
.shead{max-width:var(--measure)}
.shead--center{margin-inline:auto;text-align:center}
/* פסקאות ורשימות שיושבות ישירות בקונטיינר, מחוץ לכותרת */
.container > p,
.container > .icon-list,
.container > .reveal > p,
.container > .reveal > .icon-list{max-width:var(--measure)}
/* רשימות בתוך כותרת סקשן יורשות ממנה את המידה ולכן אינן צריכות הגבלה נוספת */

/* text-wrap מונע מילה בודדה בשורה האחרונה, ומאזן שורות בכותרות.
   דפדפן שאינו תומך פשוט מתעלם, בלי לשבור דבר. */
h1,h2,h3,h4,.hero__sub,.faq__q,blockquote{text-wrap:balance}
p,li,figcaption,.form-note{text-wrap:pretty}

.rule{width:46px;height:4px;background:var(--gold);border:0;border-radius:99px;margin:22px 0;opacity:1}
.center .rule{margin-inline:auto}
/* בסקשן ממורכז הבלוק עצמו ממורכז, לא רק הטקסט שבתוכו */
.center .shead,.center .prose,.center .posts{margin-inline:auto}

/* Layout ------------------------------------------------------------------ */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding:96px 28px}
.section{position:relative;overflow:hidden}
.section--cream{background:var(--cream)}
.section--cream2{background:var(--cream-2)}
.section--white{background:var(--white)}
.section--navy{background:var(--navy);color:var(--text-on-dark)}
.section--navy-deep{background:var(--navy-deep);color:var(--text-on-dark)}
.section--navy h1,.section--navy h2,.section--navy h3,.section--navy h4,
.section--navy-deep h1,.section--navy-deep h2,.section--navy-deep h3,.section--navy-deep h4{color:var(--white)}

/* סמל העץ כווטרמארק פעם אחת בלבד, בעמוד הבית, עם תזוזה עדינה בגלילה */
.section--wm::before{
  content:"";position:absolute;inset-inline-end:-110px;top:-90px;
  width:440px;height:440px;pointer-events:none;
  background:url("../img/brand/icon.png") no-repeat center/contain;
  opacity:.055;filter:brightness(2.4) saturate(0);
  transform:translate3d(0,var(--wm,0px),0) rotate(calc(var(--wm,0px) * 0.02));
  will-change:transform;
}
@media (prefers-reduced-motion:reduce){
  .section--wm::before{transform:none}
}
@media (max-width:720px){
  .section--wm::before{width:260px;height:260px;inset-inline-end:-70px;top:-50px}
}

/* Header ------------------------------------------------------------------ */
.header{
  position:sticky;top:0;z-index:60;background:rgba(251,248,243,.9);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line-soft);
}
.header__inner{
  max-width:var(--container);margin-inline:auto;padding:9px 28px;
  display:flex;align-items:center;gap:24px;
}
/* הלוגו יושב בקצה השמאלי של ההדר, התפריט מימין */
.brand{display:flex;align-items:center;flex-shrink:0;order:3;margin-inline-start:auto}
.brand img{height:62px;width:auto}

/* כל פריט בתפריט הוא כפתור מעוגל שמקבל חיווי ברור במעבר עכבר,
   בפוקוס מקלדת ובזמן שהתת תפריט שלו פתוח. */
.nav{order:1;display:flex;align-items:center;gap:2px}
.nav a{
  font-size:16px;font-weight:400;color:var(--navy);position:relative;
  padding:9px 16px;border-radius:99px;white-space:nowrap;
  transition:background-color .25s ease,color .25s ease;
}
.nav a:hover{background:rgba(9,21,40,.06)}
.nav a:active{background:rgba(9,21,40,.11)}
.nav a:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
/* העמוד הנוכחי מסומן בנקודת זהב מתחת לכיתוב */
.nav a[aria-current="page"]{font-weight:600}
.nav a[aria-current="page"]::after{
  content:"";position:absolute;inset-inline-start:50%;transform:translateX(50%);
  bottom:2px;width:5px;height:5px;border-radius:50%;background:var(--gold);
}
.nav__cta{
  margin-inline-start:12px;
  background:transparent;color:var(--navy)!important;border:1px solid var(--gold);
  padding:8px 20px!important;border-radius:99px;font-weight:600!important;
  direction:ltr;transition:background .45s ease,color .45s ease;
}
.nav__cta::after{display:none}
.nav__cta:hover{background:var(--navy);color:var(--white)!important;border-color:var(--navy)}

.nav__toggle{display:none;order:1;background:none;border:0;padding:8px;cursor:pointer}
.nav__toggle span{display:block;width:24px;height:1.5px;background:var(--navy);margin:5px 0;transition:.25s}

/* Buttons ----------------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--ff-body);font-size:16.5px;font-weight:600;letter-spacing:.01em;
  padding:15px 36px;border-radius:99px;border:1px solid transparent;cursor:pointer;
  transition:background .45s ease,color .45s ease,border-color .45s ease;
}
.btn--primary{background:var(--gold);color:var(--navy);box-shadow:0 10px 24px -12px rgba(176,141,87,.7)}
.btn--primary:hover{background:var(--navy)}
.btn--outline{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn--outline:hover{background:var(--navy);color:var(--white)}
.btn--ghost-light{background:transparent;color:var(--white);border-color:rgba(211,181,131,.6)}
.btn--ghost-light:hover{background:var(--white);color:var(--navy);border-color:var(--white)}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.center .btn-row,.btn-row.center{justify-content:center}

/* Hero בהיר, מונחה תמונה ------------------------------------------------ */
.hero{
  position:relative;overflow:hidden;background:var(--cream);
  min-height:min(86vh,780px);display:flex;align-items:center;
}
.hero__bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:left center;
}
/* הבהרה עדינה בצד הטקסט, כדי שהכיתוב יישב נקי על התמונה */
.hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to left,
    rgba(251,248,243,.97) 0%,rgba(251,248,243,.94) 30%,
    rgba(251,248,243,.62) 52%,rgba(251,248,243,.12) 78%,rgba(251,248,243,0) 100%);
}
.hero__inner{
  position:relative;z-index:2;max-width:var(--container);margin-inline:auto;
  padding:96px 28px;width:100%;
}
.hero__content{max-width:600px}
.hero h1{color:var(--navy)}
.hero h1 .accent{color:var(--gold);display:block;font-weight:500}
.hero__sub{
  margin-top:26px;font-size:clamp(17px,1.9vw,20px);font-weight:400;
  line-height:1.85;color:var(--text-soft);max-width:540px;
}
.hero__meta{
  margin-top:40px;padding-top:24px;border-top:1px solid var(--gold-dim);
  display:flex;flex-wrap:wrap;gap:10px 30px;font-size:14px;font-weight:600;
  color:var(--gold-text);letter-spacing:.04em;
}
.hero .btn--ghost-light{color:var(--navy);border-color:var(--navy)}
.hero .btn--ghost-light:hover{background:var(--navy);color:var(--white);border-color:var(--navy)}

/* עמודי משנה */
.hero--page{min-height:min(58vh,480px)}
.hero--page .hero__inner{padding:80px 28px}
.hero--slim{min-height:min(46vh,380px)}
.hero--slim .hero__inner{padding:64px 28px}

/* וידאו רקע בעמודי השירות */
.hero__video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
@media (prefers-reduced-motion:reduce){ .hero__video{display:none} }

/* פס מפריד עם ענף */
.branch-band{
  height:clamp(150px,20vw,260px);
  background:url("../img/scenes/branch.jpg") no-repeat center/cover;
  position:relative;
}
.branch-band::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,var(--cream) 0%,rgba(251,248,243,0) 22%,rgba(251,248,243,0) 78%,var(--cream) 100%);
}


/* ==========================================================================
   פריסות תוכן מגוון במקום רשת ריבועים אחידה
   ========================================================================== */

/* 1. טורים עריכתיים: קו זהב עליון + ספרה, ללא מסגרת */
.cols{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:56px}
/* ריווח זהה לכל הכרטיסים. הגריד נמשך החוצה בדיוק ברוחב הריווח,
   כך שהטקסט בטור החיצוני מיושר לאותו קו כמו שאר תוכן העמוד. */
.cols{margin-inline:-34px;width:calc(100% + 68px)}
.cols > *{
  padding:30px 34px 6px;border-top:1px solid var(--gold-dim);
  border-inline-start:1px solid var(--line-soft);
}
/* הקו האנכי מופיע רק בין טורים, לא בקצה של כל שורה */
.cols--2{grid-template-columns:repeat(2,1fr)}
.cols > :nth-child(3n+1){border-inline-start:0}
.cols--2 > :nth-child(3n+1){border-inline-start:1px solid var(--line-soft)}
.cols--2 > :nth-child(2n+1){border-inline-start:0}
.cols__n{
  font-family:var(--ff-display);font-size:15px;font-weight:700;
  color:var(--gold-text);letter-spacing:.1em;margin-bottom:12px;
}
.cols h3{margin-bottom:10px}
.cols p{color:var(--text-soft);font-size:17px}
.section--navy .cols > *,.section--navy-deep .cols > *{border-inline-start-color:rgba(255,255,255,.09)}
.section--navy .cols p,.section--navy-deep .cols p{color:var(--text-on-dark-soft)}

/* 2. רשימת נימוקים: ספרה גדולה + קו הפרדה דק, שני טורים */
.reasons{
  margin-top:54px;display:grid;grid-template-columns:repeat(2,1fr);
  column-gap:64px;
}
.reasons__item{
  display:flex;gap:20px;align-items:flex-start;
  padding:26px 0;border-top:1px solid rgba(255,255,255,.1);
}
.section--cream .reasons__item,.section--white .reasons__item,
.section--cream2 .reasons__item{border-top-color:var(--line)}
.reasons__n{
  font-family:var(--ff-display);font-size:34px;font-weight:500;line-height:1;
  color:var(--gold);opacity:.55;flex-shrink:0;min-width:44px;
}
.reasons__item h3{font-size:20px;margin-bottom:6px}
.reasons__item p{font-size:17px;color:var(--text-on-dark-soft)}
.section--cream .reasons__item p,.section--white .reasons__item p,
.section--cream2 .reasons__item p{color:var(--text-soft)}

/* 3. ציטוט עריכתי רחב (pull quote) */
.pullquote{
  position:relative;max-width:900px;margin-inline:auto;text-align:center;padding:8px 0;
}
.pullquote p{
  font-family:var(--ff-display);font-size:clamp(24px,3.3vw,38px);
  font-weight:400;line-height:1.45;color:var(--white);
}
.section--cream .pullquote p,.section--white .pullquote p,
.section--cream2 .pullquote p{color:var(--navy)}
.pullquote cite{
  display:block;margin-top:24px;font-family:var(--ff-body);font-style:normal;
  font-size:14px;font-weight:600;letter-spacing:.18em;color:var(--gold-text);
}

/* 4. שורת נתונים עם קווים אנכיים */
.figures{
  display:grid;grid-template-columns:repeat(3,1fr);margin-top:62px;
  border-top:1px solid rgba(211,181,131,.25);
}
.figures > div{
  padding:34px 24px 6px;text-align:center;
  border-inline-start:1px solid rgba(255,255,255,.1);
}
.figures > div:first-child{border-inline-start:0}
.figures__n{
  font-family:var(--ff-display);font-size:clamp(34px,4.4vw,56px);font-weight:500;
  letter-spacing:-.03em;white-space:nowrap;
  line-height:1;color:var(--gold-light);
}
.figures__l{margin-top:10px;font-size:15px;font-weight:400;color:var(--text-on-dark-soft)}
.section--white .figures{border-top-color:var(--gold-dim)}
.section--white .figures > div{border-inline-start-color:var(--line)}
.section--white .figures__n{color:var(--gold-text)}
.section--white .figures__l{color:var(--text-soft)}

/* 5. תהליך ציר אנכי ללא כרטיסים */
/* סקשן התהליך יושב כעמודה צרה במרכז, ולא נצמד לצד אחד */
.steps-block .shead,
.steps-block .steps{max-width:740px;margin-inline:auto}
.steps{margin-top:52px;position:relative;padding-inline-start:64px}
.steps::before{
  content:"";position:absolute;inset-inline-start:19px;top:14px;bottom:26px;
  width:1px;background:var(--gold-dim);
}
.steps__item{position:relative;padding:0 0 42px}
.steps__item:last-child{padding-bottom:0}
.steps__dot{
  position:absolute;inset-inline-start:-64px;top:2px;
  width:38px;height:38px;border-radius:50%;
  background:var(--cream);border:1px solid var(--gold);color:var(--gold-text);
  display:grid;place-items:center;font-family:var(--ff-display);
  font-weight:700;font-size:16px;
}
.section--cream2 .steps__dot{background:var(--cream-2)}
.section--white .steps__dot{background:var(--white)}
.steps__item h3{margin-bottom:8px}
/* בתוך עמודה צרה אין צורך בהגבלה נוספת, והשורות יוצאות מאוזנות */
.steps__item p{color:var(--text-soft)}

/* 6. רשימות סימון */
.icon-list{list-style:none;margin:0;padding:0}
.icon-list li{
  display:flex;gap:14px;align-items:flex-start;padding:11px 0;font-weight:400;
  border-bottom:1px solid var(--line-soft);
}
.section--navy .icon-list li,.section--navy-deep .icon-list li{
  border-bottom-color:rgba(255,255,255,.08);color:var(--text-on-dark-soft);
}
.icon-list li:last-child{border-bottom:0}
.icon-list .ico{
  flex:0 0 auto;margin-top:5px;font-size:12px;line-height:1;color:var(--gold);
}
.section--navy .ico,.section--navy-deep .ico{color:var(--gold-light)}

/* 7. כרטיסי שירות גבוהים, עם מספר גדול ברקע */
.svc{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:56px}
/* עמודה גמישה, כדי שכפתור ״לפרטים״ ייצמד לתחתית בכל הכרטיסים באותו גובה */
.svc{align-items:stretch}
.svc__item{
  position:relative;display:flex;flex-direction:column;
  background:var(--white);padding:44px 34px 38px;
  overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow);
  transition:transform .5s cubic-bezier(.4,0,.2,1),box-shadow .5s cubic-bezier(.4,0,.2,1);
}
.svc__item:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.svc__item h3{margin-bottom:14px;position:relative}
.svc__item p{color:var(--text-soft);font-size:17px}
.svc__link{
  align-self:flex-start;margin-top:auto;padding-top:22px;
  font-weight:600;font-size:15.5px;
  color:var(--navy);border-bottom:1px solid var(--gold);padding-bottom:2px;
  transition:color .3s ease;
}
.svc__link:hover{color:var(--gold)}

/* 8. המלצות אחת מודגשת + שאר בפריסה לא סימטרית */
.tst{margin-top:52px;display:grid;gap:0}
.tst__feature{
  padding:44px 0 40px;border-top:1px solid var(--gold-dim);
  border-bottom:1px solid var(--line);text-align:center;max-width:760px;margin-inline:auto;
}
.tst__feature p{
  font-family:var(--ff-display);font-size:clamp(20px,2.5vw,27px);
  font-weight:400;line-height:1.55;color:var(--navy);
}
.tst__grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:56px}
.tst__item{padding:32px 0;border-bottom:1px solid var(--line)}
.tst__item p{color:var(--text-soft);font-size:17px;line-height:1.85}
.tst__by{
  margin-top:16px;font-size:14.5px;font-weight:600;color:var(--navy);
  display:flex;align-items:center;gap:10px;
}
.tst__by::before{content:"";width:22px;height:1px;background:var(--gold);flex-shrink:0}
.tst__by span{font-weight:400;color:var(--text-mute)}

/* 9. Split טקסט + תמונה */
.split{display:grid;grid-template-columns:0.88fr 1.12fr;gap:64px;align-items:center}
.split__media{position:relative}
.split__media img{
  width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;
  filter:grayscale(.2);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);
}

/* 10. לוגואים */
.logos{
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:14px;margin-top:44px;
}
.logo-tile{
  flex:1 1 160px;max-width:calc(100% / 6 - 1px);
  display:grid;place-items:center;height:104px;padding:20px 24px;
  background:var(--white);outline:1px solid var(--line);
  transition:background .3s ease;
}
.logo-tile img{
  max-height:100%;max-width:100%;width:auto;object-fit:contain;
  filter:grayscale(1);opacity:.5;transition:filter .5s ease,opacity .5s ease;
}
.logo-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.logo-tile:hover img{filter:none;opacity:1}
.logos__note{margin-top:24px;font-size:14px;color:var(--text-mute)}

/* 11. מאמרים */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:56px}
.post{
  background:var(--white);padding:38px 32px 34px;display:flex;flex-direction:column;
  border-radius:var(--radius);box-shadow:var(--shadow);
  transition:transform .5s cubic-bezier(.4,0,.2,1),box-shadow .5s cubic-bezier(.4,0,.2,1);
}
.post:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.post__tag{
  font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--gold-text);margin-bottom:16px;
}
.post h3{font-size:21px;margin-bottom:12px}
.post p{color:var(--text-soft);font-size:16.5px;flex:1}
.post__soon{
  margin-top:22px;font-size:14px;font-weight:600;color:var(--text-mute);letter-spacing:.06em;
}

/* 12. כרטיסים (נותרו רק היכן שבאמת נדרש) */
.grid{display:grid;gap:1px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.card{background:var(--white);padding:34px 32px;border-radius:var(--radius);box-shadow:var(--shadow)}
.card h3{margin-bottom:10px}
.card p{color:var(--text-soft)}
.card--dark{background:rgba(255,255,255,.05);border-radius:var(--radius);box-shadow:none}
.card--dark p{color:var(--text-on-dark-soft)}

/* 13. FAQ אקורדיון שטוח */
/* שאלות נפוצות: אקורדיון על בסיס details, נפתח גם בלי JS */
.faq{margin-top:48px;max-width:720px;margin-inline:auto}
.faq__item{
  border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);
  background:rgba(255,255,255,.03);margin-bottom:12px;overflow:hidden;
  transition:border-color .25s ease,background-color .25s ease;
}
.faq__item:last-child{margin-bottom:0}
.faq__item:hover{border-color:rgba(211,181,131,.45);background:rgba(255,255,255,.05)}
.faq__item[open]{border-color:rgba(211,181,131,.55);background:rgba(255,255,255,.06)}

.faq__item summary{
  display:flex;align-items:center;gap:16px;justify-content:space-between;
  padding:19px 24px;cursor:pointer;list-style:none;
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary:focus-visible{outline:3px solid var(--gold);outline-offset:-3px;border-radius:var(--radius)}
.faq__q{
  font-family:var(--ff-display);font-size:18.5px;font-weight:600;
  line-height:1.5;color:#fff;
}

/* סימן פלוס שהופך למינוס כשפותחים */
.faq__ico{position:relative;flex:0 0 22px;width:22px;height:22px}
.faq__ico::before,.faq__ico::after{
  content:"";position:absolute;top:50%;left:50%;
  background:var(--gold);border-radius:2px;transition:transform .3s ease,opacity .3s ease;
}
.faq__ico::before{width:14px;height:2px;transform:translate(-50%,-50%)}
.faq__ico::after{width:2px;height:14px;transform:translate(-50%,-50%)}
.faq__item[open] .faq__ico::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}

.faq__a{padding:0 24px 20px}
.faq__a p{color:var(--text-on-dark-soft);font-size:16.5px;line-height:1.85;margin:0}
.faq__item[open] .faq__a{animation:faqIn .3s ease both}
@keyframes faqIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .faq__item[open] .faq__a{animation:none}
  .faq__ico::before,.faq__ico::after{transition:none}
}
@media (max-width:560px){
  .faq__item summary{padding:16px 18px;gap:12px}
  .faq__q{font-size:17px}
  .faq__a{padding:0 18px 18px}
}
.section--cream .faq__item p,.section--white .faq__item p{color:var(--text-soft)}

/* Form -------------------------------------------------------------------- */
.form-wrap{
  background:var(--white);padding:44px 40px;
  border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);
}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.field{display:flex;flex-direction:column;gap:7px}
.field--full{grid-column:1 / -1}
.field label{font-size:13.5px;font-weight:600;color:var(--navy);letter-spacing:.04em}
.field input,.field select,.field textarea{
  font-family:var(--ff-body);font-size:16px;font-weight:400;color:var(--text);
  padding:11px 2px;border:0;border-bottom:1px solid var(--line);background:transparent;
  transition:border-color .25s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-bottom-color:var(--gold);
}
.field textarea{resize:vertical;min-height:80px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px}
.field--check label{
  flex-direction:row;align-items:flex-start;gap:10px;
  font-weight:400;font-size:14.5px;color:var(--text-soft);cursor:pointer;letter-spacing:0;
}
.field--check input{flex:0 0 22px;width:22px;height:22px;margin-top:2px;accent-color:var(--gold);padding:0}
.field--check a{color:var(--teal);text-decoration:underline}
.form-note{margin-top:16px;font-size:13.5px;color:var(--text-mute);line-height:1.7}
.form-msg{
  margin-top:16px;padding:14px 18px;background:rgba(46,111,130,.08);
  border-radius:var(--radius-sm);color:var(--teal);font-weight:600;display:none;
}
.form-msg.is-visible{display:block}

.contact-lines{
  margin-top:34px;padding-top:26px;border-top:1px solid rgba(211,181,131,.25);
  display:flex;flex-direction:column;gap:12px;font-size:16px;
}
.contact-lines a{color:var(--text-on-dark-soft)}
.contact-lines a:hover{color:var(--gold-light)}
.contact-lines strong{color:var(--white);font-weight:600;margin-inline-end:8px}

/* Legal pages ------------------------------------------------------------- */
.legal{max-width:800px;margin-inline:auto}
.legal__updated{
  font-size:13px;font-weight:700;letter-spacing:.14em;color:var(--gold-text);
  padding-bottom:18px;border-bottom:1px solid var(--line);
}
.legal__intro{
  margin-top:26px;font-size:18px;line-height:1.85;color:var(--text);
  border-inline-start:2px solid var(--gold);padding:4px 24px;
}
.legal__sec{margin-top:44px}
.legal__sec h2{font-size:clamp(21px,2.3vw,26px);margin-bottom:14px;display:flex;gap:14px;align-items:baseline}
.legal__num{font-family:var(--ff-body);font-size:15px;font-weight:700;color:var(--gold-text);flex-shrink:0}
.legal__sec p{margin-top:13px;color:var(--text-soft);line-height:1.9}
.legal__sec p strong{color:var(--text)}
.legal__sec a{color:var(--teal);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.legal__sec a:hover{color:var(--gold)}
.legal__list{margin:16px 0 0;padding:0;list-style:none}
.legal__list li{
  position:relative;padding-inline-start:20px;margin-bottom:11px;
  color:var(--text-soft);line-height:1.85;
}
.legal__list li::before{
  content:"";position:absolute;inset-inline-start:2px;top:.85em;
  width:8px;height:1px;background:var(--gold);
}
.legal__list li strong{color:var(--text)}
.legal__contact{
  margin-top:52px;background:var(--white);padding:36px 34px;
  border-radius:var(--radius);box-shadow:var(--shadow);border-top:3px solid var(--gold);
}
.legal__contact h2{display:block;font-size:22px}
.todo{
  display:inline-block;background:rgba(176,141,87,.15);color:var(--gold-text);
  font-size:12.5px;font-weight:700;padding:1px 9px;border-radius:99px;
}

/* Footer ------------------------------------------------------------------ */
.footer{background:var(--cream-2);color:var(--text-soft);border-top:1px solid var(--gold-dim)}
.footer__inner{
  max-width:var(--container);margin-inline:auto;padding:64px 28px 52px;
  display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:44px;
}
.footer h4{
  color:var(--navy);font-family:var(--ff-body);font-size:13px;font-weight:700;
  letter-spacing:.16em;margin-bottom:18px;
}
.footer a{color:var(--text-soft);font-size:16px;transition:color .35s ease}
.footer a:hover{color:var(--gold)}
.footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.footer__brand img{height:132px;width:auto}
.footer__brand p{margin-top:20px;max-width:330px;font-size:15.5px;line-height:1.75}
.footer__legal{
  border-top:1px solid var(--line);max-width:var(--container);
  margin-inline:auto;padding:22px 28px;font-size:13.5px;
  color:var(--text-mute);line-height:1.8;
}
.credit{background:var(--navy-deep);text-align:center;padding:16px 28px}
.credit p{font-size:14px;font-weight:600;color:var(--gold-light);letter-spacing:.04em}
.credit a{color:var(--white)}
.credit a:hover{color:var(--gold-light)}

/* Floating actions -------------------------------------------------------- */
.float-actions{
  position:fixed;right:22px;bottom:22px;z-index:80;
  display:flex;flex-direction:column;gap:12px;
}
.fab{
  width:50px;height:50px;border-radius:50%;display:grid;place-items:center;
  box-shadow:0 6px 22px rgba(9,21,40,.25);transition:transform .25s ease;
}
.fab:hover{transform:translateY(-3px)}
.fab svg{width:26px;height:26px;fill:#fff}
.fab--wa{background:#25D366}
.fab--tel{background:var(--navy)}


/* ==========================================================================
   דפוסים מהרפרנסים
   ========================================================================== */

/* א. כרטיסי שירות עם תמונה בראש (רפרנס 1) */
.svc__media{
  position:relative;z-index:0;
  margin:-44px -34px 26px;height:210px;overflow:hidden;
  border-start-start-radius:var(--radius);border-start-end-radius:var(--radius);
}
.svc__media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.1s cubic-bezier(.4,0,.2,1);
}
.svc__item:hover .svc__media img{transform:scale(1.05)}
.svc__badge{
  position:absolute;top:18px;inset-inline-end:18px;z-index:2;
  background:rgba(255,255,255,.92);backdrop-filter:blur(6px);
  border-radius:99px;padding:6px 15px;
  font-family:var(--ff-body);font-size:12.5px;font-weight:700;
  letter-spacing:.12em;color:var(--gold-text);
}

/* ב. רצועת נתונים (בלי תמונות) */
.figures-band{
  background:var(--cream-2);
  padding:clamp(70px,7vw,110px) 0;
}
.figures-band h2{
  text-align:center;max-width:16ch;margin-inline:auto;
  font-size:clamp(30px,4.2vw,54px);line-height:1.22;letter-spacing:-.03em;
}
.figures-band__grid{
  margin-top:clamp(42px,5vw,64px);padding-top:clamp(34px,3.6vw,46px);
  border-top:1px solid var(--gold-dim);
  display:grid;grid-template-columns:repeat(3,1fr);gap:26px;
}
.figures-band__grid div{text-align:center}
.figures-band__grid b{
  display:block;font-family:var(--ff-display);font-weight:500;
  font-size:clamp(40px,5.6vw,72px);line-height:1.05;letter-spacing:-.04em;
  color:var(--gold-text);white-space:nowrap;
}
.figures-band__grid span{
  display:block;margin-top:12px;font-size:clamp(15px,1.4vw,17.5px);
  line-height:1.45;color:var(--text-soft);
}
@media (max-width:720px){
  .figures-band__grid{grid-template-columns:1fr;gap:32px}
}


/* עץ נלווה לצד סקשן טקסט.
   העץ יושב ברקע בצד שמאל, והטקסט מפנה לו מקום. inset-inline-end הוא שמאל ב-RTL. */
.section--tree .container{position:relative}
.section__tree{
  position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);
  width:min(30%,330px);height:auto;max-height:86%;object-fit:contain;
  opacity:.2;pointer-events:none;user-select:none;z-index:0;
}
/* הטקסט והמספרים מעל העץ, ומוסטים ימינה כדי לא לרוץ עליו */
.section--tree .shead{position:relative;z-index:1;margin-inline-end:32%}
/* מתחת ל-1200 אין מספיק רוחב לעץ שלם לצד הטקסט, ולכן הוא יורד */
@media (max-width:1200px){
  .section__tree{display:none}
  .section--tree .shead{margin-inline-end:0}
}

/* ה. תחומי התמחות: כותרות ענקיות שמתחלפות בגלילה */
.stack{background:var(--white)}
.stack__scroll{height:640vh;position:relative}
.stack__sticky{position:sticky;top:0;height:100vh;display:flex;align-items:center;overflow:hidden}
.stack__grid{
  display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(28px,4vw,72px);
  align-items:center;padding-block:0;
}
.stack__aside .rule{margin:18px 0}
.stack__lead{font-size:clamp(24px,2.4vw,32px)}
.stack__aside p{color:var(--text-soft);font-size:16.5px;line-height:1.7;max-width:34ch}

.stack__meter{position:relative;width:74px;height:74px;margin-top:30px}
.stack__meter svg{width:100%;height:100%;transform:rotate(-90deg)}
.stack__meter circle{fill:none;stroke-width:5;stroke-linecap:round}
.stack__ring-bg{stroke:var(--gold-dim)}
.stack__ring{
  stroke:var(--gold);stroke-dasharray:263.9;
  stroke-dashoffset:calc(263.9 - 263.9 * var(--prog, 0));
}
.stack__count{
  position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--ff-display);font-weight:500;font-size:17px;color:var(--text);
}

.stack__dots{display:flex;gap:9px;margin-top:26px}
.stack__dot{
  width:22px;height:22px;padding:0;border:0;background:none;cursor:pointer;
  display:grid;place-items:center;
}
.stack__dot span{
  width:8px;height:8px;border-radius:50%;background:var(--gold-dim);
  transition:background .3s ease,transform .3s ease;
}
.stack__dot.is-on span{background:var(--gold);transform:scale(1.5)}

.stack__panels{position:relative;min-height:clamp(300px,42vh,420px)}
.stack__panel{
  position:absolute;inset-inline:0;top:50%;transform:translateY(-40%);
  opacity:0;visibility:hidden;transition:opacity .5s ease,transform .5s ease;
}
.stack__panel.is-on{opacity:1;visibility:visible;transform:translateY(-50%)}
.stack__n{
  display:block;font-family:var(--ff-display);font-weight:500;
  font-size:15px;letter-spacing:.14em;color:var(--gold-text);margin-bottom:14px;
}
.stack__panel h2{
  font-size:clamp(34px,5.6vw,76px);line-height:1.04;letter-spacing:-.04em;margin:0;
}
.stack__panel p{
  margin-top:20px;max-width:40ch;color:var(--text-soft);
  font-size:clamp(16px,1.5vw,18.5px);line-height:1.7;
}
.stack__link{
  display:inline-block;margin-top:22px;font-weight:600;color:var(--gold-text);
  text-decoration:none;border-bottom:1px solid var(--gold-dim);padding-bottom:2px;
}
.stack__link:hover{border-bottom-color:var(--gold)}

@media (max-width:980px){
  .stack__scroll{height:auto}
  .stack__sticky{position:static;height:auto;padding-block:70px}
  .stack__grid{grid-template-columns:1fr;gap:34px}
  .stack__meter{display:none}
  .stack__dots{display:none}
  .stack__panels{position:static;min-height:0;display:grid;gap:44px}
  .stack__panel{position:static;transform:none;opacity:1;visibility:visible}
  .stack__panel h2{font-size:clamp(28px,7vw,40px)}
}
@media (prefers-reduced-motion:reduce){
  .stack__panel{transition:none}
}

/* ד. הלוגואים על תמונת העץ (רפרנס 2 iaculus) */
.partners{
  position:relative;overflow:hidden;background:var(--cream);
  display:flex;align-items:center;
  min-height:clamp(520px,54vw,720px);
}
.partners__bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:18% bottom;
}
/* צעיף קרם רך התמונה נשארת נראית, הטקסט והלוגואים קריאים */
.partners::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(to bottom,var(--cream) 0%,rgba(251,248,243,.55) 14%,
                    rgba(251,248,243,.06) 46%,rgba(251,248,243,.10) 72%,
                    rgba(251,248,243,.80) 92%,var(--cream) 100%);
}
.partners__inner{
  position:relative;z-index:2;width:100%;
  max-width:var(--container);margin-inline:auto;padding:56px 28px 64px;
  text-align:center;
}
.partners__inner h2{
  max-width:760px;margin-inline:auto;
  text-shadow:0 2px 26px rgba(251,248,243,.95),0 0 60px rgba(251,248,243,.8);
}
.partners .logos{margin-top:40px}

@media (max-width:720px){
  .partners{min-height:0}
  .partners__inner{padding:64px 20px}
  .partners__bg{object-position:60% bottom}
}

@media (max-width:1080px){
  .svc__media{margin:-44px -22px 24px;height:190px}
}
@media (max-width:720px){
  .svc__media{margin:-44px -22px 22px;height:180px}
}

/* Reveal ------------------------------------------------------------------ */
.reveal{opacity:0;transform:translateY(18px);
  transition:opacity 1.1s cubic-bezier(.4,0,.2,1),transform 1.1s cubic-bezier(.4,0,.2,1)}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

/* Responsive -------------------------------------------------------------- */
@media (max-width:1000px){
  .cols,.svc,.posts,.figures,.grid-3{grid-template-columns:repeat(2,1fr)}
  /* בשני טורים, הקו האנכי רק בין הטורים */
  .cols > :nth-child(3n+1){border-inline-start:1px solid var(--line-soft)}
  .cols > :nth-child(2n+1){border-inline-start:0}
  .reasons,.tst__grid{grid-template-columns:1fr;column-gap:0}
  .split{grid-template-columns:1fr;gap:38px}
  .split__media{max-width:400px;margin-inline:auto}
  /* במובייל התמונה יושבת מעל, הטקסט על שטח קרם נקי מתחתיה */
  .hero{min-height:auto;display:block}
  .hero__bg,.hero__video{
    position:relative;height:clamp(220px,42vw,320px);object-position:left center;
  }
  .hero::after{
    background:linear-gradient(to bottom,
      rgba(251,248,243,0) 0%,rgba(251,248,243,.55) 46%,
      rgba(251,248,243,.98) 70%,var(--cream) 100%);
  }
  .hero__content{max-width:none}
  .hero__inner{padding:30px 20px 64px}
  .hero--page .hero__inner,.hero--slim .hero__inner{padding:26px 20px 52px}
  .footer__inner{grid-template-columns:1fr 1fr}
  .figures{grid-template-columns:1fr}
  .figures > div{border-inline-start:0;border-top:1px solid var(--line-soft);text-align:start;padding-inline:0}
  .figures > div:first-child{border-top:0}
}

@media (max-width:720px){
  body{font-size:16.5px}
  .container{padding:56px 20px}
  .cols,.svc,.posts,.grid-2,.grid-3{grid-template-columns:1fr}
  /* טור אחד: בלי קו אנכי, בלי משיכת הגריד החוצה */
  .cols{margin-inline:0;width:auto}
  .cols > *{border-inline-start:0 !important;padding-inline:0}
  .svc__item,.post{padding-inline:22px}
  .form-grid{grid-template-columns:1fr}
  .form-wrap{padding:28px 22px}
  .footer__inner{grid-template-columns:1fr;padding:48px 20px}
  .hero__inner,.hero--page .hero__inner{padding:64px 20px}
  .steps{padding-inline-start:52px}
  .steps__dot{inset-inline-start:-52px;width:32px;height:32px;font-size:14px}
  .steps::before{inset-inline-start:16px}
  .btn{width:100%}
  .btn-row{flex-direction:column}
  .section--navy::before,.section--navy-deep::before{width:250px;height:250px}

  .brand img{height:50px}
  .nav__toggle{display:block}
  .nav{
    position:absolute;top:100%;inset-inline:0;background:var(--cream);
    border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;
    gap:0;padding:8px 20px 20px;display:none;
  }
  .nav.is-open{display:flex}
  .nav a{padding:13px 0;border-bottom:1px solid var(--line-soft)}
  .nav a::after{display:none}
  .nav__cta{margin-top:14px;text-align:center;border-bottom:1px solid var(--gold)!important}
}

/* מובייל: הגדלת שטחי מגע לאצבע (מינימום ~44px) */
@media (max-width:720px){
  .svc__link,.stack__link{padding-block:11px 9px;margin-top:16px}
  .footer ul{gap:2px}
  .footer ul a{display:inline-block;padding-block:11px}
  .legal .legal__sec a{display:inline-block;padding-block:9px}
  .field--check label{gap:12px;align-items:flex-start}
  .field--check input{flex-basis:24px;width:24px;height:24px}
  .field--check a{display:inline-block;padding-block:6px}
  .contact-lines a{padding-block:8px}
  .icon-list a{display:inline-block;padding-block:9px}
  .credit a{display:inline-block;padding-block:11px}
  .float-actions{gap:10px}
}

/* מובייל: רשת הלוגואים, מטא ההירו והצגת הלוגואים במסכי מגע */
@media (max-width:980px){
  .logo-tile{flex:1 1 30%;max-width:calc(100% / 3 - 10px);height:86px;padding:14px 16px}
  .logos{gap:12px;margin-top:34px}
}
@media (max-width:560px){
  .logo-tile{flex:1 1 44%;max-width:calc(100% / 2 - 6px);height:80px;padding:12px 14px}
}
/* במסכי מגע אין hover, אז הלוגואים מוצגים בבירור מלכתחילה */
@media (hover:none){
  .logo-tile img{filter:grayscale(.12);opacity:.95}
}
@media (max-width:720px){
  .hero__meta{flex-direction:column;gap:8px;margin-top:32px}
}

/* הדגשת משפט הפתיחה בהירו */
.hero__sub--lead{
  font-size:clamp(18px,2.05vw,21.5px);
  color:var(--text);
}
.hero__sub--lead strong{
  font-weight:600;color:var(--navy);
  box-shadow:inset 0 -.42em 0 rgba(176,141,87,.18);
}

/* ==========================================================================
   שישה דברים שאפשר לסמוך עליהם: העץ ברקע מימין, הטקסט משמאל
   ========================================================================== */
.pillars{
  position:relative;overflow:hidden;
  background:radial-gradient(120% 80% at 80% 0%,#FFFFFF 0%,var(--cream) 42%,var(--cream-2) 100%);
}
/* העץ יושב בצד ימין, מוצג במלואו ולא נחתך */
.pillars__bg{
  position:absolute;right:2%;top:50%;transform:translateY(-50%);
  width:min(300px,26%);height:auto;max-height:80%;
  object-fit:contain;object-position:center;
  opacity:.2;pointer-events:none;user-select:none;
}
.pillars .container{position:relative;z-index:1}
/* התוכן נדחף שמאלה, ומשאיר לעץ את צד ימין */
.pillars .shead,
.pillars__grid{margin-inline-start:30%}
.pillars__grid{
  margin-top:clamp(32px,3.6vw,46px);
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:clamp(16px,1.7vw,22px);
}
.pillars__item{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(3px);
  border:1px solid var(--line-soft);
  border-radius:var(--radius);
  padding:28px 24px 26px;
  box-shadow:var(--shadow);
}
.pillars__n{
  display:block;font-family:var(--ff-display);font-weight:500;
  font-size:14px;letter-spacing:.14em;color:var(--gold-text);margin-bottom:12px;
}
.pillars__item h3{margin-bottom:10px;font-size:clamp(18px,1.75vw,21px)}
.pillars__item p{color:var(--text-soft);font-size:16px;line-height:1.7}

@media (max-width:1100px){
  .pillars .shead,
  .pillars__grid{margin-inline-start:0}
  .pillars__bg{
    right:auto;left:50%;top:auto;bottom:0;
    transform:translateX(-50%);
    width:min(460px,70%);max-height:none;opacity:.10;
  }
}
@media (max-width:640px){
  .pillars__grid{grid-template-columns:1fr;gap:14px}
  .pillars__item{padding:24px 20px}
  .pillars__bg{width:110%;opacity:.08}
}

@media (max-width:720px){
  .cookie__actions{flex-direction:column}
  .cookie .btn{width:100%}
}

/* ==========================================================================
   טופס יצירת קשר: מלכודת בוטים והודעות מצב
   ========================================================================== */
/* השדה קיים ב-DOM עבור בוטים בלבד. clip-path מסתיר אותו בלי display:none,
   שאותו חלק מהבוטים מזהים ומדלגים עליו. */
.field--trap{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  border:0;overflow:hidden;clip-path:inset(50%);
  white-space:nowrap;pointer-events:none;
}
.form-msg--pending{color:var(--text-soft)}
.form-msg--ok{color:#1F6B4A}
.form-msg--error{color:#9B2C1F}
.form-msg--error,.form-msg--ok{font-weight:600}
form[data-contact-form] button[type="submit"][disabled]{opacity:.65;cursor:progress}

/* ==========================================================================
   הודעת הצלחה: מחליפה את הטופס אחרי שליחה מוצלחת
   ========================================================================== */
.form-success[hidden]{display:none}
.form-success{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:14px;padding:18px 4px 6px;
}
.form-success:focus{outline:none}
.form-success:focus-visible{outline:3px solid var(--gold);outline-offset:6px;border-radius:var(--radius-sm)}
.form-success__mark{
  display:grid;place-items:center;width:64px;height:64px;border-radius:50%;
  background:rgba(31,107,74,.1);color:#1F6B4A;
  animation:successPop .45s cubic-bezier(.2,1.3,.5,1) both;
}
.form-success h3{
  margin:0;font-family:var(--ff-display);font-size:26px;font-weight:600;
  color:var(--navy);letter-spacing:-.02em;
}
.form-success p{margin:0;max-width:42ch;font-size:16px;line-height:1.75;color:var(--text-soft)}
.form-success__alt{font-size:14.5px !important}
.form-success__alt a{color:var(--teal);text-decoration:underline;white-space:nowrap}
.form-success__again{
  margin-top:8px;font-family:var(--ff-body);font-size:15px;font-weight:600;
  background:transparent;color:var(--navy);border:1.5px solid var(--navy);
  border-radius:99px;padding:12px 26px;min-height:48px;cursor:pointer;
  transition:background .3s ease,color .3s ease;
}
.form-success__again:hover{background:var(--navy);color:#fff}
.form-success__again:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

@keyframes successPop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.form-success__mark{animation:none}}

/* ==========================================================================
   תת תפריט השירותים בהדר
   ========================================================================== */
/* הקישור והחץ הם יחידה אחת: כל הגלולה נצבעת יחד ונשארת מודגשת כשפתוח */
.nav__group{
  position:relative;display:flex;align-items:center;
  border-radius:99px;transition:background-color .25s ease;
}
.nav__group > a{padding-inline-end:6px}
.nav__group > a:hover{background:transparent}
.nav__group:hover,
.nav__group.is-open{background:rgba(9,21,40,.06)}
.nav__group.is-open{background:rgba(9,21,40,.09)}
.nav__group.is-open > a{font-weight:600}

.nav__more{
  display:grid;place-items:center;width:26px;height:34px;padding:0;
  margin-inline-end:10px;
  background:none;border:0;color:var(--navy);cursor:pointer;
  transition:transform .25s ease;
}
.nav__more svg{display:block}
.nav__more[aria-expanded="true"]{transform:rotate(180deg)}
.nav__more:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:99px}

.nav__sub{
  position:absolute;top:calc(100% + 14px);inset-inline-start:0;z-index:60;
  min-width:288px;margin:0;padding:10px;list-style:none;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
/* הפתיחה והסגירה מנוהלות כולן ב-JS, כדי שמצב אחד יקבע ולא יתנגש עם hover */
.nav__sub.is-open{opacity:1;visibility:visible;transform:translateY(0)}
/* גשר בלתי נראה בין הקישור לחלונית, כדי שהעכבר לא יאבד אותה בדרך */
.nav__sub::before{content:"";position:absolute;inset-inline:0;top:-14px;height:14px}

/* כל שורה בחלונית מקבלת רקע וחץ קטן שנכנס פנימה במעבר עכבר */
.nav__sub a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:11px 14px;border-radius:var(--radius-sm);
  font-size:15.5px;line-height:1.45;color:var(--navy);
  transition:background-color .2s ease,color .2s ease;
}
.nav__sub a::after{
  content:"←";display:inline-block;position:static;
  width:auto;height:auto;background:none;border-radius:0;transform:translateX(6px);
  color:var(--gold-text);font-size:15px;opacity:0;
  transition:opacity .2s ease,transform .2s ease;
}
.nav__sub a:hover,.nav__sub a:focus-visible{background:var(--cream-2)}
.nav__sub a:hover::after,.nav__sub a:focus-visible::after{opacity:1;transform:translateX(0)}
.nav__sub a:active{background:var(--cream)}
.nav__sub a:focus-visible{outline:3px solid var(--gold);outline-offset:-2px}
.nav__sub-all{margin-top:6px;padding-top:8px;border-top:1px solid var(--line-soft)}
.nav__sub-all a{font-weight:600}

@media (prefers-reduced-motion:reduce){
  .nav__sub{transition:none}
  .nav__more{transition:none}
}

/* מובייל: התת תפריט נפתח בתוך התפריט הנפתח, לא כחלונית צפה */
@media (max-width:720px){
  /* במובייל חוזרים לרשימה אנכית: בלי גלולות ובלי רקע על הקבוצה */
  .nav a{padding:13px 0;border-radius:0}
  .nav a:hover,.nav a:active{background:transparent}
  .nav a[aria-current="page"]::after{inset-inline-start:auto;inset-inline-end:0;transform:none;bottom:50%}
  .nav__group{display:block;position:static;background:transparent !important}
  .nav__group:hover,.nav__group.is-open{background:transparent}
  .nav__group > a{display:inline-block;width:calc(100% - 44px);padding-inline-end:0}
  .nav__more{position:absolute;inset-inline-end:16px;width:44px;height:44px;margin:-46px 0 0}
  .nav__sub{
    position:static;min-width:0;margin:0 0 6px;padding:0 0 0 0;
    background:transparent;border:0;box-shadow:none;border-radius:0;
    opacity:1;visibility:visible;transform:none;display:none;
  }
  .nav__sub.is-open{display:block}
  .nav__sub::before{display:none}
  .nav__sub a{
    padding:12px 0;margin-inline-start:16px;border-radius:0;
    border-bottom:1px solid var(--line-soft);font-size:15px;color:var(--text-soft);
  }
  .nav__sub a::after{opacity:1;transform:none}
  .nav__sub-all{margin-top:0;padding-top:0;border-top:0}
  .nav__sub li:last-child a{border-bottom:0}
}

/* ==========================================================================
   מאמרים
   ========================================================================== */
/* כרטיס מאמר ברשימה */
.posts--2{grid-template-columns:repeat(2,1fr);max-width:940px;margin-inline:auto}
.post{padding:0}
.post__link{
  display:flex;flex-direction:column;height:100%;
  padding:34px 32px 30px;color:inherit;
}
.post__link:hover{color:inherit}
.post__sub{
  font-family:var(--ff-display);font-size:17px;font-weight:400;
  color:var(--gold-text);margin-bottom:14px;flex:0 0 auto;
}
.post__meta{
  margin-top:20px;font-size:13.5px;color:var(--text-mute);letter-spacing:.03em;
}
.post__cta{
  margin-top:14px;align-self:flex-start;font-weight:600;font-size:15.5px;
  color:var(--navy);border-bottom:1px solid var(--gold);padding-bottom:2px;
  transition:color .3s ease;
}
.post:hover .post__cta{color:var(--gold-text)}
.post__link:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:var(--radius)}

/* גוף המאמר */
.prose{max-width:720px;margin-inline:auto}
.prose__meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;
  font-size:13.5px;color:var(--text-mute);letter-spacing:.03em;margin-bottom:18px;
}
.prose__tag{
  font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--gold-text);
}
.prose__title{font-size:clamp(28px,3.4vw,38px);margin-bottom:10px}
.prose__sub{
  font-family:var(--ff-display);font-size:clamp(18px,2vw,21px);
  font-weight:400;line-height:1.55;color:var(--text-soft);
}
.prose h3{
  margin-top:44px;margin-bottom:14px;font-size:clamp(20px,2.2vw,24px);
  scroll-margin-top:100px;
}
.prose p{margin-bottom:17px;font-size:17.5px;line-height:1.9;color:var(--text-soft)}
.prose p:last-of-type{margin-bottom:0}
.prose strong{color:var(--navy);font-weight:600}

/* משפט מודגש בתוך המאמר */
.prose__pull{
  margin:28px 0 !important;padding:20px 24px;
  background:var(--cream-2);border-inline-start:3px solid var(--gold);
  border-radius:var(--radius-sm);
  font-family:var(--ff-display) !important;font-size:19px !important;
  line-height:1.65 !important;color:var(--navy) !important;
}
.prose__list{margin:0 0 20px;padding:0;list-style:none}
.prose__list li{
  position:relative;padding:14px 22px 14px 0;
  font-size:17px;line-height:1.85;color:var(--text-soft);
  border-bottom:1px solid var(--line-soft);
}
.prose__list li:last-child{border-bottom:0}
.prose__list li::before{
  content:"";position:absolute;inset-inline-start:0;top:24px;
  width:7px;height:7px;border-radius:50%;background:var(--gold);
}

/* טבלת נתונים */
.prose__table{margin:30px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.prose__table table{
  width:100%;min-width:420px;border-collapse:collapse;
  background:var(--white);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);
}
.prose__table caption{
  caption-side:top;text-align:start;padding-bottom:12px;
  font-size:14px;color:var(--text-mute);letter-spacing:.03em;
}
.prose__table th,.prose__table td{
  padding:14px 18px;text-align:start;font-size:16.5px;
  border-bottom:1px solid var(--line-soft);
}
.prose__table thead th{
  background:var(--navy);color:#fff;font-weight:600;font-size:15.5px;
  border-bottom:0;
}
.prose__table tbody th{font-weight:700;color:var(--navy)}
.prose__table tbody td{color:var(--text-soft);font-variant-numeric:tabular-nums}
.prose__table tbody tr:last-child th,
.prose__table tbody tr:last-child td{border-bottom:0}
.prose__table tbody tr:nth-child(even){background:var(--cream)}

.prose__note{
  margin-top:40px !important;padding-top:22px;border-top:1px solid var(--line);
  font-size:13.5px !important;line-height:1.75 !important;color:var(--text-mute) !important;
}
.prose__back{margin-top:30px}

@media (max-width:860px){
  .posts--2{grid-template-columns:1fr}
}
@media (max-width:560px){
  .post__link{padding:28px 22px 26px}
  .prose p{font-size:16.5px}
  .prose__pull{padding:16px 18px;font-size:17.5px !important}
  .prose__table th,.prose__table td{padding:12px 14px;font-size:15.5px}
}
/* הטבלה נגללת לרוחב במובייל, ולכן היא גם מוקד מקלדת */
.prose__table:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:var(--radius)}

/* תמונות המאמרים ------------------------------------------------------- */
.post__link{padding:0}
.post__media{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--cream-2)}
.post__media img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.4,0,.2,1);
}
.post:hover .post__media img{transform:scale(1.04)}
.post__body{display:flex;flex-direction:column;flex:1;padding:28px 30px 28px}

/* תמונת כיסוי בראש המאמר */
.prose__cover{margin:26px 0 32px}
.prose__cover img{
  width:100%;height:auto;display:block;
  border-radius:var(--radius);box-shadow:var(--shadow);
}
@media (prefers-reduced-motion:reduce){
  .post__media img{transition:none}
  .post:hover .post__media img{transform:none}
}
@media (max-width:560px){
  .post__body{padding:24px 22px}
}
