/* ==========================================================================
   Eilat Wellness · main.css
   Mobile-first. רק logical properties (inline/block), כך שהקובץ עובד ב-RTL בלי rtl.css נפרד.
   → WordPress: נטען דרך wp_enqueue_style בתבנית.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: only light; /* בלי מצב כהה כפוי של הדפדפן: הוא הופך צבעים ושובר את הלוגו */
  /* מותג */
  --accent: #F48BA7;
  --rose-600: #B0456A; /* הוכהה מ-#C4577A: ניגודיות 4.5:1 לטקסט קטן על לבן/קרם ולטקסט לבן על כפתור ורוד (ת"י 5568 AA) */
  --rose-700: #8A3A57;
  --rose-900: #3A1926;
  --rose-100: #FCE8EE;
  --rose-200: #F4E7EC;
  --rose-300: #E4A9BC;
  --rose-chip: #C14F74;      /* צ׳יפ עם טקסט לבן: הוורוד הבהיר ביותר שעובר 4.5:1 */
  --rose-muted: #7D5E68;
  --rose-soft: #B49BA3;

  --green-950: #14332A;
  --green-900: #1B332B;
  --green-800: #1E4438;
  --green-700: #2E6A57;
  --mint-100: #DFF2EC;
  --mint-300: #A8D8C9;
  --mint-400: #7FBFA9;
  --wa: #5BBF7B;

  --cream: #FAF4F0;          /* הגוון מקובץ הצבעים של הלוגו */
  --cream-rgb: 250, 244, 240;
  --white: #FFFFFF;
  --off-white: #F7F9F6;
  --ink: #3E352C;
  --text: #5C554C;
  --text-muted: #6B6259; /* 5.5:1 על קרם */
  --plum: #3A2C34;

  --line: rgba(30, 68, 56, .08);
  --line-strong: rgba(30, 68, 56, .16);

  /* טיפוגרפיה: Assistant לטקסט, Frank Ruhl Libre לכותרות */
  --font-body: Assistant, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  /* משקלים: כל הטקסט הרץ והכותרות הדקות נשלטים מכאן (היו 300, דק מדי לקריאה על רקעים בהירים) */
  --fw-text: 500;   /* פסקאות, תיאורים, שדות טופס, פוטר. גם ברירת המחדל של body */
  --fw-title: 500;  /* כותרות גדולות וציטוטים שהיו דקים */

  /* מידות */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --section-y: clamp(56px, 8vw, 104px);
  --radius: 16px;
  --radius-lg: 20px;
  --pill: 100px;
  --nav-h: 72px;                              /* סרגל הניווט */
  --topbar-h: 40px;                           /* הפס העליון (טלפון, מייל, רשתות) */
  --header-h: calc(var(--nav-h) + var(--topbar-h)); /* כל האזור הנעוץ למעלה - משמש לכל ה-sticky באתר */

  --shadow-card: 0 30px 54px -28px rgba(45, 29, 36, .4);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green-800); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
a:hover { color: var(--rose-600); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rose-600); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { inline-size: 20px; block-size: 20px; flex: none; }

.skip-link {
  position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 200;
  background: var(--green-800); color: var(--white); padding: 10px 18px; border-radius: var(--pill);
}
.skip-link:focus { inset-block-start: 12px; color: var(--white); }

.container { position: relative; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }

/* ---------- Atoms ---------- */
.dot { display: inline-block; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; }
.dot--accent { background: var(--accent); }
.dot--mint { background: var(--mint-300); }
.dot--wa { background: var(--wa); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-muted);
  margin-block-end: 14px;
}
.eyebrow--light { color: var(--rose-300); }
.eyebrow__line { inline-size: 30px; block-size: 1px; background: linear-gradient(90deg, var(--mint-300), var(--accent)); }

/* clip ולא hidden: hidden יוצר scroll container ושובר position: sticky */
.section { position: relative; padding-block: var(--section-y); overflow: hidden; overflow: clip; }
.section-title {
  font-family: var(--font-display); font-weight: var(--fw-title); font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.15; letter-spacing: -.02em; color: var(--green-900); text-wrap: balance;
}
.section-title--light { color: var(--off-white); }
.section-text { font-size: 17px; font-weight: var(--fw-text); color: var(--text); max-width: 52ch; margin-block-start: 14px; text-wrap: pretty; }
.section-head { margin-block-end: clamp(34px, 5vw, 52px); }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 26px; }

.card-title { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--green-900); margin-block-end: 8px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

.link-underline {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; color: var(--green-800);
  border-block-end: 1px solid var(--accent); padding-block: 8px 3px;
}

/* כפתורים - גובה מינימלי 48px למגע נוח בנייד */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-block-size: 48px; padding: 12px 26px; border-radius: var(--pill); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.btn--lg { font-size: 16px; padding: 16px 32px; min-block-size: 54px; }
.btn--block { display: flex; inline-size: 100%; }
.btn--primary { background: var(--green-800); color: var(--off-white); }
.btn--primary:hover { background: var(--green-700); color: var(--white); }
.btn--outline { border-color: rgba(196, 87, 122, .35); color: var(--green-800); background: rgba(255, 255, 255, .35); }
.btn--outline:hover { background: var(--white); color: var(--rose-600); }
.btn--accent { background: var(--accent); color: var(--rose-900); }
.btn--accent:hover { color: var(--rose-900); box-shadow: 0 14px 30px -14px rgba(244, 139, 167, .8); }
.btn--pink { background: var(--rose-600); color: var(--white); white-space: normal; }
.btn--pink:hover { background: var(--rose-700); color: var(--white); }
.btn--pink .icon, .contact__partner .btn--primary .icon { color: currentColor; }
.btn--gradient { background: linear-gradient(120deg, var(--green-800) 0%, var(--green-700) 60%, var(--rose-600) 150%); color: var(--off-white); border: 0; }
.btn--gradient:hover { color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: var(--fw-text); padding: 5px 12px; border-radius: var(--pill); }
.chip--mint { color: var(--green-800); background: var(--mint-100); }
.chip--rose { color: var(--rose-700); background: var(--rose-100); }
.chip--white { color: var(--green-800); background: rgba(255, 255, 255, .75); padding: 7px 15px; }

/* תמונה / placeholder */
.media { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.media img, .media video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-width: none; object-fit: cover; }
.media--rose { background: repeating-linear-gradient(135deg, #EDE3E6 0 11px, #E6DCE0 11px 22px); color: #8A7078; }
.media--mint { background: repeating-linear-gradient(135deg, #E4EEE9 0 11px, #DCE8E3 11px 22px); color: #6E8A80; }
.media--sage { background: repeating-linear-gradient(135deg, #D5E6E0 0 11px, #CADFD8 11px 22px); color: #4E7A6C; }
.media--dark { background: rgba(247, 249, 246, .06); color: rgba(223, 242, 236, .6); }
.media__label {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; text-align: center;
  background: rgba(255, 255, 255, .85); padding: 6px 11px; border-radius: 4px;
}

/* סמל הלוטוס כקישוט רקע */
.deco { position: absolute; pointer-events: none; opacity: .08; }
.deco img { inline-size: 100%; block-size: auto; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-950); color: var(--mint-100); font-size: 13px; font-weight: var(--fw-text); }
.topbar__inner { display: flex; align-items: center; gap: 14px 22px; block-size: var(--topbar-h); }
.topbar a { color: var(--mint-100); }
.topbar a:hover { color: var(--white); }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone .icon { inline-size: 15px; block-size: 15px; color: var(--accent); }
.topbar__email { display: none; opacity: .6; }
.topbar__trust { display: none; opacity: .62; }
.topbar__social { display: inline-flex; gap: 4px; margin-inline-start: auto; }
.topbar__social a { display: grid; place-items: center; inline-size: 32px; block-size: 32px; opacity: .8; }
.topbar__social .icon { inline-size: 17px; block-size: 17px; }

/* ---------- Header ---------- */
/* הפס העליון + סרגל הניווט נעוצים יחד */
.site-top { position: sticky; inset-block-start: 0; z-index: 70; }
.site-header {
  position: relative;
  background: rgba(var(--cream-rgb), .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line); /* קו תחתון שלא מוסיף גובה, כך שהגובה תואם בדיוק ל---header-h */
}
.site-header__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); block-size: var(--nav-h); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { block-size: 42px; inline-size: auto; }

.main-nav { display: none; gap: clamp(18px, 2.2vw, 30px); font-size: 15px; font-weight: var(--fw-text); }
.main-nav a { color: var(--ink); padding-block: 4px; }
.main-nav a:hover { color: var(--rose-600); }
.site-header__cta { display: none; margin-inline-start: auto; font-size: 14.5px; }

.menu-toggle {
  margin-inline-start: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  inline-size: 46px; block-size: 46px; padding: 0;
  background: none; border: 1px solid rgba(30, 68, 56, .18); border-radius: 12px;
}
.menu-toggle span { display: block; inline-size: 19px; block-size: 1.5px; background: var(--green-800); transition: transform .3s var(--ease-out), opacity .2s ease; }
.menu-toggle span:last-child { background: var(--rose-600); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 2px;
  border-block-start: 1px solid var(--line); background: var(--cream);
  padding: 10px var(--gutter) 22px;
  max-block-size: calc(100dvh - var(--header-h)); overflow-y: auto;
  animation: panelIn .3s ease both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  color: var(--ink); font-size: 17px; font-weight: var(--fw-text); padding: 14px 12px; border-radius: 10px;
  border-block-end: 1px solid rgba(30, 68, 56, .06); transition: background-color .15s ease, color .15s ease;
}
/* ריחוף / מיקוד: רקע ורוד בהיר. הפריט הפעיל (האזור שבו נמצאים, או בזמן לחיצה): ורוד מלא עם טקסט לבן */
.mobile-menu a:not(.btn):hover, .mobile-menu a:not(.btn):focus-visible { background: var(--rose-100); color: var(--rose-700); border-block-end-color: transparent; }
.mobile-menu a:not(.btn):active, .mobile-menu a:not(.btn)[aria-current="true"] { background: var(--rose-600); color: var(--white); border-block-end-color: transparent; }
.main-nav a[aria-current="true"] { color: var(--rose-600); }
.mobile-menu .btn { margin-block-start: 14px; font-size: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--cream); }
/* הרקע שנחשף סביב הקשת בסוף הגלילה */
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 90% at 88% 6%, var(--rose-100) 0%, rgba(252, 232, 238, 0) 52%),
    radial-gradient(70% 60% at 8% 100%, rgba(244, 139, 167, .14) 0%, rgba(244, 139, 167, 0) 60%),
    linear-gradient(180deg, var(--mint-100) 0%, var(--cream) 78%);
}
/* טקסטורת גרעין עדינה (SVG noise) */
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .47 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.deco--hero-a { inset-block-start: -40px; inset-inline-end: -120px; inline-size: min(620px, 80vw); opacity: .1; animation: drift 13s ease-in-out infinite; }
.deco--hero-b { inset-block-end: -60px; inset-inline-start: -140px; inline-size: min(460px, 70vw); opacity: .07; animation: drift 17s ease-in-out infinite reverse; }

/* הבמה: גובה מסך מלא מתחת להדר */
.hero__stage {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-block-size: max(560px, calc(100svh - var(--header-h)));
}

/* התמונה: מכסה את כל הבמה בפתיחה; בגלילה ה-clip-path שלה מתכווץ לצורת הקשת */
.hero__media { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--green-900); will-change: clip-path; }
.hero__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; transform-origin: 50% 50%; }
/* הצללה לקריאות הטקסט: מלמעלה בנייד, מימין (צד הטקסט) בדסקטופ */
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 36, 30, .78) 0%, rgba(14, 36, 30, .5) 42%, rgba(14, 36, 30, .08) 70%, rgba(14, 36, 30, .2) 100%);
}

