/* ===== Michal Ifrah — brand styles (nude / mocha) ===== */
:root {
  --bg: #fdfbf8;
  --cream: #f4ece3;
  --nude: #c8a693;        /* גוון הלוגו — מוקה ורדרד (accent ראשי) */
  --nude-deep: #8b6b5a;   /* מוקה כהה — כפתורים / hover (מכויל ל-4.5:1 מול לבן) */
  --taupe: #8a7565;       /* טאופ לטקסט משני */
  --gold: #cbb08a;        /* נגיעת זהב עדינה */
  --ink: #3a332e;
  --muted: #6b625a;
  --white: #ffffff;
  --ink-deep: #2e2823;    /* כותרות ורקע הפוטר */
  --mocha-dark: #6f5547;  /* קצה הגרדיאנט הכהה של המוקה */
  --line: #efe6dc;        /* קו מתאר עדין לכרטיסים */
  --tint: #fdf9f5;        /* משטח hover עדין */
  --space-section: 80px;  /* ריווח אנכי למקטע — כפולות של 8 */
  --shadow-sm: 0 2px 8px rgba(58,51,46,0.06);
  --shadow: 0 8px 24px rgba(58,51,46,0.08);
  --shadow-lg: 0 16px 48px rgba(58,51,46,0.10);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  /* ברירת מחדל — בפועל נקבעים לפי הבחירה בפאנל (base.njk) */
  --font-title: 'Heebo', system-ui, sans-serif;
  --font-head: 'Heebo', system-ui, sans-serif;
  --font-body: 'Assistant', system-ui, sans-serif;
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--ink);
  line-height: 1.7; font-weight: 400; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.22; letter-spacing: -0.01em; color: var(--ink-deep); }
h1 { font-family: var(--font-title); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
p { color: var(--muted); }
a { color: var(--nude-deep); }

/* ===== Accessibility (תקן ישראלי 5568 / WCAG 2.0 AA) ===== */
.skip-link {
  position: absolute; right: 0; top: -60px; z-index: 200;
  background: var(--nude-deep); color: #fff; padding: 12px 22px;
  border-radius: 0 0 12px 0; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid #1a73e8; outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,251,248,0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: var(--maxw); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-full { height: 72px; width: auto; display: block; }
.logo-mark { width: 60px; height: 60px; flex-shrink: 0; object-fit: contain; }
@media (max-width: 560px) { .logo-full { height: 52px; } }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo .logo-name { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); letter-spacing: .02em; }
.logo .logo-sub { font-size: 0.7rem; color: var(--nude-deep); font-weight: 500; letter-spacing: 0.02em; margin-top: 3px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.96rem; transition: color .2s; }
.nav-links a:hover { color: var(--nude-deep); }
.nav-cta { background: var(--nude-deep); color: #fff; padding: 10px 20px; border-radius: 100px; text-decoration: none; font-weight: 700; font-size: 0.92rem; transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(139,107,90,0.4); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
@media (max-width: 860px) {
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 22px 14px; box-shadow: var(--shadow); border-top: 1px solid rgba(0,0,0,0.05); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 1.05rem; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--nude-deep); color: #fff; box-shadow: 0 8px 24px rgba(139,107,90,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(139,107,90,0.45); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-3px); }

/* ===== Hero ===== */
.hero { background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 60%); padding: 66px 0 84px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero .eyebrow { display: inline-block; background: #fff; color: var(--nude-deep); padding: 7px 16px; border-radius: 100px; font-weight: 700; font-size: 0.82rem; margin-bottom: 20px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.3rem); margin-bottom: 20px; }
.hero h1 em { color: var(--nude-deep); font-style: normal; }
.hero p.lead { font-size: 1.18rem; max-width: 520px; margin-bottom: 32px; white-space: pre-line; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(135deg, var(--nude), var(--cream)); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } .hero-img { aspect-ratio: 16/12; } }

/* ===== Sections ===== */
section { padding: var(--space-section) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .tag { color: var(--muted); font-weight: 700; letter-spacing: .04em; font-size: 0.9rem; }
.tag { color: var(--muted); font-weight: 700; font-size: 0.9rem; letter-spacing: .04em; }

/* ===== Differentiators ===== */
.diff { background: var(--cream); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff-card { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); text-align: center; }
.diff-card .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--nude), var(--gold)); display: flex; align-items: center; justify-content: center; }
.diff-card .ic svg { width: 28px; height: 28px; color: #fff; }
.diff-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.diff-card p { font-size: 0.98rem; }
@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr; } }

/* ===== Cards (services / courses) ===== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; border: 1px solid rgba(0,0,0,0.03); position: relative; }
.card:hover { transform: translateY(-6px); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card .badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--nude-deep); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 100px; box-shadow: var(--shadow-sm); z-index: 2; }
span.badge { pointer-events: none; }
a.badge { color: #fff; text-decoration: none; transition: background .2s; }
a.badge:hover { background: var(--ink); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ===== Courses ===== */
.courses { background: var(--cream); }
/* course photos are portraits of two people standing — crop taller and keep heads in frame */
.courses .card-img { aspect-ratio: 4/3; }
.courses .card-img img { object-position: center 14%; }
/* left card (last in RTL) — raise the subjects back toward the earlier, well-framed position */
.courses .card:last-child .card-img img { object-position: center 42%; }

