/* ==========================================================================
   ארגוטים סוכנות לביטוח — מערכת עיצוב
   טוקנים: טיפוגרפיה = Assistant לכל האתר (כותרות וגוף טקסט), כמו באתר המקורי
   צבע: פלטת המותג המקורית — מג'נטה-פוקסיה עמוקה (primary/accent, מתוך לוגו
   הסוכנות עצמו) על אפור פחם (ink) ורקע בהיר
   ========================================================================== */

:root {
  /* צבעי בסיס — רקע לבן/אפור-בהיר שטוח דומיננטי; מג'נטה המותג משמש כנקודת
     צבע אחת בודדת ועקבית (כפתורים בלבד), לא כרקע ולא כגרדיאנט באף מקום */
  --ink: #26221f;
  --ink-soft: #58524c;
  --ink-faint: #756d67;
  --primary: #a71a72;
  --primary-deep: #7d1354;
  --primary-pale: #f8e6ef;
  --accent: #a71a72;
  --accent-deep: #7d1354;
  --accent-pale: #f8e6ef;
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --bg-deep: #1c1714;
  --paper: #f6f5f3;
  --paper-deep: #efecea;
  --border: #e6e3df;
  --border-deep: #d8d3cd;
  --success: #2f6f4e;
  --success-pale: #e5f1ea;
  --danger: #a63c2c;
  --danger-pale: #fbeae6;
  --focus-ring: #7d1354;
  --illus: #c7c2bc;
  --illus-soft: #efece8;
  --surface-dark: #1c1714;
  --btn-bg: #a71a72;
  --btn-fg: #ffffff;
  --shadow-color: 38, 34, 31;
  color-scheme: light;

  /* טיפוגרפיה */
  --font-display: "Assistant", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Assistant", "Segoe UI", Tahoma, sans-serif;

  /* מרווחים */
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;

  --radius-sm: 4px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container-w: 1180px;
  --shadow-card: 0 1px 2px rgba(18, 35, 41, 0.06);
}

/* מצב כהה: לפי מערכת ההפעלה (כשלא נבחר ידנית) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f4f0eb;
    --ink-soft: #d2cac3;
    --ink-faint: #a39a92;
    --primary: #f28fc6;
    --primary-deep: #f7b8da;
    --primary-pale: #3a2130;
    --accent: #f28fc6;
    --accent-deep: #f7b8da;
    --accent-pale: #3a2130;
    --bg: #151210;
    --bg-alt: #1d1916;
    --bg-deep: #0c0a09;
    --paper: #1d1916;
    --paper-deep: #26211d;
    --surface-dark: #0c0a09;
    --border: #3a332e;
    --border-deep: #554c45;
    --illus: #8a817a;
    --illus-soft: #26211d;
    --btn-bg: #a71a72;
    --btn-fg: #ffffff;
    --success: #7fcf9f;
    --success-pale: #123024;
    --danger: #f0a090;
    --danger-pale: #331714;
    --focus-ring: #f7b8da;
    --shadow-color: 0, 0, 0;
    color-scheme: dark;
  }
}

/* מצב כהה: נבחר ידנית */
:root[data-theme="dark"] {
    --ink: #f4f0eb;
    --ink-soft: #d2cac3;
    --ink-faint: #a39a92;
    --primary: #f28fc6;
    --primary-deep: #f7b8da;
    --primary-pale: #3a2130;
    --accent: #f28fc6;
    --accent-deep: #f7b8da;
    --accent-pale: #3a2130;
    --bg: #151210;
    --bg-alt: #1d1916;
    --bg-deep: #0c0a09;
    --paper: #1d1916;
    --paper-deep: #26211d;
    --surface-dark: #0c0a09;
    --border: #3a332e;
    --border-deep: #554c45;
    --illus: #8a817a;
    --illus-soft: #26211d;
    --btn-bg: #a71a72;
    --btn-fg: #ffffff;
    --success: #7fcf9f;
    --success-pale: #123024;
    --danger: #f0a090;
    --danger-pale: #331714;
    --focus-ring: #f7b8da;
    --shadow-color: 0, 0, 0;
    color-scheme: dark;
}

/* ==========================================================================
   בסיס
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent-deep); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  font-weight: 700;
  margin-top: var(--space-1);
  color: var(--primary-deep);
  letter-spacing: -0.005em;
}
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 var(--space-3); max-width: 68ch; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }

ul, ol { padding-inline-start: 1.3rem; margin: 0 0 var(--space-3); max-width: 62ch; }
li { margin-bottom: 0.5rem; }

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-4); }
.section--alt { background: var(--bg-alt); }
.section--deep {
  background: var(--bg-deep);
  color: #f2e8ec;
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: #ffffff; }
.section--deep p, .section--deep .lede { color: #e8d5dd; }
.section--deep a { color: #f6c9dc; }

.skip-link {
  position: absolute;
  right: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   כותרת עליונה
   ========================================================================== */

.site-header {
  background: var(--bg);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(46, 10, 30, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand__logo { height: 42px; width: auto; flex: none; }

.nav-primary { display: flex; }
.nav-primary__list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-primary a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.nav-dropdown { position: relative; }
.nav-dropdown summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "▾"; font-size: 0.7rem; }
.nav-dropdown[open] summary,
.nav-dropdown summary:hover { color: var(--primary); border-bottom-color: var(--accent); }
.nav-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
}
@media (min-width: 861px) {
  .nav-dropdown__list {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 300px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 24px rgba(46, 10, 30, 0.14);
    padding: 0.5rem;
  }
  .nav-dropdown__list li a { color: var(--ink); border-bottom: none; display: block; padding: 0.55rem 0.7rem; border-radius: var(--radius-sm); }
  .nav-dropdown__list li a:hover { background: var(--bg-alt); color: var(--primary-deep); }
}
@media (max-width: 860px) {
  .nav-dropdown__list { padding-inline-start: 1rem; }
  .nav-dropdown__list li a { color: var(--ink-soft); display: block; padding: 0.6rem 0.1rem; }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
}

.header-cta {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta.header-cta--desktop { display: none; }
  .header-login span { display: none; }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

/* ==========================================================================
   כפתורים
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 1rem 2.1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
  box-shadow: 0 16px 30px -10px rgba(167, 26, 114, 0.45);
}
.btn--primary:hover { background: #8f1661; border-color: #8f1661; color: #fff; transform: translateY(-1px); box-shadow: 0 20px 34px -10px rgba(167, 26, 114, 0.5); }
.btn--onDeep { background: #fff; color: var(--primary-deep); border-color: #fff; }
.btn--onDeep:hover { background: #fff; opacity: 0.92; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--dark:hover { background: #000; border-color: #000; color: #fff; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--primary-deep);
  border-color: var(--primary-deep);
}
.btn--outline:hover { background: var(--primary-pale); color: var(--primary-deep); }
.btn--block { display: flex; justify-content: center; width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   הירו עמוד הבית
   ========================================================================== */

.hero {
  position: relative;
  background: var(--bg);
  padding-block: var(--space-5) 0;
  overflow: hidden;
  text-align: center;
}
.hero__content {
  max-width: 62rem;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: word-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 60ms);
}
@keyframes word-in { to { opacity: 1; transform: none; } }
.hero .lede {
  color: var(--ink-soft);
  max-width: 44ch;
  margin-inline: auto;
  font-size: 1.12rem;
}
.page-hero h1 { color: var(--ink); text-shadow: none; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.hero__actions .btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-deep);
}
.hero__actions .btn--outline:hover { background: var(--bg-alt); border-color: var(--ink-faint); color: var(--ink); }

/* הסצנה הפנורמית — "העיר המבוטחת" — מתחת לטקסט ההירו, נמשכת קו אחר קו */
.hero__scene {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: var(--space-5) calc(50% - 50vw) 0;
  padding-inline: 0;
}
.hero__scene .scene { width: 100%; height: auto; display: block; }
@media (max-width: 700px) {
  .hero__scene { margin-top: var(--space-4); display: flex; justify-content: center; overflow: hidden; }
  .hero__scene .scene { width: 300%; max-width: none; flex: none; }
}

/* ==========================================================================
   מערכת האיור — קווים שמציירים את עצמם, ואחרי זה חיים בשקט
   ========================================================================== */

.scene { color: var(--illus); }
.scene .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.scene .brand-stroke { stroke: var(--primary); }
.scene .brand-fill { stroke: var(--primary); fill: var(--primary); fill-opacity: 0; }
.scene.is-drawn .draw {
  animation: draw 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.16s);
}
.scene.is-drawn .ground { animation-delay: 0s; animation-duration: 1.1s; }
.scene.is-drawn .brand-fill { animation: draw 1.2s ease forwards, fill-in 0.7s ease forwards; animation-delay: calc(0.15s + var(--i, 0) * 0.16s), calc(1.2s + var(--i, 0) * 0.16s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 0.9; } }