.hero__grid {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr;
  align-items: stretch; gap: 22px;
  padding-block: clamp(26px, 5vw, 64px) 70px;
}
/* בנייד הטקסט יושב מעל התמונה. בלי z-index, .hero__arch (position: relative) נצבע
   מעל עמודת הטקסט הסטטית, שקוף אבל קולט את הקליקים, והכפתורים נראים ולא מגיבים. */
.hero__textcol { display: grid; position: relative; z-index: 2; }
.hero__content, .hero__reveal { grid-area: 1 / 1; }

/* טקסט הפתיחה (לבן, על התמונה) */
.hero__content { color: var(--white); }
.hero__content .eyebrow { margin-block-end: 16px; letter-spacing: .16em; font-size: 11.5px; color: rgba(255, 255, 255, .85); }
.hero__content .eyebrow__line { background: linear-gradient(90deg, rgba(255, 255, 255, .4), var(--accent)); }
.hero__title {
  font-weight: 200; font-size: clamp(38px, 10.5vw, 76px); line-height: 1.05; letter-spacing: -.03em;
  color: var(--white); margin-block-end: 16px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero__title > span { display: block; }
/* nowrap כדי ש"באילת ובערבה" לא יישבר ויישאיר מילה יתומה בשורה נפרדת */
.hero .hero__title em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero__text { font-size: clamp(16px, 1.6vw, 19px); font-weight: var(--fw-text); line-height: 1.45; color: rgba(255, 255, 255, .92); max-width: 42ch; margin-block-end: 22px; text-wrap: pretty; text-shadow: 0 1px 18px rgba(0, 0, 0, .3); }
.hero__actions { display: flex; flex-wrap: nowrap; gap: 10px; margin-block-end: 22px; }
.hero__actions .btn { flex: 1 1 0; padding-inline: 14px; }
.btn--light { background: var(--white); color: var(--green-900); }
.btn--light:hover { background: var(--cream); color: var(--green-900); }
.btn--glass { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); color: var(--white); }
.hero .btn .icon { color: var(--wa); inline-size: 19px; block-size: 19px; }
.hero__badges { display: none; flex-wrap: wrap; gap: 6px 0; font-size: 13.5px; font-weight: var(--fw-text); color: rgba(255, 255, 255, .8); }
.hero__badges li:not(:last-child)::after { content: "·"; color: rgba(255, 255, 255, .5); margin-inline: 12px; }

/* מילות המותג ומשפט הסיום - נחשפים בסוף הגלילה על רקע הקרם */
.hero__reveal { align-self: center; display: flex; flex-direction: column; gap: 14px; }
.hero__words { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--rose-600); }
.hero__words span, .hero__line { opacity: 0; }
.hero__reveal { pointer-events: auto; }
.hero__reveal-actions { display: flex; gap: 10px; margin-block-start: 8px; visibility: hidden; opacity: 0; }
.hero__reveal-actions .btn { flex: 1 1 0; padding-inline: 14px; }
/* הפסקה ונקודות האמון שמופיעות עם הקריאה לפעולה אחרי הגלילה */
.hero__reveal-text { font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.55; color: var(--text); max-width: 46ch; visibility: hidden; opacity: 0; }
.hero__reveal-badges { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--text-muted); visibility: hidden; opacity: 0; }
.hero__reveal-badges li:not(:last-child)::after { content: "·"; color: var(--rose-300); margin-inline: 10px; }
.hero__line { font-size: clamp(30px, 7.6vw, 54px); line-height: 1.12; letter-spacing: -.01em; color: var(--green-900); max-width: 16ch; text-wrap: balance; }

/* הקשת: יעד התמונה. מסגרת דקה ולוטוס מעליה */
.hero__arch { position: relative; inline-size: 100%; min-block-size: 220px; margin-inline: auto; }
.hero__frame {
  --frame: rgba(196, 87, 122, .45);
  --frame-gap: 10px; /* המרחק בין התמונה למסגרת, שווה מכל הצדדים */
  position: absolute; inset: calc(-1 * var(--frame-gap)); border: 1px solid var(--frame); pointer-events: none;
  /* --arch-r מגיע מה-JS (רדיוס הקשת של התמונה). המסגרת קונצנטרית: אותו רדיוס ועוד המרחק */
  border-radius: calc(var(--arch-r, 999px) + var(--frame-gap)) calc(var(--arch-r, 999px) + var(--frame-gap)) calc(18px + var(--frame-gap)) calc(18px + var(--frame-gap));
}
.hero__lotus {
  position: absolute; inset-block-start: -52px; inset-inline-start: 50%; transform: translateX(50%);
  inline-size: 64px; aspect-ratio: 148 / 90; animation: lotusFloat 6s ease-in-out infinite;
}
.hero__lotus-img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
/* המסגרת והלוטוס מוסתרים בפתיחה ומופיעים בזמן הכיווץ (JS) */
/* נעיצת הבמה בזמן אנימציית הגלילה: sticky של הדפדפן (חלק בכל מכשיר). אורך הנעיצה הוא גובה ה-::after:
   אלמנט ולא padding, כי sticky נצמד רק בתוך אזור התוכן של ההורה.
   svh ולא dvh: לא משתנה כשסרגל הכתובת של הנייד נעלם, כך שהעמוד לא קופץ. */