/* ===== Gallery ===== */
/* Instagram gradient — used for the accent line, follow bar and corner icon */
:root { --ig-gradient: linear-gradient(45deg, #feda75 0%, #fa7e1e 22%, #d62976 50%, #962fbf 74%, #4f5bd5 100%); }
.gallery-sec { position: relative; overflow: hidden; }
.gallery-sec > .wrap { position: relative; z-index: 1; }
/* קו דק בגווני המותג בראש המקטע */
.ig-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--nude) 50%, var(--gold) 80%, transparent); opacity: .7; }
/* flex ולא grid — כך שורה אחרונה חלקית (למשל 5 תמונות) מתמרכזת במקום להשאיר חור */
.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gallery-grid a { flex: 0 0 calc((100% - 32px) / 3); position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.06); }
/* small Instagram badge on each tile — signals "straight from the feed" */
.ig-corner { position: absolute; top: 9px; inset-inline-end: 9px; z-index: 2;
  width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--ig-gradient); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18);
  opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s; }
.gallery-grid a:hover .ig-corner, .gallery-grid a:focus-visible .ig-corner { opacity: 1; transform: scale(1); }
.ig-corner svg { width: 15px; height: 15px; }
/* Instagram follow bar */
.ig-follow { display: inline-flex; align-items: center; gap: 12px; margin: 32px auto 0;
  text-decoration: none; background: #fff; border-radius: 100px; padding: 8px 22px 8px 8px;
  box-shadow: var(--shadow); position: relative; z-index: 1; transition: transform .2s, box-shadow .2s; }
.gallery-grid + .ig-follow { display: flex; width: max-content; }
.ig-follow:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ig-follow-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: var(--ig-gradient); color: #fff; display: flex; align-items: center; justify-content: center; }
.ig-follow-ic svg { width: 24px; height: 24px; }
.ig-follow-txt { display: flex; flex-direction: column; line-height: 1.3; font-size: .82rem; color: var(--muted); text-align: start; }
.ig-follow-txt strong { color: var(--ink); font-size: .95rem; font-weight: 700; }
@media (max-width: 640px) { .gallery-grid { gap: 12px; } .gallery-grid a { flex-basis: calc((100% - 12px) / 2); } }

