@charset "utf-8";
/* ==========================================================================
   משרד עו״ד דיקלה אמסלם — מערכת העיצוב
   הערכים כאן נמדדו מהאתר הקיים ב-getComputedStyle. אין כאן המצאות.
   ========================================================================== */

:root {
  /* --- הרקע. האתר כהה מקצה לקצה --- */
  --bg:          #080908;
  --bg-deep:     #000000;   /* שורת הקרדיט בתחתית */

  /* --- הזהב. זהה לזהב שבלוגו --- */
  --gold:        #E5A422;
  --gold-hover:  #F0B23A;
  --gold-link:   #CD8C2E;   /* קישורי טקסט בגוף */

  /* --- טקסט על רקע כהה --- */
  --white:       #FFFFFF;
  --head-soft:   #E7E7E7;   /* כותרות מקטע */
  --body-dim:    rgba(255, 255, 255, .80);
  --body-faint:  rgba(255, 255, 255, .62);

  /* --- טקסט על רקע זהב --- */
  --on-gold:      #080908;
  --on-gold-dim:  rgba(8, 9, 8, .80);

  /* --- משטחים --- */
  /* --- הנייבי מהלוגו. מבדל את האתר מהקודם ומחזיר את הצבע השני של המותג --- */
  --navy:        #10294D;   /* רקע מקטע */
  --navy-panel:  #16345E;   /* כרטיס */
  --navy-hover:  #22497F;
  --navy-line:   #2E5A96;   /* קווי הפרדה — כחול נראה לעין */

  --panel:       rgba(255, 255, 255, .13);  /* כרטיס תחום התמחות */
  --panel-soft:  rgba(255, 255, 255, .09);  /* בלוק פרטי קשר בפוטר */
  --panel-hover: rgba(255, 255, 255, .18);
  --rule:        rgba(255, 255, 255, .14);

  /* --- טיפוגרפיה --- */
  --ff: "Rubik", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --fs-h1:     75px;   /* הירו */
  --fs-h2:     42px;   /* כותרת מקטע */
  --fs-card:   22px;   /* כותרת כרטיס */
  --fs-art:    24px;   /* כותרת מאמר */
  --fs-body:   16px;
  --fs-eyebrow:18.75px; /* הוגדל ב-25% ב-31.10.2026 */
  --fs-btn:    15px;

  /* --- פריסה --- */
  --content: 1140px;   /* עמודת התוכן */
  --wide:    1400px;   /* רוחב מקטע */
  --sec-y:   90px;     /* ריווח אנכי בין מקטעים */
  --gutter:  20px;

  /* --- פינות מעוגלות --- */
  --r-card:  14px;   /* כרטיסים, פאנלים, תמונות */
  --r-btn:    7px;   /* כפתורים — עדין, לא גלולה */
  --r-field:  9px;   /* שדות טופס */
}

/* ==========================================================================
   ריסט
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body-dim);
  font-family: var(--ff);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.875;          /* 30px על 16px — כמו באתר הקיים */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* גוף הדף לעולם לא נגלל לצדדים */
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  text-wrap: balance;
}

a { color: var(--gold-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* מיקוד נראה — חובה לניווט במקלדת */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* דילוג לתוכן.
   מוסתר מעל הקצה העליון ולא בהיסט אופקי ענק — ב-RTL היסט כזה מותח
   את הדף ימינה ויוצר גלילה אופקית. */
.skip {
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  z-index: 200;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 500;
  transform: translateY(-120%);
  transition: transform .15s ease;
}
.skip:focus { transform: none; }
@media (prefers-reduced-motion: reduce) { .skip { transition: none; } }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   פריסה
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: var(--wide); }
.wrap-read { max-width: 820px; }   /* עמודת קריאה למאמרים */

.sec { padding-block: var(--sec-y); }
.sec-tight { padding-block: calc(var(--sec-y) * .62); }

/* ==========================================================================
   כותרות מקטע
   ========================================================================== */

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
}

