/* מאיר ברנשטיין – Meir mortgages
   כיוון: נועז ואנרגטי (bold-energy) + ה-DNA, בצבעי הלוגו של מאיר.
   ארבעת צבעי הבסיס משתנים מאזור הניהול, וכל השאר נגזר מהם. */
:root {
  --ink: #1F4E79;      /* כחול כהה של הלוגו: רקעים כהים וכותרות */
  --blue: #2B6CA3;     /* כחול משני */
  --yellow: #33AEE3;   /* תכלת של הלוגו: הדגשה ראשית וכפתורים (השם נשמר בשביל אזור הניהול) */
  --teal: #9BDDF6;     /* תכלת בהיר: עיטורים ותוויות על רקע כהה */
  /* נגזרים */
  --deep: color-mix(in srgb, var(--ink) 62%, #000);
  --ink-2: color-mix(in srgb, var(--ink) 80%, #000);
  --accent-l: color-mix(in srgb, var(--yellow) 65%, #fff);
  --accent-d: color-mix(in srgb, var(--yellow) 42%, var(--ink));
  --blue-a: color-mix(in srgb, var(--blue) 82%, #fff);
  --blue-b: color-mix(in srgb, var(--blue) 45%, var(--ink));
  --muted: color-mix(in srgb, var(--ink) 78%, #fff);
  --on-dark: color-mix(in srgb, var(--teal) 30%, #fff);
  --surface: color-mix(in srgb, var(--yellow) 6%, #fff);
  --surface-2: color-mix(in srgb, var(--yellow) 12%, #fff);
  --line: color-mix(in srgb, var(--yellow) 28%, #fff);
  --wa: #25D366;
  --font-head: 'Rubik', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --max: 1180px;
  --cut: 64px;
  --shadow-card: 0 30px 70px color-mix(in srgb, var(--ink) 20%, transparent);
  --shadow-pop: 0 18px 40px color-mix(in srgb, var(--deep) 40%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--deep);
  background: #fff;
  overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.06; text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--tight { padding-top: 16px; }

/* ---------- כותרות של מקטעים: מילה בצבע מלא וקו מעוגל ---------- */
.head { max-width: 680px; margin-bottom: 48px; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--accent-d); margin-bottom: 10px; }
.title { font-size: clamp(34px, 5.4vw, 58px); color: var(--ink); }
.title em { font-style: normal; color: var(--yellow); }
.title::after { content: ""; display: block; width: 92px; height: 8px; margin-top: 18px; border-radius: 999px; background: var(--yellow); }
.head--center .title::after { margin-inline: auto; }
.head__sub { margin-top: 16px; font-size: 19px; color: var(--muted); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 19px; }
.btn--xl { min-height: 72px; padding: 18px 44px; font-size: clamp(26px, 3.4vw, 34px); font-family: var(--font-head); font-weight: 900; direction: ltr; }
.btn--wide { width: 100%; }
.btn--accent { color: var(--deep); font-weight: 900; background: linear-gradient(135deg, var(--accent-l), var(--yellow)); box-shadow: 0 8px 20px color-mix(in srgb, var(--yellow) 40%, transparent); }
.btn--blue { color: #fff; background: linear-gradient(135deg, var(--blue-a), var(--blue-b)); box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 35%, transparent), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn--ghost-dark { color: #fff; background: rgb(255 255 255 / .12); border: 2px solid rgb(255 255 255 / .5); }
.btn--ghost-dark:hover { background: rgb(255 255 255 / .2); }
.btn--ghost-dark span { direction: ltr; }
.btn--ink { color: #fff; background: linear-gradient(135deg, var(--ink), var(--ink-2)); box-shadow: 0 14px 30px color-mix(in srgb, var(--deep) 35%, transparent); }
.btn--outline-ink { color: var(--deep); border: 2px solid var(--deep); }
.btn--outline-ink:hover { background: rgb(0 0 0 / .05); }

/* ---------- תפריט צף ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 14px; }
.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 10px;
  padding-inline-start: 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--yellow), var(--ink)) border-box;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--deep) 25%, transparent);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand__text { font-family: var(--font-head); font-weight: 900; font-size: 20px; line-height: 1; color: var(--ink); display: flex; flex-direction: column; white-space: nowrap; }
.brand__text small { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--accent-d); margin-top: 4px; }
.nav__links { display: none; gap: 20px; font-size: 15px; font-weight: 700; }
.nav__links a:hover { color: var(--accent-d); }
.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__phone { display: none; }
.nav__phone span { direction: ltr; }

/* ---------- פתיחה (קצה אלכסוני כמו בעלון) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 150px;
  color: #fff;
  background: radial-gradient(1100px 620px at 15% 0%, color-mix(in srgb, var(--blue) 55%, var(--deep)) 0%, transparent 62%), var(--deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(50px); }
.hero .glow--a { width: 540px; height: 540px; background: var(--yellow); opacity: .28; top: -200px; left: -160px; }
.hero .glow--b { width: 560px; height: 560px; background: var(--blue); opacity: .6; bottom: -260px; right: -180px; }
.hero .glow--c { width: 300px; height: 300px; background: var(--teal); opacity: .16; top: 40%; right: 38%; }

.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.pill-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .08); font-size: 15px; font-weight: 700; }
.pill-tag i { 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__title { margin-top: 22px; font-size: clamp(44px, 7vw, 80px); line-height: 1.04; letter-spacing: -.5px; color: #fff; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__underline { width: min(400px, 78%); height: 18px; margin-top: 8px; }
.hero__underline path { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.hero__sub { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; color: var(--on-dark); max-width: 36ch; }
.hero__hook { margin-top: 14px; font-size: 19px; font-weight: 700; color: #fff; }
.hero__hook strong { color: var(--yellow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: 16px; font-weight: 700; color: var(--on-dark); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--yellow) no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ערימת כרטיסים */
.hero__stack { position: relative; width: min(100%, 440px); margin: 0 auto; padding: 34px 0 10px; }
.stack-card { position: absolute; border-radius: 30px; }
.stack-card--color { inset: 8px -18px 40px 30px; background: linear-gradient(135deg, var(--accent-l), var(--yellow)); transform: rotate(6deg); opacity: .9; }
.stack-card--me { top: -6px; right: -20px; z-index: 1; width: 200px; padding: 14px 14px 16px; background: #fff; transform: rotate(6deg); box-shadow: var(--shadow-pop); }
.stack-card--me img { width: 100%; height: 150px; object-fit: contain; border-radius: 20px; background: var(--surface); padding: 10px; }
.stack-card--me img[src*="logo"] { object-fit: contain; }
.stack-card--me figcaption { margin-top: 10px; text-align: center; font-size: 13px; line-height: 1.35; color: var(--muted); font-weight: 700; }
.stack-card--me figcaption b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }

.calc { position: relative; z-index: 2; display: grid; gap: 16px; margin-top: 120px; padding: 26px 24px 20px; border-radius: 32px; background: #fff; color: var(--deep); box-shadow: 0 40px 90px rgb(0 0 0 / .4); }
.calc__head { display: flex; align-items: center; gap: 12px; }
.calc__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; color: #fff; background: var(--yellow); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--line); }
.calc__icon svg { width: 22px; height: 22px; }
.calc__title { font-size: 24px; color: var(--ink); }
.calc__row { display: grid; gap: 6px; }
.calc__row--inline { grid-template-columns: 1fr auto; align-items: center; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 700; color: var(--muted); }
.calc__label output { font-family: var(--font-head); font-weight: 900; font-size: 19px; color: var(--ink); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to left, var(--yellow) var(--fill, 50%), var(--line) var(--fill, 50%)); }
.calc input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(to left, var(--yellow) var(--fill, 50%), var(--line) var(--fill, 50%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); box-shadow: 0 4px 12px color-mix(in srgb, var(--ink) 35%, transparent); transition: transform .2s; }
.calc input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); }
.calc input[type=range]:hover::-webkit-slider-thumb, .calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.calc input[type=range]:focus-visible { outline: 3px solid color-mix(in srgb, var(--yellow) 50%, transparent); outline-offset: 2px; border-radius: 8px; }
.calc__rate { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 900; font-size: 19px; color: var(--ink); }
.calc__rate input { width: 86px; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 999px; font: inherit; color: inherit; text-align: center; }
.calc__rate input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
.calc__result { padding: 16px 18px; border-radius: 22px; background: var(--surface-2); text-align: center; font-size: 15px; font-weight: 700; color: var(--muted); }
.calc__result b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(46px, 7vw, 58px); line-height: 1.05; color: var(--ink); }
.calc__result b small { font-size: .45em; margin-inline-start: 4px; color: var(--accent-d); }
.calc__total { display: block; font-size: 14px; }
.calc__total span:last-child { color: var(--ink); font-weight: 800; }
.calc__note { font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }

/* ---------- פס אמון ---------- */
.trust {
  position: relative;
  z-index: 5;
  margin-top: -52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  padding: 26px 22px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.trust li { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.trust b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.trust__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--ink); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--yellow); }
.trust__icon svg { width: 24px; height: 24px; }

/* ---------- רצועה רצה ---------- */
.ticker-wrap { overflow: hidden; padding: 60px 0 8px; }
.ticker { margin-inline: -3%; background: var(--ink); transform: rotate(-1.6deg); box-shadow: 0 16px 34px color-mix(in srgb, var(--ink) 28%, transparent); }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker__track span { display: flex; align-items: center; gap: 22px; padding: 18px 0; padding-inline-start: 22px; font-family: var(--font-head); font-weight: 900; font-size: 24px; color: #fff; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- מסלולים: קוביות שמסתובבות בלחיצה ---------- */
.flips { display: grid; gap: 20px; }
.flip { perspective: 1400px; }
.flip__inner {
  position: relative;
  display: grid;
  min-height: 330px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1.15);
}
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face {
  grid-area: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border-radius: 30px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip__front { color: #fff; background: linear-gradient(160deg, var(--ink), var(--deep)); box-shadow: var(--shadow-card); cursor: pointer; }
.flip__front::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; top: -120px; left: -100px; background: var(--yellow); opacity: .18; filter: blur(12px); transition: transform .6s, opacity .6s; }
.flip:hover .flip__front::before { transform: scale(1.4); opacity: .3; }
.flip__back { transform: rotateY(180deg); color: var(--deep); background: linear-gradient(160deg, #fff, var(--surface-2)); border: 2px solid var(--yellow); box-shadow: 0 0 0 6px color-mix(in srgb, var(--yellow) 18%, transparent), var(--shadow-card); }
.flip__num { position: absolute; top: 14px; left: 22px; font-family: var(--font-head); font-weight: 900; font-size: 84px; line-height: 1; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--yellow) 70%, transparent); }
.flip__icon { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: var(--deep); background: linear-gradient(135deg, var(--accent-l), var(--yellow)); box-shadow: 0 0 0 5px rgb(255 255 255 / .1); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.flip:hover .flip__icon { transform: rotate(-12deg) scale(1.1); }
.flip__icon svg { width: 30px; height: 30px; }
.flip__front h3 { position: relative; margin-top: 22px; font-size: 27px; color: #fff; }
.flip__front p { position: relative; margin-top: 10px; font-size: 18px; color: var(--on-dark); }
.flip__toggle { position: static; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 10px 18px; min-height: 44px; border: 2px solid rgb(255 255 255 / .35); border-radius: 999px; background: rgb(255 255 255 / .08); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.flip__toggle::after { content: ""; position: absolute; inset: 0; border-radius: 30px; }
.flip__toggle svg { width: 18px; height: 18px; transition: transform .6s; }
.flip:hover .flip__toggle { background: var(--yellow); border-color: var(--yellow); color: var(--deep); }
.flip:hover .flip__toggle svg { transform: rotate(-200deg); }
.flip__back h3 { font-size: 23px; color: var(--ink); }
.flip__back p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
/* חידושים בקוביות: הרמה והטיה, אור שעוקב אחרי העכבר, מסגרת מסתובבת, תוכן שנכנס בשלבים, ופיצוץ נקודות */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.flip { position: relative; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.js .flip.rv.in:hover { transform: translateY(-8px) scale(1.02); }
.flip__inner { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.flip.is-flipped .flip__inner { transform: rotateX(var(--tx, 0deg)) rotateY(calc(180deg + var(--ty, 0deg))); }
.flip__front { background:
  radial-gradient(280px circle at var(--cx, 50%) var(--cy, -20%), color-mix(in srgb, var(--yellow) 30%, transparent), transparent 65%),
  linear-gradient(160deg, var(--ink), var(--deep)); }
.flip__front .flip__num { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), -webkit-text-stroke-color .3s; }
.flip:hover .flip__front .flip__num { transform: translateX(-10px) scale(1.08); }
.flip__back {
  border: 3px solid transparent;
  background: linear-gradient(160deg, #fff, var(--surface-2)) padding-box, conic-gradient(from var(--ang), var(--yellow), var(--ink), var(--accent-l), var(--yellow)) border-box;
  animation: spin-border 4s linear infinite;
}
@keyframes spin-border { to { --ang: 360deg; } }
.flip__back::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; bottom: -100px; right: -80px; background: var(--yellow); opacity: .14; filter: blur(14px); pointer-events: none; }
.flip__back > * { position: relative; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.flip.is-flipped .flip__back > * { opacity: 1; transform: none; }
.flip.is-flipped .flip__back > h3 { transition-delay: .32s; }
.flip.is-flipped .flip__back > p { transition-delay: .42s; }
.flip.is-flipped .flip__back > .flip__actions { transition-delay: .52s; }
.flip__back h3::after { content: ""; display: block; width: 0; height: 5px; margin-top: 8px; border-radius: 999px; background: var(--yellow); transition: width .6s .45s cubic-bezier(.2, .8, .2, 1); }
.flip.is-flipped .flip__back h3::after { width: 56px; }
.flip.is-flipped .flip__back .btn--ink { animation: nudge 1.6s .9s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(-4px); } }
.burst { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.burst i { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--yellow); animation: burst .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.burst i:nth-child(3n) { background: var(--ink); }
.burst i:nth-child(4n) { width: 6px; height: 6px; background: var(--accent-l); }
@keyframes burst { 0% { transform: translate(0, 0) scale(var(--bs)); opacity: 1; } 100% { transform: translate(var(--bx), var(--by)) scale(0); opacity: 0; } }
.flip__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.flip__back-btn { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 800; color: var(--accent-d); cursor: pointer; }
.flip__back-btn:hover { background: var(--surface-2); }

/* ---------- שאלון התאמה ---------- */
.quiz-sec { padding-bottom: 64px; }
.quiz { position: relative; overflow: hidden; display: grid; gap: 20px; padding: 28px 20px; border-radius: 32px; background: var(--surface); border: 2px solid var(--line); }
.quiz__deco { position: absolute; inset: 0; pointer-events: none; }
.quiz__deco span { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.quiz__deco span:first-child { width: 360px; height: 360px; top: -160px; left: -120px; background: var(--yellow); opacity: .22; animation: drift-a 14s ease-in-out infinite alternate; }
.quiz__deco span:last-child { width: 300px; height: 300px; bottom: -150px; right: 30%; background: var(--blue); opacity: .14; animation: drift-b 18s ease-in-out infinite alternate; }
.quiz__intro, .quiz__card { position: relative; }
.quiz__intro .head__sub { max-width: 40ch; }
.quiz__card { display: grid; padding: 22px 20px 16px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-card); }
.quiz__bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: var(--qp, 33.3%); border-radius: inherit; background: linear-gradient(270deg, var(--yellow), var(--ink)); transition: width .6s cubic-bezier(.2, .8, .2, 1); margin-inline-start: 0; }
.quiz__count { margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--muted); }
.quiz__step { grid-row: 4; display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz__card > .quiz__bar { grid-row: 1; }
.quiz__card > .quiz__count { grid-row: 2; }
.quiz__card > .quiz__back { grid-row: 5; }
.quiz__step.is-active { display: block; animation: quiz-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes quiz-in { from { opacity: 0; transform: translateX(-30px); } }

.quiz__step legend { padding: 0; margin: 10px 0 12px; font-family: var(--font-head); font-weight: 900; font-size: clamp(21px, 2.4vw, 26px); color: var(--ink); }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz__opts button { position: relative; display: flex; align-items: center; gap: 8px; width: auto; min-height: 46px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; font-weight: 700; color: var(--deep); text-align: start; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.quiz__opts button::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--line); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.quiz__opts button:hover { border-color: var(--yellow); background: var(--surface); transform: translateY(-2px); }
.quiz__opts button:hover::before { border-color: var(--yellow); }
.quiz__opts button.is-picked { border-color: var(--yellow); background: var(--surface-2); }
.quiz__opts button.is-picked::before { border-color: var(--yellow); background: var(--yellow); box-shadow: inset 0 0 0 4px #fff; }
.quiz__back { justify-self: start; margin-top: 8px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 800; color: var(--accent-d); cursor: pointer; }
.quiz__back:hover { background: var(--surface-2); }
.quiz__done { text-align: center; }
.quiz__check { display: grid; place-items: center; width: 58px; height: 58px; margin: 4px auto 10px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--accent-l), var(--yellow)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--yellow) 20%, transparent); }
.quiz__check svg { width: 30px; height: 30px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.quiz__done.is-active .quiz__check { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1); }
.quiz__done.is-active .quiz__check svg { animation: draw .6s .3s ease forwards; }
@keyframes pop { from { transform: scale(0); } }
.quiz__done h3 { font-size: clamp(24px, 3vw, 30px); color: var(--ink); }
.quiz__summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 8px; padding: 0; list-style: none; }
.quiz__summary li { padding: 7px 16px; border-radius: 999px; background: var(--surface-2); font-size: 15px; font-weight: 700; color: var(--ink); }
.quiz__done p { color: var(--muted); }
.quiz__actions { display: grid; justify-items: center; gap: 6px; margin-top: 12px; }
.quiz__form { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; color: var(--accent-d); }

/* ---------- מילון המילים הקטנות ---------- */
.gloss { display: grid; gap: 14px; }
.term {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  width: 100%;
  min-height: 84px;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: #fff;
  font: inherit;
  color: var(--deep);
  text-align: start;
  cursor: pointer;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.term::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(220px circle at var(--cx, 50%) var(--cy, 50%), color-mix(in srgb, var(--yellow) 16%, transparent), transparent 65%); opacity: 0; transition: opacity .3s; }
.term:hover::after { opacity: 1; }
.term__lens { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); background: var(--surface-2); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), background-color .3s, color .3s; }
.term__lens svg { width: 22px; height: 22px; }
.term__word { font-family: var(--font-head); font-weight: 900; font-size: 16px; letter-spacing: .02em; color: color-mix(in srgb, var(--ink) 45%, #fff); transform-origin: right center; transition: font-size .45s cubic-bezier(.2, .8, .2, 1), color .3s, letter-spacing .45s; }
.term__def { grid-column: 1 / -1; max-height: 0; opacity: 0; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--muted); transform: translateY(-6px); transition: max-height .5s cubic-bezier(.2, .8, .2, 1), opacity .35s .05s, transform .45s, margin .45s; }
.term.is-open { border-color: var(--yellow); background: linear-gradient(160deg, #fff, var(--surface)); box-shadow: var(--shadow-card); }
.term.is-open .term__lens { transform: scale(1.15) rotate(-15deg); color: #fff; background: var(--yellow); }
.term.is-open .term__word { font-size: 24px; letter-spacing: 0; color: var(--ink); }
.refi__form-btn { margin-top: 10px; }
.gloss:not(.is-all) .term--more { display: none; }
.gloss__foot { display: flex; justify-content: center; margin-top: 26px; }
.gloss.is-all + .gloss__foot { display: none; }
.term.is-open .term__def { max-height: 340px; opacity: 1; transform: none; margin-top: 12px; }

/* ---------- מחשבון מיחזור ---------- */
.refi-sec { padding: 24px 0 96px; }
.refi { position: relative; overflow: hidden; display: grid; gap: 30px; padding: 40px 26px; border-radius: 36px; color: #fff; background: radial-gradient(700px 400px at 90% 0%, color-mix(in srgb, var(--blue) 60%, var(--deep)), transparent 70%), var(--deep); box-shadow: var(--shadow-card); }
.refi::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; bottom: -220px; left: -140px; background: var(--yellow); opacity: .16; filter: blur(50px); animation: drift-a 15s ease-in-out infinite alternate; }
.refi > * { position: relative; }
.refi .eyebrow { color: var(--teal); }
.refi .title { color: #fff; }
.refi .head__sub { color: var(--on-dark); }
.refi__fields { display: grid; gap: 16px; margin-top: 26px; }
.refi .calc__label { color: var(--on-dark); }
.refi .calc__label output, .refi .calc__rate { color: #fff; }
.refi .calc__rate input { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .25); color: #fff; }
.refi input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.refi input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to left, var(--yellow) var(--fill, 50%), rgb(255 255 255 / .18) var(--fill, 50%)); }
.refi input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(to left, var(--yellow) var(--fill, 50%), rgb(255 255 255 / .18) var(--fill, 50%)); }
.refi input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--yellow); border: 5px solid #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .35); transition: transform .2s; }
.refi input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 5px solid #fff; }
.refi input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.18); }
.refi__rates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.refi__rates .calc__row { grid-template-columns: 1fr; gap: 8px; }
.refi__result { display: grid; gap: 18px; padding: 26px 22px 20px; border-radius: 30px; background: #fff; color: var(--deep); box-shadow: 0 40px 90px rgb(0 0 0 / .35); }
.refi__bars { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 16px; height: 210px; padding: 0 8px; }
.refi__bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; text-align: center; }
.refi__fill { width: 100%; max-width: 110px; height: var(--h, 80%); min-height: 24px; border-radius: 18px 18px 8px 8px; transition: height .8s cubic-bezier(.2, .8, .2, 1.1); }
.refi__bar--now .refi__fill { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, #fff), var(--ink)); }
.refi__bar--new .refi__fill { background: linear-gradient(180deg, var(--accent-l), var(--yellow)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--yellow) 18%, transparent); }
.refi__bar b { order: -1; margin-bottom: 8px; font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--ink); }
.refi__bar b::after { content: " ₪"; font-size: .6em; color: var(--accent-d); }
.refi__bar small { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.refi__save { padding: 16px 18px; border-radius: 22px; background: var(--surface-2); text-align: center; font-size: 15px; font-weight: 700; color: var(--muted); }
.refi__save b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(44px, 6vw, 60px); line-height: 1.05; color: var(--ink); }
.refi__save b small { font-size: .45em; margin-inline-start: 4px; color: var(--accent-d); }
.refi__save.bump b { animation: bump .45s ease; }
.refi__month { display: block; font-size: 15px; }
.refi__month #r-month { color: var(--ink); font-weight: 800; }
.refi__save.is-none b { color: var(--muted); }

/* ---------- למה מאיר (מקטע כהה עם קצוות אלכסוניים) ---------- */
.about {
  position: relative;
  overflow: hidden;
  padding: calc(96px + var(--cut)) 0;
  color: #fff;
  background: var(--deep);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.about__deco { position: absolute; inset: 0; pointer-events: none; }
.about .glow--a { width: 520px; height: 520px; background: var(--blue); opacity: .55; top: -120px; right: -200px; }
.about .glow--b { width: 380px; height: 380px; background: var(--yellow); opacity: .2; bottom: -120px; left: -80px; }
.about__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.about .eyebrow { color: var(--teal); }
.about .title { color: #fff; }
.about__lead { margin-top: 22px; font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--yellow); }
.about__text { margin-top: 10px; font-size: 19px; color: var(--on-dark); max-width: 52ch; }
.about__points { display: grid; gap: 14px; margin-top: 28px; }
.about__points li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px 20px; border-radius: 22px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); color: var(--on-dark); }
.about__points li::before { content: ""; grid-row: span 2; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: var(--yellow) no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.about__points b { font-family: var(--font-head); font-size: 19px; color: #fff; }
.about__visual { position: relative; width: min(84%, 380px); margin: 0 auto; }
.about__card { position: relative; z-index: 1; display: block; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: #fff; border: 8px solid #fff; box-shadow: 0 40px 90px rgb(0 0 0 / .45); transform: rotate(-3deg); }
.about__card img { width: 100%; height: 100%; object-fit: cover; }
.about__card img[src$="logo.png"] { object-fit: contain; padding: 14%; background: var(--surface); }
.about__card--back { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, var(--accent-l), var(--yellow)); border: 0; box-shadow: none; transform: rotate(7deg) translate(-14px, 10px); }
.about__badge { position: absolute; z-index: 2; bottom: -18px; right: -12px; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--deep); background: #fff; box-shadow: var(--shadow-pop); }

/* ---------- איך זה עובד ---------- */
.process { padding-top: 72px; }
/* רקע תכלת עדין לסירוגין, כדי שלא יהיו רצפים ארוכים של לבן */
.section--tint { position: relative; background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); border-block: 1px solid var(--line); }
.section--tint .step { background: #fff; }
.section--tint .scan { border-bottom-color: color-mix(in srgb, var(--yellow) 40%, #fff); }
.scan { position: relative; height: 110px; margin: 0 auto 40px; max-width: 900px; overflow: hidden; border-bottom: 2px dashed var(--line); }
.scan__words { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; white-space: nowrap; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: color-mix(in srgb, var(--ink) 35%, #fff); }
.scan__lens { position: absolute; bottom: -6px; width: 104px; animation: scan 9s ease-in-out infinite alternate; }
.lens__glass { fill: color-mix(in srgb, var(--yellow) 18%, transparent); }
.lens__ring { fill: none; stroke: var(--ink); stroke-width: 7; }
.lens__handle { stroke: var(--deep); stroke-width: 13; stroke-linecap: round; }
.lens__shine { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .9; }
@keyframes scan { from { left: 0; } to { left: calc(100% - 104px); } }
.steps { display: grid; gap: 20px; }
.step { position: relative; padding: 30px 28px; border-radius: 30px; background: var(--surface); border: 2px solid var(--line); }
.step__num { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(64px, 8vw, 96px); line-height: .9; color: var(--yellow); }
.step h3 { margin-top: 14px; font-size: clamp(24px, 2.8vw, 30px); color: var(--ink); }
.step p { margin-top: 8px; font-size: 18px; color: var(--muted); }

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

/* ---------- רצועת יצירת קשר ---------- */
.cta {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: calc(84px + var(--cut)) 0 110px;
  background: linear-gradient(135deg, var(--accent-l), var(--yellow));
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%);
}
.cta__outline { position: absolute; top: 52%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-head); font-weight: 900; font-size: clamp(110px, 19vw, 290px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--deep) 14%, transparent); direction: ltr; pointer-events: none; }
.cta__grid { position: relative; display: grid; gap: 32px; align-items: center; }
.cta__title { font-size: clamp(42px, 6.4vw, 76px); color: var(--deep); }
.cta__sub { margin-top: 16px; font-size: 20px; font-weight: 500; color: var(--deep); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px; font-weight: 700; color: var(--deep); direction: ltr; }
.cta__mail svg { width: 20px; height: 20px; }

/* טופס פניות */
.lead { display: grid; gap: 14px; padding: 30px 26px; border-radius: 28px; background: #fff; box-shadow: 0 30px 70px color-mix(in srgb, var(--deep) 28%, transparent); }
.lead__title { font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.lead__field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--muted); }
.lead__field input, .lead__field select, .lead__field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--deep);
}
.lead__field textarea { min-height: 76px; resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
.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(--accent-d); }
.lead__msg--bad { color: #B42318; }
.lead__done { padding: 28px 10px; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--ink); }

/* ---------- כותרת תחתונה ---------- */
.footer { padding: 44px 0 110px; color: var(--on-dark); background: var(--deep); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__logo { width: 78px; height: auto; }
.footer__name { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: #fff; }
.footer__line { margin-top: 6px; font-size: 15px; }
.footer__phone { font-family: var(--font-head); font-weight: 900; font-size: 30px; color: #fff; direction: ltr; }
.footer__contact { display: grid; gap: 12px; }
.footer__ctitle { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; }
.footer__clist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__clist a { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; color: var(--on-dark); transition: color .2s; }
.footer__clist a:hover { color: #fff; }
.footer__clist svg { flex: none; width: 20px; height: 20px; color: var(--yellow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; }
.footer__bottom { padding-inline-end: 84px; padding-inline-start: 70px; }
.footer__admin { opacity: .7; }
.footer__admin:hover { opacity: 1; }

/* ---------- וואטסאפ צף ---------- */
.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: 28px; height: 28px; }
.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 { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }

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

/* ---------- הופעה בגלילה ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- תנועה ואנימציות ---------- */
/* פס התקדמות בראש העמוד */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--ink), var(--yellow)); }

/* כניסה של הפתיחה */
.js .hero__title > span, .js .hero__title > em { display: inline-block; opacity: 0; transform: translateY(40px) rotate(-2deg); animation: rise .9s cubic-bezier(.2, .8, .2, 1.1) forwards; }
.js .hero__title > em { animation-delay: .25s; }
.js .hero__underline path { stroke-dasharray: 560; stroke-dashoffset: 560; animation: draw 1.2s .7s ease forwards; }
.js .pill-tag { opacity: 0; animation: fade-in .7s .05s forwards; }
.js .hero__sub, .js .hero__hook, .js .hero__actions, .js .hero__ticks { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.js .hero__sub { animation-delay: .45s; }
.js .hero__hook { animation-delay: .55s; }
.js .hero__actions { animation-delay: .65s; }
.js .hero__ticks { animation-delay: .8s; }
.js .hero__text.rv { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* עיגולים זוהרים שנעים לאט, וזרקור שעוקב אחרי העכבר */
.hero .glow--a { animation: drift-a 16s ease-in-out infinite alternate; }
.hero .glow--b { animation: drift-b 20s ease-in-out infinite alternate; }
.hero .glow--c { animation: drift-a 12s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-100px, -60px) scale(.9); } }
.spot { position: absolute; width: 420px; height: 420px; border-radius: 50%; left: var(--mx, 50%); top: var(--my, 40%); transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 22%, transparent), transparent 65%); opacity: 0; transition: opacity .4s; }
.hero:hover .spot { opacity: 1; }

/* סמלים קטנים שצפים למעלה ברקע */
.floaters { position: absolute; inset: 0; overflow: hidden; }
.floater { position: absolute; bottom: -60px; color: var(--teal); opacity: 0; animation: float-up linear infinite; }
.floater svg { width: 100%; height: 100%; }
@keyframes float-up {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  12% { opacity: var(--o, .22); }
  85% { opacity: var(--o, .22); }
  100% { transform: translateY(-115vh) rotate(var(--r, 40deg)); opacity: 0; }
}

/* כרטיסים שמרחפים בפתיחה ובמקטע למה מאיר */
.stack-card--me { animation: bob-me 6s ease-in-out infinite; }
.stack-card--color { animation: bob-color 8s ease-in-out infinite; }
@keyframes bob-me { 50% { translate: 0 -12px; rotate: 2deg; } }
@keyframes bob-color { 50% { translate: 0 10px; rotate: -2deg; } }
.calc { transition: transform .3s ease-out; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.calc__result b { transition: color .3s; }
.calc__result.bump b { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.07); color: var(--accent-d); } }
.about__card:not(.about__card--back) { animation: bob-about 7s ease-in-out infinite; }
@keyframes bob-about { 50% { translate: 0 -10px; } }
.about__badge { animation: badge 3.5s ease-in-out infinite; }
@keyframes badge { 50% { transform: translateY(-6px) rotate(-2deg); } }

/* קו מתחת לכותרות שנמתח כשהכותרת נכנסת */
.js .rv .title::after { width: 0; transition: width .9s .35s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in .title::after { width: 92px; }

/* אייקונים בפס האמון קופצים פנימה, והטבעת מסתובבת במעבר עכבר */
.js .trust .trust__icon { transform: scale(0); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.js .trust.in .trust__icon { transform: none; }
.js .trust.in li:nth-child(2) .trust__icon { transition-delay: .12s; }
.js .trust.in li:nth-child(3) .trust__icon { transition-delay: .24s; }
.js .trust.in li:nth-child(4) .trust__icon { transition-delay: .36s; }
.trust li:hover .trust__icon { animation: wiggle .6s ease; }
@keyframes wiggle { 25% { rotate: -10deg; } 75% { rotate: 10deg; } }

/* ברק שעובר על הכפתור הראשי */
.btn--accent { position: relative; overflow: hidden; isolation: isolate; }
.btn--accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); transform: translateX(-120%); animation: shine 4.5s 1.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }

/* קו התקדמות שמתמלא בין שלושת הצעדים */
.steps { position: relative; }
.steps__track { position: absolute; top: 54px; right: 6%; left: 6%; height: 4px; border-radius: 999px; background: var(--line); display: none; }
.steps__fill { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); margin-inline-start: 0; border-radius: inherit; background: linear-gradient(270deg, var(--yellow), var(--ink)); }
.step { z-index: 1; transition: transform .3s, box-shadow .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: var(--yellow); box-shadow: var(--shadow-card); }
.js .step .step__num { transform: scale(.4); opacity: 0; transition: transform .7s .2s cubic-bezier(.3, 1.6, .5, 1), opacity .4s .2s; }
.js .step.in .step__num { transform: none; opacity: 1; }

/* שאלות נפוצות נפתחות בעדינות */
.faq details[open] p { animation: open-faq .45s ease; }
@keyframes open-faq { from { opacity: 0; transform: translateY(-8px); } }
.faq details { transition: background-color .25s, box-shadow .25s; }
.faq details:hover { background: var(--surface-2); }

/* המספר הענק ברקע של רצועת יצירת הקשר זז לאט */
.cta__outline { animation: slide-outline 18s ease-in-out infinite alternate; }
@keyframes slide-outline { from { translate: -8% 0; } to { translate: 8% 0; } }

/* ---------- טאבלט ומחשב ---------- */
@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(4, 1fr); padding: 30px 32px; }
  .flips { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps__track { display: block; }
  .gloss { grid-template-columns: repeat(2, 1fr); align-items: start; }
}
@media (min-width: 1000px) {
  :root { --cut: 90px; }
  .nav__phone { display: inline-flex; }
  .hero { padding: 150px 0 190px; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .hero__stack { padding-top: 0; }
  .calc { margin-top: 70px; margin-inline-start: 40px; }
  .stack-card--me { right: -36px; top: -30px; }
  .stack-card--color { transform: rotate(-6deg); }
}
@media (min-width: 1160px) {
  .nav__links { display: flex; white-space: nowrap; }
  .flips { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .quiz { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 40px; padding: 36px 40px; }
  
  .gloss { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .refi { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding: 56px 52px; }
  .about__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .cta__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .footer { padding-bottom: 44px; }
}

/* ---------- טלפון ---------- */
@media (max-width: 719px) {
  .nav { padding: 6px 8px; padding-inline-start: 10px; gap: 8px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__text { font-size: 17px; }
  .brand__text small { font-size: 11px; }
  .nav .btn--accent { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__stack { width: min(100%, 400px); }
  .stack-card--me { width: 150px; right: -4px; top: 0; }
  .stack-card--me img { height: 104px; }
  .stack-card--color { inset: 16px -6px 40px 24px; }
  .calc { margin-top: 140px; padding: 22px 18px 18px; }
  .cta__actions .btn { width: 100%; }
  .lead { padding: 24px 20px; }
  .about__badge { right: 0; }
}
@media (max-width: 559px) {
  .trust { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- מי שביקש פחות תנועה ---------- */
/* ---------- פתיחה בהירה (גרסה 8): לבן ותכלת, עם תנועה עדינה ברקע ---------- */
.hero {
  color: var(--deep);
  background:
    radial-gradient(900px 560px at 12% 0%, color-mix(in srgb, var(--yellow) 22%, transparent) 0%, transparent 65%),
    radial-gradient(700px 500px at 95% 100%, color-mix(in srgb, var(--teal) 35%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero .glow--a { background: var(--yellow); opacity: .22; }
.hero .glow--b { background: var(--teal); opacity: .38; }
.hero .glow--c { background: var(--blue); opacity: .08; }
/* רשת נקודות עדינה שזזה לאט */
.hero__deco::before { content: ""; position: absolute; inset: -40px; background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1.4px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%); animation: dots-drift 22s linear infinite; }
@keyframes dots-drift { to { transform: translate(26px, 26px); } }
/* גל תכלת שזז לאורך התחתית */
.hero__deco::after { content: ""; position: absolute; left: -50%; right: -50%; bottom: 0; height: 180px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 150 20 300 20 450 70 S 750 120 900 70 S 1050 20 1200 70 V120 H0Z' fill='%2333AEE3' fill-opacity='.10'/%3E%3Cpath d='M0 85 C 200 45 400 45 600 85 S 1000 125 1200 85 V120 H0Z' fill='%231F4E79' fill-opacity='.06'/%3E%3C/svg%3E") repeat-x 0 100% / 50% 100%; animation: wave-slide 18s linear infinite; }
@keyframes wave-slide { to { transform: translateX(25%); } }

.hero .pill-tag { color: var(--ink); border-color: var(--line); background: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 8%, transparent); }
.hero__title { color: var(--ink); }
.hero__title em { color: transparent; background: linear-gradient(100deg, var(--accent-d) 0%, var(--yellow) 45%, var(--accent-d) 90%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.js .hero__title > em { animation: rise .9s .25s cubic-bezier(.2, .8, .2, 1.1) forwards, shimmer 6s 1.4s ease-in-out infinite; }
.hero__underline path { stroke: var(--yellow); }
.hero__sub { color: var(--muted); }
.hero__hook { color: var(--ink); }
.hero__hook strong { color: var(--accent-d); }
.hero__ticks { color: var(--ink); }
.hero .btn--ghost-dark { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 8%, transparent); }
.hero .btn--ghost-dark:hover { border-color: var(--yellow); background: var(--surface); }
.hero .floater { color: var(--yellow); }
.hero .spot { background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 18%, transparent), transparent 65%); }
.calc { box-shadow: 0 34px 80px color-mix(in srgb, var(--ink) 22%, transparent); border: 1px solid var(--line); }

/* הכרטיסים בצד נכנסים אחד אחרי השני */
.js .hero__stack .stack-card--color { animation: card-in-color 1s .35s cubic-bezier(.2, .8, .2, 1) both, bob-color 8s 1.4s ease-in-out infinite; }
.js .hero__stack .stack-card--me { animation: card-in-me 1s .6s cubic-bezier(.2, .8, .2, 1.1) both, bob-me 6s 1.6s ease-in-out infinite; }
.js .hero__stack .calc { animation: card-in-calc 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes card-in-color { from { opacity: 0; translate: 60px 30px; } }
@keyframes card-in-me { from { opacity: 0; translate: 40px -40px; scale: .85; } }
@keyframes card-in-calc { from { opacity: 0; translate: 0 50px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .rv, .js .hero__title > span, .js .hero__title > em, .js .pill-tag, .js .hero__sub, .js .hero__hook, .js .hero__actions, .js .hero__ticks, .js .trust .trust__icon, .js .step .step__num { opacity: 1; transform: none; transition: none; }
  .js .hero__underline path { stroke-dashoffset: 0; }
  .js .rv .title::after { width: 92px; transition: none; }
  .flip__inner { transition-duration: .01s; }
  .btn:hover, .step:hover { transform: none; }
  .calc { transform: none; }
}

/* ===== סקיצה: פתיחה כהה (חזרה לצבעים הכהים, עם התנועה החדשה) ===== */
.hero { color: #fff; background: radial-gradient(1100px 620px at 15% 0%, color-mix(in srgb, var(--blue) 55%, var(--deep)) 0%, transparent 62%), var(--deep); }
.hero .glow--a { background: var(--yellow); opacity: .28; }
.hero .glow--b { background: var(--blue); opacity: .6; }
.hero .glow--c { background: var(--teal); opacity: .16; }
.hero__deco::before { background-image: radial-gradient(rgb(255 255 255 / .14) 1.4px, transparent 1.6px); }
.hero__deco::after { filter: brightness(2.2); opacity: .5; }
.hero .pill-tag { color: #fff; border-color: rgb(255 255 255 / .35); background: rgb(255 255 255 / .08); box-shadow: none; }
.hero__title { color: #fff; }
.hero__title em { color: var(--yellow); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.js .hero__title > em { animation: rise .9s .25s cubic-bezier(.2, .8, .2, 1.1) forwards; }
.hero__underline path { stroke: var(--teal); }
.hero__sub { color: var(--on-dark); }
.hero__hook { color: #fff; }
.hero__hook strong { color: var(--yellow); }
.hero__ticks { color: var(--on-dark); }
.hero .btn--ghost-dark { color: #fff; background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .5); box-shadow: none; }
.hero .floater { color: var(--teal); }
.calc { box-shadow: 0 40px 90px rgb(0 0 0 / .4); border: 0; }
/* ===== סקיצה 1: "למה אנחנו" בתכלת מלא, כמו בעלון ===== */
.about { color: var(--deep); background: linear-gradient(165deg, color-mix(in srgb, var(--yellow) 62%, #fff) 0%, var(--yellow) 100%); }
.about .glow--a { background: #fff; opacity: .35; }
.about .glow--b { background: var(--blue); opacity: .22; }
.about .eyebrow { color: var(--deep); }
.about .title { color: var(--deep); }
.about .title em { color: #fff; }
.about .title::after { background: #fff; }
.about__lead { color: var(--deep); }
.about__text { color: var(--deep); }
.about__points li { background: rgb(255 255 255 / .6); border-color: rgb(255 255 255 / .9); color: var(--ink-2); }
.about__points b { color: var(--deep); }
.about__points li::before { background-color: var(--ink); }
.about__card { box-shadow: 0 34px 80px color-mix(in srgb, var(--deep) 35%, transparent); }
.about__card--back { background: linear-gradient(135deg, var(--ink), var(--blue)); }
/* ===== סקיצת תנועה ===== */
/* 2. זכוכית מגדלת על "המילים הקטנות" */
.mag { position: relative; display: inline-block; margin-inline-end: .25em; }
.mag__words { display: inline-block; transform-origin: center; }
.mag__lens { position: absolute; top: -22%; right: -10%; width: 1.6em; height: 1.6em; color: var(--deep); opacity: 0; pointer-events: none; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .25)); }
.mag__lens svg { width: 100%; height: 100%; }
.mag.is-on .mag__lens { animation: lens-sweep 2.8s cubic-bezier(.45, 0, .25, 1) forwards, lens-idle 4s 2.8s ease-in-out infinite; }
.mag.is-on .mag__words { animation: words-pop 2.8s ease-in-out forwards; }
.mag.is-static .mag__lens { opacity: 1; right: auto; left: -.4em; }
@keyframes lens-sweep {
  0% { opacity: 0; transform: translate(30%, 30%) scale(.6) rotate(10deg); }
  15% { opacity: 1; transform: translate(0, 0) scale(1); }
  70% { opacity: 1; transform: translateX(calc(-1 * var(--mag-w, 6em))) scale(1.05) rotate(-6deg); }
  100% { opacity: 1; transform: translateX(calc(-1 * var(--mag-w, 6em) - .9em)) translateY(-58%) scale(.75) rotate(-14deg); }
}
@keyframes lens-idle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes words-pop { 0%, 12% { transform: none; text-shadow: none; } 40% { transform: scale(1.05); text-shadow: 0 0 22px rgb(255 255 255 / .9); } 75% { transform: scale(1.02); } 100% { transform: none; text-shadow: 0 0 0 transparent; } }

/* 4. בועה ליד כפתור הוואטסאפ */
.wa-bubble { position: fixed; left: 90px; bottom: 26px; z-index: 59; display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 16px; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--deep); font-size: 16px; box-shadow: 0 14px 34px color-mix(in srgb, var(--deep) 25%, transparent); opacity: 0; transform: translateX(-14px) scale(.9); transform-origin: left bottom; pointer-events: none; transition: opacity .35s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.wa-bubble.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble a { color: inherit; }
.wa-bubble b { color: #128C4A; }
.wa-bubble button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 18px; line-height: 1; color: var(--deep); cursor: pointer; }
@media (max-width: 559px) { .wa-bubble { left: 84px; bottom: 22px; right: 70px; font-size: 15px; } }

/* 5. עומק בגלילה */
.hero__deco, .about__deco { translate: 0 var(--py, 0); will-change: translate; }
.about__card--back { translate: 0 var(--py, 0); rotate: var(--pr, 0deg); }
/* בכרטיסי הפתיחה התזוזה נכנסת ל-transform, כי translate כבר תפוס בתנועות הכניסה והריחוף */
.stack-card--color { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(6deg); }
.stack-card--me { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(6deg); }
@media (min-width: 1000px) { .stack-card--color { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(-6deg); } }
/* זכוכית מגדלת גדולה ושקופה מאחורי "למה אנחנו" */
.about__ghost { position: absolute; top: 18%; left: -60px; width: 420px; height: 420px; color: #fff; opacity: .28; pointer-events: none; translate: 0 var(--py, 0); rotate: var(--pr, 0deg); will-change: translate; }
.about__ghost svg { width: 100%; height: 100%; }
@media (max-width: 559px) {
  .about__ghost { width: 260px; height: 260px; top: 6%; left: -70px; opacity: .22; }
}

/* 6. כפתורים מגנטיים */
.magnet { transition: translate .25s cubic-bezier(.2, .8, .2, 1), transform .3s, box-shadow .3s, background-color .2s, border-color .2s; }

.a11y-calm .mag__lens { opacity: 1 !important; }
/* ===== גרסה 10: אזור שירות ===== */
.cta__area { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; font-size: 16px; font-weight: 800; color: var(--deep); background: rgb(255 255 255 / .55); }
.cta__area::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
/* ===== גרסה 11: "למה אנחנו" כהה, עם מאיר ליד המחשב מעומעם ברקע ===== */
.about { color: #fff; background: var(--deep); }
.about .glow--a { background: var(--blue); opacity: .55; }
.about .glow--b { background: var(--yellow); opacity: .2; }
.about .eyebrow { color: var(--teal); }
.about .title { color: #fff; }
.about .title em { color: var(--yellow); }
.about .title::after { background: var(--yellow); }
.about__lead { color: var(--yellow); }
.about__text { color: var(--on-dark); }
.about__text b { color: #fff; }
.about__points li { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); color: var(--on-dark); }
.about__points b { color: #fff; }
.about__points li::before { background-color: var(--yellow); }
.about__card { box-shadow: 0 40px 90px rgb(0 0 0 / .45); }
.about__card--back { background: linear-gradient(135deg, var(--accent-l), var(--yellow)); }
.about .mag__lens { color: #fff; }
.about__ghost { display: none; }
/* התמונה בגודל המדויק שלה, והקצוות נעלמים בהדרגה מכל הכיוונים, בלי קו חתוך */
.about__photo { position: absolute; top: 52%; left: 0; width: 70%; aspect-ratio: 1600 / 982; transform: translateY(-50%); pointer-events: none; opacity: .2; mix-blend-mode: luminosity;
  background: url(assets/meir-wide.jpg) no-repeat center / cover; filter: grayscale(1) contrast(1.2);
  /* אותה תמונה כמו בגרסה שאהבת, רק שהקצה העליון והתחתון נעלמים בהדרגה במקום קו חתוך. עמעום אחיד לכל התמונה */
  --side: radial-gradient(ellipse 62% 100% at 50% 50%, #000 45%, transparent 88%);
  --edge: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: var(--side), var(--edge); mask-image: var(--side), var(--edge);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.about__grid { position: relative; z-index: 1; }
@media (max-width: 999px) {
  .about__photo { width: 150%; left: -25%; top: 48%; background-position: 20% center; }
}