.hero.is-scrolly::after { content: ""; display: block; block-size: 140vh; block-size: 140svh; }
.hero.is-scrolly .hero__stage { position: sticky; inset-block-start: var(--header-h); }
.hero.is-scrolly .hero__frame, .hero.is-scrolly .hero__lotus { opacity: 0; }
.hero__stat {
  position: absolute; inset-block-end: 18px; inset-inline-start: -8px; z-index: 3;
  display: flex; align-items: center; gap: 14px; opacity: 0;
  background: var(--white); border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 22px 44px -22px rgba(30, 68, 56, .35);
}
.hero__stat-number { font-size: 32px; font-weight: var(--fw-title); color: var(--rose-600); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stat-label { font-size: 13px; font-weight: var(--fw-text); color: var(--text); line-height: 1.4; }

/* רמז גלילה */
.hero__hint {
  position: absolute; z-index: 3; inset-block-end: 14px; inset-inline-start: 50%; transform: translateX(50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .85);
}
.hero__hint:hover { color: var(--white); }
.hero__hint-line { inline-size: 1px; block-size: 34px; background: linear-gradient(var(--white), transparent); animation: hint 2s ease-in-out infinite; transform-origin: top; }

/* בלי JS / reduced-motion: מצב הפתיחה הוא הסופי - הקשת והלוטוס לא מוצגים */
.hero:not(.is-scrolly) .hero__arch, .hero:not(.is-scrolly) .hero__reveal { visibility: hidden; }

/* ---------- Trust ---------- */
.trust { background: var(--white); border-block: 1px solid rgba(30, 68, 56, .07); padding-block: var(--section-y); overflow: hidden; }
.trust__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-block-end: 38px; }
.trust__lead { font-size: clamp(18px, 2vw, 21px); font-weight: var(--fw-text); color: var(--green-800); max-width: 44ch; margin-block-start: 16px; text-wrap: balance; }
.trust__head .section-text { margin-inline: auto; }
.marquee {
  overflow: hidden; margin-block-end: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track { --gap: clamp(36px, 5vw, 64px); display: flex; inline-size: max-content; animation: marquee 34s linear infinite; }
/* כל קבוצה כוללת את הרווח שאחריה, כך שכל העותקים ברוחב זהה והלולאה חלקה */
.marquee__group { display: flex; flex: none; gap: var(--gap); padding-inline-end: var(--gap); }
.client { display: inline-flex; align-items: center; gap: 12px; flex: none; font-size: clamp(20px, 2.4vw, 26px); font-weight: var(--fw-title); color: var(--green-800); white-space: nowrap; }
.client__mark { inline-size: 26px; block-size: auto; opacity: .75; }

.trust__stats { max-width: 1000px; display: grid; grid-template-columns: 1fr; }
.stat { text-align: center; padding-block: 16px; }
.stat + .stat { border-block-start: 1px solid rgba(30, 68, 56, .1); }
.stat__number { font-size: clamp(44px, 5vw, 56px); font-weight: 200; color: var(--green-800); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__number--accent { color: var(--rose-600); }
.stat__label { font-size: 14px; font-weight: var(--fw-text); color: var(--text-muted); margin-block-start: 8px; }

/* ---------- Activities ---------- */
/* ---------- כרטיסי הפעילויות: גלילה רגילה, כרטיס אחרי כרטיס (בלי נעיצה) ---------- */
.stack { position: relative; display: grid; gap: 18px; }
.stack__card {
  --bg: var(--green-800); --fg: var(--off-white); --muted: rgba(223, 242, 236, .78); --chip: rgba(255, 255, 255, .14);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); color: var(--fg);
  border-radius: 26px;
  box-shadow: 0 -10px 40px -24px rgba(20, 51, 42, .45), 0 30px 60px -40px rgba(20, 51, 42, .5);
}
/* צבע לכל כרטיס מתוך פלטת המותג */
.stack__item:nth-child(6n+2) .stack__card { --bg: #CEDBD0; --fg: var(--green-900); --muted: #41544C; --chip: rgba(255, 255, 255, .6); }
.stack__item:nth-child(6n+3) .stack__card { --bg: var(--rose-600); --fg: var(--white); --muted: rgba(255, 255, 255, .94); --chip: rgba(58, 25, 38, .28); }
.stack__item:nth-child(6n+4) .stack__card { --bg: var(--rose-200); --fg: var(--green-900); --muted: var(--text); --chip: rgba(255, 255, 255, .75); }
.stack__item:nth-child(6n+5) .stack__card { --bg: #006859; --fg: var(--off-white); --muted: rgba(223, 242, 236, .96); --chip: rgba(0, 40, 34, .3); }
.stack__item:nth-child(6n+6) .stack__card { --bg: var(--plum); --fg: var(--off-white); --muted: rgba(247, 249, 246, .78); --chip: rgba(255, 255, 255, .12); }

.stack__image { order: -1; flex: none; block-size: 38vh; min-block-size: 220px; border-radius: 26px 26px 0 0; }
.stack__body { display: flex; flex-direction: column; justify-content: center; padding: 20px 22px 24px; }
.stack__title { font-family: var(--font-display); font-size: clamp(28px, 7vw, 52px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin-block-end: 12px; }
.stack__text { font-size: clamp(16px, 1.5vw, 19px); font-weight: var(--fw-text); line-height: 1.65; color: var(--muted); margin-block-end: 18px; max-width: 34ch; }
.stack__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__chip { font-size: 13.5px; padding: 6px 14px; border-radius: var(--pill); background: var(--chip); color: var(--fg); }

.deco--activities { inset-block-start: 40px; inset-inline-end: -160px; inline-size: 520px; }

.all-activities { margin-block-start: clamp(44px, 6vw, 72px); text-align: center; }
.all-activities__title { margin: 0; font-size: clamp(24px, 2.8vw, 32px); font-weight: 500; color: var(--green-900); }

/* ---------- "כל החוויות שלנו": קרוסלת החלקה ----------
   נייד: כרטיס ברוחב 78% והבא מציץ מהצד, מחליקים באצבע. 640+: שני כרטיסים. 1080+: שלושה, וחיצים ליד הכותרת. */
.all-activities__head { display: flex; align-items: center; justify-content: center; gap: 16px; }
.exp-nav { display: none; gap: 8px; }
.exp-nav__btn {
  display: grid; place-items: center; inline-size: 46px; block-size: 46px; padding: 0; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(30, 68, 56, .2); background: var(--white); color: var(--green-900);
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
.exp-nav__btn:hover:not(:disabled) { color: var(--rose-600); border-color: var(--rose-600); }
.exp-nav__btn:disabled { opacity: .35; cursor: default; }
.exp-nav__btn svg { inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.exp-carousel {
  list-style: none; margin: 20px calc(var(--gutter) * -1) 0; padding: 6px var(--gutter) 22px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; text-align: start;
}
.exp-carousel::-webkit-scrollbar { display: none; }
.exp-carousel:focus-visible { outline: 2px solid var(--rose-600); outline-offset: 4px; border-radius: 12px; }
.exp-card {
  scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 22px; box-shadow: 0 18px 40px -30px rgba(20, 51, 42, .5);
}
.exp-card__media { aspect-ratio: 4 / 5; flex: none; }
.exp-card__media .media__label { display: none; }
.exp-card__body { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 20px; }
.exp-card__title { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.15; color: var(--green-900); }
.exp-card__en { font-size: 12.5px; letter-spacing: .08em; color: var(--rose-muted); }
.exp-card__desc { margin-block-start: 8px; font-size: 15px; font-weight: var(--fw-text); line-height: 1.6; color: var(--text); }
.exp-progress { position: relative; inline-size: min(220px, 50%); block-size: 3px; margin: 4px auto 0; border-radius: 3px; background: rgba(30, 68, 56, .12); overflow: hidden; }
.exp-progress span {
  position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 3px;
  inline-size: calc(var(--w, .25) * 100%); transform: translateX(calc(var(--x, 0) * -100%));
  background: linear-gradient(90deg, var(--rose-600), var(--rose-300));
}
@media (min-width: 640px) { .exp-carousel { grid-auto-columns: calc((100% - 2 * var(--gutter) - 14px) / 2); } }
@media (min-width: 1080px) {
  .all-activities__head { justify-content: space-between; }
  .exp-nav { display: flex; }
  .exp-carousel { gap: 20px; grid-auto-columns: calc((100% - 2 * var(--gutter) - 40px) / 3); }
}
.all-activities__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--white); border: 1px solid rgba(196, 87, 122, .18); border-radius: var(--pill);
  padding: 10px 18px; font-size: 15px; color: var(--green-900);
  transition: border-color .25s ease, transform .25s var(--ease-out);
}
.pill:hover { border-color: var(--rose-600); transform: translateY(-2px); }
.pill__en { font-size: 11.5px; letter-spacing: .06em; color: var(--rose-muted); }
.all-activities__note { font-size: 15px; font-weight: var(--fw-text); color: var(--text-muted); margin-block-start: 22px; }

/* ---------- Audiences ---------- */
.audiences { background: linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 58%, var(--plum) 100%); }
.deco--audiences { inset-block-end: -120px; inset-inline-start: -120px; inline-size: 520px; opacity: .1; }

.tabs {
  display: flex; align-items: center; gap: 8px; padding-block: 4px; margin-block-end: 28px; margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
/* טאבים: הלא-פעילים הם תיבות לבנות קטנות ומעוגלות עם כיתוב ירוק (ברור שיש עוד טאבים ללחוץ עליהם).
   הפעיל בלי תיבה: כיתוב לבן וקו תחתון בגרדיאנט, כמו בעיצוב המקורי */
.tabs__tab {
  position: relative; flex: none; scroll-snap-align: start;
  background: rgba(255, 255, 255, .94); border: 0; border-radius: 9px; color: var(--green-800);
  font-size: 15px; font-weight: 600; padding: 4px 14px; min-block-size: 33px; line-height: 1.5; /* משקל זהה בכל המצבים, כדי שהטאבים לא יזוזו בבחירה */
  transition: background-color .2s ease, color .2s ease;
}
.tabs__tab:hover { background: var(--white); color: var(--rose-700); }
.tabs__tab[aria-selected="true"] { background: transparent; color: var(--white); }
.tabs__tab::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline: 14px; block-size: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--mint-300), var(--accent));
  transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }

.audience {
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 28px;
  background: rgba(247, 249, 246, .055); border: 1px solid rgba(228, 169, 188, .22); border-radius: 18px;
  padding: 26px 20px;
  animation: panelIn .45s ease both;
}
.audience[hidden] { display: none; }
.audience__quote { font-size: clamp(20px, 2.2vw, 23px); font-weight: var(--fw-title); line-height: 1.55; color: var(--off-white); margin-block-end: 18px; }
.audience__text { font-size: 16px; font-weight: var(--fw-text); line-height: 1.75; color: rgba(223, 242, 236, .8); margin-block-end: 22px; }
.audience__points { display: flex; flex-direction: column; gap: 14px; margin-block-end: 28px; }
.audience__points li { font-size: 15px; font-weight: var(--fw-text); line-height: 1.9; color: rgba(223, 242, 236, .82); }
/* שם השירות כצ׳יפ עם טקסט לבן. --rose-chip הוא הוורוד הבהיר ביותר בגוון המותג
   שעדיין נותן ללבן 4.53:1 (תקן AA). ורוד בהיר מזה ייראה טוב יותר אבל הטקסט לא יהיה קריא. */
.audience__point-name {
  display: inline-block; padding-block: 3px; padding-inline: 12px;
  border-radius: 999px; background: var(--rose-chip); color: var(--white);
  font-size: 14px; font-weight: 600;
}
.audience__point-text::before { content: " - "; }
/* נייד: התיאור יורד לשורה משלו מתחת לתת-הכותרת, מוזח פנימה עם חץ קטן (במקום המקף),
   צמוד לתת-הכותרת שלו ורחוק מהסעיף הבא, כדי שיהיה ברור שכל זוג הוא סעיף נפרד */
@media (max-width: 639px) {
  .audience__points { gap: 22px; }
  .audience__points li { line-height: 1.5; }
  .audience__point-text { display: flex; align-items: flex-start; gap: 8px; margin-block-start: 3px; padding-inline-start: 16px; }
  .audience__point-text::before {
    content: ""; flex: none; inline-size: 14px; block-size: 14px; margin-block-start: .22em;
    /* חץ פינתי: יורד מהתת-כותרת ופונה שמאלה אל הטקסט (RTL) */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23E4A9BC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.5 2v4.5a2 2 0 0 1-2 2H3'/%3E%3Cpath d='M5.8 5.6 3 8.5l2.8 2.9'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
.audience__image { aspect-ratio: 4 / 3; border-radius: 14px; order: -1; } /* נייד: התמונה מעל הטקסט */

/* ---------- How ---------- */
.steps { position: relative; margin-block-end: clamp(48px, 7vw, 84px); }
.steps__line { display: none; }
.steps__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; }
.step { padding: 30px 26px 32px; }
.step { position: relative; }
.step__num { display: inline-block; overflow: hidden; vertical-align: bottom; font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--rose-600); }
.step__num > span { display: inline-block; }

/* ציר זמן אנכי (נייד): קו שנמתח בגלילה ונקודה לכל צעד */
.steps__rail { position: absolute; inset-block: 30px 30px; inset-inline-start: 11px; inline-size: 2px; background: rgba(30, 68, 56, .12); border-radius: 2px; }
.steps__rail span { display: block; inline-size: 100%; block-size: 100%; background: linear-gradient(var(--mint-300), var(--accent)); transform-origin: top; transform: scaleY(var(--rail, 1)); border-radius: 2px; }
.step__dot {
  position: absolute; inset-block-start: 34px; inset-inline-start: -30px;
  inline-size: 16px; block-size: 16px; border-radius: 50%;
  background: var(--cream); border: 2px solid rgba(30, 68, 56, .2);
  transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s var(--ease-out);
}
.step.is-lit .step__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(244, 139, 167, .2); transform: scale(1.1); }
.steps__grid { padding-inline-start: 34px; }
.step .card-title { font-size: 23px; margin-block: 12px 10px; }
.step__text { font-size: 15.5px; font-weight: var(--fw-text); line-height: 1.7; color: var(--text); }

