/* =========================================================
   רחל גרנות | דף נחיתה
   קובץ עיצוב ראשי. ערכים מרכזיים (צבעים, ריווחים) מוגדרים
   כמשתנים ב-:root, כך שאפשר לשנות אותם במקום אחד.
   ========================================================= */

/* ---------- 1. משתנים ---------- */
:root{
  /* רקעים: שחור חם */
  --bg:         #0E0C0B;
  --surface-1:  #171412;
  --surface-2:  #211C19;
  --line:       #3A322C;

  /* טקסט */
  --text:       #F3EDE4;
  --text-muted: #B3A898;

  /* זהב */
  --gold-light: #E7B252;
  --gold-mid:   #BD8325;
  --gold-dark:  #A0711F;
  --gold-gradient: linear-gradient(100deg,#A0711F 0%,#E7B252 50%,#BD8325 100%);

  /* בורדו: נגיעה בלבד, לעולם לא לטקסט */
  --burgundy:   #9B1915;

  /* פונטים */
  --font-display: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body:    "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* סקאלת טיפוגרפיה */
  --fs-h1:    calc(clamp(40px, 5.2vw, 76px) * var(--display-scale, var(--text-scale, 1)));
  --fs-mega:  calc(clamp(44px, 6.5vw, 96px) * var(--display-scale, var(--text-scale, 1)));
  --fs-h2:    calc(clamp(32px, 3.8vw, 52px) * var(--text-scale, 1));
  --fs-h3:    calc(clamp(20px, 1.8vw, 26px) * var(--text-scale, 1));
  --fs-body:  calc(18px * var(--text-scale, 1));
  --fs-small: calc(15px * var(--text-scale, 1));
  --fs-eyebrow: calc(14px * var(--text-scale, 1));

  /* ריווחים ומידות */
  --section-space: 140px;
  --container: 1240px;
  --gutter: 24px;
  --radius: 4px;
  --radius-pill: 999px;
  --header-h: 88px;

  /* תנועה */
  --ease-out: cubic-bezier(.16,1,.3,1);   /* דומה ל-expo.out */

  /* הגדלת טקסט מתפריט הנגישות: כל גדלי הפונט מוכפלים בערך הזה */
  --text-scale: 1;
}
html.a11y-text-115{ --text-scale: 1.15; }
html.a11y-text-130{ --text-scale: 1.3; --display-scale: 1.15; }
html.a11y-text-150{ --text-scale: 1.5; --display-scale: 1.25; }
/* הכותרות הענקיות כבר גדולות מאוד, ולכן הן גדלות פחות כדי לא לצאת מהמסך */

@media (max-width: 760px){
  :root{
    --fs-body: calc(17px * var(--text-scale, 1));
    --section-space: 68px;
    --header-h: 72px;
    --gutter: 32px;
  }
}

/* ---------- 2. בסיס ---------- */
*,
*::before,
*::after{ box-sizing: border-box; }

html{
  /* שום דבר לא יוצא מרוחב המסך (חשוב במיוחד במובייל) */
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior: smooth; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* גרעיניות עדינה על כל הרקע (noise) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1{ font-size: var(--fs-h1); line-height: 1.1; }
h2{ font-size: var(--fs-h2); }
h3{ font-size: var(--fs-h3); }

p{ margin: 0 0 1em; text-wrap: pretty; }

a{
  color: inherit;
  text-decoration-color: var(--gold-mid);
  text-underline-offset: 4px;
}

button{ font: inherit; color: inherit; }

::selection{ background: rgba(231,178,82,.3); color: var(--text); }

/* focus גלוי בכל אלמנט אינטראקטיבי. לעולם לא להסתיר */
:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* טקסט לקוראי מסך בלבד */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* מספרי טלפון ומיילים בכיוון שמאל לימין */
.ltr{ direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- 3. פריסה ---------- */
.container{
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section{ padding-block: var(--section-space); position: relative; }

/* ---------- 4. טיפוגרפיה עזר ---------- */
/* "עין": כותרת קטנה מעל כותרת */
.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: .15em;
  color: var(--gold-light);
  margin-bottom: 18px;
}

/* טקסט בגרדיאנט זהב: רק לכותרות גדולות או למילה מודגשת */
.text-gold{
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-muted{ color: var(--text-muted); }

/* ---------- 5. כפתורים ---------- */
.btn{
  --btn-h: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 32px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(17px * var(--text-scale, 1));
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .4s var(--ease-out), background-position .6s var(--ease-out), background-color .3s ease, border-color .3s ease, box-shadow .4s ease;
}
.btn svg{ width: 20px; height: 20px; flex: none; }

/* ראשי: גרדיאנט זהב */
.btn--primary{
  background-image: linear-gradient(100deg,#A0711F 0%,#E7B252 35%,#BD8325 65%,#E7B252 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--bg);
}
.btn--primary:hover{
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -12px rgba(231,178,82,.5);
}

/* משני: שקוף עם מסגרת זהב */
.btn--secondary{
  background: transparent;
  border-color: var(--gold-mid);
  color: var(--text);
}
.btn--secondary:hover{ background-color: rgba(231,178,82,.08); border-color: var(--gold-light); }

/* כפתור קטן (ב-header) */
.btn--sm{ --btn-h: 44px; padding: 0 22px; font-size: calc(15px * var(--text-scale, 1)); }

/* קישור טקסט: קו זהב שמתארך ב-hover */
.link-line{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.link-line::after{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 8px;
  width: 40%;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width .5s var(--ease-out);
}
.link-line:hover::after,
.link-line:focus-visible::after{ width: 100%; }

/* ---------- 6. קישור דילוג ---------- */
.skip-link{
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--gold-light);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus,
.skip-link:focus-visible{ transform: none; outline-color: var(--text); }

/* ---------- 7. Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.site-header.is-scrolled{
  background: rgba(14,12,11,.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{ display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img{ height: 27px; width: auto; }

.main-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}
.main-nav a{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: calc(15px * var(--text-scale, 1));
  color: var(--text);
  text-decoration: none;
  transition: color .3s ease;
}
.main-nav a::after{
  content: "";
  position: absolute;
  right: 0; left: 0;
  bottom: 6px;
  height: 1.5px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a.is-active::after{ transform: scaleX(1); }
.main-nav a.is-active{ color: var(--gold-light); }

.header-actions{ display: flex; align-items: center; gap: 20px; flex: none; }
.header-phone{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: calc(15px * var(--text-scale, 1));
  color: var(--text);
  text-decoration: none;
}
.header-phone svg{ width: 18px; height: 18px; color: var(--gold-light); }
.header-phone:hover{ color: var(--gold-light); }

/* כפתור המבורגר: מוסתר בדסקטופ */
.menu-toggle{
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span{
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  margin-left: -10px;
  background: var(--gold-light);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-toggle span:nth-child(1){ top: 20px; }
.menu-toggle span:nth-child(2){ top: 27px; width: 14px; margin-left: -4px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ top: 23.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ top: 23.5px; width: 20px; margin-left: -10px; transform: rotate(-45deg); }

/* תפריט מסך מלא במובייל */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% 30%, rgba(231,178,82,.10), transparent 60%);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility 0s linear .45s;
}
.mobile-menu[hidden]{ display: none; }
.mobile-menu.is-open{
  opacity: 1;
  visibility: visible;
  transition: opacity .45s var(--ease-out), visibility 0s;
}
.mobile-menu ul{ list-style: none; margin: 0 0 40px; padding: 0; }
.mobile-menu li{ border-bottom: 1px solid var(--line); }
.mobile-menu a.mobile-link{
  display: flex;
  align-items: center;
  min-height: 64px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(26px, 7vw, 36px) * var(--text-scale, 1));
  color: var(--text);
  text-decoration: none;
}
.mobile-menu a.mobile-link:hover,
.mobile-menu a.mobile-link.is-active{ color: var(--gold-light); }
.mobile-menu-actions{ display: flex; flex-direction: column; gap: 14px; }
.mobile-menu-actions .btn{ width: 100%; }
html.menu-open{ overflow: hidden; }

@media (max-width: 1180px){
  .main-nav{ display: none; }
  .menu-toggle{ display: inline-block; }
}
@media (max-width: 760px){
  .brand img{ height: 22px; }
  .header-actions .header-phone,
  .header-actions .btn{ display: none; }
}

/* ---------- 8. סקשנים זמניים (יתמלאו בשלבים הבאים) ---------- */
.stub{
  min-height: 70vh;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
}

/* ---------- 9. Footer ---------- */
.site-footer{
  position: relative;
  background: var(--surface-1);
  padding: 88px 0 32px;
  font-size: calc(16px * var(--text-scale, 1));
  color: var(--text-muted);
}
/* קו זהב דק בגרדיאנט בראש הפוטר */
.site-footer::before{
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #A0711F 20%, #E7B252 50%, #BD8325 80%, transparent 100%);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
/* קו זהב דק ועדין בין העמודות */
.footer-col + .footer-col{
  padding-inline-start: 48px;
  border-inline-start: 1px solid rgba(189,131,37,.3);
}
.footer-col h2{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: .15em;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-brand img{ display: block; height: 38px; width: auto; margin-bottom: 22px; }
.footer-brand p{ max-width: 300px; margin: 0; line-height: 1.6; }
.footer-brand .social{ margin-top: 22px; }

.footer-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-list a,
.footer-list .footer-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  transition: color .3s ease;
}
.footer-list a:hover{ color: var(--gold-light); }
.footer-list svg{ width: 18px; height: 18px; flex: none; color: var(--gold-light); }

.social{ display: flex; gap: 12px; }
.social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  transition: border-color .3s ease, background-color .3s ease;
}
.social a:hover{ border-color: var(--gold-mid); background: rgba(231,178,82,.08); }
.social svg{ width: 18px; height: 18px; }

.footer-bottom{
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  font-size: calc(16px * var(--text-scale, 1));
  letter-spacing: .02em;
  color: var(--text-muted);
}
.footer-bottom p{ margin: 0; }
.footer-bottom ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 22px; }
.footer-bottom li{ display: inline-flex; align-items: center; gap: 22px; }
.footer-bottom li + li::before{
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-mid);
}
.footer-credit{ color: var(--text-muted); }
.footer-bottom .footer-credit a{
  margin-inline-start: 6px;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration-color: rgba(231,178,82,.45);
  text-underline-offset: 5px;
}
.footer-bottom .footer-credit a:hover{ color: var(--text); text-decoration-color: var(--gold-light); }
.footer-bottom a{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
}
.footer-bottom a:hover{ color: var(--text); text-decoration-color: var(--gold-mid); }

@media (max-width: 1024px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
  .footer-col + .footer-col{ padding-inline-start: 0; border-inline-start: 0; }
  .footer-col + .footer-col + .footer-col{ padding-inline-start: 40px; border-inline-start: 1px solid rgba(189,131,37,.3); }
}
@media (max-width: 760px){
  /* מקום לכפתור הוואטסאפ הצף, כדי שלא יסתיר את השורה התחתונה */
  .site-footer{ padding-bottom: 96px; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-col + .footer-col + .footer-col{ padding-inline-start: 0; border-inline-start: 0; }
  .footer-bottom{ flex-direction: column; align-items: center; }
}

/* ---------- 10. כפתור וואטסאפ צף ---------- */
.wa-float{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  /* מוסתר עד גלילה של 300px. רק כשיש JS */
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s;
}
.js .wa-float:not(.is-visible){
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s;
}
.wa-float__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--bg);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(231,178,82,.35);
  transition: transform .4s var(--ease-out);
  flex: none;
}
.wa-float__icon svg{ width: 28px; height: 28px; }
/* התווית יושבת משמאל לעיגול ולא תופסת מקום כשהיא מוסתרת */
.wa-float__label{
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  margin-top: -22px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(23,20,18,.92);
  border: 1px solid var(--gold-mid);
  color: var(--text);
  font-weight: 600;
  font-size: calc(15px * var(--text-scale, 1));
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .45s var(--ease-out);
}
.wa-float:hover .wa-float__icon,
.wa-float:focus-visible .wa-float__icon{ transform: translateY(-2px); }
@media (hover: hover) and (pointer: fine){
  .wa-float:hover .wa-float__label,
  .wa-float:focus-visible .wa-float__label{ opacity: 1; transform: none; }
}
@media (max-width: 760px){
  .wa-float{ right: 16px; bottom: 16px; }
  .wa-float__icon{ width: 56px; height: 56px; }
}

/* ---------- 11. דפים משפטיים (נגישות ופרטיות) ---------- */
.legal{ padding-block: 72px var(--section-space); }
.legal .container{ max-width: 860px; }
.legal h1{ font-size: var(--fs-h2); margin-bottom: 32px; }
.legal h2{ font-size: var(--fs-h3); margin: 40px 0 12px; color: var(--gold-light); }
.legal ul{ padding-inline-start: 22px; margin: 0 0 1em; }
.legal li{ margin-bottom: 6px; }
.legal li::marker{ color: var(--gold-mid); }
.legal a{ color: var(--gold-light); }
.legal .todo{ color: var(--gold-light); background: rgba(231,178,82,.08); padding: 0 4px; border-radius: 2px; }
.legal .meta{ color: var(--text-muted); font-size: var(--fs-small); }

/* ---------- 12. הפחתת תנועה ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   13. סקשנים: הירו, אודות, תחומים, מעבר, למה לבחור בי,
       שאלות ותשובות והמלצות
   ========================================================= */

/* ---------- כותרות סקשן משותפות ---------- */
.section-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px;
}
.section-sub{
  margin: 16px 0 0;
  font-size: calc(20px * var(--text-scale, 1));
  color: var(--text-muted);
}
.mega{
  font-size: var(--fs-mega);
  line-height: 1;
  font-weight: 800;
}

/* ---------- חוט הזהב: קווים ונקודות ---------- */
.gline{
  --h: 96px;
  position: relative;
  display: block;
  width: 9px;
  height: var(--h);
  margin-inline: auto;
}
.gline__line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -.75px;
  background: linear-gradient(to bottom, rgba(160,113,31,0) 0%, #A0711F 18%, #E7B252 60%, #BD8325 100%);
  transform-origin: top center;
}
.gline__dot{
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color .6s ease, box-shadow .6s ease, transform .6s var(--ease-out);
}
.gline__dot.is-lit{
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(231,178,82,.14), 0 0 22px 6px rgba(231,178,82,.4);
  transform: scale(1.15);
}

/* ---------- 02. הירו ---------- */
.hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 24px 56px;
}
/* קווי רשת אנכיים דקים מאוד ברקע */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(243,237,228,.04) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