/* חיים אחרי הציור — בלי לולאה מכנית: המיכלית נכנסת פעם אחת ונעצרת בתחנה,
   רכב חולף על הכביש כל חצי דקה, עשן מהארובה, בלונים בקצבים שונים, עננים בתקופות ארוכות */
.scene .tanker-drive { opacity: 0; }
.scene.is-drawn .tanker-drive { animation: drive-in 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) 1.5s forwards; }
.scene--hero.is-drawn .car-pass { animation: pass 28s linear 5s infinite; }
.scene--hero.is-drawn .truck-pass { animation: pass 44s linear 21s infinite; }
.scene .car-pass, .scene .truck-pass { opacity: 1; color: var(--primary); }
.scene .car-pass .draw, .scene .truck-pass .draw { stroke-width: 2; }
.scene .road-dash { stroke: var(--illus); opacity: 0; }
.scene.is-drawn .road-dash { animation: fade-in-dash 1s ease 1.2s forwards; }
.scene.is-drawn .cloud-d { animation: drift 54s ease-in-out 6s infinite reverse; }
.scene .sc-birds path { opacity: 0; }
.scene.is-drawn .sc-birds path { opacity: 0.8; }
.scene.is-drawn .birds { animation: fly 42s linear 4s infinite; }
.scene .beacon { fill: var(--primary); stroke: none; opacity: 0.25; }
.scene.is-drawn .beacon { animation: blink 2.4s ease-in-out infinite; }
@keyframes fade-in-dash { to { opacity: 1; } }
@keyframes fly { 0% { transform: translate(0, 0); } 25% { transform: translate(-560px, -14px); } 50% { transform: translate(-1120px, 4px); } 75% { transform: translate(-1680px, -10px); } 100% { transform: translate(-2240px, 0); } }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.scene.is-drawn .cloud-a .draw, .scene.is-drawn .cloud-b .draw, .scene.is-drawn .cloud-c .draw { }
.scene.is-drawn .cloud-a { animation: drift 46s ease-in-out 2s infinite; }
.scene.is-drawn .cloud-b { animation: drift 62s ease-in-out 9s infinite reverse; }
.scene.is-drawn .cloud-c { animation: drift 38s ease-in-out 4s infinite; }
.scene.is-drawn .crane-hook { animation: hook 9s ease-in-out 3s infinite; }
.scene.is-drawn .balloon { transform-origin: 90px 250px; }
.scene.is-drawn .b1 { animation: sway 4.6s ease-in-out 2.4s infinite; }
.scene.is-drawn .b2 { animation: sway 5.5s ease-in-out 3.1s infinite reverse; }
.scene.is-drawn .b3 { animation: sway 4.1s ease-in-out 2.8s infinite; }
.scene .puff { opacity: 0; }
.scene.is-drawn .puff { animation: puff 7s ease-out infinite; }
.scene.is-drawn .puff:nth-child(1) { animation-delay: 2.6s; }
.scene.is-drawn .puff:nth-child(2) { animation-delay: 4.9s; }
.scene.is-drawn .puff:nth-child(3) { animation-delay: 7.2s; }
@keyframes drive-in { 0% { transform: translateX(90px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes pass { 0% { transform: translateX(0); } 55% { transform: translateX(-2420px); } 100% { transform: translateX(-2420px); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
@keyframes hook { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 12% { opacity: 0.7; } 60% { opacity: 0; transform: translate(6px, -46px) scale(1.25); } 100% { opacity: 0; transform: translate(6px, -46px) scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  .scene .draw { stroke-dashoffset: 0; }
  .scene .brand-fill { fill-opacity: 0.9; }
  .scene.is-drawn .draw, .scene.is-drawn .brand-fill,
  .scene.is-drawn .tanker-drive, .scene.is-drawn .cloud-a, .scene.is-drawn .cloud-b, .scene.is-drawn .cloud-c,
  .scene.is-drawn .crane-hook, .scene.is-drawn .balloon, .scene.is-drawn .car-pass, .scene.is-drawn .truck-pass,
  .scene.is-drawn .birds, .scene.is-drawn .beacon, .scene.is-drawn .cloud-d, .scene.is-drawn .puff { animation: none; }
  .scene .road-dash { opacity: 1; }
  .scene .puff { opacity: 0.5; }
  .scene .tanker-drive { opacity: 1; }
  .hero h1 .w { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   חשיפה בגלילה — מדורגת, פעם אחת, מכובדת
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* סמל הפסגה — הגליף החתום */
.peak { width: 1em; height: 1em; color: var(--primary); flex: none; vertical-align: -0.12em; }

/* ==========================================================================
   רצועת עובדות — שלושה מספרים שנספרים
   ========================================================================== */

.stats { background: var(--bg); padding-block: var(--space-4) var(--space-6); }
.stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.stat { display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: baseline; }
.stat .peak { width: 1.4rem; height: 1.4rem; grid-row: 1 / span 3; align-self: start; margin-top: 0.55rem; }
.stat__num {
  font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-top: 0.35rem; }
.stat__sub { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .stats__list { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ==========================================================================
   כרטיסי התמחות — מיני-סצנה מצוירת בראש כל כרטיס
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.feature-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(38, 34, 31, 0.28); }
.feature-card__art {
  display: block;
  background: var(--bg-alt);
  padding: var(--space-3) var(--space-3) 0;
  transition: background-color 0.25s ease;
}
.feature-card:hover .feature-card__art { background: var(--primary-pale); }
.feature-card__art .scene { width: 100%; height: auto; display: block; max-height: 190px; }
.feature-card__icon { display: flex; justify-content: center; padding: var(--space-4) 0; color: var(--ink-faint); }
.feature-card__icon svg { width: 56px; height: 56px; }
.feature-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.feature-card h3 { font-size: 1.15rem; margin: 0; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.feature-card__cta {
  margin-top: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: block;
}
.feature-card__cta::after { content: "\00a0←"; display: inline; white-space: nowrap; transition: letter-spacing 0.2s ease; }
.feature-card:hover .feature-card__cta { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   תחום הדגל — הרגע הבולט היחיד בעמוד
   ========================================================================== */

.flagship { background: var(--surface-dark); color: #fff; padding-block: var(--space-6); overflow: hidden; }
.flagship__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.flagship__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #f0b9d6;
  margin-bottom: var(--space-2);
}
.flagship__kicker .peak { color: #f0b9d6; }
.flagship h2 { color: #fff; }
.flagship .lede { color: #d9d2cc; }
.flagship p { color: #bdb4ad; }
.flagship .btn { margin-top: var(--space-2); }
.flagship__art .scene { color: #7f7873; width: 100%; height: auto; }
.flagship__art .scene .brand-stroke { stroke: #f06aa8; }
.flagship__art .scene .brand-fill { stroke: #f06aa8; fill: #f06aa8; }
@media (max-width: 860px) {
  .flagship__grid { grid-template-columns: 1fr; }
  .flagship__art { order: -1; }
}

/* ==========================================================================
   כל התחומים — רשימה קומפקטית, אייקון + שתי שורות
   ========================================================================== */

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-4);
}
.domain {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.domain:hover { background: var(--bg-alt); transform: translateX(-3px); }
.domain__icon { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.domain__icon svg { width: 28px; height: 28px; }
.domain:hover .domain__icon { transform: scale(1.12) rotate(-6deg); }
.domain h3 { font-size: 1.02rem; margin: 0 0 0.15rem; }
.domain p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ==========================================================================
   שלבים — קו מחבר שמצייר את עצמו, מספור בסמל הפסגה
   ========================================================================== */

.steps {
  list-style: none;
  padding: 0;
  max-width: none;
  margin: var(--space-5) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  position: relative;
}
.steps__line {
  position: absolute;
  top: 26px;
  inset-inline: 8%;
  width: 84%;
  height: 2px;
  color: var(--border-deep);
}
.steps__line .draw { stroke-dashoffset: 1; }
.steps.is-drawn .steps__line .draw { animation: draw 1.6s ease-out forwards; }
.step { position: relative; padding-top: 4.2rem; }
.step__num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--primary);
  font-weight: 800;
  z-index: 1;
}
.step__num .peak { width: 0.95rem; height: 0.95rem; }
.step__num b { font-size: 1.15rem; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps__line { display: none; }
}

/* ==========================================================================
   אודות — פתיח גדול + גוף בשני טורים
   ========================================================================== */

.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-5); align-items: start; }
.about__body p { color: var(--ink-soft); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* כותרת שמתכווצת בגלילה */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(38, 34, 31, 0.25); }

/* ==========================================================================
   הירו עמוד פנימי (breadcrumbs + h1)
   ========================================================================== */

.page-hero {
  background: var(--paper);
  color: var(--ink);
  padding-block: var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}
.page-hero h1 { color: var(--ink); }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-2);
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.breadcrumbs a { color: var(--ink-faint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: 0.4rem; color: var(--ink-faint); }
.page-hero__lede { margin-top: var(--space-1); color: var(--ink-soft); }
.page-hero .post-meta { color: var(--ink-faint); }

/* ==========================================================================
   כרטיסים
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
}
.card {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -28px rgba(125, 19, 84, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(125, 19, 84, 0.4); }
.card__icon,
.value-list__icon,
.photo-tile__icon {
  overflow: hidden;
}
.card__icon svg,
.value-list__icon svg { width: 26px; height: 26px; }
.photo-tile__icon svg { width: 40px; height: 40px; }
.card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.card p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* ==========================================================================
   שורת ערכים — טור טקסט + רשימת יתרונות (לא קופסאות זהות)
   ========================================================================== */

.value-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  align-items: start;
}
.value-split__intro h2 { margin-bottom: var(--space-2); }
.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.value-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-inline-start: var(--space-3);
  border-inline-start: 1px solid var(--border);
}
.value-list__icon {
  flex: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}
.value-list h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.value-list p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 860px) {
  .value-split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   אריחי תמונה — תחומי התמחות ותיק העבודות המלא (כמו באתר המקורי, ברמה מוקפדת)
   ========================================================================== */

/* ==========================================================================
   כרטיסי תחום ביטוח — איור קו שטוח על משטח אפור בהיר (לא צילום), ממורכז
   ========================================================================== */

.illus-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.illus-tile-grid--feature { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.illus-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3) var(--space-3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.illus-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -22px rgba(38, 34, 31, 0.22);
  border-color: var(--border);
}
.illus-tile__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: var(--illus-soft);
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.illus-tile__art svg { width: 52px; height: 52px; }
.illus-tile:hover .illus-tile__art { background: var(--primary-pale); color: var(--primary); }
.illus-tile h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.illus-tile p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.illus-tile__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}
.illus-tile--flagship .illus-tile__art { background: var(--primary-pale); color: var(--primary); }
.illus-tile__cta {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.photo-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.photo-tile-grid--feature { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.photo-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: -2;
}
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 8, 15, 0.05) 30%, rgba(20, 8, 15, 0.88) 100%),
    linear-gradient(155deg, rgba(167, 26, 114, 0.5) 0%, rgba(125, 19, 84, 0.15) 60%);
}
.photo-tile--noPhoto {
  background: linear-gradient(155deg, var(--bg-deep) 0%, var(--primary) 65%, var(--accent) 100%);
}
.photo-tile--noPhoto .photo-tile__scrim { display: none; }
.photo-tile__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.28);
}
.photo-tile__body { position: relative; z-index: 1; padding: var(--space-3); width: 100%; }
.photo-tile__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  backdrop-filter: blur(2px);
}
.photo-tile h3 { color: #fff; margin-bottom: 0.35rem; font-size: 1.2rem; }
.photo-tile__cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.15rem;
  opacity: 0.92;
}
.photo-tile:hover .photo-tile__cta { border-color: #fff; opacity: 1; }
@media (max-width: 600px) {
  .photo-tile { aspect-ratio: 3 / 2; }
}

/* מודאל כללי (למשל: הצעת מחיר לביטוח רכב באייפרם) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 15, 0.62);
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
}
.modal-overlay[hidden] { display: none; }
.modal-dialog {
  background: var(--bg);
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
}
.modal-title { margin: 0; font-size: 1.1rem; color: var(--primary-deep); }
.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-faint);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}
.modal-close:hover { color: #fff; background: var(--primary); }
.modal-body { padding: 0; }
.modal-body iframe { width: 100%; display: block; border: 0; min-height: 530px; }

/* תמונת נושא בראש עמוד שירות/נחיתה */
.feature-image-section { padding-top: 0; }
.feature-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* גלריית תמונות (לפוסטים מבוססי תמונות) */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}
@media (max-width: 640px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery img { height: 150px; }
}

/* תהליך (רצף אמיתי – מספור מותר) */
.process-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.process-list li { position: relative; padding-top: 3.5rem; }
.process-list .step-num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px -8px rgba(167, 26, 114, 0.55);
}

/* ==========================================================================
   Callout
   ========================================================================== */

.callout {
  border-inline-start: 4px solid var(--primary);
  background: var(--primary-pale);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  margin: var(--space-3) 0;
}
.callout p { margin: 0; max-width: none; }
.callout strong { color: var(--primary-deep); }

/* ==========================================================================
   רשימות משפטיות ממוספרות (מסמכי מדיניות — עוגיות / פרטיות / נגישות)
   ========================================================================== */

.content-section h2 {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.content-section:first-child h2 { margin-top: 0; padding-top: 0; border-top: none; }

ul.legal-list {
  list-style: none;
  margin: var(--space-2) 0 var(--space-3);
  padding: 0;
}
ul.legal-list > li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5em;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
ul.legal-list > li:last-child { border-bottom: none; }
ul.legal-list .legal-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 0.05rem 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
}
ul.legal-list .legal-text { flex: 1 1 260px; min-width: 0; }
ul.legal-list ul.legal-list--nested,
ul.legal-list ul.legal-list {
  flex-basis: 100%;
  margin: 0.5rem 0 0.2rem;
  padding-inline-start: var(--space-3);
  border-inline-start: 2px solid var(--border-deep);
}
ul.legal-list ul.legal-list > li { border-bottom: none; padding: 0.3rem 0; }
ul.legal-list .legal-num { align-self: flex-start; }

.legal-contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin: var(--space-3) 0;
}
.legal-contact-card div { font-size: 0.95rem; }
.legal-contact-card strong { display: block; color: var(--primary-deep); margin-bottom: 0.2rem; }

/* ==========================================================================
   FAQ (details/summary נגיש, ללא JS)
   ========================================================================== */

.faq__list { margin-top: var(--space-3); }
.faq__item {
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-2);
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  list-style: none;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-deep);
  flex: none;
  transition: transform 0.15s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding-top: var(--space-1); color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-card {
  background: var(--bg-alt);
  color: var(--ink);
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-card h2 { color: var(--ink); text-shadow: none; }
.cta-card p { max-width: 52ch; margin-inline: auto; color: var(--ink-soft); }
.cta-card .btn { margin-top: var(--space-2); }
.cta-card .btn--primary,
.cta-card .btn--onDeep { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); box-shadow: 0 16px 30px -10px rgba(167, 26, 114, 0.4); }
.cta-card .btn--primary:hover,
.cta-card .btn--onDeep:hover { background: #8f1661; color: #fff; opacity: 1; border-color: #8f1661; }

/* ==========================================================================
   טפסים
   ========================================================================== */

.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-field .hint { display: block; font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.3rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--focus-ring);
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: var(--space-3); }
.form-consent input { width: auto; margin-top: 0.3rem; }
.form-consent label { font-weight: 400; font-size: 0.94rem; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status {
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--success { background: var(--success-pale); color: var(--success); border: 1px solid var(--success); }
.form-status--error { background: var(--danger-pale); color: var(--danger); border: 1px solid var(--danger); }

/* ==========================================================================
   טבלאות
   ========================================================================== */

.data-table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; max-width: none; }
.data-table th, .data-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: start;
  font-size: 0.96rem;
}
.data-table th { background: var(--bg-alt); font-family: var(--font-display); font-weight: 600; }

/* ==========================================================================
   קישורים קשורים
   ========================================================================== */

.related-links { margin-top: var(--space-4); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-3); }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.25s ease;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 28px 48px -28px rgba(38,34,31,0.26); }
.related-card__art { display: flex; align-items: flex-end; justify-content: center; background: var(--bg-alt); padding: var(--space-2) var(--space-3) 0; min-height: 130px; transition: background-color 0.25s ease; }
.related-card:hover .related-card__art { background: var(--primary-pale); }
.related-card__art .scene { width: 100%; max-width: 210px; max-height: 150px; height: auto; display: block; }
.related-card__icon { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 110px; color: var(--primary); }
.related-card__icon svg { width: 48px; height: 48px; stroke-width: 1.3; }
.related-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.related-card h3 { font-size: 1.1rem; margin: 0; }
.related-card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; flex: 1; }