.sec-title {
  font-size: var(--fs-h2);
  line-height: 1;
  color: var(--head-soft);
}
.sec-title.on-dark { color: var(--white); }

.sec-lead {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--body-dim);
}
.sec-head { margin-bottom: 46px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-lead { margin-inline: auto; }

/* ==========================================================================
   כפתורים — מרובעים, בדיוק כמו באתר הקיים
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 15px 40px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-dark {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--white);
}
.btn-dark:hover { background: #1b1d1b; }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ״למידע נוסף״ — קישור זהב בלי רקע.
   ללא תו חץ: הוא נראה שונה בכל מערכת, ובעברית הוא גם מצביע לכיוון
   שנתפס כלא נכון. במקומו קו תחתון עדין שמופיע במעבר עכבר. */
.more {
  display: inline-block;
  color: var(--gold);
  font-size: var(--fs-btn);
  font-weight: 500;
  border-block-end: 1px solid transparent;
  padding-block-end: 2px;
  transition: border-color .15s ease;
}
.more:hover { text-decoration: none; border-block-end-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .more { transition: none; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.center .btn-row { justify-content: center; }

/* ==========================================================================
   כותר עליון
   ========================================================================== */

/* השורה העליונה לבנה בכוונה. הלוגו הוא מונוגרמה בנייבי #001C44 על רקע שקוף,
   ועל הרקע הכהה של האתר הוא פשוט נבלע. רקע לבן הוא מה שהלוגו תוכנן עבורו. */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding-block: 12px;
}
.brand { flex: none; }
.brand img { width: 158px; }

.nav { margin-inline-start: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: 21px;
}
.nav > ul > li { display: flex; }
.nav a {
  display: block;
  padding-block: 10px;
  color: #1B2231;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;   /* ״צור איתנו קשר״ לא נשבר לשתי שורות */
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); text-decoration: none; }

/* תפריט נפתח */
.has-sub { position: relative; }
.has-sub > button {
  display: flex;
  align-items: center;
  gap: .55em;
  padding: 10px 0;
  background: none;
  border: 0;
  color: #1B2231;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: inherit;
  white-space: nowrap;
  cursor: pointer;
}

/* חץ מצויר ב-CSS ולא בתו טקסט.
   התו ״⌄״ הוא אות מקדימה ביוניקוד — הוא נראה שונה בכל גופן ומערכת,
   ויושב מחוץ לקו הבסיס. משולש מצויר נראה זהה בכל מקום. */
.has-sub > button::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-block-start: -3px;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.has-sub[data-open="true"] > button::after {
  transform: rotate(225deg);
  margin-block-start: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .has-sub > button::after { transition: none; }
}
.has-sub > button:hover { color: var(--brass); }

.sub {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  z-index: 10;
  display: none;
  min-width: 288px;
  padding: 8px 0;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  border-radius: 10px;
}
.has-sub[data-open="true"] .sub { display: block; }
.sub a {
  padding: 11px 22px;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
}
.sub a:hover { background: var(--gold); color: var(--on-gold); text-decoration: none; }

.hdr-cta {
  flex: none;
  padding: 12px 18px;
  font-size: 13.5px;
  line-height: 1.35;
  white-space: nowrap;
}

/* כפתור המבורגר */
.burger {
  display: none;
  flex: none;
  margin-inline-start: auto;
  padding: 10px;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
}
.burger { color: #1B2231; }
.burger span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px 0;
  background: currentColor;
}

/* --- שלב ביניים: התפריט עדיין בשורה, רק צפוף יותר.
       הטקסט הארוך בכפתור יורד ומשאיר את מספר הטלפון. --- */
@media (max-width: 1220px) {
  .cta-long { display: none; }
  .hdr-cta  { padding: 11px 16px; font-size: 15px; }
  .brand img { width: 142px; }
  .hdr-in   { gap: 14px; }
  .nav > ul { gap: 16px; }
  .nav a, .has-sub > button { font-size: 14.5px; }
}

@media (max-width: 1040px) {
  .brand img { width: 126px; }
  .hdr-in   { gap: 10px; }
  .nav > ul { gap: 11px; }
  .nav a, .has-sub > button { font-size: 13.5px; }
  .has-sub > button { gap: .35em; }
  .has-sub > button::after { width: 6px; height: 6px; }
  .hdr-cta  { padding: 10px 13px; font-size: 14px; }
}

/* --- מתחת ל-940px אין יותר מקום לשישה פריטים בשורה. מבורגר. --- */
@media (max-width: 940px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    max-height: calc(100dvh - 74px);
    padding: 18px var(--gutter) 34px;
    overflow-y: auto;
    background: #FFFFFF;
    border-bottom: 3px solid var(--gold);
  }
  .nav[data-open="true"] { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid #E3E7EE; }
  .nav a, .has-sub > button { width: 100%; padding-block: 15px; font-size: 17px; }
  .has-sub > button { justify-content: space-between; }
  .sub {
    position: static;
    min-width: 0;
    padding: 0 0 10px;
    background: transparent;
    box-shadow: none;
  }
  .sub a { padding: 11px 16px; color: #4A5568; font-size: 15px; }
  .sub a:hover { background: transparent; color: var(--brass); }

  /* סדר מפורש: לוגו, כפתור טלפון, מבורגר */
  .hdr-cta { order: 2; margin-inline-start: auto; }
  .burger  { order: 3; margin-inline-start: 0; }
  .brand   { order: 1; }
  .hdr-in  { min-height: 74px; }
}

/* ==========================================================================
   הירו
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 800px;
  padding-block: 70px;
  background: var(--bg) center / cover no-repeat;
  isolation: isolate;
}
/* הכיוון קריטי: ב-RTL הכותרת יושבת מימין, ולכן הצד הכהה חייב להיות ימין.
   `90deg` ב-CSS הוא תמיד פיזי ולא מושפע מ-dir — לכן 270deg ולא 90. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg,
    rgba(16, 41, 77, .96) 0%,
    rgba(11, 26, 48, .90) 34%,
    rgba(8, 9, 8, .58) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 50px;
}
/* שורת המותג מעל הכותרת. קו זהב מתחתיה, כמו בלוגו. */
.hero-brand {
  display: inline-block;
  margin-bottom: 26px;
  padding-block-end: 12px;
  border-block-end: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .02em;
}
/* .hero p גובר על .hero-brand, ולכן הגודל נקבע בבורר ספציפי יותר.
   הוגדל ב-25% ב-31.10.2026 (היה 21, 19 ו-17). */
.hero .hero-brand { font-size: 26.25px; }
@media (max-width: 1100px) { .hero .hero-brand { font-size: 23.75px; } }
@media (max-width: 700px) {
  .hero .hero-brand { font-size: 21.25px; }
  .hero-brand { margin-bottom: 18px; padding-block-end: 9px; }
}

.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1;
  color: var(--white);
}
.hero p {
  max-width: 52ch;
  margin-top: 26px;
  color: rgba(255, 255, 255, .82);
  font-size: 21px;
  line-height: 1.7;
}
@media (max-width: 1100px) { .hero p { font-size: 19px; } }
@media (max-width: 700px)  { .hero p { font-size: 17px; margin-top: 18px; } }
.hero-figure img {
  width: 100%;
  border-radius: var(--r-card);
  max-width: 420px;
  margin-inline-start: auto;
}

/* הירו פנימי — עמודי משנה */
.hero-inner { min-height: 0; padding-block: 96px 84px; }
.hero-inner h1 { font-size: 46px; line-height: 1.12; }
.hero-inner .hero-grid { grid-template-columns: minmax(0, 1fr); }

.crumbs {
  margin-bottom: 20px;
  color: var(--body-faint);
  font-size: 14px;
  line-height: 1.6;
}
.crumbs a { color: var(--body-faint); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { padding-inline: 8px; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-block: 62px; }
  .hero::before { background: rgba(14, 34, 64, .93); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero h1 { font-size: 40px; }
  .hero-inner { padding-block: 56px 48px; }
  .hero-inner h1 { font-size: 32px; }
  .hero-figure { order: -1; }
  .hero-figure img { max-width: 260px; margin-inline: auto; }
}
/* בטלפון התמונה קטנה יותר, כדי שהכותרת והכפתור הראשי ייכנסו למסך הראשון בלי לגלול.
   הגובה תלוי בגובה המסך (svh = החלק שנשאר גלוי כשסרגל הדפדפן פתוח). */
@media (max-width: 700px) {
  .hero:not(.hero-inner) { padding-block: 28px 44px; }
  .hero:not(.hero-inner) .hero-grid { gap: 22px; }
  .hero-figure img { width: auto; height: min(230px, 27vh); height: min(230px, 27svh); }
}

/* ==========================================================================
   כרטיסי זהב — ארבע נקודות החוזק
   ========================================================================== */

.gold-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;                     /* עם פינות מעוגלות נדרש רווח אמיתי */
}
.gold-card {
  padding: 30px;
  background: var(--gold);
  color: var(--on-gold-dim);
  border-radius: var(--r-card);
}
.gold-card h2, .gold-card h3 {
  margin-bottom: 10px;
  font-size: var(--fs-card);
  line-height: 1.2;
  color: var(--on-gold);
}
.gold-card p { line-height: 1.5; }

@media (max-width: 1000px) { .gold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .gold-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   כרטיסי תחומי התמחות
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  background: var(--panel);
  transition: background-color .15s ease;
  border-radius: var(--r-card);
}
.card:hover { background: var(--panel-hover); }
.card h3 {
  font-size: var(--fs-card);
  line-height: 1.2;
  color: var(--white);
}
.card p { font-size: 15px; line-height: 1.65; }
.card .more { margin-top: auto; }

@media (max-width: 1000px) {
  .cards, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cards, .cards-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   תחומים נוספים: באותה שפה של האתר (שחור וזהב), עם הבדל עדין
   מכרטיסי הליבה: פס זהב עליון, סמל בעיגול זהב ורשימת נושאים.
   ========================================================================== */

.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  background: var(--panel);
  border-radius: var(--r-card);
  border-block-start: 3px solid var(--gold);
  transition: background-color .15s ease;
}
.area:hover { background: var(--panel-hover); }
.area-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
}
.area-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.area h3 {
  font-size: var(--fs-card);
  line-height: 1.2;
  color: var(--white);
}
.area p { font-size: 15px; line-height: 1.65; }

