/* מערכת עיצוב קבועה, RTL. קובץ אחד לכל האתר. 31.10.2026.
   הנוהל המלא: websites\מערכת עיצוב לכל אתר.md. כל הערכים הכיווניים לוגיים. */

/* גופן Heebo משתנה (300 עד 800), מקומי, OFL. הלטיני קודם והעברי אחריו: בחפיפה (U+200C-2010) העברי גובר. */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

:root {
  color-scheme: light dark;

  /* מותג */
  --accent: #E07A2E;
  --accent-hover: #E98A42;
  --on-accent: #1A1814;

  /* מצב בהיר */
  --bg: #F3F1EC;
  --surface: #FFFFFF;
  --card: #EDEAE2;
  --soft: #FDF1E7;
  --ink: #2B2B2B;
  --muted: #5F5F5F;
  --accent-text: #A84A0C;
  --line: #D9D9D9;
  --focus: #2B2B2B;
  --badge-bg: #A84A0C;
  --badge-ink: #FFFFFF;
  --wa: #1A7F4B;
  --dark-bg: #0F0E0B;
  --closing-bg: #0F0E0B;

  /* ריווח */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px; --s9: 128px;
  --section: 96px;

  /* טיפוגרפיה */
  --font: "Heebo", "Segoe UI", Arial, sans-serif;
  --fs-xs: 15px; --fs-s: 17px; --fs-m: 20px; --fs-l: 24px; --fs-xl: 32px; --fs-2xl: 44px; --fs-3xl: 60px;
  --w-text: 400; --w-ui: 600; --w-head: 800;

  /* צורות */
  --radius: 16px;
  --pill: 999px;
  --shadow-float: 0 4px 14px rgba(0,0,0,.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16140F;
    --surface: #211E18;
    --card: #2A2219;
    --soft: #33261A;
    --ink: #F3F1EC;
    --muted: #B3AEA5;
    --accent-text: #F0A064;
    --line: #3A352B;
    --focus: #F3F1EC;
    --badge-bg: #E07A2E;
    --badge-ink: #1A1814;
    --closing-bg: #2A2219;
  }
}

/* אזורים כהים תמיד (פתיחה), וגם פס הסיום: אותם ערכים כהים בשני המצבים */
.stage-hero, .closing {
  --ink: #F3F1EC;
  --muted: #B3AEA5;
  --accent-text: #F0A064;
  --focus: #F3F1EC;
  --card: #2A2219;
  --soft: #33261A;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: var(--w-text); font-size: var(--fs-s); line-height: 1.65;
}
img, video { max-width: 100%; }
a { color: var(--accent-text); }
a:focus-visible, button:focus-visible, video:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
strong, b { font-weight: var(--w-ui); }
.ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; inset-inline-start: 12px; top: -64px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--pill); z-index: 30; }
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--s4); }
.read { max-width: 728px; }
.read p { max-width: none; font-size: 19px; }

/* קצב: הפרדה בין חלקים בגוון ובמרווח, בלי קווים */
main section { padding-block: var(--section); background: var(--surface); color: var(--ink); }
main section:nth-of-type(even) { background: var(--bg); }
main section.stage-hero { background: var(--dark-bg); }
main section.closing { background: var(--closing-bg); }
main section.tight { padding-block: var(--s7); }

/* כותרת עליונה וניווט */
header.top { background: var(--surface); border-bottom: 3px solid var(--accent); }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); padding-block: 12px; }
.logo-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo-link img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.brand { font-size: 21px; font-weight: var(--w-head); line-height: 1.25; }
.sub { color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); max-width: none; }
nav li { margin: 0; }
nav a { display: inline-block; padding: 10px 4px; min-height: 44px; color: var(--ink); font-weight: var(--w-ui); text-decoration: none; border-bottom: 3px solid transparent; }
nav a:hover { border-bottom-color: var(--accent); }
nav a[aria-current="page"] { border-bottom-color: var(--accent-text); color: var(--accent-text); }