/* עמודת הטקסט */
.hero-text{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
}
/* הלוגו מוגדל לבדיקה: אם לא יעבוד, מוחקים את התגית ב-index.html */
.hero-emblem{ width: 112px; height: auto; }
/* שם ותפקיד מעל הכותרת: אותו גודל ואותו משקל, רק הצבע שונה */
.hero-eyebrow{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
  font-size: calc(clamp(22px, 1.85vw, 28px) * var(--text-scale, 1));
}
.hero-eyebrow span:first-child{ color: var(--text); }
.hero-eyebrow span:last-child{ color: var(--gold-light); }
/* מפריד: נקודת זהב קטנה במקום קו */
.hero-eyebrow__sep{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-mid);
}
.hero h1{
  font-weight: 800;
  font-size: calc(clamp(40px, 4.7vw, 72px) * var(--display-scale, var(--text-scale, 1)));
  line-height: 1.08;
}
.hero-sub{
  margin: 0;
  max-width: 540px;
  font-size: calc(clamp(18px, 1.35vw, 20px) * var(--text-scale, 1));
  line-height: 1.7;
  color: var(--text-muted);
}
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-ctas .btn{ font-size: calc(17px * var(--text-scale, 1)); }

/* עמודת התמונה: שלוש שכבות בעומק אמיתי (perspective) */
.hero-visual{
  position: relative;
  height: clamp(520px, calc(100svh - var(--header-h) - 80px), 780px);
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.hero-stage{
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.hero-layer{ position: absolute; inset: 0; transform-style: preserve-3d; }

/* הילה: שתי שכבות אור חמות */
.hero-glow{
  position: absolute;
  left: 50%;
  top: 42%;
  width: 110%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,178,82,.19) 0%, rgba(231,178,82,.075) 34%, rgba(231,178,82,.02) 55%, rgba(231,178,82,0) 68%);
}
.hero-glow--core{
  top: 30%;
  width: 56%;
  background: radial-gradient(circle, rgba(243,208,138,.17) 0%, rgba(231,178,82,.06) 45%, rgba(231,178,82,0) 70%);
  filter: blur(8px);
}