.area-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--rule);
}
.area-list li {
  position: relative;
  padding-block: 9px;
  padding-inline-start: 18px;
  border-block-end: 1px solid var(--rule);
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
}
.area-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--gold);
}
/* פריט שיש לו עמוד באתר נשאר לחיץ, אבל נראה כמו שאר הפריטים.
   הזהב מופיע רק במעבר עכבר, כדי שלא יבלוט כפריט יחיד ברשימה. */
.area-list a { color: inherit; text-decoration: none; }
.area-list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.area-cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--r-btn);
  color: var(--gold);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.area-cta:hover { background: var(--gold); color: var(--on-gold); text-decoration: none; }

@media (max-width: 1100px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .areas { grid-template-columns: minmax(0, 1fr); } .area { padding: 24px; } }

/* ==========================================================================
   סרטונים: סרטון במרכז ושניים בצדדים, עם חיצים.
   בלי JS (אין .is-ready) זו שורה נגללת רגילה עם נגן לכל סרטון.
   ========================================================================== */

/* --stage-h הוא גובה הבמה: הסרטון (רוחב × 16/9) ועוד 92 לכיתוב. ערכים פשוטים בכוונה, בלי min()
   בתוך משתנה: ספארי באייפון לא תמיד מחשב אותם, ואז הבמה מתכווצת לגובה אפס והסרטונים נעלמים. */
