/* וינוגרד משכנתאות · כיוון "נועז ואנרגטי" בצבעי המותג. המתכון ב-design.md */

@font-face { font-family: "Almoni"; src: url("assets/fonts/almoni-regular-aaa.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Almoni"; src: url("assets/fonts/almoni-medium-aaa.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Almoni"; src: url("assets/fonts/almoni-bold-aaa.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Almoni"; src: url("assets/fonts/almoni-ultrabold-aaa.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Almoni"; src: url("assets/fonts/almoni-black-aaa.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  /* ארבעת צבעי הבסיס. אזור הניהול משנה רק אותם, וכל השאר נגזר מהם */
  --ink: #00104B;      /* דיו: כחול כהה */
  --blue: #2B5ADF;     /* כחול מלכותי: כפתורים ומשטחים */
  --yellow: #D8BC94;   /* הדגשה ראשית: חול */
  --teal: #4171F9;     /* הדגשה משנית: כחול בהיר */

  --slate: color-mix(in srgb, var(--ink) 62%, var(--teal));
  --ink-2: color-mix(in srgb, var(--ink) 82%, var(--blue));
  --beige: color-mix(in srgb, var(--yellow) 55%, #fff);
  --sand-l: color-mix(in srgb, var(--yellow) 22%, #fff);
  --muted: color-mix(in srgb, var(--ink) 72%, #fff);
  --on-dark: color-mix(in srgb, var(--teal) 14%, #fff);
  --surface: color-mix(in srgb, var(--teal) 5%, #fff);
  --surface-2: color-mix(in srgb, var(--teal) 9%, #fff);
  --line: color-mix(in srgb, var(--teal) 22%, #fff);
  --wa: #25D366;

  --font-head: "Almoni", "Heebo", "Assistant", sans-serif;
  --font-body: "Almoni", "Heebo", "Assistant", sans-serif;
  --shadow-card: 0 30px 70px color-mix(in srgb, var(--ink) 16%, transparent);
  --shadow-pop: 0 18px 40px color-mix(in srgb, var(--ink) 32%, transparent);
  --r-card: 28px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
main, .footer { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--ink); background: #fff; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- טיפוגרפיה של ה-DNA ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--blue); letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.dark .eyebrow, .eyebrow--light { color: var(--yellow); }
.title { font-weight: 900; font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.5px; }
.title--sm { font-size: clamp(30px, 4vw, 48px); }
/* הדגשה ג': מרקר בצבע החול מאחורי המילה */
.mark { position: relative; z-index: 0; white-space: nowrap; padding-inline: 4px; }
.mark::after { content: ""; position: absolute; z-index: -1; inset: 52% -2px 4% -2px; background: var(--yellow); border-radius: 4px; transform: skewX(-8deg); }
.dark .mark, .page-hero .mark { color: var(--ink); }
.dark .mark::after, .page-hero .mark::after { inset: 8% -6px 2% -6px; }
.mark--ink { color: #fff; }
.mark--ink::after { background: var(--ink); inset: 8% -6px 2% -6px; }
.lead-p { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.dark .lead-p { color: var(--on-dark); }
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .lead-p { margin-top: 16px; }
.section__head--center .lead-p { margin-inline: auto; }
.dark { background: var(--ink); color: #fff; }
.tint { background: var(--surface); }
.sand-bg { background: linear-gradient(180deg, var(--beige), #fff); }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border: 0; border-radius: 999px; font-weight: 900; font-size: 17px; line-height: 1.1; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sand { color: var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--yellow) 60%, #fff), var(--yellow)); box-shadow: 0 8px 20px color-mix(in srgb, var(--yellow) 45%, transparent); }
.btn--blue { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 75%, #fff), var(--blue)); box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 38%, transparent), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn--ink { color: #fff; background: linear-gradient(135deg, var(--ink-2), var(--ink)); box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--ghost { color: #fff; background: rgb(255 255 255 / .12); border: 2px solid rgb(255 255 255 / .5); }
.btn--line { color: var(--ink); background: #fff; border: 2px solid var(--line); }
.btn--line:hover { border-color: var(--blue); }
.btn--wa { color: #fff; background: var(--wa); box-shadow: 0 8px 20px rgb(37 211 102 / .35); }
.btn--lg { min-height: 60px; padding: 16px 34px; font-size: 19px; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(-4px); }
.dark .link-arrow { color: var(--yellow); }

/* ---------- תפריט צף ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 12px; transition: left .3s; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1280px; margin: 0 auto; padding: 8px 10px; padding-inline-start: 20px; border-radius: 999px; background: rgb(255 255 255 / .96); box-shadow: 0 14px 40px color-mix(in srgb, var(--ink) 16%, transparent); backdrop-filter: blur(8px); }
.logo { display: flex; align-items: center; flex: none; }
.logo__img { height: 44px; width: auto; }
.nav__links { display: none; gap: 4px; font-size: 16px; font-weight: 700; }
.nav__links a { padding: 8px 11px; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.nav__links a:hover { background: var(--surface-2); }
.nav__links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__wa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--wa); flex: none; }
.nav__wa svg { width: 22px; height: 22px; }
.nav__cta { display: none; }
.nav__burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.nav__burger svg { width: 22px; height: 22px; }
.menu { position: fixed; inset: 0; z-index: 70; display: grid; align-content: start; gap: 6px; padding: 90px 24px 32px; background: var(--ink); color: #fff; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
.menu--open { transform: none; visibility: visible; }
.menu a { padding: 12px 6px; font-family: var(--font-head); font-weight: 800; font-size: 26px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.menu a[aria-current="page"] { color: var(--yellow); }
.menu__close { position: absolute; top: 20px; left: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.menu__close svg { width: 24px; height: 24px; }
.menu__actions { display: grid; gap: 10px; margin-top: 22px; }
.menu__actions a { border: 0; font-family: var(--font-body); font-size: 18px; }

/* ---------- פתיחה, דף הבית (מבנה ה') ---------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 0; background: var(--ink); color: #fff; isolation: isolate; }
.hero__grid { display: grid; gap: 24px; align-items: end; }
.hero__text { padding-bottom: 8px; }
.pill-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-size: 15px; font-weight: 700; margin-bottom: 22px; }
.pill-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 30%, transparent); }
.hero h1 { font-weight: 900; font-size: clamp(42px, 6vw, 78px); line-height: 1.02; letter-spacing: -.5px; }
.hero h1 .mark { color: var(--ink); }
.hero h1 .mark::after { inset: 8% -6px 2% -6px; }
.hero__p { margin-top: 22px; font-size: 21px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; list-style: none; font-size: 16px; font-weight: 700; color: var(--on-dark); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }
.hero__media { position: relative; min-height: 420px; display: flex; justify-content: center; align-items: flex-end; }
.hero__person { position: relative; z-index: 2; width: auto; max-width: 80%; max-height: min(70vh, 640px); margin-bottom: -2px; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .35)); }
.hero__glow { position: absolute; z-index: 0; bottom: -60px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 75%, transparent) 0%, transparent 68%); }
.hero__arch { position: absolute; z-index: 1; bottom: 0; width: min(64%, 340px); aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--blue), color-mix(in srgb, var(--blue) 30%, var(--ink))); }
.hero__arch::after { content: ""; position: absolute; inset: 16px 16px 0; border-radius: inherit; border: 2px dashed rgb(255 255 255 / .28); border-bottom: 0; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-pop); font-weight: 800; font-size: 15px; line-height: 1.2; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--blue); }
.float small { font-weight: 600; color: var(--muted); font-size: 14px; }
.float--a { top: 12%; left: 0; }
.float--b { bottom: 22%; right: 0; animation-delay: -2s; background: var(--yellow); }
.float--b small { color: var(--ink); }
.float--c { top: 46%; left: 4%; animation-delay: -4s; padding: 10px 14px; border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff; border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(6px); box-shadow: none; }
.float__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--blue); flex: none; }
.float__ico svg { width: 20px; height: 20px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* שכבת העיטור: צורות הלוגו, עיגולים זוהרים ונקודות */
.motif { position: absolute; z-index: 1; bottom: 0; left: 0; width: clamp(90px, 13vw, 170px); pointer-events: none; }
.glow { position: absolute; z-index: -1; width: 540px; height: 540px; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; }
.glow--teal { background: color-mix(in srgb, var(--teal) 60%, transparent); top: -200px; right: -160px; }
.glow--blue { background: color-mix(in srgb, var(--blue) 55%, transparent); bottom: -260px; left: 10%; }
.dots { position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--teal) 40%, transparent) 1.4px, transparent 1.6px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 60%); pointer-events: none; }
.dots--light { background-image: radial-gradient(color-mix(in srgb, var(--teal) 30%, transparent) 1.4px, transparent 1.6px); }

/* מעבר ב': קצה אלכסוני, כמו הזווית של הלוגו */
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%); padding-bottom: 150px; }
.cut-top { clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%); padding-top: 150px; margin-top: -64px; }

/* ---------- פס אמון ---------- */
.trust { position: relative; z-index: 5; margin-top: -1px; }
.trust__card { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); transform: translateY(-46px); margin-bottom: -46px; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 12px; }
.trust__item b { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 900; line-height: 1.2; }
.trust__item span { font-size: 15px; color: var(--muted); line-height: 1.4; }
.ico-ring { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--yellow) 70%, transparent); flex: none; }
.ico-ring svg { width: 26px; height: 26px; }
.trust__item .ico-ring, .way .ico-ring { color: #fff; font-size: 0; }

/* ---------- רצועה רצה ---------- */
.ticker { position: relative; z-index: 4; margin: 70px 0 0; padding: 18px 0; background: var(--blue); color: #fff; transform: rotate(-1.5deg); overflow: hidden; box-shadow: 0 16px 40px color-mix(in srgb, var(--blue) 30%, transparent); }
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font-family: var(--font-head); font-weight: 900; font-size: 24px; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 14px; height: 14px; background: var(--yellow); clip-path: polygon(0 0, 60% 0, 60% 40%, 100% 40%, 100% 100%, 0 100%); }
@keyframes ticker { to { transform: translateX(50%); } }

/* ---------- כרטיסים ---------- */
.grid { display: grid; gap: 18px; }
.card { position: relative; padding: 30px 26px; border-radius: var(--r-card); background: #fff; border: 2px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.card h3 { font-size: 25px; font-weight: 900; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 17px; }
.card .link-arrow { margin-top: 16px; }
.card__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--surface-2); color: var(--blue); }
.card__ico svg { width: 28px; height: 28px; }
.card--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--feature p { color: var(--on-dark); }
.card--feature .card__ico { background: rgb(255 255 255 / .1); color: var(--yellow); }
a.card { display: block; }

/* כרטיס ד': כרטיס כהה עם ספרה ענקית בצבע ההדגשה */
.step { position: relative; overflow: hidden; padding: 30px 28px 32px; border-radius: var(--r-card); background: var(--ink-2); color: #fff; border: 1px solid rgb(255 255 255 / .1); }
.step:nth-child(2) { background: color-mix(in srgb, var(--blue) 70%, var(--ink)); }
.step:nth-child(3) { background: color-mix(in srgb, var(--slate) 85%, var(--ink)); }
.step:nth-child(4) { background: color-mix(in srgb, var(--blue) 90%, var(--ink)); }
.step__num { font-family: var(--font-head); font-weight: 900; font-size: 84px; line-height: .9; color: var(--yellow); letter-spacing: -2px; }
.step h3 { font-size: 26px; font-weight: 900; margin: 14px 0 8px; }
.step p { color: var(--on-dark); font-size: 17px; }
.step::after { content: ""; position: absolute; left: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgb(255 255 255 / .15); }

/* איור התחום: בית קטן שעולה על קו מקווקו כמו גרף */
.climb { position: relative; height: 130px; margin: 0 0 30px; }
.climb svg.climb__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.climb__house { position: absolute; width: 54px; height: 54px; offset-path: path("M 0 110 C 180 110 260 70 420 64 S 700 20 900 10"); offset-rotate: 0deg; animation: climb 9s ease-in-out infinite; }
@keyframes climb { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* ---------- מספרים ---------- */
.stats { display: grid; gap: 30px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(60px, 9vw, 104px); line-height: 1; color: var(--blue); letter-spacing: -2px; }
.stat b small { font-size: .4em; color: var(--ink); margin-inline-start: 4px; letter-spacing: 0; }
.stat span { display: block; margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--muted); }

/* ---------- היכרות ---------- */
.founder { display: grid; gap: 40px; align-items: center; }
.founder__media { position: relative; max-width: 340px; margin-inline: auto; }
.founder__blob { position: absolute; inset: 8% 4% 0; border-radius: 44% 56% 56% 44% / 46% 56% 44% 54%; background: var(--yellow); transform: rotate(-8deg); }
.founder__blob--2 { background: var(--teal); opacity: .35; transform: rotate(12deg) scale(.96); }
.founder__img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 40px; box-shadow: var(--shadow-card); }
.founder__sig { margin-top: 26px; font-family: var(--font-head); font-weight: 900; font-size: 30px; color: var(--blue); }
.founder__sig span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--muted); }
.prose-lg p + p { margin-top: 16px; }
.prose-lg p { font-size: 19px; color: var(--muted); }
.quote-line { margin-top: 22px; padding: 18px 22px; border-radius: 22px; background: var(--surface-2); font-weight: 800; font-size: 20px; color: var(--ink); }

/* ---------- המלצות ---------- */
.testis { display: grid; gap: 18px; }
.testi { position: relative; padding: 32px 28px 26px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.testi:nth-child(2) { background: var(--sand-l); }
.testi::before { content: "״"; position: absolute; top: 4px; left: 22px; font-family: var(--font-head); font-weight: 900; font-size: 110px; line-height: 1; color: color-mix(in srgb, var(--blue) 20%, transparent); }
.testi p { position: relative; font-size: 18px; line-height: 1.65; }
.testi footer { margin-top: 18px; font-weight: 900; color: var(--blue); }
.testi footer span { display: block; font-weight: 600; font-size: 15px; color: var(--muted); }

/* ---------- סיפורי הצלחה ---------- */
.case { display: grid; gap: 0; overflow: hidden; border-radius: 32px; background: #fff; box-shadow: var(--shadow-card); }
.case + .case { margin-top: 28px; }
.case__head { padding: 30px 28px; background: var(--ink); color: #fff; }
.case__head h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin-top: 6px; }
.case__body { display: grid; gap: 14px; padding: 26px 28px 30px; }
.case__part b { display: inline-block; margin-bottom: 6px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--blue); font-size: 14px; font-weight: 800; }
.case__part--result b { background: var(--yellow); color: var(--ink); }
.case__part p { color: var(--muted); }
.case__quote { margin-top: 6px; padding: 20px 22px; border-radius: 22px; background: var(--sand-l); font-size: 19px; font-weight: 700; }
.case__quote span { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--blue); }

/* ---------- שאלות נפוצות ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: 22px; background: #fff; border: 2px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 19px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--blue); font-size: 24px; font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.faq details > p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- רצועת יצירת קשר ---------- */
.cta { position: relative; overflow: hidden; background: var(--yellow); color: var(--ink); isolation: isolate; }
.cta__ghost { position: absolute; z-index: -1; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-head); font-weight: 900; font-size: clamp(90px, 20vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--ink) 14%, transparent); white-space: nowrap; pointer-events: none; }
.cta__grid { display: grid; gap: 36px; align-items: center; }
.cta h2 { font-weight: 900; font-size: clamp(40px, 6vw, 72px); }
.cta .lead-p { color: var(--ink); opacity: .85; margin-top: 16px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__btns .btn--line { background: transparent; border-color: var(--ink); }
.cta__contact { display: grid; gap: 8px; margin-top: 26px; font-weight: 700; }
.cta__contact a, .cta__contact span { display: inline-flex; align-items: center; gap: 10px; }
.cta__contact svg { width: 20px; height: 20px; }

/* ---------- טופס פניות ---------- */
.lead { display: grid; gap: 14px; padding: 30px 26px; border-radius: 30px; background: #fff; box-shadow: 0 30px 70px color-mix(in srgb, var(--ink) 22%, transparent); }
.lead__title { font-size: 28px; font-weight: 900; color: var(--ink); }
.lead__sub { margin-top: -6px; color: var(--muted); font-size: 16px; }
.lead__row { display: grid; gap: 14px; }
.lead__field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--muted); }
.lead__field input, .lead__field select, .lead__field textarea, .field input, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 17px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.lead__field textarea { min-height: 90px; resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); background: #fff; }
.lead__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead__submit { width: 100%; margin-top: 4px; }
.lead__submit:disabled { opacity: .6; }
.lead__msg { min-height: 1.4em; font-size: 15px; font-weight: 700; color: var(--blue); }
.lead__msg--bad { color: #B42318; }
.lead__done { padding: 30px 10px; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--ink); }
.lead__note { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- כותרת עמוד פנימי ---------- */
.page-hero { position: relative; overflow: hidden; padding: 150px 0 120px; background: var(--ink); color: #fff; isolation: isolate; }
.page-hero h1 { font-weight: 900; font-size: clamp(40px, 6vw, 76px); letter-spacing: -.5px; max-width: 900px; }
.page-hero h1 .mark { color: var(--ink); }
.page-hero .lead-p { margin-top: 20px; color: var(--on-dark); }
.page-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 15px; font-weight: 700; color: var(--on-dark); list-style: none; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 8px; opacity: .6; }
.crumbs a:hover { color: var(--yellow); }
.page-hero--person .wrap { display: grid; gap: 20px; align-items: end; }
.page-hero__person { position: relative; width: auto; max-width: 70%; max-height: 380px; margin: 0 auto -120px; z-index: 2; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .35)); }

/* ---------- רשימות עם וי ---------- */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.checks svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; margin-top: 1px; }
.checks--no svg { background: color-mix(in srgb, var(--ink) 15%, #fff); color: var(--ink); }
.fit { display: grid; gap: 18px; }
.fit__box { padding: 30px 28px; border-radius: var(--r-card); background: #fff; border: 2px solid var(--line); }
.fit__box--yes { border-color: var(--blue); box-shadow: var(--shadow-card); }
.fit__box h3 { font-size: 26px; font-weight: 900; margin-bottom: 18px; }

/* ---------- שלבי חיים ---------- */
.timeline { display: grid; gap: 18px; counter-reset: t; }
.tl { position: relative; padding: 28px 26px; border-radius: var(--r-card); background: #fff; border: 2px solid var(--line); }
.tl__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 900; font-size: 24px; }
.tl h3 { font-size: 24px; font-weight: 900; margin: 14px 0 6px; }
.tl p { color: var(--muted); }

/* ---------- מאמרים ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 800; font-size: 16px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--blue); }
.chip--on { background: var(--ink); border-color: var(--ink); color: #fff; }
.posts { display: grid; gap: 22px; }
.post { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: #fff; border: 2px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.post__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--surface-2); }
.post__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.post__cat { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--blue); font-size: 14px; font-weight: 800; }
.post h3 { font-size: 23px; font-weight: 900; line-height: 1.2; }
.post p { color: var(--muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__meta { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.post--featured { border: 0; background: var(--ink); color: #fff; }
.post--featured p { color: var(--on-dark); }
.post--featured .post__meta { color: var(--on-dark); }
.post--featured .post__cat { background: var(--yellow); color: var(--ink); }
.join { display: grid; gap: 16px; align-items: center; padding: 30px 28px; border-radius: var(--r-card); background: var(--blue); color: #fff; }
.join h3 { font-size: 28px; font-weight: 900; }
.join p { color: var(--on-dark); }

/* עמוד מאמר */
.article { max-width: 780px; margin-inline: auto; }
.article__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-card); margin-top: -90px; position: relative; z-index: 3; background: var(--surface-2); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--on-dark); }
.rich { margin-top: 36px; font-size: 19px; line-height: 1.8; }
.rich p { margin-bottom: 18px; }
.rich p:empty { display: none; }
.rich h2, .rich h3 { margin: 34px 0 12px; font-weight: 900; }
.rich h2 { font-size: 30px; }
.rich h3 { font-size: 25px; }
.rich strong { font-weight: 800; color: var(--ink); }
.rich ul, .rich ol { margin: 0 0 18px; padding-inline-start: 24px; }
.rich li { margin-bottom: 8px; }
.rich li::marker { color: var(--blue); font-weight: 900; }
.rich a { color: var(--blue); text-decoration: underline; }
.disclaimer { margin-top: 34px; padding: 16px 20px; border-radius: 18px; background: var(--surface-2); font-size: 15px; font-weight: 700; color: var(--muted); }
.article__cta { margin-top: 40px; padding: 34px 30px; border-radius: 30px; background: var(--ink); color: #fff; text-align: center; }
.article__cta h3 { font-size: 30px; font-weight: 900; }
.article__cta p { color: var(--on-dark); margin: 10px 0 22px; }
.article__cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- מדריכים ---------- */
.tip { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 24px; background: var(--sand-l); margin-bottom: 30px; }
.tip svg { width: 30px; height: 30px; flex: none; color: var(--blue); }
.tip b { display: block; font-size: 19px; margin-bottom: 4px; }
.guides { display: grid; gap: 18px; }
.guide { border-radius: var(--r-card); background: #fff; border: 2px solid var(--line); overflow: hidden; }
.guide[open] { border-color: var(--blue); box-shadow: var(--shadow-card); }
.guide summary { display: flex; align-items: center; gap: 16px; padding: 22px 22px; cursor: pointer; list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide__badge { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--ink); color: var(--yellow); font-family: var(--font-head); font-weight: 900; font-size: 20px; flex: none; }
.guide summary b { display: block; font-size: 20px; font-weight: 900; line-height: 1.25; }
.guide summary span { font-size: 15px; color: var(--muted); }
.guide summary::after { content: "+"; margin-inline-start: auto; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--blue); font-size: 24px; transition: transform .25s; }
.guide[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.guide ol { list-style: none; counter-reset: s; display: grid; gap: 10px; padding: 0 22px 24px; }
.guide li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); font-size: 17px; }
.guide li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 900; font-size: 15px; }

/* ---------- מחשבונים ---------- */
.calc { display: grid; gap: 22px; align-items: start; }
.panel { padding: 28px 24px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-card); }
.panel h2 { font-size: 26px; font-weight: 900; margin-bottom: 18px; }
.panel--dark { background: var(--ink); color: #fff; }
.howto { padding: 18px 20px; border-radius: 20px; background: var(--surface-2); font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.howto b { color: var(--ink); }
.fields { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 15px; font-weight: 700; color: var(--muted); }
.field input[type="range"] { min-height: 0; padding: 0; border: 0; background: transparent; accent-color: var(--blue); height: 32px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.field__row output { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--blue); }
.field__hint { font-size: 14px; color: var(--muted); }
.fields--2 { display: grid; gap: 16px; }
.results { display: grid; gap: 12px; }
.res { padding: 18px 20px; border-radius: 20px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); }
.res span { display: block; font-size: 15px; font-weight: 700; color: var(--on-dark); }
.res b { display: block; margin-top: 2px; font-family: var(--font-head); font-weight: 900; font-size: 34px; line-height: 1.1; color: #fff; }
.res--main { background: var(--yellow); border-color: var(--yellow); }
.res--main span, .res--main b { color: var(--ink); }
.res--main b { font-size: 46px; }
.res--neg b { color: #FF9C8F; }
.empty-res { padding: 30px 10px; text-align: center; color: var(--on-dark); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.track { padding: 20px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); }
.track + .track { margin-top: 14px; }
.track__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.track__head b { font-family: var(--font-head); font-size: 20px; font-weight: 900; }
.track__del { min-height: 36px; padding: 4px 14px; border: 0; border-radius: 999px; background: #fff; color: #B42318; font-weight: 800; cursor: pointer; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 2px solid var(--line); }
.seg button { min-height: 40px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; margin-top: 18px; border-radius: 18px; border: 2px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--surface-2); font-weight: 800; position: sticky; top: 0; }
.tbl td { font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 260px; margin-top: 10px; }
.legend { display: flex; gap: 18px; font-size: 15px; font-weight: 700; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-inline-end: 6px; vertical-align: -2px; }
.impact { display: grid; gap: 14px; }
.impact__card { padding: 22px; border-radius: 22px; background: var(--surface-2); }
.impact__card span { display: block; font-weight: 800; }
.impact__card b { display: block; font-family: var(--font-head); font-weight: 900; font-size: 32px; color: var(--blue); margin-top: 6px; }
.impact__card small { font-size: 15px; color: var(--muted); font-weight: 700; }
.acc { border-radius: 20px; border: 2px solid var(--line); background: #fff; }
.acc + .acc { margin-top: 12px; }
.acc summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 900; font-size: 18px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-inline-start: auto; font-size: 22px; color: var(--blue); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; }
.acc__dot--on { background: var(--wa); }
.acc .fields { padding: 0 20px 20px; }
.tax-note { padding: 12px 16px; border-radius: 14px; background: var(--sand-l); font-weight: 800; }
.gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, var(--ink) 70%, transparent); }
.gate[hidden] { display: none; }
.gate .lead { width: min(100%, 480px); max-height: calc(100vh - 32px); overflow-y: auto; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: none; }

/* ---------- קטלוג מחשבונים ---------- */
.calc-hero { display: grid; gap: 22px; align-items: center; padding: 34px 30px; border-radius: 32px; background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.calc-hero h3 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; }
.calc-hero p { color: var(--on-dark); margin-top: 10px; font-size: 19px; }

/* ---------- יצירת קשר ---------- */
.contact-grid { display: grid; gap: 22px; align-items: start; }
.ways { display: grid; gap: 14px; }
.way { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 24px; background: #fff; border: 2px solid var(--line); transition: border-color .2s, transform .2s; }
a.way:hover { border-color: var(--blue); transform: translateY(-2px); }
.way b { display: block; font-size: 19px; font-weight: 900; }
.way span { color: var(--muted); font-size: 16px; }
.next-steps { display: grid; gap: 16px; }

/* ---------- כותרת תחתונה ---------- */
.footer { position: relative; padding: 140px 0 40px; margin-top: -64px; background: var(--ink); color: var(--on-dark); clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%); }
.footer__grid { display: grid; gap: 34px; }
.footer__logo { width: 190px; }
.footer__about { margin-top: 18px; max-width: 340px; font-size: 16px; }
.footer h4 { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 16px; }
.footer a:hover { color: var(--yellow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); font-size: 14px; }
.footer__disc { margin-top: 18px; font-size: 14px; opacity: .8; }
.footer-space { height: 64px; }

/* ---------- וואטסאפ צף ---------- */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: var(--wa); box-shadow: 0 10px 26px rgb(37 211 102 / .45); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .45; animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }

/* ---------- תנועה בכניסה ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- טאבלט ומחשב ---------- */
@media (min-width: 700px) {
  .trust__card { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .testis { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .lead__row { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .case__body { grid-template-columns: repeat(3, 1fr); }
  .case__quote { grid-column: 1 / -1; }
  .fields--2 { grid-template-columns: 1fr 1fr; }
  .impact { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .join { grid-template-columns: 1fr auto; }
  .guides { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__cta { display: inline-flex; }
  .hero { padding-top: 150px; }
  .hero__grid { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .hero__text { padding-bottom: 130px; align-self: center; }
  .hero__media { min-height: min(74vh, 660px); }
  .trust__card { grid-template-columns: repeat(4, 1fr); padding: 26px 22px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .testis { grid-template-columns: repeat(3, 1fr); }
  .testis .testi:nth-child(2) { transform: translateY(26px); }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .post--featured { grid-column: 1 / -1; flex-direction: row; }
  .post--featured .post__img { width: 52%; aspect-ratio: auto; min-height: 340px; }
  .post--featured .post__body { padding: 36px; justify-content: center; }
  .post--featured h3 { font-size: 34px; }
  .founder { grid-template-columns: 1fr 1.5fr; gap: 64px; }
  .cta__grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .calc { grid-template-columns: 1.15fr 1fr; }
  .calc--wide { grid-template-columns: 1fr; }
  .results--sticky { position: sticky; top: 100px; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .page-hero--person .wrap { grid-template-columns: 1.4fr 1fr; }
  .page-hero__person { margin: 0 0 -120px; max-height: 470px; max-width: 100%; justify-self: center; }
  .page-hero--person .wrap > div { align-self: center; padding-bottom: 20px; }
  .calc-hero { grid-template-columns: 1.3fr auto; padding: 46px 48px; }
}
@media (max-width: 999px) {
  .float--a { left: -4px; top: 6%; }
  .float--c { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .nav { padding-inline-start: 14px; }
  .logo__img { height: 38px; }
  .hero__btns .btn, .cta__btns .btn { flex: 1 1 100%; }
  .hero__media { min-height: 360px; }
  .float { font-size: 13px; padding: 10px 12px; }
  .float b { font-size: 20px; }
  .float__ico { width: 34px; height: 34px; }
  .lead { padding: 24px 18px; }
  .panel { padding: 22px 16px; }
  .res--main b { font-size: 38px; }
  .step__num { font-size: 70px; }
}

/* ---------- אזור הניהול פתוח במחשב ---------- */
@media (min-width: 1000px) {
  .adm-open body { margin-left: 600px; }
  .adm-open .nav-wrap { left: 600px; }
  .adm-open .nav__links, .adm-open .wa-float { display: none; }
  .adm-open .nav__burger { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .float, .climb__house, .wa-float::before { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post { transition: none; }
}

/* טלפון: מילים מודגשות ארוכות יורדות שורה במקום לצאת מהמסך */
@media (max-width: 640px) {
  .mark { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 4px; padding-inline: 6px;
    background: linear-gradient(transparent 52%, var(--yellow) 52%, var(--yellow) 96%, transparent 96%); }
  .mark::after { display: none; }
  .dark .mark, .page-hero .mark, .hero h1 .mark { background: var(--yellow); }
  .mark--ink { background: var(--ink); }
}
