/* שחר & שחר — דף נחיתה. נגישות: ת"י 5568 / WCAG AA — ניגודיות, פוקוס גלוי, הגדלה 200%, הפחתת תנועה. */
@font-face { font-family: "Assistant"; font-weight: 400; font-display: swap; src: url("fonts/assistant-hebrew-400-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 700; font-display: swap; src: url("fonts/assistant-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 800; font-display: swap; src: url("fonts/assistant-hebrew-800-normal.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 400; font-display: swap; src: url("fonts/assistant-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: "Assistant"; font-weight: 700; font-display: swap; src: url("fonts/assistant-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: "Assistant"; font-weight: 800; font-display: swap; src: url("fonts/assistant-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }

:root {
  --navy: #0b1f3a;
  --navy-2: #163158;
  --gold: #e3c65b;
  --gold-dark: #7a5c12;      /* זהב לטקסט על רקע בהיר — ניגודיות 6:1 */
  --ivory: #faf8f3;
  --paper: #ffffff;
  --ink: #1c2433;
  --muted: #4a5568;          /* 7:1 על לבן */
  --line: #e2ddd1;
  --error: #a4161a;
  --ok: #1f6f43;
  --focus: #1a5fd0;
  --radius: 14px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; scroll-padding-bottom: 90px; } /* שדה בפוקוס לא מוסתר מאחורי הפסים הקבועים */
main { overflow-x: clip; } /* הזזות מהעורך (--dx) לא יוצרות גלילה לרוחב */
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: "Assistant", "Segoe UI", Arial, sans-serif; font-size: 1.125rem; line-height: 1.65;
  padding-bottom: 76px; /* מקום לפס הפעולה התחתון בטלפון */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* פוקוס גלוי ובולט — חובה לניווט במקלדת */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .topbar :focus-visible, .mobile-cta :focus-visible { outline-color: #ffffff; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- פס עליון ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { display: block; font-size: 1.1rem; letter-spacing: .02em; }
.brand b span { color: var(--gold); }
.brand small { display: block; font-size: .78rem; color: #d9cfa8; letter-spacing: .18em; }
.topbar nav { display: flex; gap: 8px; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ecd57f; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-wa { background: #1f7a4d; color: #fff; }      /* ירוק כהה — ניגודיות 5.4:1 עם לבן */
.btn-wa:hover { background: #18633e; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .98rem; }
.topbar .btn-sm.call { display: none; }
@media (min-width: 560px) { .topbar .btn-sm.call { display: inline-flex; } }

/* ---------- פתיחה ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, #0e2748 100%); color: #fff; padding: 36px 0 48px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: #e8e3d4; max-width: 46ch; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } .hero { padding: 64px 0 72px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .98rem; color: #d9cfa8; list-style: none; padding: 0; margin: 0; }
.trust li::before { content: "◆"; color: var(--gold); margin-inline-end: 8px; font-size: .7em; vertical-align: middle; }

.video { border-radius: var(--radius); overflow: hidden; background: #081729; border: 1px solid rgba(227,198,91,.35); aspect-ratio: 9 / 12; max-height: 560px; margin-inline: auto; width: 100%; max-width: 420px; display: grid; place-items: center; text-align: center; padding: 24px; color: #d9cfa8; }
.video img { width: 72px; margin: 0 auto 12px; }
.transcript { margin-top: 12px; max-width: 420px; margin-inline: auto; color: #e8e3d4; font-size: 1rem; }
.transcript summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }

/* ---------- חלקים ---------- */
section { padding: 56px 0; }
.alt { background: var(--paper); border-block: 1px solid var(--line); }
.kicker { display: inline-block; font-weight: 700; color: var(--gold-dark); letter-spacing: .06em; margin-bottom: 6px; }
.situations { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .situations { grid-template-columns: 1fr 1fr; } }
.situations li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.situations li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .6em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,198,91,.25); }
.callout { font-size: 1.2rem; color: var(--navy); font-weight: 700; max-width: 60ch; }

.quiet { background: var(--navy); color: #fff; }
.quiet h2 { color: #fff; }
.quiet p { color: #e8e3d4; max-width: 60ch; font-size: 1.15rem; }

.paths { display: grid; gap: 16px; margin: 24px 0 12px; }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }
.fine { font-size: .95rem; color: var(--muted); max-width: 75ch; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--ivory); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; margin-bottom: 10px; }
.steps b { display: block; color: var(--navy); font-size: 1.1rem; }

.about { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 280px 1fr; } }
.photo-ph { aspect-ratio: 4/5; border-radius: var(--radius); background: #e9e4d8; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 16px; max-width: 280px; }

.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); min-height: 48px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

/* ---------- טופס ---------- */
.form-section { background: linear-gradient(180deg, #0e2748, var(--navy)); color: #fff; }
.form-section h2 { color: #fff; }
.form-section .sub { color: #e8e3d4; }
.form-card { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 24px; max-width: 620px; margin-top: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field input { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; border: 2px solid #8a94a6; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus-visible { border-color: var(--focus); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field.choice { border: 0; padding: 0; min-width: 0; }
.field.choice legend { font-weight: 700; margin-bottom: 8px; color: var(--navy); padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 2px solid #8a94a6; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field.choice[aria-invalid="true"] .opt span { border-color: var(--error); }
.err { color: var(--error); font-weight: 700; font-size: .98rem; margin-top: 6px; }
.err:empty { display: none; }
.privacy { font-size: .92rem; color: var(--muted); background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 6px 0 16px; line-height: 1.55; }
.privacy p { margin: 0 0 .5em; }
.privacy p:last-child { margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.check input { width: 24px; height: 24px; flex: none; margin-top: 3px; accent-color: var(--navy); }
.check label { font-size: 1rem; text-align: justify; text-align-last: right; }
.req { color: var(--error); font-weight: 700; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 10px; font-weight: 700; }
.form-status.bad { color: var(--error); }
.thanks h3 { font-size: 1.5rem; }
.thanks p { color: var(--muted); }
.alt-contact { margin-top: 16px; color: #e8e3d4; }
.alt-contact a { color: var(--gold); font-weight: 700; }

/* ---------- סיום ותחתית ---------- */
.closing { text-align: center; }
.closing .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
footer { background: #081729; color: #cfc7b0; padding: 32px 0 40px; font-size: .95rem; }
footer a { color: #f1e6bf; }
footer .legal { margin-top: 10px; color: #b9b29d; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }

/* ---------- פס פעולה תחתון בטלפון ---------- */
.mobile-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; background: var(--navy); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; box-shadow: 0 -4px 18px rgba(0,0,0,.18); transition: transform .2s; }
.mobile-cta .btn { flex: 1; }
.mobile-cta.hidden { transform: translateY(110%); }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- באנר עוגיות (חלון הסכמה, לא פרסומת) ---------- */
.cookie { position: fixed; z-index: 60; inset-inline: 12px; bottom: 12px; max-width: 560px; margin-inline: auto; background: var(--paper); color: var(--ink); border: 2px solid var(--navy); border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cookie p { margin: 0 0 12px; font-size: 1rem; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { flex: 1; min-width: 120px; }
.cookie[hidden] { display: none; }

/* ---------- דפי מידע (נגישות / פרטיות) ---------- */
.doc { background: var(--paper); max-width: 820px; margin: 32px auto; padding: 28px 24px; border-radius: 16px; border: 1px solid var(--line); }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc ul { padding-inline-start: 1.3em; }

/* סימון שדות שצח צריך להשלים — יוסר לפני העלייה לאוויר */
.todo { background: #fff3b0; color: #5c4400; padding: 0 4px; border-radius: 4px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) { .btn { border: 2px solid ButtonText; } }

/* כשבאנר העוגיות פתוח — שדה בפוקוס לא יוסתר מאחוריו (WCAG 2.4.11) */
html.cookie-open { scroll-padding-bottom: 260px; }
html.cookie-open body { padding-bottom: 260px; }
.hero-kicker { color: #d9cfa8; font-weight: 700; letter-spacing: .04em; margin: 0 0 8px; font-size: 1.05rem; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 3.8rem); }
.hero h1 em { display: block; }

/* משפט מחץ אחרי רשימת הכאב */
.punchline { margin: 36px 0 0; text-align: center; font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.3; color: var(--navy); }
.punchline span { display: block; color: var(--gold-dark); }
.punchline::before { content: ""; display: block; width: 64px; height: 3px; margin: 0 auto 20px; border-radius: 2px; background: var(--gold); }
.situations li { font-size: 1.15rem; }
.quiet h2 .gold { color: var(--gold); display: block; }
#paths-title .gold-dark { color: var(--gold-dark); display: block; }
.card p + p { margin-top: .7em; }
.card .bonus { background: #fbf5df; border-inline-start: 3px solid var(--gold); padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.honest { font-weight: 700; color: var(--navy); margin: 8px 0 14px; }

/* שלבים: ספרה קלאסית גדולה לפני הטקסט, בלי עיגול */
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.steps li::before { content: none; }
.steps .num { font-family: Georgia, "Times New Roman", serif; font-size: 3.4rem; line-height: .9; color: var(--gold-dark); font-weight: 400; min-width: 1ch; }
@media (min-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
.key { margin-top: 24px; background: var(--navy); color: #fff; padding: 18px 20px; border-radius: var(--radius); font-size: 1.1rem; }
.key b { color: var(--gold); }
#stories-title .gold-dark { color: var(--gold-dark); display: block; }
.steps li p { margin: 0; }

/* סרטוני לקוחות — נגן מקומי, בלי פרסומות של אחרים */
.stories { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.stories li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stories video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #081729; }
.stories p { margin: 0; padding: 12px 14px; font-size: 1rem; color: var(--muted); }
/* בטלפון: שני סרטונים בשורה, כדי לא לגלול מסך שלם לכל סרטון */
.stories { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 860px) { .stories { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.stories p { font-size: .92rem; padding: 10px 12px; }
/* סרטון הפתיחה (16.10.2026): במקום ה"מקום לסרטון" — הסרטון ממלא את המסגרת 9:16 */
.video.has-video { padding: 0; aspect-ratio: 9 / 16; max-height: 640px; max-width: 360px; display: block; }
.video.has-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #081729; }
/* תמונת צח ב"נעים להכיר" (16.10.2026) — במקום photo-ph */
.photo { width: 100%; max-width: 280px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); border: 2px solid rgba(201,162,76,.55); box-shadow: 0 10px 28px rgba(11,31,58,.18); display: block; margin-inline: auto; }

/* ed-free-move: הזזה חופשית שנעשתה בעורך הדף — רק במסך רחב (1500px ומעלה, כדי שלא יברח מהמסך בנייד קטן או באייפד); בטלפון הכול נשאר אחד מתחת לשני */
@media (min-width: 1500px) {
  [style*="--dx"], [style*="--dy"] { position: relative; translate: var(--dx, 0px) var(--dy, 0px); }
}

/* ---------- תפריט נגישות (assets/a11y.js) ---------- */
.a11y-btn { position: fixed; z-index: 50; inset-inline-end: 0; top: 42%; width: 52px; height: 52px; display: grid; place-items: center; background: var(--focus); color: #fff; border: 2px solid #fff; border-inline-end: 0; border-radius: 12px 0 0 12px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
[dir="rtl"] .a11y-btn { border-radius: 0 12px 12px 0; border-inline-end: 2px solid #fff; border-inline-start: 2px solid #fff; }
.a11y-btn:focus-visible, .a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.a11y-panel { position: fixed; z-index: 70; inset-inline-end: 60px; top: max(12px, calc(42% - 140px)); width: min(300px, calc(100vw - 80px)); max-height: calc(100vh - 24px); overflow: auto; background: var(--paper); color: var(--ink); border: 2px solid var(--navy); border-radius: var(--radius); padding: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.28); display: grid; gap: 8px; font-size: 1rem; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; }
.a11y-head h2 { font-size: 1.25rem; margin: 0; }
.a11y-x { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 6px; }
.a11y-size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; font-weight: 700; }
.a11y-size button, .a11y-opt { font: inherit; font-weight: 700; min-height: 44px; border-radius: 10px; border: 2px solid var(--navy); background: var(--paper); color: var(--navy); cursor: pointer; padding: 6px 10px; }
.a11y-opt { text-align: start; }
.a11y-opt[aria-pressed="true"] { background: var(--navy); color: #fff; }
.a11y-opt[aria-pressed="true"]::after { content: " ✓"; }
.a11y-reset { border-style: dashed; }
.a11y-link { font-weight: 700; padding: 4px 2px; }
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .dark, html.a11y-contrast .topbar, html.a11y-contrast .mobile-cta { background: #000 !important; color: #fff !important; }
html.a11y-contrast .dark *, html.a11y-contrast .topbar * { color: #fff !important; }
html.a11y-contrast a { color: #0000c8; }
html.a11y-contrast .dark a, html.a11y-contrast .topbar a { color: #ffe14d !important; }
html.a11y-gray body > *:not(.a11y-panel):not(.a11y-btn) { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff59d; color: #000 !important; }
html.a11y-readable body, html.a11y-readable button, html.a11y-readable input { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: .02em; word-spacing: .08em; line-height: 1.8; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media print { .a11y-btn, .a11y-panel { display: none; } }