.vids { --w: 300px; --step: 292px; --stage-h: 626px; }

.vids-nav {
  display: none;
  justify-content: center;
  gap: 26px;
  margin-bottom: 40px;
}
.vids-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.vids-btn:hover { background: var(--gold); color: var(--on-gold); }
.vids-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* בלי JS: שורה נגללת */
.vids-stage {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.vid { flex: 0 0 var(--w); margin: 0; scroll-snap-align: center; }
.vid-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  isolation: isolate;   /* ספארי: בלי זה הפינות המעוגלות לא חותכות את הסרטון */
  border-radius: var(--r-card);
  background: #000;
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .85);
}
.vid-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* תמונת הפתיחה כתמונה רגילה מעל הסרטון: ספארי לא תמיד מצייר את poster של סרטון שזז על הבמה.
   בלי JS היא מוסתרת, כי שם מנגנים בנגן הרגיל והיא הייתה מכסה אותו. */
.vid-poster { display: none; }
.vids.is-ready .vid-poster {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.vids.is-ready .vid.is-playing .vid-poster { display: none; }
.vid-play { display: none; }
.vid figcaption { margin-top: 16px; text-align: center; }
.vid-topic {
  display: block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
}
.vid-title {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

/* עם JS: במה. --off הוא המרחק מהמרכז; חיובי = שמאלה, כי בעברית "הבא" משמאל */
.vids.is-ready .vids-nav { display: flex; }
.vids.is-ready .vids-stage {
  position: relative;
  display: block;
  height: var(--stage-h);
  overflow: hidden;
  padding: 0;
  scroll-snap-type: none;
  touch-action: pan-y;
}
.vids.is-ready .vid {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--w);
  transform: translateX(calc(-50% - var(--off, 0) * var(--step))) scale(var(--s, 1));
  transform-origin: 50% 40%;
  opacity: var(--o, 1);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
  z-index: 1;
}
.vids.is-ready .vid[data-pos="0"] { --s: 1; --o: 1; z-index: 3; }
.vids.is-ready .vid[data-pos="1"],
.vids.is-ready .vid[data-pos="-1"] { --s: .8; --o: .45; z-index: 2; cursor: pointer; }
.vids.is-ready .vid[data-pos="1"]:hover,
.vids.is-ready .vid[data-pos="-1"]:hover { --o: .65; }
/* יוצא מהבמה: נעלם במקום, ורק אחר כך זז, כדי שלא יחצה את המרכז */
.vids.is-ready .vid[data-pos="far"] {
  --s: .6;
  --o: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform 0s linear .2s;
}
.vids.is-ready .vid:not([data-pos="0"]) figcaption { visibility: hidden; }
.vids.is-init .vid { transition: none !important; }

.vids.is-ready .vid-play {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  width: 76px;
  height: 76px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
  transition: transform .15s ease, background-color .15s ease, opacity .2s ease;
}
.vids.is-ready .vid-play:hover { transform: scale(1.06); background: var(--gold-hover); }
.vid-play svg { width: 30px; height: 30px; fill: currentColor; transform: translateX(2px); }
.vids.is-ready .vid:not([data-pos="0"]) .vid-play,
.vids.is-ready .vid.is-playing .vid-play { opacity: 0; pointer-events: none; }

/* קישורים לרשתות מתחת לסרטונים */
.vids-social { margin-top: 46px; text-align: center; }
.vids-social p { color: var(--white); font-size: 19px; font-weight: 500; }
.vids-social .btn-row { justify-content: center; margin-top: 18px; }
.btn-social { padding: 13px 26px; gap: 10px; }
.btn-social .brand-ico { width: 24px; height: 24px; flex: none; }

@media (max-width: 1100px) { .vids { --w: 270px; --step: 258px; --stage-h: 572px; } }
@media (max-width: 700px) {
  .vids { --w: 260px; --step: 238px; --stage-h: 555px; }
  .vids.is-ready .vids-stage { margin-inline: calc(var(--gutter) * -1); }
  .vids-btn { width: 48px; height: 48px; }
  .vids-nav { margin-bottom: 28px; }
  .vids-social p { font-size: 17px; }
}
/* טלפון: הכרטיס לפי רוחב המסך. 110.2vw = ‏62vw × 16/9 */
@media (max-width: 430px) {
  .vids { --w: 62vw; --step: 57vw; --stage-h: calc(110.2vw + 92px); }
}

/* ==========================================================================
   המלצות — צילומי מסך של הודעות מלקוחות
   ========================================================================== */

/* פס נע ימינה-שמאלה. המסלול מכיל את הסט פעמיים ונע חצי מרוחבו,
   כך שהלולאה אינסופית ובלי קפיצה. נעצר במעבר עכבר, ומי שביקש
   פחות תנועה מקבל פס שגוללים ידנית. */
.marquee {
  overflow: hidden;
  direction: ltr;   /* בלי זה, בדף RTL המסלול מתיישר לימין ונפתח מחוץ למסך */
  margin-inline: calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); }   /* חצי מסלול + חצי רווח */
}