.why {
  display: grid; grid-template-columns: 1fr; gap: 26px;
  background: linear-gradient(120deg, var(--mint-100) 0%, var(--rose-200) 100%);
  border-radius: var(--radius-lg); padding: 22px 18px;
}
.why .eyebrow { margin-block-end: 8px; }
.why__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: var(--fw-title); line-height: 1.15; letter-spacing: -.02em; color: var(--green-900); }
.why__list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.why__item {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255, 255, 255, .7); border-radius: 12px; padding: 10px 14px;
  font-size: 15.5px; font-weight: var(--fw-text); line-height: 1.45; color: var(--green-900);
}
.why__mark { flex: none; inline-size: 26px; block-size: auto; margin-block-start: 2px; transform-origin: 50% 70%; }
.why__item [data-why-text] { display: block; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); border-block-start: 1px solid rgba(30, 68, 56, .07); }
/* Masonry בעמודות: התמונות ביחס המקורי, בלי חיתוך */
.masonry { column-count: 2; column-gap: 10px; margin-block-end: 44px; }
.masonry__item { break-inside: avoid; margin: 0 0 10px; border-radius: 14px; overflow: hidden; background: var(--mint-100); }
.masonry__item img, .masonry__item video { inline-size: 100%; block-size: auto; transition: transform 1.1s var(--ease-out); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__link { position: relative; display: block; block-size: 100%; cursor: zoom-in; color: inherit; }
.masonry__link:focus-visible { outline-offset: -4px; outline-color: var(--white); }
/* סימן "הגדלה" בפינה בריחוף */
.masonry__link::after {
  content: ""; position: absolute; inset-block-start: 12px; inset-inline-end: 12px;
  inline-size: 36px; block-size: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5' fill='none' stroke='%231E4438' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .25s var(--ease-out);
}
.masonry__link:hover::after, .masonry__link:focus-visible::after { opacity: 1; transform: none; }
.masonry__play {
  position: absolute; inset-block-end: 14px; inset-inline-start: 14px; inline-size: 44px; block-size: 44px; border-radius: 50%;
  background: rgba(30, 68, 56, .88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat;
}

/* ---------- לייטבוקס ---------- */
.lightbox {
  position: fixed; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; max-block-size: none;
  margin: 0; padding: 0; border: 0; background: rgba(14, 36, 30, .96); color: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(14, 36, 30, .6); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: lbIn .35s ease both; }
.lightbox__stage {
  position: relative; display: grid; place-items: center; inline-size: 100%; block-size: 100%;
  padding: 64px 16px 8px; touch-action: pan-y; user-select: none;
}
.lightbox__stage img, .lightbox__stage video {
  max-inline-size: min(1400px, 100%); max-block-size: calc(100dvh - 150px); inline-size: auto; block-size: auto;
  border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
  animation: lbImg .35s var(--ease-out) both;
}
.lightbox__caption { padding: 10px 70px 22px; font-size: 15px; font-weight: var(--fw-text); text-align: center; color: rgba(255, 255, 255, .85); }
.lightbox__counter {
  /* מיקום פיזי (ימין): למונה יש dir="ltr" כדי שהמספרים לא יתהפכו, וזה היה הופך גם צד לוגי */
  position: absolute; inset-block-start: 26px; right: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums;
}
.lightbox__btn {
  position: absolute; display: grid; place-items: center; inline-size: 48px; block-size: 48px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--white);
  transition: background-color .2s ease, border-color .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.lightbox__btn:focus-visible { outline-color: var(--accent); }
.lightbox__btn svg { inline-size: 22px; block-size: 22px; }
.lightbox__close { inset-block-start: 12px; inset-inline-end: 12px; }
.lightbox__prev, .lightbox__next { inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__prev { inset-inline-start: 12px; }
.lightbox__next { inset-inline-end: 12px; }
/* בנייד החצים יורדים לתחתית, כדי לא להסתיר את התמונה (ומחליקים לניווט) */
@media (max-width: 639px) {
  .lightbox__prev, .lightbox__next { inset-block-start: auto; inset-block-end: 14px; transform: none; }
  .lightbox__caption { padding-inline: 72px; font-size: 14px; }
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
html.lb-open { overflow: hidden; }

.testimonials { display: grid; grid-template-columns: 1fr; gap: 18px; }
.testimonial { background: var(--cream); border: 1px solid rgba(30, 68, 56, .1); border-radius: var(--radius); padding: 28px 24px; }
.testimonial--rose { border-color: rgba(196, 87, 122, .14); }
.testimonial__mark { inline-size: 40px; block-size: auto; margin-block-end: 14px; }
.testimonial p { font-size: 17px; font-weight: var(--fw-text); line-height: 1.75; color: var(--ink); margin-block-end: 18px; }
.testimonial footer { font-size: 14px; font-weight: var(--fw-text); color: var(--text-muted); }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 28px;
}
.about__image { aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; inline-size: min(360px, 100%); margin-inline: auto; }
.about__title { font-size: clamp(30px, 4.2vw, 46px); font-weight: var(--fw-title); line-height: 1.15; letter-spacing: -.02em; color: var(--green-900); margin-block: 6px 20px; text-wrap: balance; }
/* רקע בהיר, ולכן rose-600 ולא accent: accent נותן רק 2.12:1 וכותרת גדולה דורשת 3:1 */
.about__title em { font-style: normal; font-weight: 600; color: var(--rose-600); }
.about__text { font-size: 17px; font-weight: var(--fw-text); line-height: 1.8; color: #41544C; margin-block-end: 14px; max-width: 60ch; }
.about__text:first-of-type { font-size: 19px; font-weight: 600; color: var(--green-800); }
.about .chips { margin-block-start: 22px; }
.about .chip--white { background: var(--white); border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); border-block-start: 1px solid rgba(30, 68, 56, .07); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
/* שאלה סגורה: ורוד בהיר עם טקסט ירוק. שאלה פתוחה: ורוד כהה, שאלה ותשובה בלבן.
   #B84C70 = ורוד המותג בגוון עמוק מעט, לניגודיות 4.9:1 מול לבן (תקן נגישות AA). */
.faq__item {
  --faq-pink: #B84C70;
  border-radius: 14px; overflow: hidden;
  background: var(--rose-100); border: 1px solid rgba(196, 87, 122, .2);
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.faq__item:hover { box-shadow: 0 14px 30px -20px rgba(184, 76, 112, .6); }
.faq__item.is-open { background: var(--faq-pink); border-color: var(--faq-pink); }
.faq__q { font-size: inherit; font-weight: inherit; }
.faq__q button {
  inline-size: 100%; display: flex; align-items: center; gap: 16px;
  background: none; border: 0; text-align: start;
  padding: 20px 20px; min-block-size: 56px;
  font-size: 17px; font-weight: 500; color: var(--green-900); line-height: 1.45;
  transition: color .45s ease;
}
.faq__item.is-open .faq__q button { color: var(--white); }
.faq__q button > span:first-child { flex: 1; }
.faq__q button:focus-visible { outline-color: var(--rose-600); outline-offset: -4px; }
.faq__item.is-open .faq__q button:focus-visible { outline-color: var(--white); }
.faq__icon { position: relative; flex: none; inline-size: 16px; block-size: 16px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 0;
  inline-size: 100%; block-size: 1.5px; background: var(--faq-pink);
  transition: transform .3s var(--ease-out), background-color .3s ease;
}
.faq__icon::after { transform: rotate(90deg); }
[aria-expanded="true"] .faq__icon::before { background: var(--white); }
[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); opacity: 0; }
.faq__a { padding: 0 20px 24px; animation: panelIn .32s ease both; }
.faq__a[hidden] { display: none; }
.faq__a p { font-size: 16px; font-weight: var(--fw-text); line-height: 1.75; color: var(--white); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: var(--white); background: var(--green-950); }
.cta__bg { position: absolute; inset: -12% 0; }
.cta__bg img { inline-size: 100%; block-size: 100%; max-width: none; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 51, 42, .55), rgba(20, 51, 42, .72)); }
.cta__inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding-block: clamp(90px, 14vw, 170px);
}
.cta__eyebrow { font-size: clamp(13px, 1.4vw, 15px); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-300); max-width: 62ch; text-wrap: balance; }
.cta__title { font-size: clamp(32px, 5.4vw, 62px); font-weight: 200; line-height: 1.1; letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; margin-block-end: 10px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(150deg, var(--cream) 0%, var(--rose-200) 45%, var(--mint-100) 100%); }
.deco--contact { inset-block-start: -60px; inset-inline-start: -120px; inline-size: 440px; }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact__card {
  background: var(--white); border: 1px solid rgba(196, 87, 122, .16); border-radius: var(--radius-lg);
  padding: 26px 20px 28px; box-shadow: 0 34px 64px -42px rgba(45, 29, 36, .45);
}
.contact__title { font-size: clamp(28px, 3.6vw, 36px); font-weight: var(--fw-title); color: var(--green-900); margin-block-end: 8px; }
.contact__lead { font-size: 15.5px; font-weight: var(--fw-text); color: var(--text-muted); margin-block-end: 26px; }