/* ==========================================================================
   בלוג
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.blog-card {
  border: 1px solid var(--border);
  padding: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.blog-card:hover { border-color: var(--primary); }
.blog-card__meta { font-size: 0.85rem; color: var(--ink-faint); }
.blog-card h3 { margin-bottom: 0; color: var(--primary-deep); }
.blog-card p { margin-bottom: 0; font-size: 0.96rem; color: var(--ink-soft); }

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   תגית "מהיר לדעת" / חשוב
   ========================================================================== */
.section-intro { margin-bottom: var(--space-2); }

/* ==========================================================================
   תפריט נגישות צף — מעובד מתוסף הוורדפרס logicode-accessibility
   (צבעי המותג של ארגוטים במקום ברירות המחדל, לחצן נדחק כלפי מעלה כדי
   שלא יתנגש עם בועת הוואטסאפ שנמצאת באותה פינה)
   ========================================================================== */
:root {
  --a11y-accent: var(--accent);
  --a11y-trigger-bg: var(--bg-deep);
}

#a11y-screen-filter { display: none; position: fixed; inset: 0; pointer-events: none; z-index: 999996; }
#a11y-screen-filter.is-active { display: block; }
#a11y-reading-guide-line { display: none; position: fixed; top: 50%; inset-inline: 0; height: 6px; background-color: var(--a11y-accent); z-index: 999999; pointer-events: none; box-shadow: 0 0 15px rgba(0,0,0,0.5); }