.quote-shot {
  position: relative;
  flex: 0 0 auto;
  width: 600px;
  padding: 14px;
  background: var(--panel);
  border-radius: var(--r-card);
  direction: rtl;
}
.quote-shot img { width: 100%; border-radius: 8px; }
.quote-shot figcaption {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .quote-shot { width: 84vw; padding: 10px; }
  .quote-shot figcaption { top: 18px; inset-inline-start: 18px; font-size: 12px; }
  .marquee-track { animation-duration: 45s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-track > [aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   מקטע מפוצל — תמונה לצד טקסט
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 56px;
}
.split-figure img { width: 100%; border-radius: var(--r-card); }
.split-figure figcaption {
  margin-top: 12px;
  color: var(--body-faint);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

/* מקטע נייבי — שובר את הרצף של הרקע הכהה ומחזיר את הצבע השני של הלוגו */
.sec-navy {
  background: var(--navy);
  border-block: 1px solid var(--navy-line);
}

/* קו זהב קצר מתחת לכותרת מקטע */
.sec-head .sec-title::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-block-start: 18px;
  background: var(--gold);
}
.sec-head.center .sec-title::after { margin-inline: auto; }

/* ==========================================================================
   פס זהב — הנעה לפעולה
   ========================================================================== */

.gold-band { padding-block: 66px; background: var(--gold); }
.gold-band h2, .gold-band p.big {
  font-size: var(--fs-h2);
  line-height: 1.12;
  color: var(--white);
}
.gold-band p { color: rgba(255, 255, 255, .92); }
.gold-band .lead { margin-top: 14px; font-size: 18px; }

@media (max-width: 700px) {
  .gold-band h2, .gold-band p.big { font-size: 28px; }
}

/* ==========================================================================
   מאמרים
   ========================================================================== */

.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.art {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--panel);
  transition: background-color .15s ease;
  border-radius: var(--r-card);
}
.art:hover { background: var(--panel-hover); }
.art h3 { font-size: var(--fs-art); font-weight: 600; line-height: 1.2; }
.art p { font-size: 15px; line-height: 1.65; }
.art .more { margin-top: auto; }

@media (max-width: 950px) { .arts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .arts { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   גוף מאמר
   ========================================================================== */

.prose { color: var(--body-dim); }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  margin-top: 52px;
  font-size: 30px;
  line-height: 1.25;
  color: var(--white);
}
.prose h3 {
  margin-top: 38px;
  font-size: 21px;
  line-height: 1.3;
  color: var(--white);
}
.prose h2 + *, .prose h3 + * { margin-top: 16px; }
.prose strong { color: var(--white); font-weight: 500; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.prose ul, .prose ol { display: grid; gap: 12px; padding-inline-start: 0; }
.prose li { position: relative; padding-inline-start: 26px; }
.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: .72em;
  width: 8px; height: 8px;
  background: var(--gold);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 500;
}

.prose blockquote {
  padding: 22px 26px;
  border-inline-start: 3px solid var(--gold);
  background: var(--panel-soft);
  color: var(--white);
  border-radius: var(--r-card);
}
.prose blockquote p + p { margin-top: 12px; }

.tbl-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; text-align: right; }
.prose th, .prose td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.prose th { color: var(--white); font-weight: 500; }

/* ==========================================================================
   שאלות נפוצות
   ========================================================================== */

.faq { display: grid; gap: 2px; }
.faq details { background: var(--navy-panel); overflow: hidden;
  border: 1px solid var(--navy-line); }
.faq details:first-of-type { border-start-start-radius: var(--r-card); border-start-end-radius: var(--r-card); }
.faq details:last-of-type { border-end-start-radius: var(--r-card); border-end-end-radius: var(--r-card); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 26px 24px; }
.faq .answer > * + * { margin-top: 14px; }

/* ==========================================================================
   טופס
   ========================================================================== */

.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 7px; }
.field label { color: var(--white); font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--rule);
  border-radius: var(--r-field);
  color: var(--white);
  font-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .38); }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field [aria-invalid="true"] { border-color: #E06B5A; }
.err { color: #F0937F; font-size: 13.5px; }

.form-note { color: var(--body-faint); font-size: 13.5px; line-height: 1.6; }
.form-status { padding: 14px 16px; background: var(--panel-soft); color: var(--white); font-size: 15px;   border-radius: var(--r-field);
}

/* ==========================================================================
   סיוגים
   ========================================================================== */

.disclaimer {
  margin-top: 18px;
  color: var(--body-faint);
  font-size: 13.5px;
  line-height: 1.65;
}
.disclaimer-box {
  padding: 20px 24px;
  border: 1px solid var(--rule);
  color: var(--body-faint);
  font-size: 14px;
  line-height: 1.7;
  border-radius: var(--r-card);
}

/* ==========================================================================
   פוטר
   ========================================================================== */

.ftr {
  padding-block: 74px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--bg) 62%);
  border-top: 3px solid var(--gold);
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 46px;
}
.ftr h2 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gold);
}
.ftr img.ftr-logo { width: 210px; margin-bottom: 20px; }
.ftr p, .ftr li { font-size: 15px; line-height: 1.75; }
.ftr a { color: var(--body-dim); }
.ftr a:hover { color: var(--gold); }
.ftr ul { display: grid; gap: 9px; }