.form__grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-block-end: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--text); }
.field--full { margin-block-end: 20px; }
.field__req { color: var(--rose-600); }
.field input, .field textarea {
  inline-size: 100%; min-block-size: 48px;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px;
  font-size: 16px; /* 16px מונע zoom אוטומטי ב-iOS */
  font-weight: var(--fw-text); color: var(--ink); background: #FDFCFC; outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--rose-300); background: var(--white); }
.field input[aria-invalid="true"] { border-color: var(--rose-600); }
.field input::placeholder, .field textarea::placeholder { color: #766D64; }
.form__error { color: var(--rose-600); font-size: 14px; margin-block-end: 14px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__actions .btn { flex: 1 1 100%; }

.form-success { padding: 40px 12px; text-align: center; animation: panelIn .45s ease both; outline: none; }
.form-success[hidden] { display: none; }
.form-success__mark { inline-size: 84px; block-size: auto; margin: 0 auto 20px; }
.form-success h3 { font-size: 30px; font-weight: var(--fw-title); color: var(--green-900); margin-block-end: 10px; }
.form-success p { font-size: 16px; font-weight: var(--fw-text); color: var(--text); }

.contact__alt-title { font-size: 30px; font-weight: var(--fw-title); color: var(--green-900); margin-block-end: 18px; }
.contact__links { display: flex; flex-direction: column; gap: 12px; margin-block-end: 22px; }
.contact__links--social { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.contact__links--social .contact-link { flex: 1 1 120px; min-block-size: 50px; padding: 12px 16px; font-size: 15px; }
.contact-link {
  display: flex; align-items: center; gap: 12px; min-block-size: 56px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(30, 68, 56, .1); border-radius: 14px;
  padding: 15px 20px; font-size: 16px; color: var(--green-800); overflow-wrap: anywhere;
}
.contact-link:hover { background: var(--white); color: var(--rose-600); }
.contact-link .dot { inline-size: 6px; block-size: 6px; }
.link-wa .icon { inline-size: 19px; block-size: 19px; color: var(--wa); }
/* ברירת מחדל: אייקון ורוד, טקסט ירוק; בריחוף הטקסט ורוד */
.contact-link .icon { color: var(--rose-600); transition: color .2s ease; }
/* טלפון ומייל: בריחוף הצבעים מתחלפים (אייקון ירוק, טקסט ורוד) */
.contact-link--phone:hover .icon, .contact-link--email:hover .icon { color: var(--green-800); }
.contact__partner { border-block-start: 1px solid rgba(30, 68, 56, .12); padding-block: 18px 14px; }
.contact__partner p { font-size: 14px; font-weight: var(--fw-text); line-height: 1.7; color: var(--text); margin-block-end: 10px; }
.contact__partner .btn { white-space: normal; }

/* ---------- הצהרת בריאות (/health-consent/) ---------- */
.consent { background: linear-gradient(160deg, var(--mint-100) 0%, var(--cream) 45%, var(--rose-200) 100%); min-block-size: calc(100svh - var(--header-h)); }
.deco--consent { inset-block-start: 30px; inset-inline-start: -140px; inline-size: 460px; opacity: .08; }
.consent__card {
  position: relative; background: var(--white); border: 1px solid rgba(196, 87, 122, .16); border-radius: var(--radius-lg);
  padding: 26px 20px 30px; box-shadow: 0 34px 64px -42px rgba(45, 29, 36, .45);
}
.consent__head { margin-block-end: 24px; }
.consent__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; color: var(--green-900); margin-block: 4px 10px; }
.consent__lead { font-size: 16px; font-weight: var(--fw-text); line-height: 1.7; color: var(--text); max-width: 52ch; }
.field__hint { font-size: 13px; font-weight: var(--fw-text); color: var(--text-muted); }
.field input[type="date"] { text-align: start; }

/* בוחר תאריך */
.datepicker { position: relative; }
.field .datepicker input { padding-inline-end: 48px; cursor: pointer; caret-color: transparent; }
.datepicker__icon {
  position: absolute; inset-inline-end: 14px; inset-block-start: 50%; translate: 0 -50%;
  inline-size: 20px; block-size: 20px; pointer-events: none;
  fill: none; stroke: var(--rose-600); stroke-width: 1.6; stroke-linecap: round;
}
[data-datepicker] input[type="date"] + .datepicker__icon { display: none; } /* בלי JS: האייקון של הדפדפן */
.is-open .datepicker input { border-color: var(--rose-300); background: var(--white); }
.datepicker__pop {
  position: absolute; z-index: 30; inset-block-start: calc(100% + 8px); inset-inline-start: 0;
  inline-size: min(100%, 340px); min-inline-size: 290px; padding: 16px 14px 10px;
  background: var(--white); border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -22px rgba(45, 29, 36, .38), 0 4px 14px -6px rgba(30, 68, 56, .12);
  opacity: 0; translate: 0 -6px; transition: opacity .2s ease, translate .25s var(--ease-out);
}
.datepicker__pop.is-visible { opacity: 1; translate: 0 0; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 10px; }
.datepicker__title { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--green-900); }
.datepicker__nav {
  display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%;
  border: 0; background: var(--rose-100); color: var(--rose-600); transition: background-color .2s ease, color .2s ease;
}
.datepicker__nav svg { inline-size: 18px; block-size: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.datepicker__nav--next svg { scale: -1 1; } /* RTL: הבא משמאל, החץ פונה שמאלה */
.datepicker__nav:hover { background: var(--rose-600); color: var(--white); }
.datepicker__week, .datepicker__grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.datepicker__week { font-size: 12.5px; font-weight: 600; color: var(--text-muted); padding-block: 4px 6px; border-block-end: 1px solid var(--line); margin-block-end: 6px; }
.datepicker__grid { row-gap: 2px; }
.datepicker__day {
  justify-self: center; inline-size: 38px; block-size: 38px; border-radius: 50%;
  border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.datepicker__day--empty { pointer-events: none; }
.datepicker__day.is-past { color: #B5ADA5; }
.datepicker__day:hover { background: var(--mint-100); color: var(--green-900); }
.datepicker__day.is-today { box-shadow: inset 0 0 0 1.5px var(--rose-300); color: var(--rose-600); font-weight: 600; }
.datepicker__day.is-selected { background: var(--green-800); color: var(--white); box-shadow: none; font-weight: 600; }
.datepicker__day:focus-visible, .datepicker__nav:focus-visible, .datepicker__link:focus-visible { outline: 2px solid var(--rose-600); outline-offset: 2px; }
.datepicker__foot { display: flex; justify-content: space-between; margin-block-start: 8px; padding-block-start: 6px; border-block-start: 1px solid var(--line); }
.datepicker__link { background: none; border: 0; padding: 8px 6px; font-size: 14px; font-weight: 600; color: var(--green-800); }
.datepicker__link--muted { font-weight: 400; color: var(--text-muted); }
.datepicker__link:hover { color: var(--rose-600); }

/* תיבת אישור מותאמת */
.consent__check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-block: 6px 22px; font-size: 16px; line-height: 1.55; color: var(--green-900); cursor: pointer; }
.consent__check input { position: absolute; opacity: 0; inline-size: 24px; block-size: 24px; margin: 0; cursor: pointer; }
.consent__box {
  flex: none; inline-size: 24px; block-size: 24px; margin-block-start: 1px; border-radius: 7px;
  border: 1.5px solid var(--line-strong); background: #FDFCFC; transition: background-color .2s ease, border-color .2s ease;
  display: grid; place-items: center;
}
.consent__box::after { content: ""; inline-size: 6px; block-size: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.consent__check input:checked + .consent__box { background: var(--green-800); border-color: var(--green-800); }
.consent__check input:checked + .consent__box::after { opacity: 1; }
.consent__check input:focus-visible + .consent__box { outline: 2px solid var(--rose-600); outline-offset: 3px; }
.consent__check input[aria-invalid="true"] + .consent__box { border-color: var(--rose-600); }
/* הסכמה לדיוור (תיקון 13): רשות, בטקסט משני */
.consent__check--marketing { gap: 10px; margin-block: 2px 20px; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
.consent__check--marketing .consent__box { inline-size: 20px; block-size: 20px; border-radius: 6px; margin-block-start: 2px; }
.consent__check--marketing input { inline-size: 20px; block-size: 20px; }
.consent__check--marketing .consent__box::after { block-size: 9px; inline-size: 5px; }

/* משטח חתימה */
.signature { margin-block-end: 22px; }
.signature__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 8px; }
.signature__clear { background: none; border: 0; padding: 8px 4px; font-size: 14px; color: var(--rose-600); text-decoration: underline; text-underline-offset: 3px; min-block-size: 40px; }
.signature__pad {
  position: relative; block-size: 190px; border-radius: 14px;
  border: 1.5px dashed rgba(30, 68, 56, .25); background: #FDFCFC; overflow: hidden;
  touch-action: none; /* החתימה לא גוללת את הדף */
}
.signature__pad.is-invalid { border-color: var(--rose-600); }
.signature__pad canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; cursor: crosshair; }
.signature__hint { position: absolute; inset-inline: 0; inset-block-start: 44%; text-align: center; font-size: 14px; color: #766D64; pointer-events: none; transition: opacity .2s ease; }
.signature__pad.has-ink .signature__hint { opacity: 0; }
.signature__line { position: absolute; inset-inline: 22px; inset-block-end: 38px; block-size: 1px; background: rgba(30, 68, 56, .18); pointer-events: none; }
.consent__submit { inline-size: 100%; }
.consent .form-success .btn { margin-block-start: 22px; }
.consent .form-success h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--green-900); margin-block-end: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(223, 242, 236, .7); padding-block: 52px calc(96px + env(safe-area-inset-bottom)); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block-end: 34px; border-block-end: 1px solid rgba(228, 169, 188, .18); }
.site-footer__logo { inline-size: 150px; block-size: auto; margin-block-end: 18px; }
.site-footer__tagline { font-size: 15px; font-weight: var(--fw-text); line-height: 1.7; max-width: 38ch; margin-block-end: 18px; }
.social { display: flex; gap: 8px; }
.social a {
  display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%;
  border: 1px solid rgba(223, 242, 236, .22); color: rgba(223, 242, 236, .85);
}
.social a:hover { color: var(--white); border-color: var(--accent); background: rgba(244, 139, 167, .12); }
.site-footer__col { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: var(--fw-text); }
.site-footer__col a { color: rgba(223, 242, 236, .7); padding-block: 6px; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__title { color: var(--rose-300); font-size: 12px; font-weight: 500; letter-spacing: .16em; margin-block-end: 4px; }
.site-footer__copy { font-size: 13px; font-weight: var(--fw-text); color: rgba(223, 242, 236, .74); margin-block-start: 22px; }

/* כפתור וואטסאפ צף */
.whatsapp-float {
  position: fixed; z-index: 80;
  inset-block-end: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px;
  display: grid; place-items: center; inline-size: 56px; block-size: 56px;
  background: var(--green-800); color: var(--off-white); border-radius: 50%;
  border: 1px solid rgba(168, 216, 201, .35);
  box-shadow: 0 18px 36px -14px rgba(20, 51, 42, .7);
}
.whatsapp-float:hover { color: var(--white); }
.whatsapp-float .icon { color: var(--wa); inline-size: 28px; block-size: 28px; }

/* חזרה לראש העמוד: בצד הנגדי לוואטסאפ, מופיע אחרי גלילה (initToTop) */
.to-top {
  position: fixed; z-index: 79;
  inset-block-end: calc(16px + env(safe-area-inset-bottom)); inset-inline-start: 16px;
  display: grid; place-items: center; inline-size: 48px; block-size: 48px; padding: 0;
  background: rgba(255, 255, 255, .94); color: var(--green-900); border-radius: 50%;
  border: 1px solid rgba(30, 68, 56, .14); box-shadow: 0 14px 30px -16px rgba(20, 51, 42, .55); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .4s var(--ease-out), visibility 0s linear .3s, color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .4s var(--ease-out), color .2s ease; }
.to-top:hover { color: var(--rose-600); background: var(--white); }
.to-top svg { inline-size: 22px; block-size: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- כותרות: Frank Ruhl Libre, משקל בינוני ---------- */
.section-title, .hero__title, .why__title, .about__title, .cta__title, .hero__line,
.contact__title, .contact__alt-title, .form-success h3, .all-activities__title,
.card-title, .audience__quote, .stat__number, .hero__stat-number, .trust__lead {
  font-family: var(--font-display); letter-spacing: -.01em;
}
.section-title, .why__title, .about__title, .contact__title, .contact__alt-title, .all-activities__title, .form-success h3 { font-weight: 500; }
.hero__title { font-weight: 500; line-height: 1.08; }
.hero__title em { font-weight: 700; }
.cta__title, .hero__line { font-weight: var(--fw-title); }
.card-title { font-weight: 600; }
.audience__quote { font-weight: var(--fw-title); }
.stat__number, .hero__stat-number { font-weight: var(--fw-title); }
.trust__lead { font-weight: 500; }

/* ---------- Animations ---------- */
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -22px, 0) rotate(4deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(25%); } } /* 25% = עותק אחד מתוך 4 */
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lotusFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* "הפחתת תנועה" במכשיר: האנימציות נשארות (לבקשת הלקוחה) אבל עדינות יותר. עצירה מלאה דרך "השהה אנימציות" ב-Ally */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation-duration: 70s; } /* הסטריפ ממשיך לזוז, לאט פי שניים */
  .deco { animation: none; } /* הלוטוסים המרחפים ברקע: קישוט בלבד */
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* ≥ 640px · טאבלט קטן */
@media (min-width: 640px) {
  .topbar__email { display: inline; }
  .hero__actions .btn { flex: 0 0 auto; }
    .trust__stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding-block: 0; }
  .stat + .stat { border-block-start: 0; border-inline-start: 1px solid rgba(30, 68, 56, .1); }
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .form__actions .btn { flex: 0 0 auto; }
  .consent__card { padding: clamp(30px, 5vw, 52px); }
  .signature__pad { block-size: 220px; }
  .consent__submit { inline-size: auto; }
  .masonry { column-count: 3; column-gap: 12px; }
  .masonry__item { margin-block-end: 12px; }
  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .testimonial { padding: 32px 34px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience { padding: clamp(24px, 4vw, 46px) clamp(20px, 4vw, 50px); }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .why { padding: 30px 26px; }
  .why__item { padding: 14px 16px; font-size: 16px; }
  .why__mark { inline-size: 30px; }
  .exp-grid { --cols: 3; --gap: 16px; }
  .about { grid-template-columns: minmax(220px, 2fr) 3fr; gap: clamp(32px, 5vw, 72px); }
  .contact__card { padding: clamp(26px, 4vw, 42px) clamp(20px, 4vw, 44px) clamp(28px, 4vw, 46px); }
  .faq__q button { padding: 21px 26px; }
  .faq__a { padding: 0 26px 26px; }
  .tabs { justify-content: center; margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
}

/* ≥ 860px · דסקטופ: ניווט מלא במקום המבורגר */
@media (min-width: 860px) {
  .site-footer__grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
  :root { --nav-h: 80px; }
  .brand__logo { block-size: 50px; }
  .topbar__trust { display: inline; }
  .main-nav { display: flex; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); padding-block: 48px 72px; }
  .hero__img { object-position: 50% 45%; }
  .hero__shade { background: linear-gradient(270deg, rgba(14, 36, 30, .88) 0%, rgba(14, 36, 30, .74) 32%, rgba(14, 36, 30, .3) 58%, rgba(14, 36, 30, .08) 78%), linear-gradient(0deg, rgba(14, 36, 30, .25), rgba(14, 36, 30, 0) 35%); }
  .hero__badges { display: flex; }
  .hero__actions .btn { flex: 0 0 auto; padding-inline: 30px; }
  .hero__arch { max-inline-size: 440px; aspect-ratio: 4 / 5; block-size: auto; min-block-size: 0; max-block-size: calc(100svh - var(--header-h) - 150px); }
  .hero__frame { --frame-gap: 16px; }
  .hero__lotus { inset-block-start: -66px; inline-size: 84px; }
  .hero__stat { inset-inline-start: -22px; padding: 14px 20px; }
  .hero__words { font-size: 13px; gap: 8px 22px; }
  .hero__reveal-actions { margin-block-start: 14px; }
  .hero__reveal-actions .btn { flex: 0 0 auto; padding-inline: 30px; }
      .steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding-inline-start: 0; }
  .steps__rail, .step__dot { display: none; }
  .step { padding: 34px 32px 36px; }
  .why { grid-template-columns: 1fr 2fr; align-items: center; padding: clamp(34px, 4vw, 56px); gap: 40px; }
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 50px); }
  .audience__image { order: 0; } /* דסקטופ: טקסט ותמונה זה לצד זה, כמו קודם */
  /* דסקטופ: גריד של 4 עמודות עם קצוות ישרים. גובה שורה = תא לאורך ביחס 3:4.
     תמונה לאורך = עמודה אחת, תמונה לרוחב (3:2) = 2 עמודות, פנורמה = 3 עמודות, כך שהחיתוך מינימלי.
     הסדר והרוחבים נקבעים ב-content.json (gallery.items), וסכום הרוחבים מתחלק ב-4. */
  .masonry {
    --gap: 14px;
    display: grid; column-count: auto; gap: var(--gap);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: calc((100cqi - 3 * var(--gap)) / 4 * 4 / 3);
  }
  .gallery .container { container-type: inline-size; } /* cqi נמדד מהמכל של הגלריה */
  .masonry__item { margin: 0; }
  .masonry__item img, .masonry__item video { block-size: 100%; object-fit: cover; }
  .masonry__item--w2 { grid-column: span 2; }
  .masonry__item--w3 { grid-column: span 3; }
  .contact__grid { grid-template-columns: 1.35fr 1fr; }
  .contact__alt { padding-block-start: 10px; }
  .whatsapp-float { inset-block-end: 22px; inset-inline-end: 22px; inline-size: 60px; block-size: 60px; }

  /* כרטיסי הפעילויות: טקסט מימין, תמונה משמאל */
  .stack { gap: 28px; }
  .stack__card { flex-direction: row; min-block-size: 0; block-size: min(64vh, 520px); }
  .stack__image { order: 0; block-size: auto; inline-size: 44%; min-block-size: 0; margin: 18px; border-radius: 999px 999px 18px 18px; }
  .stack__body { flex: 1; padding: clamp(30px, 4vw, 64px); }

  .site-footer { padding-block-end: 32px; }
}