button#a11y-trigger.a11y-trigger-btn {
  position: fixed; bottom: 100px; left: 20px; width: 56px; height: 56px;
  background-color: var(--bg); color: var(--a11y-accent);
  border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 24px; cursor: pointer; z-index: 999998;
  box-shadow: 0 10px 24px -8px rgba(38,34,31,0.28); border: 1.5px solid var(--border);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease; padding: 0;
}
button#a11y-trigger.a11y-trigger-btn:hover,
button#a11y-trigger.a11y-trigger-btn:focus-visible {
  transform: scale(1.08); background-color: var(--a11y-accent); color: #fff; border-color: var(--a11y-accent);
}

div#a11y-panel.a11y-panel {
  display: none; position: fixed; bottom: 168px; left: 20px; width: 380px; max-width: calc(100vw - 40px);
  max-height: 75vh; overflow-y: auto; background-color: #fff; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(18,10,14,0.25); z-index: 999999; border: 1px solid var(--border);
  direction: rtl; color: #334155;
}
div#a11y-panel.a11y-panel.is-open { display: block; }
#a11y-panel::-webkit-scrollbar { width: 6px; }
#a11y-panel::-webkit-scrollbar-thumb { background: var(--a11y-accent); border-radius: 4px; }

#a11y-panel .a11y-header {
  background: var(--bg-alt); padding: 1rem 1.2rem; display: flex; justify-content: space-between;
  align-items: center; position: sticky; top: 0; border-bottom: 1px solid var(--border);
}
#a11y-panel .a11y-header h3 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 700; }
#a11y-panel .a11y-header h3 i { color: var(--a11y-accent); }
#a11y-panel button.a11y-close { background: transparent; border: none; color: var(--danger); font-size: 1.4rem; cursor: pointer; padding: 0; line-height: 1; }
#a11y-panel button.a11y-close:hover { transform: scale(1.1); }
#a11y-panel .a11y-body { padding: 1.1rem; }
#a11y-panel .a11y-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
#a11y-panel .a11y-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 1rem; }

#a11y-panel button.a11y-btn {
  box-sizing: border-box; background-color: var(--bg-alt); background-image: none;
  border: 1px solid var(--border); padding: 0.85rem 0.3rem; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  transition: 0.2s; text-align: center; box-shadow: none; margin: 0; width: 100%; min-height: 78px; line-height: 1.2;
}
#a11y-panel button.a11y-btn i { font-size: 1.4rem; color: var(--a11y-accent); }
#a11y-panel button.a11y-btn:hover { background-color: var(--primary-pale); border-color: var(--a11y-accent); color: var(--ink); }
#a11y-panel button.a11y-btn.active { background-color: var(--a11y-accent); border-color: var(--a11y-accent); color: #fff; }
#a11y-panel button.a11y-btn.active i { color: #fff; }

#a11y-panel button.a11y-reset-btn { width: 100%; flex-direction: row; font-size: 0.95rem; color: var(--danger); border-color: var(--danger-pale); background-color: var(--danger-pale); margin-top: 0.4rem; padding: 0.85rem; min-height: 48px; }
#a11y-panel button.a11y-reset-btn i { color: var(--danger); }
#a11y-panel button.a11y-reset-btn:hover { filter: brightness(0.96); }

#a11y-panel .a11y-sliders-container { margin-bottom: 1rem; }
#a11y-panel .a11y-slider-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 0.85rem; margin-bottom: 0.7rem; }
#a11y-panel .slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; color: var(--ink-soft); font-size: 0.86rem; font-weight: 600; }
#a11y-panel .slider-value { color: #fff; font-weight: 700; background: var(--a11y-accent); padding: 0.1rem 0.5rem; border-radius: 6px; font-size: 0.8rem; }
#a11y-panel input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; margin: 0.5rem 0 0.2rem; padding: 0; }
#a11y-panel input[type=range]:focus { outline: none; }
#a11y-panel input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: var(--border); border-radius: 4px; }
#a11y-panel input[type=range]::-webkit-slider-thumb { height: 18px; width: 18px; border-radius: 50%; background: var(--a11y-accent); cursor: pointer; -webkit-appearance: none; margin-top: -6px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
#a11y-panel .a11y-statement-link { text-align: center; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border); font-size: 0.85rem; }
#a11y-panel .a11y-statement-link a { color: var(--a11y-accent); font-weight: 600; text-decoration: none; }
#a11y-panel .a11y-statement-link a:hover { text-decoration: underline; }