.ftr-office {
  padding: 20px 22px;
  background: var(--navy-panel);
  border-inline-start: 3px solid var(--gold);
  color: var(--body-dim);   /* תוקן: באתר הישן היה #333 על כהה — לא קריא */
  border-radius: var(--r-card);
}
.ftr-office + .ftr-office { margin-top: 14px; }
.ftr-office strong { display: block; color: var(--white); font-weight: 500; }

.ftr-legal {
  margin-top: 52px;
  padding-block: 26px;
  border-top: 1px solid var(--rule);
  color: var(--body-faint);
  font-size: 13px;
  line-height: 1.7;
}
.ftr-legal p + p { margin-top: 10px; }

.ftr-btm {
  padding-block: 22px;
  background: var(--bg-deep);
  color: var(--body-faint);
  font-size: 13.5px;
}
.ftr-btm .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; }

.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; background: var(--panel); color: var(--white); }
.social a:hover { background: var(--gold); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 900px) {
  .ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
}
/* בטלפון הכפתורים הצפים יושבים על השורה האחרונה של הדף. הריווח מאפשר לגלול אותה מעליהם. */
@media (max-width: 700px) {
  .ftr-btm { padding-block-end: 96px; }
}

/* ==========================================================================
   כפתור וואטסאפ צף
   ========================================================================== */