/* ===== Video ===== */
.video-sec { background: var(--bg); }
.video-frame { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: var(--cream); }
/* pointer-events: none — וידאו רקע דקורטיבי: בלי פקדים, בלי עצירה בלחיצה */
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.video-frame video { object-fit: cover; }
.video-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--taupe); font-weight: 600; text-align: center; padding: 20px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
/* 4:5 ולא ריבוע, והחיתוך נצמד למעלה — כדי שהראש בפורטרט יישאר שלם */
.about-img { border-radius: 28px; aspect-ratio: 4/5; box-shadow: var(--shadow); overflow: hidden; background: var(--cream); }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
/* pre-line: שבירות שורה שנכתבות בפאנל הניהול מופיעות גם באתר */
.about > .wrap > div > p { white-space: pre-line; }
/* וכך גם בכל שאר הטקסטים של דף הבית (טיפולים, קורסים, מוצרים, יצירת קשר ועוד) */
#main > section p, #main > section blockquote { white-space: pre-line; }
.about ul { list-style: none; margin-top: 20px; }
.about li { padding-right: 30px; position: relative; margin-bottom: 12px; color: var(--ink); }
.about li::before { content: "✓"; position: absolute; right: 0; color: var(--nude-deep); font-weight: 800; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ===== Products ===== */
/* מוצרים לצד השירות — לא מוקד הכנסה, ולכן מוצג כרשימה קומפקטית ולא כגלריית תמונות.
   עד שיהיו תמונות מוצר אמיתיות, האייקונים השטוחים מוצגים קטנים ומוצהרים ככאלה —
   לא מתחזים לצילום, כדי לא לפגוע באמינות שאר הדף שכולו תמונות אמת. */
.products { background: var(--cream); padding: 44px 0; }
.products .section-head { margin-bottom: 26px; }
.products .section-head h2 { font-size: 1.4rem; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.prod-card { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); text-align: center; }
.prod-card .prod-img { width: 56px; height: 56px; margin: 16px auto 0; border-radius: 50%; background: var(--cream); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.prod-card .prod-img img { width: 34px; height: 34px; object-fit: contain; display: block; }
.prod-card .prod-body { padding: 8px 10px 14px; }
.prod-card h3 { font-size: 0.86rem; margin-bottom: 2px; }
.prod-card p { font-size: 0.78rem; line-height: 1.4; }
.prod-note { text-align: center; margin-top: 22px; }
@media (max-width: 640px) { .prod-grid { grid-template-columns: repeat(2, 1fr); max-width: 320px; } }

/* ===== Testimonials — ביקורות גוגל =====
   ברירת מחדל (בלי JS / הפחתת תנועה / פחות מ-3 ביקורות): רשת ממורכזת.
   .rv.is-flowing (reviews.js): פס שזורם לאט, נעצר ב-hover / פוקוס / מגע / כפתור עצירה. */
.reviews { --rv-ink-link: #8b6b5a; --rv-star: #e0a94e; overflow: hidden; }
.reviews .section-head { margin-bottom: 38px; }
.g-mark { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.ext { width: 13px; height: 13px; flex-shrink: 0; opacity: .75; }
.rv-proof { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px;
  font-size: .95rem; color: var(--muted); background: #fff; padding: 7px 16px 7px 14px;
  border-radius: 100px; box-shadow: var(--shadow-sm); }

.rv-viewport { padding: 10px 0 30px; }
.rv-track { list-style: none; margin: 0 auto; padding: 0 22px; max-width: var(--maxw);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.rv-item { flex: 1 1 300px; max-width: 360px; display: flex; }

.rv-card { margin: 0; flex: 1; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border-radius: var(--radius); padding: 24px 26px 22px;
  box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.rv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  display: grid; place-items: center; background: var(--cream); color: var(--mocha-dark);
  font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; line-height: 1; }
.rv-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.rv-name { font-weight: 700; color: var(--ink); }
.rv-meta { font-size: .85rem; color: var(--muted); }
.rv-src-mark { margin-inline-start: auto; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--bg); }
.rv-stars { display: flex; gap: 2px; }
.rv-stars span { width: 17px; height: 17px; display: block; }
.rv-stars svg { width: 100%; height: 100%; display: block; }
.rv-stars .on { fill: var(--rv-star); }
.rv-stars .off { fill: #eadfd3; }
.rv-text { margin: 0; }
.rv-text p { color: var(--ink); font-size: 1rem; line-height: 1.75; margin: 0; text-wrap: pretty; }
/* ביקורת ארוכה: 7 שורות + "להמשך הביקורת" (reviews.js מוסיף את המחלקה — בלי JS רואים הכול) */
.rv-text.is-clamped p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.rv-more { align-self: flex-start; margin-top: -8px; background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 700; color: var(--rv-ink-link); text-underline-offset: 3px; }
.rv-more:hover { text-decoration: underline; }
.rv-card > .rv-link { margin-top: auto; }
.rv-shot { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.rv-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--rv-ink-link); text-decoration: none;
  text-underline-offset: 3px; }
a.rv-link:hover { text-decoration: underline; }
.rv-link-plain { font-weight: 500; color: var(--muted); }

.rv-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.rv-google { gap: 10px; }
.rv-google .ext { opacity: .55; }
.rv-pause { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); padding: 10px 14px; border-radius: 100px;
  transition: background-color .2s, color .2s; }
.rv-pause:hover { background: var(--cream); color: var(--ink); }
.rv-pause svg { width: 14px; height: 14px; }
.rv-pause .i-play, .rv-pause[aria-pressed="true"] .i-pause { display: none; }
.rv-pause[aria-pressed="true"] .i-play { display: block; }
.rv-ask { text-align: center; margin-top: 16px; font-size: .95rem; }
.rv-ask a { color: var(--rv-ink-link); font-weight: 700; text-underline-offset: 3px; }

.rv-empty { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border-radius: var(--radius-lg);
  padding: 40px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rv-empty .g-mark { width: 30px; height: 30px; margin-bottom: 4px; }
.rv-empty-title { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; color: var(--ink); }
.rv-empty .btn { margin-top: 10px; }

/* --- מצב זרימה --- */
.rv.is-flowing .rv-viewport { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv.is-flowing .rv-track { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content;
  max-width: none; margin: 0; padding: 0; align-items: stretch;
  animation: rv-flow var(--rv-dur, 60s) linear infinite; }
.rv.is-flowing .rv-item { flex: 0 0 auto; width: 340px; max-width: none; margin-inline-end: 24px; }
.rv.is-flowing .rv-card { min-height: 100%; }
.rv.is-flowing:is(.is-paused, .is-held, .is-offscreen) .rv-track,
.rv.is-flowing .rv-viewport:hover .rv-track,
.rv.is-flowing .rv-viewport:focus-within .rv-track { animation-play-state: paused; }
@keyframes rv-flow { to { transform: translateX(50%); } }
@keyframes rv-flow-ltr { to { transform: translateX(-50%); } }
.rv.is-flowing .rv-track:dir(ltr) { animation-name: rv-flow-ltr; }
.rv-clone { display: none; }
.rv.is-flowing .rv-clone { display: flex; }
@media (max-width: 560px) {
  .rv.is-flowing .rv-item { width: min(82vw, 310px); margin-inline-end: 16px; }
  .rv-card { padding: 22px 22px 20px; }
}
/* בלי תנועה: חוזרים לרשת, בלי העתקים ובלי כפתור עצירה */
@media (prefers-reduced-motion: reduce) {
  .rv.is-flowing .rv-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 24px; width: auto; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
  .rv.is-flowing .rv-item { flex: 1 1 300px; width: auto; max-width: 360px; margin: 0; }
  .rv.is-flowing .rv-viewport { -webkit-mask-image: none; mask-image: none; }
  .rv.is-flowing .rv-clone, .rv-pause { display: none; }
}
html.a11y-noanim .rv.is-flowing .rv-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 24px; width: auto; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
html.a11y-noanim .rv.is-flowing .rv-item { flex: 1 1 300px; width: auto; max-width: 360px; margin: 0; }
html.a11y-noanim .rv.is-flowing .rv-viewport { -webkit-mask-image: none; mask-image: none; }
html.a11y-noanim .rv.is-flowing .rv-clone, html.a11y-noanim .rv-pause { display: none; }
html.a11y-contrast .rv-card, html.a11y-contrast .rv-empty { border: 2px solid #111; }

/* ===== Contact ===== */
.contact { background: linear-gradient(160deg, var(--nude-deep) 0%, var(--mocha-dark) 100%); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { color: #fff; max-width: 540px; margin: 0 auto 30px; }
.contact .btn-primary { background: #fff; color: var(--nude-deep); }
.contact .contact-info { margin-top: 26px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-weight: 500; }
.contact .contact-info a { color: #fff; text-decoration: none; }
.contact .contact-info > * { display: inline-flex; align-items: center; gap: 8px; }
.contact .ci-ic { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.contact .btn-primary .wa-ic { color: var(--nude-deep); }
footer p { color: #cbbfb4; }

/* ===== Footer ===== */
footer { background: var(--ink-deep); color: #cbbfb4; padding: 40px 0; text-align: center; font-size: 0.9rem; }
footer p { color: #cbbfb4; }
footer a { color: var(--nude); text-decoration: none; }
.social { display: flex; gap: 14px; justify-content: center; margin-bottom: 16px; }
.social a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.10); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--nude-deep); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* ===== Floating WhatsApp ===== */
.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 100; background: #0F7A43; /* ירוק וואטסאפ כהה — ניגודיות 5.4:1 לטקסט הלבן (AA) */ color: #fff; border-radius: 100px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px 13px 18px; font-weight: 700; font-size: 1rem; box-shadow: 0 8px 24px rgba(15,122,67,0.4); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-2px); background: #0B6637; box-shadow: 0 12px 28px rgba(15,122,67,0.5); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 480px) { .wa-float { padding: 15px; gap: 0; } .wa-float .wa-label { display: none; } }

/* ===== Breadcrumbs ===== */
.breadcrumb { max-width: 740px; margin: 0 auto; padding: 16px 22px 0; font-size: 0.9rem; color: var(--muted); }
.breadcrumb a { color: var(--nude-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--muted); }

/* ===== Related articles ===== */
.related { border-top: 1px solid rgba(0,0,0,0.08); margin-top: 40px; padding-top: 24px; }
.related h3 { font-size: 1.15rem; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 8px; }
.related a { color: var(--nude-deep); font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* ===== Article / page content ===== */
.page-head { background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 70%); padding: 56px 0 40px; text-align: center; }
.page-head .tag { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 10px 0; }
.page-head p { max-width: 600px; margin: 0 auto; }
.article { max-width: 740px; margin: 0 auto; padding: 50px 22px 70px; }
.article .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.article h2 { font-size: 1.5rem; margin: 34px 0 12px; color: var(--ink-deep); }
.article h3 { font-size: 1.2rem; margin: 22px 0 8px; }
.article p { margin-bottom: 16px; font-size: 1.08rem; }
.article ul, .article ol { margin: 0 0 18px; padding-right: 22px; }
.article li { margin-bottom: 8px; color: var(--ink); }
.article strong { font-weight: 700; color: var(--ink); }
.article a { color: var(--nude-deep); }
.article .note { background: var(--cream); border-radius: var(--radius); padding: 16px 20px; font-size: 0.95rem; color: var(--muted); margin: 24px 0; }
.article .cta-box { background: linear-gradient(160deg, var(--nude-deep) 0%, var(--mocha-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 30px; text-align: center; margin-top: 40px; }
.article .cta-box p { color: #fff; }
.article .cta-box .btn-primary { background: #fff; color: var(--nude-deep); margin-top: 10px; }
.article-hero { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-lg); display: block; margin: 18px 0 6px; box-shadow: var(--shadow); }

/* ===== WhatsApp icon inside buttons ===== */
.btn .wa-ic { width: 21px; height: 21px; flex-shrink: 0; }
.btn-primary .wa-ic { color: #fff; }

/* ===== Scroll reveal (only when JS active, so no-JS shows everything) ===== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ===== Decorative section-head accent ===== */
.section-head .tag { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.section-head .tag::before, .section-head .tag::after {
  content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .55;
}

/* ===== Hero — enhanced, alive ===== */
.hero { padding: 60px 0 132px; background: linear-gradient(165deg, #f7eee4 0%, #efe0d2 100%); }
.hero .blob { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; }
.hero .blob-1 { width: 340px; height: 340px; top: -70px; right: -90px;
  background: radial-gradient(circle at 32% 30%, rgba(203,176,138,.55), transparent 68%); animation: floaty 9s ease-in-out infinite; }
.hero .blob-2 { width: 280px; height: 280px; bottom: 30px; left: -80px;
  background: radial-gradient(circle at 32% 30%, rgba(200,166,147,.5), transparent 68%); animation: floaty 12s ease-in-out infinite reverse; }
.hero .eyebrow { background: rgba(255,255,255,0.95); backdrop-filter: blur(4px); }
.hero-img { position: relative; z-index: 2; aspect-ratio: 4/5; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50% 50% 30px 30px / 42% 42% 30px 30px;
  box-shadow: var(--shadow-lg); will-change: transform; }
.hero-img::before { content: ""; position: absolute; inset: -16px 10px -16px 10px; z-index: -1;
  border: 2px solid rgba(139,107,90,.35); border-radius: 50% 50% 34px 34px / 42% 42% 34px 34px;
  transition: transform .1s linear; }
/* gentle entrance on load */
.js .hero-img img { opacity: 0; transform: scale(.94) translateY(18px);
  animation: heroIn 1s .15s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero-img img { opacity: 1 !important; animation: none !important; transform: none !important; } }

/* Hero quote badge */
.hero-badge { position: absolute; bottom: 22px; inset-inline-start: -14px; z-index: 3;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 11px 16px;
  display: flex; align-items: center; gap: 11px; }
.hero-quote { margin: 0; max-width: 230px; align-items: flex-start; gap: 8px;
  padding: 14px 20px 15px; }
.hero-quote .hero-quote-mark { font-family: var(--font-head); font-size: 2.1rem; line-height: .8;
  color: var(--nude); flex-shrink: 0; margin-top: 2px; }
.hero-quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 500;
  font-size: .92rem; line-height: 1.45; color: var(--ink); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 92px; display: block; }
.hero-wave path { fill: var(--bg); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@media (max-width: 860px) {
  .hero { padding-bottom: 96px; }
  .hero-img { max-width: 380px; margin: 0 auto; aspect-ratio: 4/5; }
  .hero-wave svg { height: 58px; }
}

/* ===== Before / After ===== */
.ba { background: var(--cream); }
.ba-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1000px; margin: 0 auto; }
.ba-pair { flex: 1 1 380px; max-width: 780px; margin: 0;
  background: #fff; padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow); }
/* בלי JS — שתי התמונות זו לצד זו */
.ba-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-col { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4/5; background: var(--cream); }
.ba-col img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ba-pair:hover .ba-col img { transform: scale(1.04); }
.ba-tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  font-size: .74rem; font-weight: 700; padding: 5px 13px; border-radius: 100px; color: #fff; letter-spacing: .02em; }
.ba-before { background: rgba(58,51,46,.75); }
.ba-after { background: var(--nude-deep); }
@media (max-width: 480px) { .ba-col { aspect-ratio: 3/4; } }

/* עם JS (ba-slider.js) — סליידר לפני/אחרי: "לפני" מעל "אחרי", נחשף עד הסמן.
   --p = מיקום הסמן (0–1) מהצד ההתחלתי (ימין); --x = אותו מיקום בפיקסלים,
   כשמרכז העיגול לא יוצא מהמסגרת. */
.ba-pair.is-slider .ba-stage {
  --p: .5; --knob: 46px;
  --x: calc(var(--knob) / 2 + (100% - var(--knob)) * var(--p));
  position: relative; grid-template-columns: 1fr; grid-template-rows: 1fr; gap: 0;
  aspect-ratio: 5/4; border-radius: 14px; overflow: hidden; background: var(--cream);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba-pair.is-slider .ba-col { grid-area: 1 / 1; aspect-ratio: auto; border-radius: 0; }
.ba-pair.is-slider .ba-col img { object-position: 50% 35%; transition: none; pointer-events: none; -webkit-user-drag: none; }
.ba-pair.is-slider:hover .ba-col img { transform: none; }
.ba-pair.is-slider .ba-col-before { z-index: 1; clip-path: inset(0 0 0 calc(100% - var(--x))); }
.ba-pair.is-slider .ba-stage:dir(ltr) .ba-col-before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-pair.is-slider .ba-after { inset-inline-start: auto; inset-inline-end: 12px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; inset-inline-start: var(--x); z-index: 3;
  width: 2px; margin-inline-start: -1px; background: rgba(255,255,255,.92);
  box-shadow: 0 2px 10px rgba(58,51,46,.28); pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: var(--knob); height: var(--knob);
  transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--nude-deep);
  box-shadow: 0 6px 18px rgba(58,51,46,.22); transition: transform .2s, box-shadow .2s;
}
.ba-knob svg { width: 24px; height: 24px; }
.ba-stage:hover .ba-knob, .ba-stage.is-dragging .ba-knob {
  transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 10px 26px rgba(58,51,46,.28);
}
/* שדה הטווח הנסתר — נותן שליטה במקלדת ובקורא מסך; הגרירה עצמה ב-JS */
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba-range:focus-visible + .ba-handle .ba-knob { outline: 3px solid #1a73e8; outline-offset: 3px; }
@media (max-width: 480px) { .ba-pair.is-slider .ba-stage { aspect-ratio: 1/1; } }

/* ===== Blog listing ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; max-width: var(--maxw); margin: 0 auto; padding: 50px 22px 70px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s; }
.post-card:hover { transform: translateY(-6px); }
.post-card .thumb { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--cream); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 22px; }
.post-card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.post-card p { font-size: 0.98rem; }
.post-card .more { color: var(--nude-deep); font-weight: 700; margin-top: 12px; display: inline-block; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===== Mobile polish (≤640px) — ריווחים מהודקים וכפתורים נוחים לטלפון ===== */
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .hero { padding: 40px 0 84px; }
  .hero p.lead { font-size: 1.08rem; margin-bottom: 26px; }
  .hero-buttons { gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .page-head { padding: 40px 0 30px; }
  .article { padding: 34px 20px 54px; }
  .article p { font-size: 1.04rem; }
  .contact .contact-info { gap: 12px 22px; }
  .prod-card .prod-body { padding: 14px 12px 18px; }
}

/* ===== Tool line art — ציורי הכלים ברקע, ליד הטיפולים =====
   איורי קו של הציוד (src/_includes/art, נוצרים ב-scripts/genart.js). קו אחד ברוחב אחיד, נגיעת זהב אחת,
   ומתחת לכלי הסימן שהוא משאיר על העור. רגע התנועה היחיד: הסימן "נמשך" (stroke-dashoffset). */
:root { --blush: #efd6c8; }
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art-accent, .art-spark, .art-beam { stroke: var(--gold); }
.art-fine { stroke-width: 1; opacity: .6; }
.art-skin { fill: var(--blush); stroke: none; opacity: .55; }
.art-dots .art-m { stroke-width: 2.2; }
.art-arch { stroke-width: 1.4; }
.art-thread { stroke-width: 1.2; }
@keyframes art-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.art-m { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* כרטיס טיפול + ציור הכלי שלו ברקע — אלמנט רקע עדין שלא מתחרה בתמונות */
.svc { position: relative; display: flex; }
.svc > .card { flex: 1; }
.svc-art { position: absolute; pointer-events: none; color: var(--nude-deep); }
.svc-art .art { opacity: .3; }
.svc-art .art-skin { opacity: .7; }
.js .svc-art:not(.in) .art-m { stroke-dashoffset: 1; }
.js .svc-art.in .art-m { animation: art-draw .7s cubic-bezier(.25,.8,.3,1) calc(.5s + var(--i) * 50ms) both; }
.js .svc-art.in .art-dots .art-m { animation-delay: calc(.5s + var(--i) * 9ms); }
/* מסך רחב: הציור כולו בשוליים הריקים שליד הכרטיס — לא נוגע בכרטיס. הרוחב לפי המקום שיש בשוליים */
@media (min-width: 1400px) {
  .svc-art { --aw: clamp(130px, calc((100vw - 1056px) / 2 - 34px), 215px);
    width: var(--aw); top: 50%; translate: 0 -50%; }
  .svc:nth-child(odd) .svc-art { inset-inline-start: calc(-1 * var(--aw) - 18px); }
  .svc:nth-child(even) .svc-art { inset-inline-end: calc(-1 * var(--aw) - 18px); }
  .svc:nth-child(even) .svc-art .art { transform: scaleX(-1); }
}
/* מסך צר יותר: הציור בתוך הכרטיס, בעמודה משלו ליד הטקסט (שמור לו מקום בריפוד) — אף פעם לא מעל טקסט או תמונה */
@media (max-width: 1399px) {
  .svc-art { width: 132px; bottom: 22px; inset-inline-end: 20px; z-index: 2; }
  .svc-art .art { opacity: .4; }
  .svc-has-art .card-body { padding-inline-end: 168px; min-height: 160px; }
}
@media (max-width: 560px) {
  .svc-art { width: 92px; bottom: 18px; inset-inline-end: 12px; }
  .svc-has-art .card-body { padding-inline-end: 112px; min-height: 130px; }
}
html.a11y-noanim .art-m { stroke-dashoffset: 0 !important; }
html.a11y-contrast .svc-art { color: #111 !important; }

/* ===== Lightbox — הגדלת תמונות בגלריה (lightbox.js) =====
   בלי JS הקישורים פשוט פותחים את התמונה. עם JS: חלון <dialog> עם הקודם/הבא, מקלדת והחלקה. */
.lb { border: 0; padding: 0; margin: auto; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; overflow: hidden; color: #fff; }
.lb::backdrop { background: rgba(30, 24, 20, .9); }
.lb[open] { display: grid; place-items: center; animation: lb-in .25s ease-out; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 72px 24px; max-width: 100%; }
.lb-img { max-width: min(92vw, 980px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.45); display: block; touch-action: pan-y; user-select: none; }
.lb-cap { font-size: .95rem; color: rgba(255,255,255,.88); text-align: center; max-width: 640px; }
.lb-count { font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .06em; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev { top: 50%; translate: 0 -50%; inset-inline-start: 16px; }
.lb-next { top: 50%; translate: 0 -50%; inset-inline-end: 16px; }
.lb-btn[hidden] { display: none; }
html.lb-lock { overflow: hidden; }
html.lb-lock .wa-float, html.lb-lock .a11y-btn { visibility: hidden; }
@media (max-width: 640px) {
  .lb-fig { padding: 70px 12px 90px; }
  .lb-img { max-width: 100%; max-height: calc(100vh - 220px); }
  .lb-prev, .lb-next { top: auto; bottom: 22px; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .lb[open] { animation: none; } }
html.a11y-noanim .lb[open] { animation: none; }

/* ===== 404 ===== */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 70px 22px 90px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 70%); }
.nf-inner { max-width: 520px; }
.nf-num { font-family: var(--font-title); font-weight: 300; font-size: clamp(4.5rem, 14vw, 7rem); line-height: 1; color: var(--nude); letter-spacing: .04em; }
.nf h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 10px 0 12px; }
.nf p { margin-bottom: 26px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nf-links { margin-top: 28px; display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; font-size: .95rem; }
.nf-links a { color: var(--nude-deep); font-weight: 600; text-underline-offset: 3px; }

/* ===== Footer — עמודות קישורים (טיפולים / מידע / יצירת קשר) ===== */
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: right; margin-bottom: 30px; }
.foot-h { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; color: #cbbfb4; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-col .social { justify-content: flex-start; margin: 14px 0 0; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.foot-consent { background: none; border: 0; color: var(--nude); font: inherit; text-decoration: underline; cursor: pointer; margin-inline-start: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ===== באנר הסכמה לעוגיות מדידה ===== */
.consent { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 300; max-width: 640px; margin-inline: auto; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); }
.consent p { flex: 1 1 280px; margin: 0; font-size: .95rem; color: var(--ink); }
.consent-actions { display: flex; gap: 10px; }
.consent .btn { padding: 10px 20px; font-size: .95rem; }

/* ===== כרטיס טיפול — כל הכרטיס לחיץ, הקישור עצמו על הכותרת (נגיש לקוראי מסך) ===== */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--nude-deep); outline-offset: 3px; }
.card-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .92rem; color: var(--nude-deep); }
.card:hover .card-more { text-decoration: underline; }
.courses-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ===== סרטון האווירה — כפתור עצירה (WCAG 2.2.2) ===== */
.video-frame { position: relative; }
.video-toggle { position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(46,40,35,.72); color: #fff; border: 0; border-radius: 100px; padding: 9px 15px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.video-toggle:hover { background: rgba(46,40,35,.9); }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }

/* ===== שאלות נפוצות ===== */
.faq-sec { background: var(--bg); }
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; color: var(--ink-deep); display: flex; justify-content: space-between; gap: 14px; align-items: center; border-radius: var(--radius-sm); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--nude-deep); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--nude-deep); outline-offset: 2px; }
.faq-a { padding: 0 22px 18px; }
.faq-a p { margin: 0; color: var(--ink); }
.article .faq { margin-top: 40px; }
.article .faq h2 { margin-bottom: 18px; }
.article .faq-a p { font-size: 1rem; margin: 0; }

/* ===== עמוד טיפול ===== */
.svc-hero { background: linear-gradient(160deg, var(--cream) 0%, var(--bg) 70%); padding: 46px 0 56px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.svc-hero .eyebrow { display: inline-block; background: #fff; color: var(--nude-deep); padding: 7px 16px; border-radius: 100px; font-weight: 700; font-size: 0.82rem; margin-bottom: 16px; box-shadow: var(--shadow); }
.svc-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin-bottom: 16px; }
.svc-hero .lead { font-size: 1.12rem; margin-bottom: 26px; max-width: 560px; }
.svc-points { list-style: none; margin-top: 24px; display: grid; gap: 8px; }
.svc-points li { position: relative; padding-inline-start: 26px; color: var(--ink); font-weight: 500; }
.svc-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--nude-deep); border-bottom: 2px solid var(--nude-deep); transform: rotate(-45deg); }
.svc-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--cream); }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 28px; } .svc-hero-img { max-width: 420px; aspect-ratio: 4/3; } }
.svc-article { padding-top: 40px; }
.svc-article ol li::marker { color: var(--nude-deep); font-weight: 700; }
.svc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 30px 0 10px; }
.svc-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-more { margin-top: 46px; }
.svc-more h2 { font-size: 1.4rem; }
.svc-more ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.svc-more li { margin: 0; }
.svc-more a { display: flex; flex-direction: column; gap: 2px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; }
.svc-more a:hover { transform: translateY(-3px); border-color: var(--nude); }
.svc-more a span { color: var(--muted); font-size: .92rem; }
.course-tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 6px 0 20px; }
.course-track { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.course-track h3 { margin-top: 0; }
.course-track p { white-space: pre-line; font-size: 1rem; margin: 0; }

/* ===== עמודים משפטיים ===== */
.legal h2 { font-size: 1.3rem; }
.legal h3 { font-size: 1.1rem; }
.legal p, .legal li { font-size: 1.02rem; }

/* כניסת טקסט הפתיחה — CSS בלבד ובלי שקיפות, כדי שהטקסט יופיע מיד (חשוב ל-LCP) */
.js .hero-copy { animation: hero-rise .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hero-rise { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero-copy { animation: none; } }
html.a11y-noanim .hero-copy { animation: none !important; }

/* =====================================================================
   רענון עיצוב 2026-10 (taste) — שומר על הפלטה, הגופנים והתוכן; משנה קומפוזיציה ותנועה
   ===================================================================== */

/* טיפוגרפיה: שבירת שורה מאוזנת בכותרות, בלי מילה יתומה בפסקאות */
h1, h2, h3 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

/* משוב לחיצה — הכפתור "נלחץ" פיזית */
.btn:active, .nav-cta:active, .wa-float:active, .ig-follow:active, .social a:active {
  transform: translateY(0) scale(.98); transition-duration: .08s;
}

/* Header — צל עדין רק כשהדף נגלל (reveal.js מוסיף is-scrolled) */
.scroll-sentinel { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 24px; pointer-events: none; }
header { transition: box-shadow .3s ease, background-color .3s ease; }
header.is-scrolled { background: rgba(253,251,248,0.94); box-shadow: 0 6px 24px rgba(58,51,46,.07); }

/* Hero parallax — CSS scroll-driven במקום מאזין גלילה. בדפדפן בלי תמיכה: התמונה פשוט נייחת */
@keyframes hero-drift { to { transform: translateY(52px); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-img { animation: hero-drift linear both; animation-timeline: scroll(root block); animation-range: 0 400px; }
  }
}
html.a11y-noanim .hero-img { animation: none !important; }
@media (max-width: 640px) { .hero .eyebrow { font-size: .76rem; padding: 6px 14px; } }

/* ===== בידול — בנטו: אחריות ההסרה באריח מוביל, שני היתרונות לצדו ===== */
.diff-grid:has(.is-key) { grid-template-columns: 1.1fr 1fr; gap: 20px; }
.diff-grid:has(.is-key) .diff-card { text-align: start; }
.diff-grid:has(.is-key) .diff-card:not(.is-key) { padding: 28px 30px; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
.diff-grid:has(.is-key) .diff-card:not(.is-key) .ic { margin: 0; grid-row: span 2; }
.diff-grid:has(.is-key) .diff-card h3 { margin-top: 4px; }
.diff-card.is-key {
  grid-column: 1; grid-row: 1 / span 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0;
  padding: 44px 40px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(203,176,138,.38), transparent 52%),
    linear-gradient(160deg, var(--nude-deep) 0%, var(--mocha-dark) 100%);
  box-shadow: 0 16px 40px rgba(111,85,71,.28);
}
.diff-grid:has(.is-key) .diff-card.is-key .ic { width: 64px; height: 64px; margin: 0 0 auto; background: rgba(255,255,255,.16); }
.diff-card.is-key .ic + h3 { margin-top: 48px; }
.diff-card.is-key h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: 12px; }
.diff-card.is-key p { color: #fff; font-size: 1.08rem; max-width: 38ch; }
@media (max-width: 860px) {
  .diff-grid:has(.is-key) { grid-template-columns: 1fr; }
  .diff-card.is-key { grid-column: auto; grid-row: auto; order: -1; padding: 34px 28px; }
}
@media (max-width: 480px) {
  .diff-grid:has(.is-key) .diff-card:not(.is-key) { grid-template-columns: 1fr; }
  .diff-grid:has(.is-key) .diff-card:not(.is-key) .ic { grid-row: auto; margin-bottom: 14px; }
}
html.a11y-contrast .diff-card.is-key { background: #3a2a22; }

/* ===== גלריה — בנטו: העבודה הראשונה גדולה, השאר מסביבה ===== */
.gallery-grid.is-bento { display: grid; gap: 16px; }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.is-bento a { flex: none; }
.gallery-grid.is-bento a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
/* התמונה הגדולה לא קובעת את גובה השורות — הריבועים הקטנים קובעים, והיא ממלאת */
.gallery-grid.is-bento a:first-child img { position: absolute; inset: 0; }
@media (max-width: 640px) {
  .gallery-grid.is-bento { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid.is-bento a:first-child { aspect-ratio: 1/1; }
  /* מספר זוגי של תמונות קטנות חסר אחת — האחרונה נמתחת לרוחב מלא, בלי חור */
  .gallery-grid.is-bento a:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 2/1; }
}

/* ===== סרטון האווירה — הסרטון אנכי, ולכן מסגרת אנכית ליד הטקסט (במקום מסך רחב עם שוליים מטושטשים) ===== */
.video-grid { display: grid; grid-template-columns: 1fr minmax(240px, 300px); gap: 72px; align-items: center; max-width: 860px; }
.video-head { text-align: start; margin: 0; max-width: 460px; }
.video-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.video-head p { font-size: 1.1rem; }
.video-head .tag::before { display: none; }
.video-grid .video-frame { width: 100%; max-width: 300px; margin: 0; aspect-ratio: 9/16; border-radius: var(--radius-lg); justify-self: end; }
@media (max-width: 760px) {
  .video-grid { grid-template-columns: 1fr; gap: 28px; }
  .video-head { text-align: center; margin: 0 auto; }
  .video-head .tag::before { display: block; }
  .video-grid .video-frame { max-width: 300px; justify-self: center; }
}

/* ===== שאלות נפוצות — פתיחה רכה (דפדפנים תומכים; באחרים נפתח מיד) ===== */
.faq-item { transition: box-shadow .25s ease; }
.faq-item summary { transition: background-color .2s ease; }
.faq-item summary:hover { background: var(--tint); }
.faq-item[open] { box-shadow: var(--shadow); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: hidden;
    transition: block-size .32s cubic-bezier(.2,.7,.2,1), content-visibility .32s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
  @media (prefers-reduced-motion: reduce) { .faq-item::details-content { transition: none; } }
  html.a11y-noanim .faq-item::details-content { transition: none; }
}

/* =====================================================================
   ליטוש מערכת (awesome-design: refined / premium / editorial)
   מצבים מפורשים לכל רכיב, משטחי מגע של 44px, ותמיכה בניגודיות גבוהה
   ===================================================================== */

/* ניווט — קו תחתון שנמתח מהצד ההתחלתי ב-hover, וסימון העמוד הנוכחי */
@media (min-width: 861px) {
  .nav-links a { position: relative; padding-block: 10px; }
  .nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1.5px;
    background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
  .nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
}
.nav-links a[aria-current] { color: var(--nude-deep); }
.nav-toggle { padding: 9px; }

/* כפתור משני — מצב hover מפורש (לא רק הרמה) */
.btn-ghost:hover { box-shadow: var(--shadow-lg); color: var(--nude-deep); }

/* מצב טעינה — רקע קרם חם מתחת לתמונות שעוד לא נטענו, במקום לבן ריק */
.card-img, .gallery-grid a { background: var(--cream); }

/* משטחי מגע — לפחות 44px לכל פקד קטן */
.social a { width: 44px; height: 44px; }
.video-toggle, .rv-pause { min-height: 44px; padding-inline: 16px; }
.rv-more { padding: 10px 0; margin-top: -14px; }
.rv-link { min-height: 32px; }
.foot-col li > a { display: inline-block; padding-block: 4px; }
.foot-col li { margin-bottom: 4px; }
.foot-consent { padding: 6px 4px; }

/* ניגודיות גבוהה של מערכת ההפעלה (Windows) — משטחים שמוגדרים רק ברקע וצל מקבלים מסגרת */
@media (forced-colors: active) {
  .btn, .nav-cta, .wa-float, .card, .diff-card, .faq-item, .rv-card, .prod-card, .ba-pair, .ig-follow, .consent { border: 1px solid CanvasText; }
  .nav-links a::after { background: CanvasText; }
}