/* מצבי הנגישות המופעלים על ה-body */
body.a11y-active-zoom { zoom: var(--a11y-zoom-val, 100%); }
body.a11y-active-w-spacing * { word-spacing: var(--a11y-word-spacing, normal) !important; }
body.a11y-active-l-spacing * { letter-spacing: var(--a11y-letter-spacing, normal) !important; }
body.a11y-high-contrast *:not(.a11y-panel):not(.a11y-panel *):not(.a11y-trigger-btn):not(.a11y-trigger-btn *) { background-color: #000 !important; color: #ffff00 !important; border-color: #ffff00 !important; }
body.a11y-high-contrast img { filter: grayscale(100%) contrast(150%); }
body.a11y-highlight-links a { text-decoration: underline !important; text-underline-offset: 4px; background-color: #ffff00 !important; color: #000 !important; font-weight: bold !important; padding: 0 4px !important; border-radius: 3px; }
body.a11y-highlight-headings h1, body.a11y-highlight-headings h2, body.a11y-highlight-headings h3,
body.a11y-highlight-headings h4, body.a11y-highlight-headings h5, body.a11y-highlight-headings h6 { border: 2px solid var(--a11y-accent) !important; background: rgba(167,26,114,0.08) !important; padding: 2px 5px !important; border-radius: 4px; }
body.a11y-hide-images img, body.a11y-hide-images svg, body.a11y-hide-images video, body.a11y-hide-images [style*="background-image"] { visibility: hidden !important; }
body.a11y-readable-font, body.a11y-readable-font * { font-family: Arial, Helvetica, sans-serif !important; }
body.a11y-stop-animations *, body.a11y-stop-animations { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.a11y-cursor-light, body.a11y-cursor-light * { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24"><path fill="%23ffffff" stroke="%23000000" stroke-width="1.5" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86 3.96 8.57c.18.39.63.56 1.02.38l2.25-1.04c.38-.18.55-.63.37-1.02l-3.92-8.49h5.53c.45 0 .67-.54.35-.85L6.35 2.85c-.23-.23-.6-.23-.85 0z"/></svg>'), auto !important; }
body.a11y-cursor-dark, body.a11y-cursor-dark * { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24"><path fill="%23000000" stroke="%23ffffff" stroke-width="1.5" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86 3.96 8.57c.18.39.63.56 1.02.38l2.25-1.04c.38-.18.55-.63.37-1.02l-3.92-8.49h5.53c.45 0 .67-.54.35-.85L6.35 2.85c-.23-.23-.6-.23-.85 0z"/></svg>'), auto !important; }

@media (max-width: 768px) {
  button#a11y-trigger.a11y-trigger-btn { bottom: 90px; left: 12px; width: 50px; height: 50px; font-size: 22px; }
  div#a11y-panel.a11y-panel { left: 10px; right: 10px; width: auto; bottom: 150px; max-height: 65vh; }
  #a11y-panel .a11y-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  #a11y-panel button.a11y-btn { padding: 0.7rem 0.3rem; font-size: 0.72rem; min-height: 70px; }
}

/* ==========================================================================
   באנר עוגיות + מרכז העדפות — מעובד מתוסף הוורדפרס logicode-cookie-consent
   (ללא שכבת השרת/AJAX; שמירת העדפות מקומית בלבד, בצבעי המותג)
   ========================================================================== */
:root {
  --cb-bg-solid: var(--bg-deep);
  --cb-accent: var(--accent);
}

#cookie-banner-wrapper { direction: rtl; }

.cookie-banner-modern {
  position: fixed; bottom: 20px; right: 20px; width: 360px; max-width: calc(100vw - 40px);
  background: color-mix(in srgb, var(--cb-bg-solid) 96%, transparent); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 1.4rem;
  box-shadow: 0 10px 40px rgba(18,10,14,0.4); z-index: 999994; display: none;
  transform: translateY(16px); opacity: 0; transition: all 0.35s ease;
}
.cookie-banner-modern.show { display: block; transform: translateY(0); opacity: 1; }
.cookie-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.cookie-header i { font-size: 1.3rem; color: var(--cb-accent); }
.cookie-header span { font-size: 1.05rem; font-weight: 800; color: #fff; }
.cookie-banner-modern p { color: #f2d9e3; font-size: 0.9rem; line-height: 1.5; margin: 0 0 1.1rem; }
.cookie-banner-modern p a { color: #fff; text-decoration: underline; }
.cookie-buttons { display: flex; flex-direction: column; gap: 0.6rem; }
.cookie-buttons-row { display: flex; gap: 0.6rem; }
.cb-btn { flex: 1; padding: 0.7rem; border-radius: 8px; font-family: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; transition: 0.2s; text-align: center; border: none; }
.cb-btn-accept { background: var(--cb-accent); color: #fff; }
.cb-btn-accept:hover { filter: brightness(1.1); }
.cb-btn-decline { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.cb-btn-decline:hover { background: rgba(255,255,255,0.16); }
.cb-btn-customize { background: transparent; color: #f2d9e3; text-decoration: underline; padding: 0.3rem; text-underline-offset: 4px; }
.cb-btn-customize:hover { color: #fff; }

.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(20,8,15,0.6); backdrop-filter: blur(4px); z-index: 999999; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.25s; }
.cookie-modal-overlay.show { display: flex; opacity: 1; }
.cookie-modal { background: var(--cb-bg-solid); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; width: 90%; max-width: 480px; max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.cookie-modal::-webkit-scrollbar { width: 6px; }
.cookie-modal::-webkit-scrollbar-thumb { background: var(--cb-accent); border-radius: 4px; }
.c-modal-header { padding: 1.3rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--cb-bg-solid); z-index: 2; }
.c-modal-header h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.c-modal-close { background: none; border: none; color: #f2d9e3; font-size: 1.3rem; cursor: pointer; }
.c-modal-close:hover { color: #fff; }
.c-modal-body { padding: 1.4rem; }
.c-modal-desc { color: #f2d9e3; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.3rem; }
.cookie-option { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1.1rem; margin-bottom: 0.8rem; }
.c-opt-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; gap: 0.6rem; }
.c-opt-title { color: #fff; font-weight: 700; font-size: 1rem; }
.c-opt-desc { color: #e0b9cb; font-size: 0.83rem; line-height: 1.5; margin: 0; }

.toggle-switch { position: relative; display: inline-block; flex: none; width: 46px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; cursor: pointer; background-color: rgba(255,255,255,0.14); transition: 0.3s; border-radius: 34px; border: 1px solid rgba(255,255,255,0.14); }
.toggle-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 3px; background-color: #cbd5e1; transition: 0.3s; border-radius: 50%; }
.toggle-switch input:checked + .toggle-slider { background-color: transparent; border-color: var(--cb-accent); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); background-color: var(--cb-accent); }
.toggle-switch input:disabled + .toggle-slider { cursor: not-allowed; opacity: 0.55; }
.toggle-switch input:disabled:checked + .toggle-slider:before { background-color: #d4aebb; }
.c-modal-footer { padding: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,0.08); }

.cb-revoke-btn {
  position: fixed; bottom: 20px; right: 20px; width: 48px; height: 48px;
  background-color: var(--bg); color: var(--cb-accent);
  border: 1.5px solid var(--border); border-radius: 50%;
  display: none; justify-content: center; align-items: center; font-size: 18px; cursor: pointer;
  z-index: 999993; box-shadow: 0 10px 24px -8px rgba(38,34,31,0.28); transition: 0.2s;
}
.cb-revoke-btn.show { display: flex; }
.cb-revoke-btn:hover { background-color: var(--cb-accent); color: #fff; border-color: var(--cb-accent); transform: scale(1.08); }

@media (max-width: 768px) {
  .cookie-banner-modern { bottom: 15px; right: 15px; left: 15px; width: auto; max-width: none; }
  .cb-revoke-btn { bottom: 15px; right: 15px; width: 44px; height: 44px; font-size: 18px; }
}

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

/* פוטר כהה ומסודר: שורת מותג, חמש עמודות, שורת זכויות וקרדיט */
.site-footer {
  background: var(--bg-deep);
  color: #cfc8c2;
  padding-block: var(--space-5) var(--space-3);
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding-bottom: var(--space-3); margin-bottom: var(--space-4); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; }
.footer-brand img { flex: none; }
.footer-license { font-size: 0.85rem; color: #9a918b; max-width: 60ch; margin: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 0.9fr 1.3fr;
  gap: var(--space-4) var(--space-3);
}
.footer-col h2 {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-body); font-size: 0.95rem; color: #fff; font-weight: 700; margin: 0 0 0.9rem;
}
.footer-col h2 .peak { color: #f06aa8; width: 0.85rem; height: 0.85rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a, .footer-linkbtn { color: #cfc8c2; text-decoration: none; font-size: 0.94rem; transition: color 0.15s ease; }
.footer-col a:hover, .footer-linkbtn:hover { color: #fff; }
.footer-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 0.94rem; cursor: pointer; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact li a { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: #f06aa8; margin-top: 0.15rem; }
.footer-contact span[dir], .footer-contact a[href^="mailto"] span { direction: ltr; unicode-bidi: isolate; }
.footer-fb {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem;
  color: #fff; text-decoration: none; font-size: 0.92rem; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-pill); padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.2s ease;
}
.footer-fb svg { width: 26px; height: 26px; border-radius: 999px; background: #fff; color: var(--bg-deep); padding: 3px; flex: none; }
.footer-fb:hover { background: rgba(255, 255, 255, 0.06); border-color: #f06aa8; transform: translateY(-1px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.6rem 1.5rem;
  font-size: 0.85rem; color: #9a918b;
}
.footer-credit { color: #9a918b; }
.footer-credit a { color: #cfc8c2; text-decoration: none; }
.footer-credit strong { font-weight: 700; }
.footer-credit a:hover { color: #fff; }
.footer-credit [lang="en"] { unicode-bidi: isolate; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-col--contact { grid-column: span 3; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--contact { grid-column: span 2; } .footer-bottom { justify-content: center; text-align: center; } }

/* ==========================================================================
   עזרים
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-lede { max-width: 62ch; }

.value-list__icon .peak { width: 1.35rem; height: 1.35rem; }
.value-list li { border-inline-start-color: var(--border); }

/* הירו עמוד שירות — טקסט + מיני-סצנה של אותו תחום */
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-5); align-items: center; }
.page-hero__art .scene { width: 100%; max-width: 380px; height: auto; display: block; margin-inline: auto; }
.page-hero .hero__actions { justify-content: flex-start; margin-top: var(--space-3); }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
}


/* ==========================================================================
   כותרת: פעולות, כניסה לאזור אישי, המבורגר שהופך ל-X
   ========================================================================== */

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.header-login {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1.5px solid var(--border); color: var(--ink);
  border-radius: var(--radius-pill); padding: 0.55rem 0.9rem; font: inherit; font-weight: 600; font-size: 0.92rem;
  cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.header-login svg { width: 18px; height: 18px; }
.header-login:hover { border-color: var(--ink-faint); background: var(--bg-alt); }
.nav-toggle { border: 1.5px solid var(--border); border-radius: var(--radius-pill); width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center; background: var(--bg); cursor: pointer; }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav-toggle__bars i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
body.drawer-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
body.drawer-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mega__trigger {
  background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--ink-soft);
  font: inherit; font-size: 0.98rem; padding: 0.4rem 0.1rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav-mega__caret { width: 7px; height: 7px; border-inline-end: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s ease; }
.nav-mega__trigger:hover, .nav-mega__trigger[aria-expanded="true"], .nav-mega__trigger[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.nav-mega__trigger[aria-expanded="true"] .nav-mega__caret { transform: rotate(225deg) translateY(-2px); }

/* ==========================================================================
   מגה-תפריט
   ========================================================================== */

.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(38, 34, 31, 0.35);
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.26s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow: hidden;
}
.mega[hidden] { display: none; }
.mega.is-open { opacity: 1; transform: none; }
.mega__grid { display: grid; grid-template-columns: 1.6fr 1fr 0.9fr; gap: var(--space-4); padding-block: var(--space-4) var(--space-3); }
.mega__title { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--ink); margin: 0 0 var(--space-2); font-size: 0.95rem; }
.mega__flags { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.mega__flag {
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.55rem 0.7rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.2s ease;
}
.mega__flag:hover { background: var(--bg-alt); border-color: var(--border-deep); transform: translateY(-2px); }
.mega__flag-art { flex: none; width: 92px; }
.mega__flag-art .scene { width: 100%; height: auto; display: block; }
.mega__flag-text { display: flex; flex-direction: column; gap: 0.1rem; }
.mega__flag-text strong { font-size: 0.98rem; }
.mega__flag-text small { color: var(--ink-faint); font-size: 0.8rem; }
.mega__flag-text strong { font-size: 1.02rem; }
.mega__list { list-style: none; margin: 0; padding: 0; max-width: none; display: flex; flex-direction: column; gap: 0.15rem; }
.mega__list li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.mega__list a { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; padding: 0.45rem 0.5rem; border-radius: var(--radius-sm); flex: 1; font-size: 0.96rem; }
.mega__list a:hover { background: var(--bg-alt); color: var(--primary); }
.mega__ic { width: 22px; height: 22px; color: var(--primary); display: inline-flex; }
.mega__ic svg { width: 100%; height: 100%; }
.mega__chip { border: 1px solid var(--primary); color: var(--primary); background: transparent; border-radius: var(--radius-pill); font: inherit; font-size: 0.74rem; font-weight: 700; padding: 0.15rem 0.6rem; cursor: pointer; white-space: nowrap; }
.mega__chip:hover { background: var(--btn-bg); color: var(--btn-fg); }
.mega__col--help { border-inline-start: 1px solid var(--border); padding-inline-start: var(--space-4); display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.mega__phone { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; }
.mega__phone svg { width: 22px; height: 22px; color: var(--primary); }
.mega__help-text { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.mega__login svg { width: 18px; height: 18px; }
.mega__col--help .btn { padding: 0.75rem 1.4rem; font-size: 0.92rem; }
.mega__strip { border-top: 1px solid var(--border); background: var(--bg-alt); }
.mega__strip .scene { display: block; width: 100%; height: auto; }
/* כניסה מדורגת של הפריטים */
.mega .mega__flag, .mega .mega__list li, .mega .mega__col--help > * { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mega.is-open .mega__flag, .mega.is-open .mega__list li { opacity: 1; transform: none; transition-delay: calc(0.06s + var(--i, 0) * 0.04s); }
.mega.is-open .mega__col--help > * { opacity: 1; transform: none; transition-delay: 0.25s; }
@media (max-width: 860px) { .mega { display: none !important; } }

/* ==========================================================================
   תפריט מובייל אוף-קנבס
   ========================================================================== */

.drawer-backdrop { position: fixed; inset: 0; background: rgba(28, 23, 20, 0.45); backdrop-filter: blur(4px); z-index: 900; opacity: 0; transition: opacity 0.35s ease; }
.drawer-backdrop[hidden] { display: none; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 400px);
  background: var(--bg); z-index: 901; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -30px 0 60px -30px rgba(0,0,0,0.35); overflow: hidden;
}
[dir="ltr"] .drawer { transform: translateX(-100%); }
.drawer[hidden] { display: none; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); }
.drawer__close { background: transparent; border: 1.5px solid var(--border); border-radius: 999px; width: 42px; height: 42px; font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer; }
.drawer__nav { padding: 0.8rem 1.2rem; overflow-y: auto; flex: 1; }
.drawer__main, .drawer__services { list-style: none; margin: 0; padding: 0; max-width: none; }
.drawer__main a { display: block; font-size: 1.55rem; font-weight: 800; color: var(--ink); text-decoration: none; padding: 0.45rem 0; letter-spacing: -0.01em; }
.drawer__main a[aria-current="page"] { color: var(--primary); }
.drawer__title { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--ink-faint); font-size: 0.85rem; margin: 1rem 0 0.4rem; }
.drawer__services li a { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; padding: 0.5rem 0; font-size: 1.02rem; border-bottom: 1px solid var(--border); }
.drawer__ic { width: 22px; height: 22px; color: var(--primary); display: inline-flex; }
.drawer__ic svg { width: 100%; height: 100%; }
.drawer__actions { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem 1.2rem; border-top: 1px solid var(--border); }
.drawer__actions .btn { justify-content: center; }
.drawer__actions .btn svg { width: 18px; height: 18px; }
.drawer__phone { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-weight: 700; }
.drawer__phone svg { width: 18px; height: 18px; color: var(--primary); }
.drawer__strip { background: var(--bg-alt); }
.drawer__strip .scene { display: block; width: 100%; height: auto; }
.drawer__main li, .drawer__services li, .drawer__title { opacity: 0; transform: translateX(-16px); transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.drawer.is-open .drawer__main li, .drawer.is-open .drawer__services li, .drawer.is-open .drawer__title { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i, 0) * 0.05s); }
.drawer.is-open .drawer__services li { transition-delay: calc(0.32s + var(--i, 0) * 0.04s); }
body.drawer-open { overflow: hidden; }
@media (min-width: 861px) { .drawer, .drawer-backdrop { display: none !important; } }

/* מודאלים — כניסה רכה */
.modal-overlay { opacity: 0; transition: opacity 0.25s ease; }
.modal-overlay.is-open { opacity: 1; }
.modal-dialog { transform: translateY(14px) scale(0.98); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); border-radius: var(--radius-lg); }
.modal-overlay.is-open .modal-dialog { transform: none; }
.modal-dialog--login { max-width: 560px; }
.modal-dialog--login .modal-body iframe { min-height: 650px; }
@media (max-width: 600px) { .modal-dialog--login .modal-body iframe { min-height: 600px; } }

/* ==========================================================================
   עמודי תוכן: מאמר + ניווט צמוד, רשימות עם סמל הפסגה, קריאה נוחה
   ========================================================================== */

.article-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.article-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--space-3); }
.article { max-width: 70ch; }
.article .content-section { padding: 0; border: 0; margin-bottom: var(--space-5); }
.article .content-section h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 var(--space-2); padding-top: 0; border-top: 0; scroll-margin-top: 100px; }
.article p { color: var(--ink-soft); }
.toc { border-inline-start: 2px solid var(--border); padding-inline-start: 0; }
.toc__title { font-weight: 700; font-size: 0.85rem; color: var(--ink-faint); margin: 0 0 0.5rem; padding-inline-start: 1rem; }
.toc ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.toc a { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; padding: 0.35rem 1rem; margin-inline-start: -2px; border-inline-start: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.toc a .peak { opacity: 0; transition: opacity 0.15s; margin-top: 0.2rem; }
.toc a:hover, .toc a.is-active { color: var(--primary); border-inline-start-color: var(--primary); }
.toc a.is-active .peak { opacity: 1; }
.aside-cta { background: var(--bg-alt); border-radius: var(--radius-lg); padding: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; }
.aside-cta__title { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; margin: 0; }
.aside-cta p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.aside-cta .btn { justify-content: center; margin-top: 0.3rem; }
.aside-cta__phone { text-align: center; color: var(--ink); font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.checklist { list-style: none; padding: 0; margin: var(--space-2) 0 var(--space-3); max-width: none; display: flex; flex-direction: column; gap: 0.55rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink); }
.checklist .peak { margin-top: 0.3rem; width: 0.9rem; height: 0.9rem; }
.callout { display: flex; gap: 0.7rem; align-items: flex-start; background: var(--primary-pale); border: 0; border-radius: var(--radius-md); padding: var(--space-3); margin: var(--space-3) 0; }
.callout .peak { flex: none; margin-top: 0.25rem; width: 1.1rem; height: 1.1rem; }
.callout p { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; order: 2; }
  .toc { display: none; }
}

/* שאלות נפוצות — פתיח בצד, אקורדיון עם פלוס שמסתובב */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-5); align-items: start; }
.faq__intro p { color: var(--ink-soft); }
.faq__intro a { color: var(--primary); font-weight: 700; }
.faq__list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 var(--space-3); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq__item[open] { border-color: var(--border-deep); box-shadow: 0 20px 40px -30px rgba(38,34,31,0.3); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 700; cursor: pointer; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--border-deep); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 400; font-size: 1.2rem; transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.faq__answer { padding: 0 0 1.1rem; color: var(--ink-soft); }
@media (max-width: 800px) { .faq__grid { grid-template-columns: 1fr; } }

/* בלוג */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-3); }
.blog-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.25s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.25s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(38,34,31,0.28); }
.blog-card__art { display: block; background: var(--bg-alt); padding: var(--space-3) var(--space-3) 0; }
.blog-card__art .scene { width: 100%; height: auto; display: block; max-height: 150px; }
.blog-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.blog-card__meta { font-size: 0.8rem; color: var(--ink-faint); font-weight: 600; }
.blog-card h3 { font-size: 1.12rem; margin: 0; }
.blog-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; flex: 1; }

/* יצירת קשר */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-5); align-items: start; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); }
.contact-form__note { color: var(--ink-faint); font-size: 0.9rem; margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: var(--radius-md); }
.contact-aside { display: flex; flex-direction: column; gap: var(--space-3); position: sticky; top: 96px; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); }
.contact-card--soft { background: var(--bg-alt); border-color: transparent; }
.contact-card__title { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; margin: 0 0 0.6rem; }
.contact-card__phone { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; margin-bottom: 0.6rem; }
.contact-card__list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; font-size: 0.95rem; }
.contact-card__list dt { color: var(--ink-faint); }
.contact-card__list dd { margin: 0; color: var(--ink); }
.contact-card__list a { color: var(--ink); }
.mini-steps { margin: 0; padding-inline-start: 1.2rem; max-width: none; color: var(--ink-soft); display: flex; flex-direction: column; gap: 0.35rem; }
.contact-scene .scene { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }

/* עמוד גז מותאם — כרטיסי סוג עסק */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.biz-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); }
.biz-card__icon { display: inline-flex; width: 52px; height: 52px; border-radius: 999px; background: var(--primary-pale); color: var(--primary); align-items: center; justify-content: center; margin-bottom: 0.8rem; }
.biz-card__icon svg { width: 26px; height: 26px; }
.biz-card h3 { font-size: 1.1rem; }
.biz-card p { color: var(--ink-soft); }
.biz-card .checklist { margin-bottom: 0; }

/* גלריה בבלוג — אריחים מעוגלים */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); }
.gallery img { border-radius: var(--radius-md); }
.feature-image { border-radius: var(--radius-lg); }
.footer-credit { max-width: 100%; }
@media (max-width: 640px) { .site-footer { padding-bottom: calc(var(--space-3) + 70px); } .footer-bottom { flex-direction: column; } }