/* העיגול נפתח לכפתור עם קריאה לפעולה שגולשת פנימה לדף, וגל ירוק פועם סביבו כל הזמן.
   הסמל יושב בקצה החיצוני, והתווית נפתחת ממנו לכיוון מרכז הדף. */
.wa {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  height: 56px;
  padding-inline: 13px;
  background: #25D366;
  border-radius: 28px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}
.wa:hover { text-decoration: none; background: #1EBE5A; }
.wa svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  animation: wa-open .7s cubic-bezier(.2, .8, .2, 1) 2s forwards;
}
@keyframes wa-open {
  to { max-width: 220px; padding-inline: 8px 10px; }
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 700px) {
  .wa-label { font-size: 15px; }
}
/* מי שביקש פחות תנועה מקבל את הכפתור פתוח מההתחלה, בלי פעימה */
@media (prefers-reduced-motion: reduce) {
  .wa::before { animation: none; }
  .wa-label { animation: none; max-width: 220px; padding-inline: 8px 10px; }
}

/* ==========================================================================
   סרגל נגישות
   ========================================================================== */

.a11y-btn {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-start: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  background: var(--gold);
  border: 0; border-radius: 50%;
  color: var(--on-gold);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}
.a11y-panel {
  position: fixed;
  inset-block-end: 84px;
  inset-inline-start: 22px;
  z-index: 91;
  display: none;
  width: min(280px, calc(100vw - 44px));
  padding: 18px;
  background: #fff;
  color: #222;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  border-radius: 12px;
}
.a11y-panel[data-open="true"] { display: block; }
.a11y-panel h2 { margin-bottom: 12px; font-size: 16px; color: #111; }
.a11y-panel button {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: #F1F1F1;
  border: 1px solid #DDD;
  color: #222;
  font-size: 14.5px;
  text-align: start;
  cursor: pointer;
}
.a11y-panel button:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* מצבי נגישות שהמשתמש מפעיל */
html[data-a11y-contrast="1"] {
  --body-dim: #FFFFFF;
  --body-faint: rgba(255, 255, 255, .92);
  --head-soft: #FFFFFF;
  --panel: rgba(255, 255, 255, .22);
  --gold-link: var(--gold);
}
html[data-a11y-links="1"] .prose a,
html[data-a11y-links="1"] .ftr a,
html[data-a11y-links="1"] .nav a { text-decoration: underline; }

/* ==========================================================================
   גילוי בגלילה — עדין מאוד
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   טיפוגרפיה רספונסיבית
   ========================================================================== */

@media (max-width: 1100px) {
  :root { --fs-h1: 54px; --fs-h2: 34px; --sec-y: 68px; }
}
@media (max-width: 560px) {
  .brand img { width: 118px; }
  .hdr-cta { padding: 10px 13px; font-size: 14px; }
  .hdr-in { gap: 8px; }
}

@media (max-width: 700px) {
  :root { --fs-h1: 34px; --fs-h2: 26px; --fs-art: 20px; --sec-y: 52px; }
  .sec-head { margin-bottom: 32px; }
  .gold-card, .card, .art { padding: 24px; }
}
/* טלפון צר (360): "המפתח לא הגיע? איחור במסירה" נשבר לשתי שורות ב-26 */
@media (max-width: 380px) {
  :root { --fs-h2: 23px; }
}

/* ==========================================================================
   הדפסה
   ========================================================================== */

@media print {
  .hdr, .wa, .a11y-btn, .a11y-panel, .btn-row, .form { display: none !important; }
  body { background: #fff; color: #000; }
  .prose a { color: #000; }
}