/* טבעות */
.hero-ring{
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(94%, 660px);
  aspect-ratio: 1;
  overflow: visible;
  animation: ring-spin 18s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
/* זוהר עדין בלבד על הטבעות */
.hero-ring--a{ opacity: .85; filter: drop-shadow(0 0 3px rgba(231,178,82,.22)); }
.hero-ring__orb{ filter: drop-shadow(0 0 3px rgba(243,208,138,.6)); }
.hero-ring--b{
  width: min(83%, 585px);
  opacity: .75;
  animation-duration: 11s;
  animation-direction: reverse;
}
/* הטבעת המנוקדת עומדת במקום: נקודות דקות בסיבוב איטי נראות כמו רעד */
.hero-ring--c{
  width: min(72%, 505px);
  opacity: .3;
  animation: none;
  transform: translate(-50%, -50%);
}
@keyframes ring-spin{
  from{ transform: translate(-50%, -50%) rotate(0deg); }
  to{ transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-layer--photo{
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* רחל נמסה לרקע: דהייה מלמטה ומהצד החיצוני (שמאל המסך). בלי מסגרת */
.hero-photo{
  height: 97%;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 98%), linear-gradient(to right, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 98%), linear-gradient(to right, transparent 0%, #000 30%);
  mask-composite: intersect;
}
.hero-photo picture{ display: block; height: 100%; }
.hero-photo img,
.hero-photo video{
  height: 100%;
  width: auto;
  max-width: none;
  /* היפוך מראה, כדי שרחל תפנה אל הטקסט */
  transform: scaleX(-1);
}

@media (max-width: 900px){
  .hero{ min-height: 0; padding-block: 0 56px; }
  .hero-inner{ grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-visual{ order: -1; height: clamp(380px, 60vh, 560px); }
  .hero-text{ gap: 18px; }
  .hero-emblem{ width: 48px; }
  .hero-ctas{ width: 100%; flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn{ --btn-h: 48px; flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: calc(15px * var(--text-scale, 1)); }
}
@media (max-width: 360px){
  .hero-ctas{ flex-direction: column; }
}

/* ---------- 03. קצת עליי ---------- */
/* רצועה בגוון חם, כדי ליצור מעבר ברור מההירו */
.about{ background: linear-gradient(to bottom, var(--surface-1), var(--bg)); }
.about::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(189,131,37,.35) 30%, rgba(231,178,82,.45) 50%, rgba(189,131,37,.35) 70%, transparent);
}
.about::after{
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--bg);
  border: 1px solid rgba(231,178,82,.7);
  transform: rotate(45deg);
}
/* מיכל רחב יותר, כדי שהטקסט והתמונה יתפרסו לצדדים */
.container--wide{ max-width: calc(1340px + var(--gutter) * 2); }
.about-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
/* עין גדולה ונוכחת, עם נקודת זהב לפניה */
.about-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: calc(17px * var(--text-scale, 1));
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.about-eyebrow::before{
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-mid);
}
.about-text h2{ margin-bottom: 24px; max-width: 760px; text-wrap: balance; }
/* "משרד עו"ד רחל גרנות:" בשורה משלו, ושאר הכותרת מתחת */
.about-title__name{ display: block; }
/* צירופים שלא נשברים באמצע: "דיני משפחה, ירושה" / "והעברה בין דורית".
   לא בהגדלת טקסט של תפריט הנגישות ולא במסכים צרים מאוד, כדי שלא יחרגו מהמסך */
@media (min-width: 350px){
  html:not(.a11y-text-115):not(.a11y-text-130):not(.a11y-text-150) .about-text h2 .keep{ white-space: nowrap; }
}
.about-text p{ color: var(--text-muted); }

/* פתיח: שתי פסקאות קצרות, קצת יותר בהירות */
.about-lead p{
  margin: 0 0 .4em;
  max-width: 820px;
  font-size: calc(19px * var(--text-scale, 1));
  line-height: 1.65;
  color: var(--text);
}

.about-text .btn{ margin-top: 12px; }

/* --- המשך הטקסט: ארבעה חלקים עם כותרות משנה --- */
.about-lead{ margin-bottom: 36px; }
.about-body{ max-width: 760px; }
.about-block + .about-block{ margin-top: 36px; }
.about-block h3{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(clamp(21px, 1.6vw, 24px) * var(--text-scale, 1));
  line-height: 1.3;
  color: var(--gold-light);
  text-wrap: balance;
}
.about-block p{
  margin: 0 0 .9em;
  font-size: calc(18px * var(--text-scale, 1));
  line-height: 1.75;
}
.about-list{ margin: 0; padding: 0; list-style: none; }
.about-list li{
  position: relative;
  padding-inline-start: 0;
  margin-bottom: .6em;
  font-size: calc(18px * var(--text-scale, 1));
  line-height: 1.65;
  color: var(--text-muted);
}
.about-list li::before{
  content: "";
  position: absolute;
  inset-inline-start: -16px;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-mid);
}

/* מקוצר: רואים את תחילת החלק הראשון, והטקסט נמוג */
.about-body.is-collapsible:not(.is-open){
  max-height: 15.5em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.about-more{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: calc(16px * var(--text-scale, 1));
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(231,178,82,.5);
  cursor: pointer;
}
.about-more:hover{ text-decoration-color: var(--gold-light); }
.about-more[hidden]{ display: none; }
.about-more + [data-reveal] .btn,
.about-more + div .btn{ margin-top: 20px; }

/* בדסקטופ התמונה נשארת במסך בזמן שקוראים את ההמשך */
@media (min-width: 901px){
  .about-media{ position: sticky; top: calc(var(--header-h) + 32px); }
}

/* רחל (חתוכה, רקע שקוף) יושבת מול קשת זהב.
   הראש והרגליים חורגים מעט מהקשת, כדי ליצור עומק */
.about-media{ position: relative; }
.about-media::before{
  content: "";
  position: absolute;
  inset: -8% -18%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(231,178,82,.10), transparent);
  pointer-events: none;
}
.about-photo{
  position: relative;
  margin: 0;
  isolation: isolate;
}
/* הקשת: קו זהב דק בלבד, שקופה מבפנים */
.about-photo::before{
  content: "";
  position: absolute;
  top: 9%;
  bottom: 7%;
  left: 13%;
  right: 13%;
  z-index: -1;
  border: 1px solid rgba(231,178,82,.5);
  border-radius: 999px 999px 4px 4px;
  transition: opacity 1.2s ease .2s;
}
/* צל רך על הרצפה */
.about-photo::after{
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 2.5%;
  height: 26px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
  transition: opacity 1s ease .4s;
}
.about-photo picture{ display: block; }
.about-photo img{ width: 100%; height: auto; }

@media (max-width: 900px){
  .about-inner{ grid-template-columns: 1fr; }
  .about-media{ order: -1; max-width: 400px; width: 100%; margin-inline: auto; }
}

/* ---------- 04. תחומי התמחות ---------- */
.services{ position: relative; }
.services-top{
  --overlap: 220px;
  padding-top: var(--section-space);
  /* החלק התחתון של הכרטיסים "יורד" לתוך הרקע של החלק הבא */
  background: linear-gradient(to bottom, var(--bg) calc(100% - var(--overlap)), var(--surface-1) calc(100% - var(--overlap)));
}
.services-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.services-head .gline--lead{ --h: 120px; margin-top: calc(-1 * var(--section-space)); margin-bottom: 40px; }
.services-sub{ margin: 22px 0 0; font-size: calc(20px * var(--text-scale, 1)); color: var(--text-muted); }
.services-head .gline--short{ --h: 72px; margin-top: 36px; }

/* הסתעפות לשלושה טורים של כרטיסים */
.gbranch{
  --gap: 24px;
  --col: calc((100% - 2 * var(--gap)) / 3);
  position: relative;
  z-index: 3;
  height: 80px;
}
.gbranch__bar{
  position: absolute;
  top: 0;
  right: calc(var(--col) / 2);
  left: calc(var(--col) / 2);
  height: 1.5px;
  background: linear-gradient(to right, #BD8325, #E7B252 50%, #A0711F);
  transform-origin: center;
}
.gbranch__drop{
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(var(--col) * (var(--i) + .5) + var(--gap) * var(--i));
  width: 1.5px;
  margin-right: -.75px;
  background: linear-gradient(to bottom, #E7B252, #BD8325);
  transform-origin: top center;
}
.gbranch__dot{
  left: auto;
  right: calc(var(--col) * (var(--i) + .5) + var(--gap) * var(--i));
  margin-left: 0;
  margin-right: -4.5px;
  bottom: -4px;
}

.svc-cards{
  --gap: 24px;
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.svc-card{
  position: relative;
  isolation: isolate;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
/* נגיעת בורדו בקו העליון של הכרטיס ב-hover */
.svc-card::before{
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 5;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease-out);
}
.svc-card:hover::before,
.svc-card:focus-within::before{ transform: scaleX(1); }

.svc-card__media{ position: absolute; inset: 0; z-index: -1; }
.svc-card__media picture{ display: block; height: 100%; }
/* רקע זמני לתחום שעוד אין לו תמונה: גרדיאנט כהה וקווים עדינים */
.svc-card__media--empty{
  background:
    repeating-linear-gradient(135deg, rgba(231,178,82,.045) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse at 70% 25%, rgba(231,178,82,.10), transparent 60%),
    linear-gradient(160deg, #262019, #141110);
}
.svc-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.4s var(--ease-out), opacity .6s ease;
}
.svc-card:hover .svc-card__media img{ transform: scale(1.04); }
.svc-card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,12,11,.97) 0%, rgba(14,12,11,.78) 32%, rgba(14,12,11,.15) 66%, rgba(14,12,11,.3) 100%);
}
.svc-card__body{
  position: absolute;
  right: 0; left: 0; bottom: 0;
  padding: 28px 26px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.svc-card__title{
  font-weight: 700;
  font-size: calc(clamp(24px, 2.2vw, 30px) * var(--text-scale, 1));
  line-height: 1.15;
  /* תמיד גובה של שתי שורות, כדי שכל הכותרות יתחילו באותו קו */
  min-height: 2.3em;
  display: flex;
  align-items: flex-start;
  text-wrap: balance;
}
.svc-card__more{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-weight: 600;
  font-size: calc(16px * var(--text-scale, 1));
  cursor: pointer;
}
.svc-card__more::after{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 8px;
  width: 45%;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width .6s var(--ease-out);
}
/* חץ קטן ועדין שמצביע שמאלה, וזז מעט ב-hover */
.svc-card__arrow{
  width: 16px;
  height: 16px;
  margin-inline-start: 8px;
  color: var(--gold-light);
  transition: transform .5s var(--ease-out);
}
.svc-card:hover .svc-card__arrow,
.svc-card__more:focus-visible .svc-card__arrow{ transform: translateX(-4px); }
.svc-card:hover .svc-card__more::after,
.svc-card__more:focus-visible::after{ width: 100%; }
.svc-card__more:focus-visible{ outline-offset: 2px; }

/* כרטיס פעיל: קו זהב עליון מלא, והשאר מתעמעמים מעט */
.svc-card.is-active::before{ background: var(--gold-gradient); transform: scaleX(1); }
.svc-card.is-active .svc-card__more::after{ width: 100%; }
.svc-cards.has-active .svc-card:not(.is-active) .svc-card__media img{ opacity: .35; }

/* ---------- פירוט התחומים: פאנל רחב מתחת לכרטיסים ---------- */
/* הגובה נפתח בעזרת grid-template-rows (מ-0fr ל-1fr) */
.svc-detail{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .8s var(--ease-out);
}
.svc-detail[hidden]{ display: none; }
.svc-detail.is-open{ grid-template-rows: 1fr; }
.svc-detail.no-transition{ transition: none; }
/* השורה הזמנית שבה נפתח הפירוט, לרוחב כל הרשת */
.svc-slot{ grid-column: 1 / -1; list-style: none; }
.svc-detail__frame{
  --drop: 56px;               /* המרחק בין הכרטיסים לפאנל */
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding-top: var(--drop);
}
/* קו עליון דק, שנעלם לקצוות */
.svc-detail__frame::after{
  content: "";
  position: absolute;
  top: var(--drop);
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(189,131,37,.7) 20%, rgba(231,178,82,.9) 50%, rgba(189,131,37,.7) 80%, transparent);
}
/* חוט הזהב: יורד מהכרטיס הפעיל אל הפאנל */
.svc-detail__pointer{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 1.5px;
  height: var(--drop);
  margin-left: -.75px;
  background: linear-gradient(to bottom, rgba(231,178,82,0), #E7B252);
  transform: translateX(var(--px, 50%));
  transition: transform .7s var(--ease-out);
}
.svc-detail__pointer::after{
  content: "";
  position: absolute;
  bottom: -4px;
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(231,178,82,.12), 0 0 14px rgba(231,178,82,.55);
}
.svc-detail__close{
  position: absolute;
  top: calc(var(--drop) + 28px);
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, transform .5s var(--ease-out);
}
.svc-detail__close:hover{ border-color: var(--gold-mid); color: var(--gold-light); transform: rotate(90deg); }
.svc-detail__close svg{ width: 18px; height: 18px; }

/* תוכן הפאנל: שם התחום מימין, הרשימה משמאל */
.svc-panel{
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  padding: 56px 0 72px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .8s var(--ease-out);
}
.svc-panel[hidden]{ display: none; }
.svc-panel.is-in{ opacity: 1; transform: none; }
.svc-panel:focus-visible{ outline-offset: 6px; }
.svc-panel__head{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.svc-panel__title{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(30px, 2.7vw, 40px) * var(--text-scale, 1));
  line-height: 1.15;
  color: var(--text);
}
.svc-panel__rule{
  display: block;
  width: 44px;
  height: 1.5px;
  margin: 26px 0 32px;
  background: var(--gold-gradient);
}
.svc-panel__cta{ --btn-h: 50px; padding: 0 28px; }

/* פסקת הפתיחה של התחום, מעל הרשימה */
.svc-panel__body{ padding-left: 64px; /* מקום לכפתור הסגירה */ }
.svc-panel__intro{
  margin: 0 0 .8em;
  max-width: 820px;
  font-size: calc(18px * var(--text-scale, 1));
  line-height: 1.75;
  color: var(--text-muted);
}
.svc-panel__intro + .svc-panel__list{ margin-top: 12px; }

/* רשימה בשתי עמודות, עם קו דק בין שורה לשורה */
.svc-panel__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  align-content: start;
}
.svc-panel__list li{
  position: relative;
  padding: 17px 22px 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: calc(18px * var(--text-scale, 1));
  line-height: 1.5;
  color: var(--text);
}
/* מעוין זהב קטן */
.svc-panel__list li::before{
  content: "";
  position: absolute;
  right: 2px;
  top: calc(17px + .75em - 3px);
  width: 6px;
  height: 6px;
  background: var(--gold-mid);
  transform: rotate(45deg);
}

@media (max-width: 1180px){
  .svc-detail__pointer{ display: none; }
}
@media (max-width: 900px){
  .svc-panel{ grid-template-columns: 1fr; gap: 28px; padding: 40px 0 56px; }
  .svc-panel__head{ padding-left: 56px; }
  .svc-panel__list{ grid-template-columns: 1fr; }
  .svc-panel__body{ padding-left: 0; }
  .svc-panel__rule{ margin: 20px 0 24px; }
}

/* נקודות התקדמות לקרוסלות (נוצרות ב-JS רק כשיש גלילה) */
.carousel-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dots:empty{ display: none; }
.carousel-dots span{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  transition: width .5s var(--ease-out), background-color .4s ease;
}
.carousel-dots span.is-active{ width: 24px; background: var(--gold-light); }

@media (max-width: 1180px){
  .gbranch{ display: none; }
  .services-head .gline--short{ margin-bottom: 40px; }
  .svc-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-top{ --overlap: 200px; }
}
@media (max-width: 760px){
  .services-top{ --overlap: 230px; }
  .svc-cards{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .svc-cards::-webkit-scrollbar{ display: none; }
  .svc-card{ flex: 0 0 82%; height: 430px; scroll-snap-align: start; }
}

/* ---------- 04ב. האתגר / ההזדמנות ---------- */
/* overflow-x: clip, כי הצדדים נכנסים מחוץ למסך ואסור שירחיבו את הדף */
.services-bottom{ background: var(--surface-1); overflow-x: hidden; overflow-x: clip; }
.services-bottom .gline--mid{ --h: 100px; }
.services-bottom .gline--to-why{ --h: 100px; }
.gline--to-why .gline__line,
.gline--into-why .gline__line{ background: linear-gradient(to bottom, #A0711F, #E7B252 55%, #BD8325); }

.split{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split__line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  margin-left: -.75px;
  background: linear-gradient(to bottom, #BD8325, #E7B252 50%, #A0711F);
  transform-origin: top center;
}
.split__side{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 56px clamp(32px, 5vw, 88px);
}
/* כל צד מיושר אל הקו שבאמצע */
.split__side--challenge{ text-align: left; align-items: flex-end; }
.split__side--chance{ text-align: right; align-items: flex-start; }
.split__side--challenge .split__title{ color: var(--text-muted); }
.split__kicker{
  margin: 18px 0 0;
  font-weight: 600;
  font-size: calc(18px * var(--text-scale, 1));
  letter-spacing: .12em;
  color: var(--text);
}
.split__text{ margin: 0; max-width: 380px; color: var(--text-muted); }

@media (max-width: 760px){
  .split{ grid-template-columns: 1fr; }
  .split__line{ left: auto; right: 4px; margin-left: 0; }
  .split__side,
  .split__side--challenge{
    text-align: right;
    align-items: flex-start;
    padding: 40px 32px 40px 0;
  }

}

/* ---------- 05. למה לבחור בי ---------- */
/* הכותרת בשורה אחת בדסקטופ */
@media (min-width: 901px){
  .why .section-head{ max-width: none; }
  .why .section-head h2{ white-space: nowrap; }
}
.why .gline--into-why{
  --h: calc(var(--section-space) - 32px);
  margin-top: calc(-1 * var(--section-space));
  margin-bottom: 48px;
}
.why-path{ position: relative; }
.why-svg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.why-svg__track{ fill: none; stroke: var(--line); stroke-width: 1.5; }
.why-svg__line{ fill: none; stroke: url(#gold-grad-x); stroke-width: 2; stroke-linecap: round; }

.why-list{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 120px;
}
/* שורה תחתונה: 4-6 משמאל לימין (בעמודות RTL עמודה 1 היא הימנית) */
.why-list > li:nth-child(4){ grid-row: 2; grid-column: 3; }
.why-list > li:nth-child(5){ grid-row: 2; grid-column: 2; }
.why-list > li:nth-child(6){ grid-row: 2; grid-column: 1; }

.why-stop{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 60px;
  text-align: center;
}
/* אייקון בלי מסגרת, צמוד לכותרת */
.why-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: -2px;
}
.why-icon svg{ width: 38px; height: 38px; stroke-width: 1.15; }
.why-stop h3{ font-size: var(--fs-h3); }
.why-num{ color: var(--gold-light); }
.why-stop p{ margin: 0; max-width: 320px; font-size: calc(16px * var(--text-scale, 1)); line-height: 1.65; color: var(--text-muted); }
.why-dot{
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid #5A4E44;
  transition: background-color .6s ease, border-color .6s ease, box-shadow .6s ease, transform .6s var(--ease-out);
}
.why-dot.is-lit{
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(231,178,82,.14), 0 0 24px 6px rgba(231,178,82,.38);
  transform: scale(1.2);
}

@media (max-width: 900px){
  .why-list{ display: flex; flex-direction: column; gap: 56px; }
  .why-stop{
    align-items: flex-start;
    text-align: right;
    padding: 0 44px 0 0;
  }
  .why-dot{ left: auto; right: -2.5px; margin-left: 0; top: 23px; bottom: auto; }
  .why .section-head{ text-align: right; margin-bottom: 56px; }
}

/* ---------- 06. שאלות ותשובות ---------- */
.faq{ background: var(--surface-1); }
.faq-inner{ max-width: calc(860px + var(--gutter) * 2); }
.faq-item{ position: relative; border-bottom: 1px solid var(--line); }
.faq-item:first-child{ border-top: 1px solid var(--line); }
/* קו זהב בצד ימין של השאלה הפתוחה */
.faq-item::before{
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: 0;
  width: 2px;
  background: linear-gradient(to bottom, #E7B252, #A0711F);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease-out);
}
.faq-item.is-open::before{ transform: scaleY(1); }
.faq-q{ margin: 0; font-size: inherit; }
.faq-q button{
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 24px 26px 4px;
  border: 0;
  background: none;
  color: var(--text);
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(clamp(19px, 1.6vw, 22px) * var(--text-scale, 1));
  line-height: 1.4;
  cursor: pointer;
  transition: color .3s ease;
}
.faq-q button:hover{ color: var(--gold-light); }
.faq-q button:focus-visible{ outline-offset: -2px; }
/* "+" בזהב שמסתובב והופך ל-"×" */
.faq-icon{
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .6s var(--ease-out), border-color .4s ease;
}
.faq-icon::before,
.faq-icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  margin: -.75px 0 0 -7px;
  background: var(--gold-light);
}
.faq-icon::after{ transform: rotate(90deg); }
.faq-item.is-open .faq-icon{ transform: rotate(45deg); border-color: var(--gold-mid); }

.faq-a__inner{ overflow: hidden; min-height: 0; }
.faq-a p{ margin: 0; padding: 0 24px 30px 64px; color: var(--text-muted); }
/* מצב סגור מוגדר רק כשיש JS, כדי שהתוכן יהיה נגיש גם בלעדיו */
.js .faq-a{
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .6s var(--ease-out);
}
.js .faq-item:not(.is-open) .faq-a{
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .6s var(--ease-out), visibility 0s linear .6s;
}
@media (max-width: 760px){
  .faq-q button{ padding: 22px 18px 22px 0; }
  .faq-a p{ padding: 0 18px 26px 0; }
}

/* ---------- 07. המלצות ---------- */
/* רצועה בגוון חם, עם קו זהב דק בראשה: נפרדת גם מהשאלות וגם מהטופס.
   המלצה אחת גדולה במרכז, וחצים למעבר */
.reviews{ background: var(--surface-1); }
.reviews::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(189,131,37,.3) 30%, rgba(231,178,82,.42) 50%, rgba(189,131,37,.3) 70%, transparent);
}
.reviews-head{ margin-bottom: 48px; }
.reviews-mark{ display: block; width: 66px; height: 44px; margin: 0 auto 20px; overflow: visible; }

.reviews-carousel{
  /* גובה שורה בהמלצה. החצים יושבים באמצע השורה השנייה */
  --q-lh: calc(clamp(20px, 1.75vw, 25px) * var(--text-scale, 1) * 1.65);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}
.reviews-track{ display: grid; }
/* כל ההמלצות באותו תא, כדי שהגובה לא יקפוץ במעבר */
.js .review{
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .8s var(--ease-out), visibility 0s linear .5s;
}
.js .review.is-active{
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .7s ease .15s, transform .9s var(--ease-out) .15s, visibility 0s;
}
html:not(.js) .review + .review{ margin-top: 56px; }
.review{ display: flex; align-items: flex-start; justify-content: center; }
.review figure, .review blockquote{ margin: 0; }
.review blockquote p{
  margin: 0;
  font-weight: 400;
  font-style: italic;
  font-size: calc(clamp(20px, 1.75vw, 25px) * var(--text-scale, 1));
  line-height: 1.65;
  color: var(--text);
  text-wrap: balance;
}
/* מירכאות בתחילת הציטוט ובסופו */
.review blockquote p::before,
.review blockquote p::after{ content: '"'; }

/* שם הממליץ בין שני קווי זהב קצרים */
.review figcaption{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-weight: 600;
  font-size: calc(16px * var(--text-scale, 1));
  letter-spacing: .06em;
  color: var(--gold-light);
}
.review figcaption::before,
.review figcaption::after{
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-mid);
}

/* חצים משני צדי ההמלצה */
html:not(.js) .reviews-arrow{ visibility: hidden; }
.reviews-arrow{ margin-top: calc(var(--q-lh) * 1.5 - 24px); }
.reviews-arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.reviews-arrow:hover{ border-color: var(--gold-mid); color: var(--gold-light); background: rgba(231,178,82,.06); }
.reviews-arrow svg{ width: 20px; height: 20px; }

/* ---------- 14. מצבי התחלה של אנימציות ----------
   רק כשיש JS, רק כשאין "הפחתת תנועה", ורק כל עוד לא הופעל
   מצב no-anim (למשל אם GSAP לא נטען) */
@media (prefers-reduced-motion: no-preference){
  .js:not(.no-anim) [data-hero-item]{ opacity: 0; transform: translateY(24px); }
  .js:not(.no-anim) .hero-photo{ opacity: 0; filter: blur(14px); }
  .js:not(.no-anim) .hero-ring--a circle:first-child,
  .js:not(.no-anim) .hero-ring--b circle{ stroke-dasharray: 0 301.6; }
  .js:not(.no-anim) .hero-ring__orb,
  .js:not(.no-anim) .hero-ring--c{ opacity: 0; }

  .js:not(.no-anim) [data-reveal]{ opacity: 0; transform: translateY(28px); }

  .js:not(.no-anim) .about-photo picture{ clip-path: inset(100% 0 0 0); }
  .js:not(.no-anim) .about-photo:not(.is-framed)::after,
  .js:not(.no-anim) .about-photo:not(.is-framed)::before{ opacity: 0; }

  .js:not(.no-anim) .gline__line,
  .js:not(.no-anim) .gbranch__drop,
  .js:not(.no-anim) .split__line{ transform: scaleY(0); }
  .js:not(.no-anim) .gbranch__bar{ transform: scaleX(0); }

  .js:not(.no-anim) .split__side--challenge{ opacity: 0; transform: translateX(60px); }
  .js:not(.no-anim) .split__side--chance{ opacity: 0; transform: translateX(-60px); }

  .js:not(.no-anim) .why-stop{ opacity: 0; transform: translateY(24px); }
  .js:not(.no-anim) .why-stop.is-in{
    opacity: 1;
    transform: none;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  }
}
/* בהפחתת תנועה: הטבעות לא מסתובבות */
@media (prefers-reduced-motion: reduce){
  .hero-ring{ animation: none; transform: translate(-50%, -50%); }
}
/* כשהאנימציות כבויות: כל הנקודות דולקות מההתחלה */
.no-anim .gline__dot,
.no-anim .why-dot{
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(231,178,82,.14), 0 0 20px 4px rgba(231,178,82,.35);
}

/* =========================================================
   15. טופס לידים
   ========================================================= */
.contact{
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* קו זהב דק בראש הסקשן: מפריד בין ההמלצות לטופס */
.contact::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(189,131,37,.3) 30%, rgba(231,178,82,.42) 50%, rgba(189,131,37,.3) 70%, transparent);
}
/* רקע: פסל אלת הצדק. השטיפה עדינה יותר מימין (שם הפסל מציץ)
   וחזקה יותר מאחורי הטופס משמאל */
.contact-bg{
  position: absolute;
  inset: -6% 0;
  z-index: -1;
}
.contact-bg picture{ display: block; height: 100%; }
.contact-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 22%;
}
.contact-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(14,12,11,0) 16%, rgba(14,12,11,0) 84%, var(--bg) 100%),
    linear-gradient(to left, rgba(14,12,11,.6) 0%, rgba(14,12,11,.72) 36%, rgba(14,12,11,.93) 60%, rgba(14,12,11,.96) 100%);
}