/* אודות — כרטיסי ערכים */
.value-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-3); text-align: center; }
.value-card__icon { display: inline-flex; width: 64px; height: 64px; border-radius: 999px; background: var(--primary-pale); color: var(--primary); align-items: center; justify-content: center; margin-bottom: 1rem; }
.value-card__icon svg { width: 30px; height: 30px; }
.value-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.value-card p { margin: 0; color: var(--ink-soft); }
.about__body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }

/* ==========================================================================
   פעולות אונליין: הצעת רכב (מודאל) + נסיעות לחו"ל (פספורטכארד)
   ========================================================================== */
.quick { padding-top: 0; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.quick-card {
  display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: var(--space-3);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3);
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.25s ease;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(38,34,31,0.25); }
.quick-card__art { display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: var(--radius-md); min-height: 170px; padding: 0.6rem; }
.quick-card__art .scene { width: 100%; height: auto; }
.quick-card__art--travel { background: var(--bg-alt); }
.quick-card__art--travel img { width: 100%; max-width: 200px; height: auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,0.18)); transform: rotate(-6deg); transition: transform 0.3s ease; }
.quick-card:hover .quick-card__art--travel img { transform: rotate(-2deg) translateY(-3px); }
.quick-card__kicker { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-weight: 700; color: var(--ink-faint); font-size: 0.88rem; margin: 0 0 0.4rem; }
.quick-card h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); margin: 0 0 0.4rem; }
.quick-card p:not(.quick-card__kicker) { color: var(--ink-soft); margin: 0 0 0.9rem; font-size: 0.96rem; }
.quick-card__logo { height: 22px; width: auto; vertical-align: middle; }
.quick-card__wordmark { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-size: 1rem; }
.quick-card__wordmark b { color: var(--primary); }
.quick-card .btn { padding: 0.8rem 1.5rem; font-size: 0.94rem; }
@media (max-width: 1000px) { .quick-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .quick-card { grid-template-columns: 1fr; } .quick-card__art { min-height: 130px; } }