/* טיפוגרפיה: בלי ריווח אותיות, בלי italic, בלי אותיות גדולות */
h1, h2, h3 { text-wrap: balance; font-weight: var(--w-head); }
h1 { font-size: clamp(32px, 5vw, var(--fs-2xl)); line-height: 1.2; margin: 0 0 var(--s3); }
h2 { font-size: clamp(24px, 3.5vw, var(--fs-xl)); line-height: 1.2; margin: 0 0 var(--s3); color: var(--accent-text); }
h3 { font-size: var(--fs-m); line-height: 1.3; margin: 0 0 var(--s1); }
p { margin: 0 0 12px; max-width: 62ch; }
ul, ol { margin: 0 0 12px; padding-inline-start: 22px; max-width: 66ch; }
li { margin-bottom: var(--s2); }
.lead { font-size: clamp(18px, 2.2vw, 22px); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-xs); }
[id] { scroll-margin-top: 16px; }

/* כפתורים: עגולים, גובה 48 לפחות */
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: var(--s4); }
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: var(--w-head); text-decoration: none; padding: 14px 28px; border-radius: var(--pill); min-height: 48px; font-size: 18px; line-height: 1.4; }
.btn:hover { background: var(--accent-hover); }
.link2 { font-weight: var(--w-ui); padding: 12px 4px; display: inline-block; min-height: 48px; }

/* פתיחה רגילה */
.hero { padding-block: 72px var(--s7); }
.hero p { font-size: clamp(18px, 2.2vw, 22px); }

/* פתיחה כהנה עם סרטונים במרכז (דף הבית) */
.stage-hero { padding-block: 72px var(--s8); text-align: center; }
.stage-hero h1 { font-size: clamp(32px, 7vw, var(--fs-3xl)); max-width: 20ch; margin-inline: auto; }
.stage-hero p { margin-inline: auto; }
.stage-hero .btns { justify-content: center; }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: var(--s5); margin-top: var(--s7); justify-content: center; text-align: start; }
.videos figure:nth-child(2) { transform: translateY(-32px); }
figure { margin: 0; }
video { width: 100%; aspect-ratio: 9/16; background: #000; border-radius: var(--radius); display: block; object-fit: cover; }
figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 10px; line-height: 1.5; }
.vwrap { position: relative; }
.vbtn { position: absolute; inset-block-start: var(--s2); inset-inline-end: var(--s2); width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--pill); display: grid; place-items: center; cursor: pointer; background: var(--dark-bg); background: color-mix(in srgb, var(--dark-bg) 72%, transparent); color: #F3F1EC; }
.vbtn svg { width: 24px; height: 24px; fill: currentColor; }
.vbtn:hover { background: var(--dark-bg); }
.vbtn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 3px var(--dark-bg); }

/* שלבים */
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: var(--w-head); display: grid; place-items: center; }
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); max-width: none; margin-top: var(--s5); }
.steps-row li { display: block; margin: 0; }
.steps-row li::before { display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--accent-text); font-size: var(--fs-3xl); line-height: 1.1; margin-bottom: var(--s2); content: counter(s); content: counter(s) / ""; }
@media (min-width: 900px) { .split > .wrap > .steps-row { grid-column: 1 / -1; } }

/* כרטיס חבילה: גוון במקום מסגרת וצל */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-block: var(--s5) var(--s3); }
.pkg { border-radius: var(--radius); padding: 56px var(--s4) var(--s5); text-align: center; background: var(--card); overflow: hidden; }
.pkg.rec { background: var(--soft); padding-top: 0; }
@media (min-width: 761px) { .pkg.rec { position: relative; z-index: 1; transform: scale(1.04); box-shadow: var(--shadow-float); } }
.badge { background: var(--badge-bg); color: var(--badge-ink); font-size: var(--fs-xs); font-weight: var(--w-ui); padding: 8px var(--s3); margin: 0 calc(var(--s4) * -1) 18px; text-align: center; line-height: 1.5; }
.num { font-size: 64px; font-weight: var(--w-head); line-height: 1.1; }
.unit { color: var(--muted); margin-bottom: var(--s2); }
.price { font-size: var(--fs-xl); font-weight: var(--w-head); color: var(--accent-text); line-height: 1.3; }
.per { font-size: var(--fs-xs); color: var(--muted); margin: 0; max-width: none; }
.pkg .btn { margin-top: var(--s3); }
.note { text-align: center; color: var(--muted); font-size: var(--fs-xs); max-width: none; }
.trial { margin-top: var(--s4); border-inline-start: 6px solid var(--accent); border-radius: var(--radius); background: var(--card); padding: var(--s4); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.trial p { margin: 0; max-width: none; }
.trial .t { font-size: 19px; font-weight: var(--w-head); display: block; }
.trial .p { font-size: 26px; font-weight: var(--w-head); color: var(--accent-text); white-space: nowrap; }

/* שאלה ותשובה */
.qa { margin: 0; display: grid; gap: var(--s4); }
.qa dt { font-weight: var(--w-head); margin-bottom: var(--s1); }
.qa dd { margin: 0; max-width: 66ch; }

/* טבלת השוואה: קווים מותרים בטבלה אמיתית */
.table-wrap { overflow-x: auto; margin-block: var(--s3); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: var(--fs-s); line-height: 1.5; }
th, td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); font-weight: var(--w-head); }
tbody th { font-weight: var(--w-ui); color: var(--muted); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }

/* פריסות */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.cities { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); max-width: none; }
.cities li { margin: 0; background: var(--card); border-radius: var(--pill); padding: 4px 16px; font-size: var(--fs-xs); }
.related { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); list-style: none; padding: 0; max-width: none; }
.related li { margin: 0; }
.related a { display: inline-block; padding: 12px 0; font-weight: var(--w-ui); }

/* כותרת בטור צר וקריאה בטור רחב */
@media (min-width: 900px) {
  .split > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); column-gap: var(--s7); align-items: start; }
  .split > .wrap > h2 { grid-column: 1; }
  .split > .wrap > :not(h2) { grid-column: 2; }
}

/* בלוג */
.posts { list-style: none; padding: 0; max-width: none; display: grid; gap: var(--s3); }
.posts li { margin: 0; border-radius: var(--radius); padding: var(--s4); background: var(--card); }
.posts h2 { font-size: var(--fs-l); margin-bottom: var(--s2); }
.posts p { margin: 0; }
.meta { color: var(--muted); font-size: var(--fs-xs); }
article h2 { margin-top: var(--s5); }
article h2:first-of-type { margin-top: 0; }

/* תחתית: שלושה טורים במחשב, מקום לכפתור הצף */
footer { background: var(--surface); padding-block: var(--s6) 100px; font-size: var(--fs-xs); color: var(--muted); }
footer .wrap { display: grid; gap: var(--s2); }
footer p { margin: 0; max-width: none; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s4); max-width: none; }
footer li { margin: 0; }
footer a { display: inline-block; padding: 11px 0; }
@media (min-width: 900px) {
  footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; column-gap: var(--s6); align-items: start; }
  footer .wrap > p:nth-child(1) { grid-column: 1; grid-row: 1; }
  footer .wrap > p:nth-child(2) { grid-column: 1; grid-row: 2; }
  footer .wrap > ul { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; }
  footer .wrap > p:nth-child(3) { grid-column: 3; grid-row: 1; }
}

/* כפתור וואטסאפ צף: צף באמת, לכן מותר לו צל */
.wa-float { position: fixed; inset-inline-end: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: var(--shadow-float); z-index: 10; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

@media (max-width: 760px) {
  :root { --section: 56px; }
  .hero { padding-block: 40px var(--s6); }
  .stage-hero { padding-block: 40px var(--s7); }
  main section.tight { padding-block: var(--s6); }
  .steps-row { grid-template-columns: 1fr; gap: var(--s4); }
  .steps-row li::before { font-size: var(--fs-2xl); }
  .wrap { padding-inline: 20px; }
  .pkgs { grid-template-columns: 1fr; gap: var(--s5); }
  .pkg.rec { order: -1; }
  .cols { grid-template-columns: 1fr; gap: 0; }
  .videos { grid-template-columns: minmax(0, 300px); gap: var(--s6); margin-top: var(--s6); }
  .videos figure:nth-child(2) { transform: none; }
  .trial { flex-direction: column; text-align: center; }
  .btn { width: 100%; text-align: center; }
  .read p { font-size: 18px; }
}