/* ≥ 1080px · קו ההתקדמות בין השלבים */
@media (min-width: 1080px) {
  .exp-grid { --cols: 5; }
  .steps__line { display: block; position: absolute; inset-block-start: 54px; inset-inline: 8%; block-size: 1px; background: rgba(30, 68, 56, .12); }
  .steps__line span { display: block; block-size: 100%; inline-size: 0; background: linear-gradient(90deg, var(--mint-300), var(--accent)); }
}

/* נייד: טקסט הפתיחה "צף" מעל התמונה ולא תופס גובה, כך שהקשת מקבלת את רוב המסך.
   המסגרת והלוטוס מופיעים רק בזמן הגלילה (JS), כדי לא להתנגש בטקסט. נתון ה-400 מוסתר. */
@media (max-width: 859px) {
  .hero__stat { display: none; }
  .hero__textcol { position: relative; }
  .hero__content { position: absolute; inset-block-start: 0; inset-inline: 0; }
  .hero__reveal { min-block-size: 150px; gap: 12px; }
  .hero__arch { margin-block-start: 44px; }
}

/* hover-only effects */
@media (hover: none) {
    .masonry__item:hover img { transform: none; }
}

/* ==========================================================================
   עמודי מידע משפטי (מדיניות פרטיות)
   ========================================================================== */