/* החזון */
.vision { background: var(--bg-alt); }
.vision__inner { max-width: 60rem; text-align: center; }
.vision__mark { display: inline-flex; margin-bottom: 0.6rem; }
.vision__mark .peak { width: 2rem; height: 2rem; }
.vision h2 { margin-bottom: var(--space-2); }
.vision__text { color: var(--ink-soft); font-size: 1.08rem; max-width: 62ch; margin: 0 auto var(--space-3); }
.vision__quote { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-weight: 800; letter-spacing: -0.01em; color: var(--ink); max-width: 30ch; margin: 0 auto; line-height: 1.35; }
.related-links + .cta-card { margin-top: var(--space-5); }


/* ==========================================================================
   מתג מצב תצוגה: מערכת / בהיר / כהה
   ========================================================================== */
.theme-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); background: var(--bg); }
.theme-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  width: 34px; height: 34px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-faint);
  cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 700; padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.theme-switch button svg { width: 17px; height: 17px; }
.theme-switch button:hover { color: var(--ink); background: var(--bg-alt); }
.theme-switch button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.theme-switch--wide button { width: auto; padding: 0 0.9rem; height: 40px; white-space: nowrap; }
.drawer__theme { padding: 0.6rem 1.2rem 0; }
.drawer__theme p { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-faint); }
.a11y-theme { margin-top: 0.8rem; }
.a11y-theme .theme-switch { width: 100%; justify-content: stretch; }
.a11y-theme .theme-switch button { flex: 1; }
@media (max-width: 860px) { .site-header__actions .theme-switch { display: none; } }

/* לוגו: גרסה בהירה במצב כהה */
.brand__logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--dark { display: block; }
}
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }

/* מצב כהה: התאמות עדינות לרכיבים */
:root[data-theme="dark"] .feature-card, :root[data-theme="dark"] .related-card, :root[data-theme="dark"] .quick-card,
:root[data-theme="dark"] .blog-card, :root[data-theme="dark"] .illus-tile, :root[data-theme="dark"] .value-card,
:root[data-theme="dark"] .biz-card, :root[data-theme="dark"] .contact-form, :root[data-theme="dark"] .contact-card,
:root[data-theme="dark"] .faq__item, :root[data-theme="dark"] .mega__flag { background: var(--bg-alt); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature-card, :root:not([data-theme="light"]) .related-card, :root:not([data-theme="light"]) .quick-card,
  :root:not([data-theme="light"]) .blog-card, :root:not([data-theme="light"]) .illus-tile, :root:not([data-theme="light"]) .value-card,
  :root:not([data-theme="light"]) .biz-card, :root:not([data-theme="light"]) .contact-form, :root:not([data-theme="light"]) .contact-card,
  :root:not([data-theme="light"]) .faq__item, :root:not([data-theme="light"]) .mega__flag { background: var(--bg-alt); }
}
.feature-card__art, .related-card__art, .blog-card__art, .quick-card__art { background: var(--illus-soft); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* ==========================================================================
   טפסי הצעת מחיר רב-שלביים
   ========================================================================== */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--space-5); align-items: start; }
.quote-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .quote-card { padding: var(--space-3); } }
.modal-dialog--quote { max-width: 760px; }
.modal-body--quote { padding: var(--space-3) var(--space-4) var(--space-4); }
.qf-intro { color: var(--ink-soft); margin: 0 0 var(--space-3); }
@media (max-width: 600px) { .modal-body--quote { padding: var(--space-3); } }

.qform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qform legend.qf-step__title { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: var(--space-3); padding: 0; }
.qf-note { margin: -0.6rem 0 var(--space-3); color: var(--ink-soft); font-size: 0.93rem; }

.qf-stepper { list-style: none; margin: 0 0 var(--space-4); padding: 0; max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 0.5rem; }
.qf-stepper::before { content: ""; position: absolute; top: 19px; inset-inline: 16.6%; height: 2px; background: var(--border); }
.qf-stepper__item { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; position: relative; text-align: center; }
.qf-stepper__num { width: 38px; height: 38px; border-radius: 999px; background: var(--bg); border: 2px solid var(--border-deep); color: var(--ink-faint); display: inline-flex; align-items: center; justify-content: center; gap: 0.1rem; font-weight: 800; font-size: 0.95rem; transition: all 0.25s ease; }
.qf-stepper__num .peak { width: 0.7rem; height: 0.7rem; opacity: 0; color: currentColor; transition: opacity 0.2s; }
.qf-stepper__label { font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }
.qf-stepper__item.is-current .qf-stepper__num { border-color: var(--primary); color: var(--primary); }
.qf-stepper__item.is-current .qf-stepper__num .peak { opacity: 1; }
.qf-stepper__item.is-current .qf-stepper__label { color: var(--ink); }
.qf-stepper__item.is-done .qf-stepper__num { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.qf-stepper__item.is-done .qf-stepper__num b { display: none; }
.qf-stepper__item.is-done .qf-stepper__num .peak { opacity: 1; width: 0.95rem; height: 0.95rem; }
@media (max-width: 520px) { .qf-stepper__label { font-size: 0.75rem; } }

.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-3); }
.qf-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.qf-field--half { grid-column: auto; }
.qf-field[hidden] { display: none; }
@media (max-width: 560px) { .qf-grid { grid-template-columns: 1fr; } .qf-field--half { grid-column: 1 / -1; } }
.qf-field label, .qf-label { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.qf-field .hint { font-size: 0.82rem; color: var(--ink-faint); }
.qf-field input:not([type=radio]):not([type=checkbox]), .qf-field select, .qf-field textarea {
  width: 100%; font: inherit; padding: 0.8rem 0.95rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); background: var(--bg); color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-pale); }