.contact-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 660px);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}

.contact-info h2{ margin-bottom: 18px; text-wrap: balance; }
.contact-sub{ max-width: 480px; text-wrap: pretty; font-size: calc(20px * var(--text-scale, 1)); color: var(--text-muted); margin-bottom: 28px; }
.contact-lines{
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-lines a,
.contact-lines .contact-line{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-size: calc(17px * var(--text-scale, 1));
  transition: color .3s ease;
}
.contact-lines a:hover{ color: var(--gold-light); }
.contact-lines svg{ width: 18px; height: 18px; flex: none; color: var(--gold-light); }
.contact-waze{ display: flex; flex-wrap: wrap; gap: 12px; }
.contact-waze svg{ width: 16px; height: 16px; color: var(--gold-light); }

/* כרטיס הטופס */
.form-card{
  position: relative;
  padding: clamp(24px, 2.4vw, 32px) clamp(24px, 2.6vw, 36px);
  border: 1px solid rgba(189,131,37,.55);
  border-radius: var(--radius);
  background: rgba(23,20,18,.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.lead-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}
.lead-form[hidden]{ display: none; }
.field{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full{ grid-column: 1 / -1; }
.field label{
  font-weight: 600;
  font-size: calc(14px * var(--text-scale, 1));
  color: var(--text-muted);
}
.req{ color: var(--gold-light); font-weight: 700; }
.form-req-note{
  margin: -6px 0 -4px;
  font-size: calc(14px * var(--text-scale, 1));
  color: var(--text-muted);
}

.lead-form input:not([type="checkbox"]),
.lead-form select,
.lead-form textarea{
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14,12,11,.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: calc(16px * var(--text-scale, 1));
  line-height: 1.4;
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.lead-form input[dir="ltr"]{ text-align: right; }
.lead-form input[dir="ltr"]:not(:placeholder-shown){ text-align: left; }
.lead-form textarea{ min-height: 76px; padding: 14px 16px; resize: vertical; }
.lead-form ::placeholder{ color: #8C8174; opacity: 1; }
.lead-form input:not([type="checkbox"]):hover,
.lead-form select:hover,
.lead-form textarea:hover{ border-color: #5A4E44; }
.lead-form input:not([type="checkbox"]):focus,
.lead-form select:focus,
.lead-form textarea:focus{
  border-color: var(--gold-mid);
  background: rgba(14,12,11,.75);
  box-shadow: 0 0 0 3px rgba(231,178,82,.12);
}
.lead-form [aria-invalid="true"]{ border-color: #E07A6E !important; }

/* select מעוצב עם חץ זהב */
.select-wrap{ position: relative; }
.lead-form select{
  -webkit-appearance: none;
  appearance: none;
  padding-left: 44px;
  cursor: pointer;
}
.lead-form select option{ background: var(--surface-2); color: var(--text); }
.select-wrap svg{
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--gold-light);
  pointer-events: none;
}

/* תיבת סימון מעוצבת */
.field--check{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px 12px;
}
.field--check input{
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 1px solid var(--gold-mid);
  border-radius: 3px;
  background: transparent center / 14px no-repeat;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.field--check input:checked{
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0C0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.field--check label{
  font-weight: 400;
  font-size: calc(15px * var(--text-scale, 1));
  line-height: 1.6;
  cursor: pointer;
}
.field--check label a{ color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.field--check .field-error{ grid-column: 1 / -1; }

/* הודעות שגיאה בשדות */
.field-error{
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: calc(14px * var(--text-scale, 1));
  line-height: 1.4;
  color: #F0A096;
}
.field-error[hidden]{ display: none; }
.field-error::before{
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #E07A6E;
}

/* honeypot: מוסתר מאנשים */
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* כפתור שליחה מעודן, וההערה לידו */
.form-actions{ display: flex; justify-content: center; margin-top: 6px; }
.form-submit{ position: relative; --btn-h: 48px; padding: 0 34px; font-size: calc(16px * var(--text-scale, 1)); flex: none; }
.form-submit__loading{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.form-submit.is-loading{ cursor: progress; }
.form-submit.is-loading .form-submit__text{ opacity: 0; }
.form-submit.is-loading .form-submit__loading{ opacity: 1; }
.form-submit:disabled{ transform: none; }
.form-note{
  margin: 0;
  text-wrap: pretty;
  font-size: calc(14px * var(--text-scale, 1));
  color: var(--text-muted);
}

.form-status--error{
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(224,122,110,.45);
  border-radius: var(--radius);
  background: rgba(224,122,110,.07);
  font-size: calc(15px * var(--text-scale, 1));
  line-height: 1.6;
  color: #F3D3CE;
}
.form-status--error[hidden]{ display: none; }
.form-status--error a{ color: var(--gold-light); }

.form-success{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 8px;
  text-align: center;
}
.form-success[hidden]{ display: none; }
.form-success:focus{ outline: none; }
.form-success__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--gold-mid);
  color: var(--gold-light);
  box-shadow: 0 0 40px -6px rgba(231,178,82,.35);
}
.form-success__icon svg{ width: 28px; height: 28px; }
.form-success p{
  margin: 0;
  max-width: 340px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(24px * var(--text-scale, 1));
  line-height: 1.5;
}

@media (max-width: 900px){
  .contact-inner{ grid-template-columns: minmax(0, 1fr); }
  .contact-bg img{ object-position: 35% 10%; }
  .contact-bg::after{
    background: linear-gradient(to bottom, rgba(14,12,11,.62) 0%, rgba(14,12,11,.72) 30%, rgba(14,12,11,.95) 55%, var(--bg) 100%);
  }
}
@media (max-width: 560px){
  .form-actions{ flex-direction: column; align-items: stretch; text-align: center; }
  .form-submit{ width: 100%; }
}

/* =========================================================
   16. תפריט נגישות
   ========================================================= */
.a11y-toggle{
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(189,131,37,.6);
  border-radius: 50%;
  background: rgba(23,20,18,.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.8);
  transition: border-color .3s ease, transform .4s var(--ease-out);
}
.a11y-toggle:hover{ border-color: var(--gold-light); transform: translateY(-2px); }
.a11y-toggle svg{ width: 24px; height: 24px; }

.a11y-panel{
  position: fixed;
  left: 24px;
  bottom: 88px;
  z-index: 86;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--gold-mid);
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
}
.a11y-panel[hidden]{ display: none; }
.a11y-panel__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.a11y-panel__head h2{ font-size: calc(20px * var(--text-scale, 1)); }
.a11y-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
}
.a11y-close svg{ width: 16px; height: 16px; }
.a11y-label{
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: calc(14px * var(--text-scale, 1));
  color: var(--text-muted);
}
.a11y-sizes{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.a11y-sizes button{
  min-height: 44px;
  padding: 0;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px; /* קבוע, כדי שארבעת הכפתורים ייכנסו בשורה */
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.a11y-sizes button[aria-pressed="true"]{
  border-color: var(--gold-mid);
  background: rgba(231,178,82,.1);
  color: var(--gold-light);
}
.a11y-toggles{ list-style: none; margin: 0 0 12px; padding: 0; }
.a11y-toggles li{ border-bottom: 1px solid var(--line); }
.a11y-switch{
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: calc(16px * var(--text-scale, 1));
  text-align: right;
  cursor: pointer;
}
.a11y-switch__track{
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color .3s ease, border-color .3s ease;
}
.a11y-switch__track::after{
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform .3s var(--ease-out), background-color .3s ease;
}
.a11y-switch[aria-pressed="true"] .a11y-switch__track{ border-color: var(--gold-mid); background: rgba(231,178,82,.18); }
.a11y-switch[aria-pressed="true"] .a11y-switch__track::after{ transform: translateX(-16px); background: var(--gold-light); }
.a11y-hint{
  margin: 0 0 4px;
  font-size: calc(14px * var(--text-scale, 1));
  color: var(--text-muted);
}
.a11y-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.a11y-reset{
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-weight: 600;
  font-size: calc(15px * var(--text-scale, 1));
  text-decoration: underline;
  text-decoration-color: var(--gold-mid);
  text-underline-offset: 4px;
  cursor: pointer;
}
.a11y-foot a{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: calc(15px * var(--text-scale, 1));
  color: var(--gold-light);
}
@media (max-width: 760px){
  .a11y-toggle{ left: 16px; bottom: 16px; width: 48px; height: 48px; }
  .a11y-panel{ left: 16px; bottom: 76px; }
}

/* ---------- מצבי תפריט הנגישות ---------- */
/* ניגודיות גבוהה */
html.a11y-contrast{
  --bg: #000000;
  --surface-1: #0B0A09;
  --surface-2: #151210;
  --line: #7A6B5E;
  --text: #FFFFFF;
  --text-muted: #E8E1D6;
  --gold-mid: #E7B252;
}
html.a11y-contrast body::before{ display: none; }
html.a11y-contrast .split__side--challenge .split__title{ color: var(--text-muted); }
html.a11y-contrast .contact-bg::after{ background: rgba(0,0,0,.9); }
html.a11y-contrast .svc-card__media::after{ background: linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.35) 100%); }
html.a11y-contrast .lead-form ::placeholder{ color: #BDB3A6; }

/* הדגשת קישורים */
html.a11y-links a:not(.btn):not(.skip-link){
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
  text-decoration-color: var(--gold-light) !important;
}
html.a11y-links a.btn,
html.a11y-links .svc-card__more{
  outline: 2px dashed var(--gold-light);
  outline-offset: 3px;
}

/* עצירת אנימציות */
html.a11y-motion-off *,
html.a11y-motion-off *::before,
html.a11y-motion-off *::after{
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-motion-off{ scroll-behavior: auto; }
html.a11y-motion-off .hero-ring{ transform: translate(-50%, -50%); }

/* =========================================================
   17. מובייל: דיוקים
   חוט הזהב עובר במובייל בצד ימין של המסך, מסקשן לסקשן
   ========================================================= */
@media (max-width: 760px){

  /* --- תחומי התמחות: הכרטיסים אחד מתחת לשני, על "סולם" זהב ---
     הקו יורד מהכותרת, פונה ימינה, ויורד לאורך הכרטיסים עם ענף לכל כרטיס */
  .services-head .gline--short{ margin-bottom: 0; }
  .svc-cards{
    --card-h: 280px;
    --rail: 30px;                 /* המרווח בין הקו לכרטיסים */
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
    margin-inline: 0;
    padding: 44px var(--rail) 0 0;
    scroll-snap-type: none;
  }
  .svc-cards::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    right: 4px;
    height: calc(100% - var(--card-h) / 2);
    border-top: 1.5px solid var(--gold-mid);
    border-right: 1.5px solid var(--gold-mid);
    border-top-right-radius: 22px;
    pointer-events: none;
  }
  .svc-cards.rail-anim::before{ border-right-color: var(--line); }
  .svc-cards::after{
    content: "";
    position: absolute;
    top: 22px;
    right: 4px;
    width: 1.5px;
    height: calc(100% - var(--card-h) / 2 - 22px);
    background: linear-gradient(to bottom, #BD8325, #E7B252 60%, #BD8325);
    transform-origin: top center;
    pointer-events: none;
  }
  .svc-cards.rail-anim::after{ transform: scaleY(var(--rail-p, 0)); }
  /* נקודה שעוד לא "נדלקה" */
  .svc-cards.rail-anim .svc-card:not(.is-lit)::after{
    background:
      radial-gradient(circle at calc(100% - 4.75px) 50%, #5A4E44 3.5px, transparent 4.2px),
      linear-gradient(var(--line), var(--line)) left center / calc(100% - 4px) 1.5px no-repeat;
  }
  .svc-card::after{ transition: filter .5s ease; }
  .svc-cards.rail-anim .svc-card.is-lit::after{ filter: drop-shadow(0 0 5px rgba(231,178,82,.8)); }
  .svc-card{
    flex: none;
    height: auto;
    padding-top: var(--card-h);
    overflow: visible;
    background: none;
    box-shadow: none;
  }
  .svc-card__media{
    bottom: auto;
    height: var(--card-h);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 24px 48px -28px rgba(0,0,0,.9);
  }
  .svc-card__body{ top: 0; bottom: auto; height: var(--card-h); justify-content: flex-end; }
  .svc-card__title{ min-height: 0; }
  /* ענף מהקו אל הכרטיס, עם נקודה על הקו */
  .svc-card::after{
    content: "";
    position: absolute;
    top: calc(var(--card-h) / 2 - 4px);
    right: calc(-1 * var(--rail) + 0px);
    width: var(--rail);
    height: 8px;
    background:
      radial-gradient(circle at calc(100% - 4.75px) 50%, var(--gold-light) 3.5px, transparent 4.2px),
      linear-gradient(var(--gold-mid), var(--gold-mid)) left center / calc(100% - 4px) 1.5px no-repeat;
    pointer-events: none;
  }
  /* פירוט התחום נפתח מתחת לכרטיס עצמו */
  .svc-card .svc-detail__frame{ --drop: 8px; }
  .svc-card .svc-detail__frame::after{ display: none; }
  .svc-card .svc-panel{ padding: 24px 0 8px; }
  .svc-card .svc-detail__close{ top: 20px; }
  /* שם התחום כבר כתוב על הכרטיס: מסתירים אותו כאן (נשאר לקוראי מסך), והכפתור עובר לסוף */
  .svc-card .svc-panel{ gap: 20px; }
  .svc-card .svc-panel__head{ order: 2; padding-left: 0; }
  .svc-card .svc-panel__title{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .svc-card .svc-panel__rule{ display: none; }
  .svc-card .svc-panel__body{ padding-left: 56px; }
  .svc-card .svc-panel__intro{ font-size: calc(16px * var(--text-scale, 1)); line-height: 1.7; }
  .svc-card .svc-panel__list li{ font-size: calc(17px * var(--text-scale, 1)); padding-block: 13px; }
  .svc-card .svc-panel__list li::before{ top: calc(13px + .75em - 3px); }

  /* --- האתגר וההזדמנות: ציר באמצע, כמו בדסקטופ ---
     האתגר למעלה (מעומעם), קו זהב עם נקודה במרכז, וההזדמנות מתחת (בזהב) */
  .split__line{ display: none; }
  .split__side,
  .split__side--challenge,
  .split__side--chance{
    text-align: center;
    align-items: center;
    padding: 36px 0;
  }
  .split__side--challenge{ padding-bottom: 0; }
  .split__side--chance{
    position: relative;
    margin-top: 28px;
    padding-top: 100px;
    background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(231,178,82,.08), transparent 75%);
  }
  /* הקו שמחבר בין האתגר להזדמנות */
  .split__side--chance::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1.5px;
    height: 68px;
    margin-left: -.75px;
    background: linear-gradient(to bottom, var(--line), #E7B252);
  }
  .split__side--chance::after{
    content: "";
    position: absolute;
    top: 64px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(231,178,82,.14), 0 0 18px rgba(231,178,82,.5);
  }
  .split__text{ max-width: 320px; }

  /* --- המלצות: ההמלצה ברוחב מלא, החצים מתחתיה --- */
  .reviews-carousel{ display: block; }
  .reviews-arrow{ display: none; }
  .reviews-carousel{ max-width: 420px; }
}

/* --- למה לבחור בי: מסלול מתפתל גם במובייל ---
   התחנות מתחלפות בין ימין לשמאל, והקו חוצה ביניהן בעיקול */
@media (max-width: 900px){
  .why-list{ gap: 72px; }
  .why-stop{ padding: 0 40px 0 0; }
  .why-stop:nth-child(even){ padding: 0 0 0 40px; }
  .why-dot{ top: 12px; right: -2.5px; left: auto; bottom: auto; margin: 0; }
  .why-stop:nth-child(even) .why-dot{ right: auto; left: -2.5px; }
}

/* --- מובייל, סבב 2 --- */
@media (max-width: 760px){
  /* תפריט עליון: ההמבורגר בימין והלוגו בשמאל */
  .header-inner{ flex-direction: row-reverse; }

  /* הירו: רחל וההילה קטנות יותר ורחוקות מהקצוות, והסמל יורד מתחת לתמונה */
  .hero-visual{ height: clamp(330px, 50vh, 460px); margin-inline: 8px; }
  .hero-stage{ left: 6%; right: 6%; }
  .hero-ring{ width: min(88%, 420px); }
  .hero-ring--b{ width: min(78%, 370px); }
  .hero-ring--c{ width: min(66%, 315px); }
  .hero-photo{ height: 94%; }
  .hero-text{ margin-top: 28px; }
  .hero-emblem{ width: 68px; }

  /* כפתורים צפים: שניהם בצד שמאל. הנגישות באמצע הגובה, הוואטסאפ למטה */
  .a11y-toggle{ left: 14px; bottom: auto; top: 50%; width: 46px; height: 46px; margin-top: -23px; }
  .a11y-toggle:hover{ transform: none; }
  .a11y-toggle svg{ width: 22px; height: 22px; }
  .a11y-panel{ left: 14px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .wa-float{ right: auto; left: 14px; bottom: 16px; }
  .wa-float__label{ right: auto; left: calc(100% + 12px); }
}

/* נקודות ההמלצות: מוצגות רק במובייל */
.reviews-dots{ display: none; }
.reviews-dot{
  position: relative;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.reviews-dot::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 999px;
  background: #5A4E44;
  transition: width .5s var(--ease-out), margin .5s var(--ease-out), background-color .4s ease;
}
.reviews-dot[aria-current="true"]::before{ width: 22px; margin-left: -11px; background: var(--gold-light); }

/* --- מובייל, סבב 3 --- */
@media (max-width: 760px){
  /* הירו: בלי הסמל מעל הכותרת */
  .hero-emblem{ display: none; }
  .hero-text{ margin-top: 20px; }

  /* תפריט המבורגר: עדין ונקי */
  .mobile-menu{
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 40px);
    background-image: radial-gradient(ellipse at 50% 20%, rgba(231,178,82,.06), transparent 60%);
  }
  .mobile-menu ul{ margin-bottom: 36px; }
  .mobile-menu li{ border-bottom-color: rgba(58,50,44,.7); }
  .mobile-menu a.mobile-link{
    min-height: 54px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: calc(20px * var(--text-scale, 1));
    letter-spacing: .02em;
  }
  .mobile-menu-actions{ gap: 10px; }
  .mobile-menu-actions .btn{ --btn-h: 48px; font-size: calc(15px * var(--text-scale, 1)); font-weight: 600; }

  /* קצת עליי: "להמשך קריאה" צמוד לטקסט, ו"בואו נדבר" מיד אחריו.
     הרצועה בגוון חם עד הסוף, כדי שתהיה הפרדה ברורה מתחומי ההתמחות */
  .about{ background: var(--surface-1); }
  .about-text .btn{ margin-top: 20px; }
  .about-text > [data-reveal]:last-child{ margin-top: 0; }

  /* המלצות: נקודות במקום חצים, ואפשר להחליק באצבע */
  .reviews-dots{ display: flex; justify-content: center; gap: 2px; margin-top: 28px; }

  /* טופס: מהודק יותר */
  .contact-sub{ font-size: calc(18px * var(--text-scale, 1)); margin-bottom: 18px; }
  .contact-lines{ margin-bottom: 20px; }
  .contact-lines a,
  .contact-lines .contact-line{ min-height: 40px; font-size: calc(16px * var(--text-scale, 1)); }
  .contact-waze{ gap: 8px; flex-wrap: nowrap; }
  .contact-waze .btn{ flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: calc(14px * var(--text-scale, 1)); }
  .form-card{ padding: 26px 22px; }
  .lead-form{ grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .field{ gap: 5px; }
  .field label{ font-size: calc(13px * var(--text-scale, 1)); }
  .lead-form input:not([type="checkbox"]),
  .lead-form select{ min-height: 46px; padding: 0 12px; }
  .lead-form textarea{ min-height: 64px; padding: 10px 12px; }
  .field--check label{ font-size: calc(14px * var(--text-scale, 1)); }
  .form-submit{ --btn-h: 48px; }
}
@media (max-width: 380px){
  .lead-form{ grid-template-columns: 1fr; }
}

/* --- מובייל, סבב 4 --- */
@media (max-width: 760px){
  /* פוטר ממורכז */
  .footer-grid{ text-align: center; gap: 36px; }
  .footer-col,
  .footer-col + .footer-col,
  .footer-col + .footer-col + .footer-col{ padding-inline-start: 0; border-inline-start: 0; }
  .footer-brand img{ margin-inline: auto; }
  .footer-brand p{ margin-inline: auto; }
  .footer-brand .social{ justify-content: center; }
  .footer-list{ align-items: center; }
  .footer-bottom{ flex-direction: column; align-items: center; text-align: center; margin-top: 40px; }
  .footer-bottom ul{ justify-content: center; }
  .site-footer{ padding-top: 64px; }

  /* המלצות: גובה אחיד לפי ההמלצה הארוכה ביותר, כדי שהסקשן לא ישנה גובה במעבר */
  .js .review{ align-self: center; }
  .reviews-dots{ margin-top: 14px; }
  .reviews-head{ margin-bottom: 28px; }
  .reviews-mark{ width: 52px; height: 35px; margin-bottom: 14px; }
  .review figcaption{ margin-top: 20px; gap: 10px; }
  .review figcaption::before,
  .review figcaption::after{ width: 12px; opacity: .6; }

  /* כותרות סקשנים: פחות אוויר מתחתן */
  .section-head{ margin-bottom: 40px; }

  /* הירו: מרווח ברור בין התמונה לטקסט */
  .hero-text{ margin-top: 32px; }
}

/* --- קצת עליי, טקסט חדש: מובייל --- */
@media (max-width: 760px){
  .about-lead{ margin-bottom: 28px; }
  .about-block + .about-block{ margin-top: 28px; }
  .about-block p,
  .about-list li{ font-size: calc(17px * var(--text-scale, 1)); }
  .about-body.is-collapsible:not(.is-open){ max-height: 11em; }
}

/* פוטר במובייל: הפריטים בשורה התחתונה אחד מתחת לשני, בלי נקודות */
@media (max-width: 560px){
  .footer-bottom ul{ flex-direction: column; gap: 0; }
  .footer-bottom li + li::before{ display: none; }
}

/* =====================================================
   טאבלט (761 עד 1180 פיקסלים): יותר אוויר בצדדים,
   והחלקים שבעמודה אחת מתכנסים למרכז המסך
   ===================================================== */
@media (min-width: 761px) and (max-width: 1180px){
  :root{ --gutter: clamp(56px, 7vw, 80px); }

  /* הירו: בלי הסמל מעל השם */
  .hero-emblem{ display: none; }

  /* תחומי התמחות: הכרטיסים והפירוט ברוחב מתון, באמצע */
  .svc-cards,
  .svc-detail{ max-width: 660px; margin-inline: auto; }

  /* שאלות ותשובות */
  .faq-inner{ max-width: calc(640px + var(--gutter) * 2); }

  /* המלצות */
  .reviews-carousel{ max-width: 680px; }

  /* טופס לידים: פרטי הקשר מעל הטופס, הכל בעמודה אחת באמצע */
  .contact-inner{
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
    margin-inline: auto;
    gap: 48px;
  }
  .contact-bg img{ object-position: 35% 10%; }
  .contact-bg::after{
    background: linear-gradient(to bottom, rgba(14,12,11,.62) 0%, rgba(14,12,11,.72) 30%, rgba(14,12,11,.95) 55%, var(--bg) 100%);
  }

  /* פוטר: הכל נכנס פנימה */
  .footer-grid,
  .footer-bottom{ max-width: 560px; margin-inline: auto; }

  .why .section-head h2{ text-wrap: balance; }
}

/* טאבלט רחב (901 עד 1180): בקצת עליי התמונה צרה יותר, כדי שלטקסט יהיה מקום */
@media (min-width: 901px) and (max-width: 1180px){
  .about-inner{ grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); }
}

/* טאבלט צר (761 עד 900): התמונה מעל הטקסט */
@media (min-width: 761px) and (max-width: 900px){
  /* הירו: מרווח ברור בין התמונה (וההילה) לבין השם */
  .hero-visual{ height: clamp(380px, 52vh, 520px); }
  .hero-text{ margin-top: 56px; }

  /* קצת עליי: הטקסט בעמודה מתונה באמצע */
  .about-text{ max-width: 600px; margin-inline: auto; }

  /* למה לבחור בי: המסלול המתפתל ברוחב מתון */
  .why-path{ max-width: 560px; margin-inline: auto; }
  .why .section-head{ text-align: center; }
  .why .section-head h2{
    white-space: nowrap;
    font-size: calc(clamp(24px, 3.9vw, 34px) * var(--text-scale, 1));
  }
}

/* ---------- מצבים נוספים בתפריט הנגישות ---------- */
/* גווני אפור. על ה-html, כדי שלא ישבור אלמנטים קבועים (תפריט עליון, כפתורים צפים) */
html.a11y-mono{ filter: grayscale(1); }

/* הדגשת כותרות: מסגרת מקווקוות סביב כל כותרת */
html.a11y-headings :is(h1, h2, h3, h4){
  outline: 2px dashed var(--gold-light);
  outline-offset: 6px;
}

/* גופן קריא: גופן מערכת פשוט במקום הפונטים העיצוביים */
html.a11y-font body,
html.a11y-font body *:not(svg):not(path){
  font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
}

/* ריווח שורות ומילים מוגדל (לפי WCAG 1.4.12) */
html.a11y-spacing :is(p, li, blockquote, label, dd){
  line-height: 2 !important;
  word-spacing: .16em !important;
}

/* סמן עכבר גדול: חץ לבן עם מתאר שחור, ויד לקישורים ולכפתורים */
html.a11y-cursor,
html.a11y-cursor *{
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.5-6.5 1 3.8 7-2.6 1.3-3.8-7.1L4 20z' fill='%23fff' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, auto !important;
}
html.a11y-cursor :is(a, button, label, select, summary, [role="button"]),
html.a11y-cursor :is(a, button, label, select, summary, [role="button"]) *{
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M9 11V4.5a1.5 1.5 0 0 1 3 0V10m0-.5V3a1.5 1.5 0 0 1 3 0v7m0-5.5a1.5 1.5 0 0 1 3 0V11m0-3.5a1.5 1.5 0 0 1 3 0V15a7 7 0 0 1-7 7h-1.5a7 7 0 0 1-5.6-2.8L3.3 15.4a1.6 1.6 0 0 1 2.4-2.1L9 16z' fill='%23fff' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 18 4, pointer !important;
}
html.a11y-cursor input:is([type="text"], [type="tel"], [type="email"]),
html.a11y-cursor textarea{ cursor: text !important; }

/* בהדפסה: בלי מצבי תפריט הנגישות */
@media print{
  html[class*="a11y-"]{ filter: none !important; --text-scale: 1 !important; }
  .a11y-toggle, .a11y-panel, .wa-float{ display: none !important; }
}

/* בטקסט מוגדל או בגופן קריא: קישורי התפריט בשורה אחת, ומילה ארוכה לא יוצאת מהמסך */
html:is(.a11y-text-130, .a11y-text-150, .a11y-font) .main-nav a{ white-space: nowrap; }
html:is(.a11y-text-130, .a11y-text-150, .a11y-font) :is(h1, h2, h3){ overflow-wrap: break-word; }

/* בטקסט 150%: התפריט העליון גדל עד 130%, כדי שכל הקישורים ייכנסו בשורה אחת */
html.a11y-text-150 .site-header{ --text-scale: 1.3; }
/* קיצור המקלדת רלוונטי רק כשיש מקלדת ועכבר */
@media (hover: none){ .a11y-hint{ display: none; } }

/* תפריט המבורגר בטאבלט: עמודה צרה וממורכזת, טקסט דק, קווים עדינים וכפתורים קטנים */
@media (min-width: 761px) and (max-width: 1180px){
  .mobile-menu{
    align-items: center;
    justify-content: flex-start;   /* התפריט מתחיל למעלה, קרוב לפס העליון */
    padding-top: calc(var(--header-h) + 56px);
    background-image: radial-gradient(ellipse at 50% 30%, rgba(231,178,82,.05), transparent 60%);
  }
  /* פס עליון כמו במובייל: ההמבורגר בימין והלוגו בשמאל */
  .header-inner{ flex-direction: row-reverse; }
  .header-actions{ flex-direction: row-reverse; }
  .mobile-menu nav,
  .mobile-menu-actions{ width: 100%; max-width: 400px; }
  .mobile-menu ul{ margin-bottom: 44px; }
  .mobile-menu li{ border-bottom-color: rgba(58,50,44,.6); }
  .mobile-menu a.mobile-link{
    justify-content: center;
    min-height: 58px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: calc(21px * var(--text-scale, 1));
    letter-spacing: .03em;
  }
  .mobile-menu-actions{ flex-direction: row; gap: 12px; }
  .mobile-menu-actions .btn{
    flex: 1;
    --btn-h: 48px;
    padding-inline: 16px;
    font-size: calc(15px * var(--text-scale, 1));
    font-weight: 600;
  }
  /* כניסה רכה: הקישורים עולים בהדרגה כשהתפריט נפתח */
  .js:not(.no-anim) .mobile-menu li,
  .js:not(.no-anim) .mobile-menu-actions{
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  }
  .js:not(.no-anim) .mobile-menu.is-open li,
  .js:not(.no-anim) .mobile-menu.is-open .mobile-menu-actions{ opacity: 1; transform: none; }
  .mobile-menu.is-open li:nth-child(2){ transition-delay: .04s; }
  .mobile-menu.is-open li:nth-child(3){ transition-delay: .08s; }
  .mobile-menu.is-open li:nth-child(4){ transition-delay: .12s; }
  .mobile-menu.is-open li:nth-child(5){ transition-delay: .16s; }
  .mobile-menu.is-open li:nth-child(6){ transition-delay: .2s; }
  .mobile-menu.is-open .mobile-menu-actions{ transition-delay: .26s; }
}
@media (min-width: 761px) and (max-width: 1180px) and (prefers-reduced-motion: reduce){
  .js .mobile-menu li, .js .mobile-menu-actions{ opacity: 1 !important; transform: none !important; transition: none !important; }
}