.consent__link { color: var(--rose-600); text-decoration: underline; text-underline-offset: 3px; }
.consent__link:hover { color: var(--green-800); }
.legal__updated { font-size: 13.5px; color: var(--text-muted); margin-block-end: 14px; }
.legal__section { padding-block: 22px; border-block-start: 1px solid var(--line); }
.legal__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.6vw, 25px); color: var(--green-900); margin-block-end: 10px; }
.legal__section p { font-size: 16px; font-weight: var(--fw-text); line-height: 1.8; color: var(--text); max-width: 68ch; }
.legal__section p + p, .legal__section p + .legal__list { margin-block-start: 10px; }
.legal__list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.legal__list li { position: relative; padding-inline-start: 22px; font-size: 16px; font-weight: var(--fw-text); line-height: 1.7; color: var(--text); }
.legal__list li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: .7em; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--accent); }
.legal__contact a { color: var(--green-800); font-weight: 500; }
.legal__contact a:hover { color: var(--rose-600); }
/* תוכן מעורך וורדפרס (the_content) בעמודי מידע */
.legal__content > * + * { margin-block-start: 12px; }
.legal__content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.6vw, 25px); color: var(--green-900); margin-block-start: 30px; padding-block-start: 24px; border-block-start: 1px solid var(--line); }
.legal__content h3 { font-size: 18px; font-weight: 600; color: var(--green-900); margin-block-start: 22px; }
.legal__content p, .legal__content li { font-size: 16px; font-weight: var(--fw-text); line-height: 1.8; color: var(--text); }
.legal__content p { max-width: 68ch; }
.legal__content ul, .legal__content ol { display: grid; gap: 8px; padding: 0; list-style: none; }
.legal__content ul > li { position: relative; padding-inline-start: 22px; }
.legal__content ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; inset-block-start: .75em; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--accent); }
.legal__content a { color: var(--green-800); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal__content a:hover { color: var(--rose-600); }

/* ==========================================================================
   פרטיות: הודעת יידוע בטפסים + באנר עוגיות (תיקון 13)
   ========================================================================== */
.form-notice { font-size: 13px; line-height: 1.65; color: var(--text-muted); background: rgba(var(--cream-rgb), .7); border-radius: 10px; padding: 10px 14px; margin-block: 4px 12px; }
.form-notice a { color: var(--rose-600); text-decoration: underline; text-underline-offset: 3px; }
.form-notice a:hover { color: var(--green-800); }

.site-footer__linkbtn { background: none; border: 0; padding: 6px 0; font: inherit; color: rgba(223, 242, 236, .7); text-align: start; cursor: pointer; }
.site-footer__linkbtn:hover { color: var(--white); }

.cookie {
  position: fixed; z-index: 90; inset-inline: 12px; inset-block-end: 12px;
  display: flex; justify-content: flex-start; pointer-events: none;
}
.cookie__card {
  pointer-events: auto; inline-size: min(100%, 460px); max-block-size: calc(100svh - 24px); overflow: auto;
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 20px 20px 16px;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(45, 29, 36, .45);
  opacity: 0; translate: 0 16px; transition: opacity .3s ease, translate .4s var(--ease-out);
}
.cookie.is-visible .cookie__card { opacity: 1; translate: 0 0; }
/* הבאנר עצמו: בלי זה display:flex גובר על תכונת hidden, והכרטיס נשאר שקוף אבל
   חוסם קליקים בפינה התחתונה בכל העמודים (כפתורי ההירו, הטפסים). */
.cookie[hidden] { display: none; }
.cookie [hidden] { display: none !important; } /* display של grid/btn לא גובר על hidden */
.cookie__title { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--green-900); margin-block-end: 6px; }
.cookie__text { font-size: 14px; line-height: 1.65; color: var(--text); }
.cookie__text a { color: var(--rose-600); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie__prefs { display: grid; gap: 4px; margin-block: 12px 4px; }
.cookie__cat { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-block-start: 1px solid var(--line); cursor: pointer; font-size: 14px; color: var(--green-900); }
.cookie__cat input { position: absolute; opacity: 0; inline-size: 40px; block-size: 24px; margin: 0; cursor: pointer; }
.cookie__switch { flex: none; position: relative; inline-size: 40px; block-size: 24px; border-radius: 20px; background: #D9D3CE; transition: background-color .2s ease; margin-block-start: 1px; }
.cookie__switch::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: inset-inline-start .2s ease; }
.cookie__cat input:checked + .cookie__switch { background: var(--green-800); }
.cookie__cat input:checked + .cookie__switch::after { inset-inline-start: 19px; }
.cookie__cat input:disabled + .cookie__switch { opacity: .55; }
.cookie__cat input:focus-visible + .cookie__switch { outline: 2px solid var(--rose-600); outline-offset: 2px; }
.cookie__desc { display: block; font-size: 13px; line-height: 1.55; color: var(--text-muted); margin-block-start: 2px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block-start: 14px; }
.cookie__actions .btn { inline-size: 100%; justify-content: center; min-block-size: 46px; padding-inline: 12px; }
.cookie__actions [data-cookie-save] { grid-column: 1 / -1; }
.cookie__more { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 8px; font: inherit; font-size: 14px; color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie__more:hover { color: var(--rose-600); }
@media (min-width: 640px) { .cookie { inset-inline: 24px; inset-block-end: 24px; } }

/* ==========================================================================
   ניסוי: הירו מינימלי (.hero--minimal על ה-section)
   בפתיחה רואים רק את התמונה ואת הכותרת הראשית, בלי שכבת ההכהיה, הטקסט והכפתורים.
   הקריאה לפעולה מופיעה אחרי הגלילה (hero__reveal). לביטול: להסיר את המחלקה hero--minimal.
   ========================================================================== */
.hero--minimal .hero__shade { display: none; }
.hero--minimal .hero__content > .eyebrow,
.hero--minimal .hero__text,
.hero--minimal .hero__actions,
.hero--minimal .hero__badges { display: none; }
.hero--minimal .hero__title { position: relative; margin-block-end: 0; text-align: center; text-shadow: 0 1px 14px rgba(10, 30, 24, .26), 0 1px 2px rgba(10, 30, 24, .22); }
.hero--minimal .hero__title em { text-shadow: none; }
/* נייד: כותרת כהה על השמיים הבהירים (ניגודיות 8:1 ומעלה במקום 1.5:1 של לבן), בלי צל ובלי הילה */
@media (max-width: 859px) {
  .hero--minimal .hero__title { color: var(--green-950); text-shadow: none; }
  .hero--minimal .hero__title em { color: var(--rose-700); }
  .hero--minimal .hero__title::before { content: none; }
}
/* הילה כהה ומטושטשת רק מאחורי הכותרת, כדי שתהיה קריאה על השמיים הבהירים בלי להכהות את כל התמונה */
.hero--minimal .hero__title::before {
  content: ""; position: absolute; z-index: -1; inset: -30% -14%;
  background: radial-gradient(closest-side, rgba(10, 30, 24, .1), rgba(10, 30, 24, .04) 60%, transparent); /* נייד: צל עדין מאוד */
  filter: blur(40px); pointer-events: none;
}

/* דסקטופ: הכותרת בשורה אחת, ממורכזת לרוחב ולגובה המסך, עם הילה כהה ומטושטשת רק מאחורי הטקסט */
@media (min-width: 860px) {
  /* עמודת הטקסט סטטית כדי שהכותרת תתמקם ביחס לכל הבמה (hero__grid) ולא רק לעמודה שלה */
  .hero--minimal .hero__textcol { position: static; }
  .hero--minimal .hero__content {
    position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
    grid-area: auto; /* אחרת קווי הגריד של hero__grid מזיזים את תיבת המיקום ברוחב הריפוד */
    padding-inline: var(--gutter); pointer-events: none;
    container-type: inline-size; /* גודל הכותרת נגזר מרוחב האזור (cqi), כך שהיא תמיד נכנסת בשורה אחת */
  }
  .hero--minimal .hero__title { font-size: clamp(28px, 4.9cqi, 66px); white-space: nowrap; text-shadow: 0 1px 2px rgba(10, 30, 24, .3); }
  .hero--minimal .hero__title > span { display: inline-block; } /* inline-block: אנימציית הכניסה מזיזה אותם ב-transform */
  .hero--minimal .hero__title > span + span { margin-inline-start: .26em; }
  /* "באילת ובערבה" כתווית (דסקטופ בלבד): רקע לבן וטקסט ורוד, באותו פונט ומשקל של הכותרת */
  .hero--minimal .hero__title em {
    display: inline-block; color: var(--rose-600); background: var(--white);
    padding: .14em .62em .2em; margin-inline-start: .08em; border-radius: var(--pill); line-height: 1.15;
    box-shadow: 0 6px 20px -8px rgba(10, 30, 24, .35);
  }
  .hero--minimal .hero__title::before { inset: -80% -6%; background: radial-gradient(closest-side, rgba(10, 30, 24, .68), rgba(10, 30, 24, .4) 55%, transparent); filter: blur(26px); }
}

/* בלי אנימציית הגלילה (העדפת "הפחתת תנועה") אין מצב שני, ולכן הפתיחה מציגה הכול כמו קודם */

/* נגישות: יעד מגע של 24px לפחות לקישורי הפס העליון (WCAG 2.5.8) */
.topbar__phone { min-block-size: 24px; }
.topbar__email { padding-block: 3px; }

/* חתימה בהקלדה (חלופה נגישה למשטח החתימה) */
.signature__typed { margin-block-start: 12px; }

/* נגישות: סמן מיקוד (פוקוס) בניגודיות 3:1 לפחות גם על רקעים כהים וצבעוניים (WCAG 1.4.11 / 2.4.7) */
.topbar :focus-visible, .hero :focus-visible, .audiences :focus-visible, .cta :focus-visible, .site-footer :focus-visible,
.stack__card :focus-visible, .faq__item :focus-visible, .lightbox :focus-visible, .whatsapp-float:focus-visible, .to-top:focus-visible, .btn--primary:focus-visible,
.btn--pink:focus-visible, .btn--gradient:focus-visible, .btn--accent:focus-visible {
  outline-color: var(--white); box-shadow: 0 0 0 5px rgba(20, 51, 42, .75);
}

/* נגישות: "גללו למטה" יושב ישירות על התמונה (בלי שכבת ההכהיה), ולכן מקבל רקע כהה משלו לניגודיות */
.hero--minimal .hero__hint > span:first-child { background: rgba(20, 51, 42, .72); color: var(--white); padding: 5px 12px; border-radius: var(--pill); }

/* הקריאה "לחצו לשיחה איתנו" מוצגת רק בנייד */
.topbar__phone-cta { display: none; }

/* נייד: מספר הטלפון בפס העליון גדול ומודגש יותר (זו הדרך המהירה ביותר ליצור קשר מהטלפון) */
@media (max-width: 639px) {
  .topbar__phone { font-size: 16px; font-weight: 700; color: var(--white); gap: 9px; }
  .topbar__phone .icon { inline-size: 18px; block-size: 18px; }
  .topbar__phone-cta { display: inline; font-size: 13px; font-weight: 500; color: var(--mint-100); }
}
/* מסכים צרים מאוד: אין מקום לטקסט ליד המספר */
@media (max-width: 359px) { .topbar__phone-cta { display: none; } }

/* נייד: אפקט "נשימה" קבוע למספר הטלפון בפס העליון: מתרחב ומתכווץ לאט וברצף (שאיפה ונשיפה, כ-3.6 שניות למחזור).
   נעצר עם "השהה אנימציות" של Ally, ולא רץ כלל למי שהגדיר "הפחתת תנועה" במכשיר. */
@keyframes phoneBreathe {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
  .topbar__phone { transform-origin: 100% 50%; animation: phoneBreathe 1.8s ease-in-out infinite alternate; will-change: transform; }
}

/* נייד: ארבעת הטאבים בשתי שורות של שניים, כך שכולם נראים בלי גלילה לצד ואף אחד לא מתפספס */
@media (max-width: 639px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .tabs__tab { inline-size: 100%; text-align: center; padding-inline: 8px; min-block-size: 38px; font-size: 14.5px; }
  .tabs__tab::after { inset-inline: 22%; }
}

/* ---------- מפת דרכים לדף הבית (initRoadmap) ----------
   שכבה צפה בצד שמאל של המסך: מופיעה בזמן גלילה ונעלמת כשעוצרים לקרוא (גם בנייד וגם בדסקטופ).
   נקודה לכל מקטע: הנוכחית מודגשת ושמה מוצג, והקו מתמלא עד אליה. דסקטופ: שמות שאר המקטעים במעבר עכבר.
   לחיצה או נגיעה בכל מקום בסרגל פותחת את כל השמות, ולחיצה על שם קופצת למקטע. */
.roadmap {
  position: fixed; z-index: 60; inset-inline-end: 6px; inset-block-start: 50%;
  padding: 8px 5px; border-radius: 999px; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -18px rgba(20, 51, 42, .5);
  /* מוסתרת בשקיפות ולא ב-visibility, כדי שמשתמשי מקלדת יוכלו להגיע אליה ב-Tab (הפוקוס מציג אותה) */
  transform: translate(-8px, -50%); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out);
}
/* אזור לחיצה רחב יותר מהסרגל עצמו, כדי שנגיעה לידו תפתח אותו */
.roadmap::after { content: ""; position: absolute; inset: -10px -12px; cursor: pointer; }
.roadmap.is-open::after { content: none; }
.roadmap.is-visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); transition: opacity .25s ease, transform .4s var(--ease-out); }
.roadmap__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.roadmap__track, .roadmap__fill { position: absolute; inline-size: 2px; border-radius: 2px; }
.roadmap__track { inset-block: 20px; inset-inline-end: calc(5px + 11px); background: rgba(30, 68, 56, .14); }
.roadmap__fill {
  inset-block-start: 0; inset-inline-start: 0; block-size: 100%; transform-origin: top;
  transform: scaleY(var(--roadmap-p, 0)); background: linear-gradient(var(--rose-300), var(--rose-600));
  transition: transform .5s var(--ease-out);
}
.roadmap a { position: relative; display: flex; align-items: center; justify-content: flex-end; min-block-size: 24px; color: var(--green-900); text-decoration: none; }
.roadmap__dot { flex: none; display: grid; place-items: center; inline-size: 24px; block-size: 24px; }
.roadmap__dot::before {
  content: ""; inline-size: 9px; block-size: 9px; border-radius: 50%; box-sizing: border-box;
  background: var(--white); border: 2px solid rgba(30, 68, 56, .38);
  transition: inline-size .3s var(--ease-out), block-size .3s var(--ease-out), background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.roadmap a.is-past .roadmap__dot::before { background: var(--rose-300); border-color: var(--rose-300); }
.roadmap a[aria-current] .roadmap__dot::before {
  inline-size: 14px; block-size: 14px; background: var(--rose-600); border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 69, 106, .28);
}
/* השם: נפתח לכיוון התוכן (ימינה מהנקודה) */
.roadmap__label {
  position: absolute; inset-inline-end: calc(100% + 8px); inset-block-start: 50%;
  padding: 5px 12px; border-radius: 999px; background: var(--white); box-shadow: 0 8px 22px -12px rgba(20, 51, 42, .5);
  font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .25s ease, transform .3s var(--ease-out);
}
.roadmap a[aria-current] .roadmap__label { color: var(--rose-600); }
.roadmap a[aria-current] .roadmap__label, .roadmap a:focus-visible .roadmap__label,
.roadmap.is-open .roadmap__label { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
/* המקטע מקבל פוקוס אחרי קפיצה מהמפה (בשביל קוראי מסך), בלי מסגרת פוקוס על כל המקטע */
main [tabindex="-1"]:focus { outline: none; }
.roadmap.is-open { background: rgba(255, 255, 255, .92); }
.roadmap.is-open .roadmap__list { gap: 10px; }
@media (hover: hover) and (pointer: fine) {
  .roadmap a:hover .roadmap__dot::before { border-color: var(--rose-600); }
  .roadmap a:hover .roadmap__label { opacity: 1; transform: translate(0, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .to-top, .roadmap, .roadmap__fill, .roadmap__label, .roadmap__dot::before { transition: none; }
}

/* ---------- פתיח (פרילודר): רק בכניסה הראשונה לאתר ----------
   הלוגו ופס טעינה עדין, עד שתמונת הפתיחה נטענה (initIntro ב-main.js מוסיף is-done).
   בלי JS, או אם הטעינה איטית: נעלם לבד אחרי 3.5 שניות. לא חוסם לחיצות. */
.intro {
  position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--cream); pointer-events: none;
  animation: introOut .4s ease 3.5s forwards;
}
/* שם אנימציה אחר מהגיבוי: אותו שם היה ממשיך מאותה נקודה בזמן ומעלים בלי דהייה */
.intro.is-done { animation: introFade .4s ease forwards; }
.no-intro .intro { display: none; }
.intro__logo {
  inline-size: min(220px, 56vw); block-size: auto;
  opacity: 0; transform: translateY(8px) scale(.96);
  animation: introIn .5s var(--ease-out) .05s forwards;
}
.intro__bar { inline-size: min(140px, 36vw); block-size: 2px; border-radius: 2px; background: rgba(30, 68, 56, .12); overflow: hidden; opacity: 0; animation: introIn .4s ease .3s forwards; }
.intro__bar::after {
  content: ""; display: block; block-size: 100%; inline-size: 40%; border-radius: 2px;
  background: linear-gradient(90deg, var(--rose-300), var(--rose-600));
  animation: introBar 1.1s ease-in-out infinite;
}
@keyframes introIn { to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@keyframes introFade { to { opacity: 0; visibility: hidden; } }
@keyframes introBar { from { transform: translateX(160%); } to { transform: translateX(-260%); } }