.qf-field.is-invalid input, .qf-field.is-invalid select, .qf-field.is-invalid .qf-pills, .qf-field.is-invalid .qf-checks { border-color: var(--danger); }
.qf-error { display: none; font-size: 0.82rem; color: var(--danger); font-weight: 600; }
.qf-field.is-invalid .qf-error { display: block; }

.qf-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 1.5px solid transparent; border-radius: var(--radius-md); }
.qf-pill { position: relative; }
.qf-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qf-pill span { display: inline-flex; align-items: center; padding: 0.6rem 1.05rem; border: 1.5px solid var(--border); border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; color: var(--ink); background: var(--bg); transition: all 0.15s ease; }
.qf-pill:hover span { border-color: var(--border-deep); }
.qf-pill input:checked + span { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.qf-pill input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

.qf-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; border: 1.5px solid transparent; border-radius: var(--radius-md); }
@media (max-width: 560px) { .qf-checks { grid-template-columns: 1fr; } }
.qf-check { position: relative; display: flex; }
.qf-check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qf-check span { flex: 1; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); font-size: 0.93rem; color: var(--ink); background: var(--bg); transition: all 0.15s; }
.qf-check span::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border-deep); flex: none; background: var(--bg); transition: all 0.15s; }
.qf-check input:checked + span { border-color: var(--primary); background: var(--primary-pale); }
.qf-check input:checked + span::before { background: var(--btn-bg); border-color: var(--btn-bg); box-shadow: inset 0 0 0 3px var(--bg); }
.qf-check input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

.qf-money { position: relative; }
.qf-money input { padding-inline-end: 2.4rem !important; font-variant-numeric: tabular-nums; }
.qf-money span { position: absolute; inset-inline-end: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-weight: 700; }

.qf-consent { margin-top: var(--space-3); }
.qf-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: var(--space-4); }
.qf-nav .btn { min-width: 140px; justify-content: center; }
.qf-status { margin-top: var(--space-3); }
.qf-success { text-align: center; padding: var(--space-4) 0 var(--space-2); }
.qf-success__mark { display: inline-flex; margin-bottom: 0.6rem; }
.qf-success__mark .peak { width: 2.4rem; height: 2.4rem; }
.qf-success h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.qf-success p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto var(--space-3); }
.qf-step { animation: qf-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes qf-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qf-step { animation: none; } }

/* סצנת נסיעה בכרטיס הצעת הרכב */
.quick-card--car .quick-card__art { padding: 0; overflow: hidden; align-items: stretch; }
.scene--drive { width: 100%; height: 100%; display: block; }
.scene--drive .drive-bg .draw { stroke-dashoffset: 0; animation: none !important; opacity: 0.55; }
.scene--drive.is-drawn .drive-bg { animation: drive-bg 22s linear infinite; }
.scene--drive.is-drawn .drive-dash { opacity: 1; animation: drive-dash 0.9s linear infinite; }
.scene--drive.is-drawn .drive-car { animation: car-bob 0.7s ease-in-out infinite; }
.scene--drive .drive-car .draw { stroke: var(--primary); stroke-width: 2; }
@keyframes drive-bg { from { transform: translateX(0); } to { transform: translateX(-600px); } }
@keyframes drive-dash { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -48px; } }
@keyframes car-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@media (prefers-reduced-motion: reduce) { .scene--drive.is-drawn .drive-bg, .scene--drive.is-drawn .drive-dash, .scene--drive.is-drawn .drive-car { animation: none; } }
.qf-success .btn { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.qf-success .btn svg { width: 18px; height: 18px; }

/* קוביות הצעות מחיר נוספות בדף הבית */
.quick-grid + .quick-grid { margin-top: var(--space-3); }
.quick-grid--three { grid-template-columns: repeat(3, 1fr); }
.quick-card--compact { grid-template-columns: 1fr; gap: var(--space-2); padding: 0; overflow: hidden; align-items: stretch; }
.quick-card--compact .quick-card__art { border-radius: 0; min-height: 150px; padding: var(--space-2) var(--space-3) 0; align-items: flex-end; }
.quick-card--compact .quick-card__art .scene { max-height: 140px; }
.quick-card--compact .quick-card__body { padding: var(--space-2) var(--space-3) var(--space-3); }
.quick-card--compact h2 { font-size: 1.25rem; }
.quick-card--compact .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
.quick-card__icon { display: flex; color: var(--primary); }
.quick-card__icon svg { width: 64px; height: 64px; stroke-width: 1.2; }
@media (max-width: 1000px) { .quick-grid--three { grid-template-columns: 1fr; } .quick-card--compact { grid-template-columns: 1fr; } }

/* איורים בכרטיסים: ברורים יותר ובתנועה */
.feature-card__art .scene, .related-card__art .scene, .quick-card__art .scene, .blog-card__art .scene, .mega__flag-art .scene, .page-hero__art .scene, .contact-scene .scene {
  color: var(--ink-soft); stroke-width: 1.9;
}
.feature-card__art .scene .brand-stroke, .related-card__art .scene .brand-stroke { stroke-width: 2.2; }
.scene--mini.is-drawn .crane-hook { animation: hook 3s ease-in-out 1s infinite; }
.scene--mini.is-drawn .balloon { transform-origin: 90px 250px; }
.scene--mini.is-drawn .b1 { animation: sway-big 2.6s ease-in-out 0.8s infinite; }
.scene--mini.is-drawn .b2 { animation: sway-big 3.1s ease-in-out 1.2s infinite reverse; }
.scene--mini.is-drawn .b3 { animation: sway-big 2.3s ease-in-out 1s infinite; }
.scene--mini.is-drawn .beacon { animation: blink 1.6s ease-in-out infinite; }
.scene--mini.is-drawn .tanker-drive { animation: drive-loop 8s ease-in-out 1.2s infinite; }
.scene--mini.is-drawn .puff { animation-duration: 5s; }
.scene--mini.is-drawn .cloud-a, .scene--mini.is-drawn .cloud-drift { animation: drift 14s ease-in-out infinite; }
@keyframes sway-big { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes drive-loop { 0% { transform: translateX(110px); opacity: 0; } 12% { opacity: 1; } 32% { transform: translateX(0); } 80% { transform: translateX(0); opacity: 1; } 92% { transform: translateX(-70px); opacity: 0; } 100% { transform: translateX(110px); opacity: 0; } }
.scene--drive.scene--mini .drive-bg .draw { opacity: 0.6; }
.feature-card--flag .feature-card__art { background: var(--primary-pale); }
@media (prefers-reduced-motion: reduce) {
  .scene--mini.is-drawn .crane-hook, .scene--mini.is-drawn .balloon, .scene--mini.is-drawn .beacon, .scene--mini.is-drawn .tanker-drive, .scene--mini.is-drawn .cloud-a { animation: none; }
  .scene--mini .tanker-drive { opacity: 1; }
}

/* תחומי התמחות: 4 בשורה, 2 בטאבלט, 1 במובייל */
@media (max-width: 1180px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card__art .scene { max-height: 210px; }

/* סצנות מיני חדשות: מרפאה (קו דופק) ומשפחה (מטרייה מתנדנדת) */
.scene--mini.is-drawn .pulse-line { animation: pulse-draw 2.6s ease-in-out 1.4s infinite; stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes pulse-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 12% { opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.scene--mini .umbrella { transform-box: fill-box; transform-origin: 50% 95%; }
.scene--mini.is-drawn .umbrella { animation: umbrella-sway 4.2s ease-in-out 1.2s infinite; }
@keyframes umbrella-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.quick-card--compact .quick-card__art .scene { max-height: 150px; width: 100%; }
@media (prefers-reduced-motion: reduce) { .scene--mini .pulse-line, .scene--mini .umbrella { animation: none !important; } }

.feature-card__art { display: flex; align-items: flex-end; justify-content: center; min-height: 236px; }
.feature-card__art .scene { max-height: 200px; }
.quick-card--compact .quick-card__art { min-height: 170px; }
.quick-card--compact .quick-card__art .scene { max-height: 150px; }
.page-hero__updated { color: var(--ink-faint); font-size: 0.9rem; margin: 0.4rem 0 0; }
