/* ═══════════════════════════════════════════════════════════
   עמית · בניית אתרים — לבנדר על קרם
   סיפור נגלל: האתר של הלקוח נבנה מול העיניים תוך כדי גלילה.
   Mobile-first (390px) · RTL · logical properties only
   צבעים: קרם F2EAE0 · לבנדר BDA6CE · דיו סגול 292233
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream:    #F2EAE0;   /* רקע ראשי */
  --cream-2:  #FBF6EE;   /* כרטיסים על קרם */
  --lav:      #BDA6CE;   /* לבנדר — המבטא */
  --lav-soft: #D5C6E0;   /* לבנדר בהיר למשטחים */
  --lav-deep: #8A6BA6;   /* לבנדר עמוק — טקסט מודגש על קרם */
  --ink:      #292233;   /* דיו סגול — טקסט ומערכות כהות */
  --ink-2:    #352C43;   /* משטח מורם על דיו */
  --muted:    #6A5A78;   /* טקסט משני על קרם */
  --muted-d:  #C9BFD6;   /* טקסט משני על דיו */
  --wa:       #25D366;   /* שמור לוואטסאפ בלבד */
  --line:     rgba(41, 34, 51, .16);
  --line-d:   rgba(242, 234, 224, .16);

  --font-display: "Secular One", "Arial Hebrew", sans-serif;
  --font-body: "Assistant", "Arial Hebrew", sans-serif;

  --radius: 16px;
  --pad: clamp(20px, 5vw, 32px);
  --maxw: 1080px;
  --header-h: 70px;

  --ease: cubic-bezier(.22, .9, .3, 1);
  --p: 1; /* התקדמות גלילה — JS מעדכן */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p, ul, ol { margin: 0; }
a { color: inherit; }
i, b { font-style: normal; font-weight: inherit; }

::selection { background: var(--lav); color: var(--ink); }

/* ─── מיקוד ונגישות ─── */

:focus-visible {
  outline: 3px solid var(--lav-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-64px);
  opacity: 0;
}
.skip-link:focus-visible { transform: translateY(0); opacity: 1; }

/* ─── פתיחה: השלט נדלק ─── */

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-content: center;
  animation: intro-lift .6s var(--ease) 1.5s forwards;
}
body:has(.intro) { overflow: clip; } /* נעילת גלילה עד שהאור עולה */

.intro__sign {
  font-family: var(--font-display);
  font-size: clamp(64px, 22vw, 160px);
  line-height: 1;
  color: var(--ink);
  background: var(--lav);
  padding: .05em .28em .14em;
  border-radius: .16em;
  rotate: -3deg;
  opacity: 0;
  box-shadow: 0 0 70px rgba(189, 166, 206, .4);
  animation: intro-flicker 1.15s steps(1, end) .2s forwards;
}
.intro__sign b { color: var(--cream-2); font-weight: inherit; }

@keyframes intro-flicker {
  0%   { opacity: 0; }
  8%   { opacity: .9; }
  12%  { opacity: .12; }
  18%  { opacity: 1; }
  24%  { opacity: .08; }
  40%  { opacity: .08; }
  46%  { opacity: 1; }
  53%  { opacity: .35; }
  61%  { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes intro-lift {
  to { translate: 0 -102%; }
}

.intro { pointer-events: none; }

/* בלי אנימציות — אין מסך פתיחה בכלל */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  body:has(.intro) { overflow: clip visible; }
}
html.a11y-stopmotion .intro { display: none; }

/* ─── כפתורים ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--wa {
  background: var(--wa);
  color: #06240f;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .3);
}
.btn--wa:hover { box-shadow: 0 10px 28px rgba(37, 211, 102, .4); }

.btn--big { padding: 16px 30px; font-size: 18px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: rgba(41, 34, 51, .06); }

.section--dark .btn--ghost,
.footer .btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}

.icon-wa { flex: none; }

/* ─── כותרת עליונה ─── */

.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.is-scrolled { border-block-end-color: var(--line); }

.nav {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 26px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  direction: ltr;      /* "Amitid." — הנקודה נשארת בסוף */
  unicode-bidi: isolate;
}
.nav__brand-dot { color: var(--lav-deep); }

.nav__toggle {
  display: grid;
  gap: 6px;
  place-content: center;
  inline-size: 46px;
  block-size: 46px;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle-bar {
  inline-size: 20px;
  block-size: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__menu {
  position: fixed;
  inset-block-start: var(--header-h);
  inset-inline: 12px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(41, 34, 51, .18);
}
.nav__menu.is-open { display: flex; }

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__link {
  display: block;
  padding: 10px 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
  transition: color .15s;
}
.nav__link:hover { color: var(--lav-deep); }

.btn--nav { padding: 12px 20px; font-size: 16px; }

/* ─── פתיח ─── */

.hero {
  position: relative;
  overflow: clip;
  min-block-size: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--pad) 90px;
  max-width: var(--maxw);
  margin-inline: auto;
}
/* כתם לבנדר רך ברקע */
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: 8%;
  inset-inline-end: -18%;
  inline-size: min(70vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lav) 55%, transparent), transparent 68%);
  pointer-events: none;
}

.hero__kicker {
  position: relative;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  margin-block-end: 18px;
}

.hero__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(52px, 15vw, 128px);
  line-height: 1.04;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .14em;
}

/* המדבקה */
.sign {
  display: inline-block;
  padding: .02em .24em .09em;
  background: var(--lav);
  color: var(--ink);
  border-radius: .16em;
  rotate: -2.5deg;
  box-shadow: 0 .12em 0 color-mix(in srgb, var(--ink) 25%, var(--lav)),
              0 18px 44px rgba(41, 34, 51, .18);
}
.sign__dot { color: var(--cream-2); }
/* המדבקה מגיבה לעכבר (JS מעדכן rotate/translate) */
.sign { transition: rotate .35s var(--ease), translate .35s var(--ease); }

.load-3 { animation-name: rise, stamp; animation-duration: .7s, .55s; animation-delay: .3s, .35s; }
@keyframes stamp {
  0%   { scale: 1.35; rotate: 2deg; }
  62%  { scale: .96; }
  100% { scale: 1; }
}

.hero__sub {
  position: relative;
  margin-block-start: 26px;
  max-inline-size: 34ch;
  font-size: clamp(18px, 4.8vw, 21px);
  color: var(--muted);
}

.hero__actions {
  position: relative;
  margin-block-start: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__form-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
  padding: 12px 18px;
  background: var(--lav-soft, #D5C6E0);
  border: 1.5px solid var(--lav-deep);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.hero__form-cta b { color: var(--lav-deep); font-weight: 800; }
.hero__form-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(41, 34, 51, .35);
}
.hero__form-cta-badge {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  background: var(--cream-2, #FBF6EE);
  border-radius: 12px;
  font-size: 20px;
}
.nav__link--form {
  color: var(--lav-deep);
  font-weight: 800;
}

/* ─── ההירו החדש: וואו של 3 שניות ───
   מובייל 390px מעל הקפל: כותרת אחת → טלפון חי (~60% מסך) → CTA אחד. נקי. */
.hero { padding-block: calc(var(--header-h) + 14px) 26px; justify-content: flex-start; gap: 0; }
.hero__title--punch {
  font-size: clamp(30px, 8.6vw, 64px);
  line-height: 1.1;
  align-items: center;
  text-align: center;
  align-self: center;
  gap: .18em;
  z-index: 2;
}
.hero__title--punch .sign { font-size: .94em; }

/* הבמה: טלפון + ניצוצות */
.hero__stage {
  position: relative;
  align-self: center;
  margin-block-start: 18px;
  block-size: min(58svh, 560px);
  display: grid;
  place-items: center;
}
.phone3d { perspective: 1000px; block-size: 100%; }
.phone3d__frame {
  position: relative;
  block-size: 100%;
  aspect-ratio: 1 / 2;
  border-radius: 34px;
  border: 7px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
  transform: rotateX(3deg) rotateY(-7deg);
  animation: phone-float 7s ease-in-out infinite;
  box-shadow: 0 34px 70px -22px rgba(41, 34, 51, .5),
              0 0 0 1px rgba(255, 255, 255, .06) inset;
}
@keyframes phone-float {
  0%, 100% { transform: rotateX(3deg) rotateY(-7deg) translateY(0); }
  50%      { transform: rotateX(2deg) rotateY(-5deg) translateY(-10px); }
}
.phone3d__notch {
  position: absolute; z-index: 3;
  inset-block-start: 9px; inset-inline: 0;
  margin-inline: auto;
  inline-size: 38%; block-size: 15px;
  background: var(--ink); border-radius: 999px;
}
.phone3d__screen { position: absolute; inset: 0; border-radius: 27px; overflow: hidden; background: #16121d; }
.phone3d__screen .shot {
  position: absolute; inset: 0;
  inline-size: 100%; block-size: 100%;
  object-fit: cover; object-position: top;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.phone3d__screen .shot.is-on { opacity: 1; }
.phone3d__glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 27px;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .13) 50%, transparent 58%);
}

/* ניצוצות עדינים סביב הטלפון — CSS בלבד, אלגנטי ולא עמוס */
.spark {
  position: absolute;
  inline-size: 10px; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lav-deep), color-mix(in srgb, var(--lav) 40%, transparent) 60%, transparent 72%);
  animation: spark-float 6s ease-in-out infinite;
  pointer-events: none;
}
.spark--1 { inset-block-start: 6%;  inset-inline-start: 12%; animation-delay: 0s; }
.spark--2 { inset-block-start: 18%; inset-inline-end: 8%;   animation-delay: 1.3s; inline-size: 7px; }
.spark--3 { inset-block-end: 22%;  inset-inline-start: 4%;  animation-delay: 2.4s; inline-size: 14px; opacity: .7; }
.spark--4 { inset-block-end: 8%;   inset-inline-end: 14%;   animation-delay: 3.2s; }
.spark--5 { inset-block-start: 44%; inset-inline-end: 2%;   animation-delay: 4.1s; inline-size: 6px; }
@keyframes spark-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .55; }
  50%      { transform: translateY(-16px) scale(1.25); opacity: 1; }
}

.hero .hero__actions { justify-content: center; align-self: center; margin-block-start: 22px; }

/* CTA פועם — מגנטי בדסקטופ (data-magnetic), אדווה בלחיצה במובייל */
.btn--pulse { animation: cta-pulse 2.6s var(--ease) infinite 3.4s; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  45%      { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  46%      { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn--pulse:active { transform: scale(.96); }

/* דסקטופ: טור טקסט מימין, טלפון משמאל */
@media (min-width: 1200px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 38%);
    column-gap: clamp(28px, 4vw, 70px);
    align-content: center;
    justify-items: start;
  }
  .hero > * { grid-column: 1; }
  .hero__stage { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; block-size: min(72vh, 640px); }
  .hero__title--punch { text-align: start; align-items: flex-start; align-self: start; font-size: clamp(44px, 4.6vw, 76px); }
  .hero .hero__actions { justify-content: flex-start; align-self: start; }
}

/* טיקר תוצאות — הוכחה חברתית בתנועה, מיד מתחת להירו */
.ticker {
  overflow: hidden;
  border-block: 1.5px solid var(--line);
  background: var(--cream-2);
  padding-block: 12px;
}
.ticker__track { display: flex; inline-size: max-content; animation: ticker-slide 26s linear infinite; }
.ticker__seq {
  white-space: nowrap;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink-2);
}
.ticker__seq { flex: none; }
@keyframes ticker-slide { from { transform: translateX(0); } to { transform: translateX(50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* הפתיח המילולי שירד מתחת לקפל */
.hero-after {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 34px var(--pad) 10px;
}
.hero-after .hero__sub { margin-block-start: 0; max-inline-size: 52ch; }

@media (prefers-reduced-motion: reduce) {
  .phone3d__frame, .spark, .btn--pulse { animation: none; }
}

/* ─── מה אתם בעצם מקבלים ─── */
.explain { display: grid; gap: 14px; margin-block-start: 34px; }
@media (min-width: 760px) { .explain { grid-template-columns: repeat(3, 1fr); } }
.explain__card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 20px; text-align: center;
}
.explain__card h3 { font-family: var(--font-display); font-size: 22px; margin: 14px 0 2px; }
.explain__what { margin: 0; font-weight: 800; color: var(--lav-deep); }
.explain__how { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }
.explain__you { margin: 10px 0 0; font-size: 14.5px; font-weight: 600; }
.explain__icon {
  position: relative; block-size: 84px; display: grid; place-items: center;
  border-radius: 16px; overflow: hidden;
}
.explain__icon--domain { background: var(--ink); }
.xi-sign {
  font-family: var(--font-display); color: var(--lav); font-size: 19px; letter-spacing: .5px;
  padding: 6px 14px; border: 1.5px solid var(--lav); border-radius: 8px;
  animation: xi-swing 3.5s ease-in-out infinite; transform-origin: top center;
  direction: ltr;
}
@keyframes xi-swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.explain__icon--host { background: var(--lav-soft); }
.xi-house { font-size: 34px; }
.xi-247 {
  position: absolute; top: 10px; inset-inline-end: 12px;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--lav-deep);
  border-radius: 999px; padding: 2px 8px; animation: xi-pulse 2s ease-in-out infinite;
}
@keyframes xi-pulse { 50% { box-shadow: 0 0 0 7px rgba(138, 107, 166, .25); } }
.explain__icon--secure { background: #DDEEE2; }
.xi-lock { font-size: 32px; z-index: 1; }
.xi-ring {
  position: absolute; inline-size: 58px; block-size: 58px; border-radius: 50%;
  border: 2px dashed var(--good); animation: xi-spin 9s linear infinite;
}
@keyframes xi-spin { to { transform: rotate(360deg); } }
.explain__foot { margin-block-start: 22px; text-align: center; font-weight: 800; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .xi-sign, .xi-247, .xi-ring { animation: none; } }

.hero__hint {
  position: absolute;
  inset-block-end: 26px;
  inset-inline-start: var(--pad);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  animation: bob 2.4s ease-in-out 3.4s infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* אנימציית טעינה מדורגת */
.load-1, .load-2, .load-3, .load-4, .load-5 {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .7s var(--ease) forwards;
}
/* הפתיח מתחיל אחרי שמסך הפתיחה עולה (~2.1ש׳) */
.load-1 { animation-delay: .05s; }
.load-2 { animation-delay: .15s; }
.load-4 { animation-delay: .45s; }
.load-5 { animation-delay: .6s; }

/* ביקור חוזר — אין מסך פתיחה, אז הכניסות לא מחכות לו */
html.no-intro .load-1 { animation-delay: .05s; }
html.no-intro .load-2 { animation-delay: .15s; }
html.no-intro .load-3 { animation-delay: .3s, .35s; }
html.no-intro .load-4 { animation-delay: .45s; }
html.no-intro .load-5 { animation-delay: .6s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── מקטעים ─── */

.section { padding-block: clamp(72px, 14vw, 130px); }
/* #get and #explain read as one "what you get" block — collapse the dead band between them */
#get { padding-block-end: clamp(24px, 5vw, 40px); }
#explain { padding-block-start: clamp(24px, 5vw, 40px); }

.section--dark {
  background: var(--ink);
  color: var(--cream);
}

.section__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section__inner--narrow { max-width: 760px; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 60px);
  line-height: 1.12;
  position: relative;
  padding-block-end: 18px;
  margin-block-end: 22px;
}
/* הקו שנמתח מתחת לכותרת */
.section__title::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 2px;
  inline-size: 64px;
  block-size: 5px;
  border-radius: 4px;
  background: var(--lav);
  transform: scaleX(.2);
  transform-origin: var(--tx-origin, right);
  transition: transform .6s var(--ease);
}
.section__title.is-lit::after { transform: scaleX(1); }
.section__title--center { text-align: center; }
.section__title--center::after {
  inset-inline-start: 50%;
  translate: 50% 0;
}

.section__lead {
  font-size: clamp(18px, 4.6vw, 20px);
  color: var(--muted);
  max-inline-size: 52ch;
  margin-block-end: 40px;
}
.section--dark .section__lead { color: var(--muted-d); }
.section__lead--center { margin-inline: auto; text-align: center; }

.section__note {
  margin-block-start: 36px;
  font-size: 18px;
  font-weight: 600;
  max-inline-size: 44ch;
}
.section__note--small {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted-d);
  /* רקע אטום בצבע המקטע — מסתיר את מפת הרקע מאחורי הטקסט */
  background: var(--ink);
  inline-size: fit-content;
  padding: 6px 10px;
  margin-inline-start: -10px;
  border-radius: 10px;
}

.section__cta { margin-block-start: 40px; text-align: center; }

/* ─── הדמיית חיפוש (מערכה כהה) ─── */

.search-demo { display: flex; justify-content: center; }

.phone {
  inline-size: min(340px, 100%);
  border: 1px solid var(--line-d);
  border-radius: 28px;
  padding: 10px;
  background: var(--ink-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.phone__screen {
  background: #221B2E;
  border-radius: 20px;
  padding: 18px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  margin-block-end: 6px;
}
.search-bar__icon {
  flex: none;
  inline-size: 14px;
  block-size: 14px;
  border: 2px solid var(--muted-d);
  border-radius: 50%;
  position: relative;
}
.search-bar__icon::after {
  content: "";
  position: absolute;
  inline-size: 6px;
  block-size: 2px;
  background: var(--muted-d);
  inset-block-end: -2px;
  inset-inline-end: -4px;
  transform: rotate(45deg);
}

.search-result {
  border: 1px solid var(--line-d);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--ink-2);
}
.search-result__name { font-weight: 700; font-size: 16px; color: var(--cream); }
.search-result__meta { color: var(--lav); font-size: 13px; font-weight: 600; margin-block-start: 2px; }
.search-result__desc { color: var(--muted-d); font-size: 13px; margin-block-start: 4px; }

.search-result--missing {
  border-style: dashed;
  background: transparent;
  opacity: .8;
}
.search-result--missing .search-result__name { color: var(--muted-d); }
.search-result--missing .search-result__meta { color: #FF9DAF; }

/* ─── כרטיסי "מה תקבלו" ─── */

.cards {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  border-color: var(--lav);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(41, 34, 51, .1);
}
.card__title {
  font-family: var(--font-display);
  font-size: 21px;
  margin-block-end: 8px;
  color: var(--lav-deep);
}
.card__text { color: var(--muted); font-size: 16px; }

/* ─── פס ענק נגלל ─── */

.marquee {
  overflow: clip;
  padding-block: clamp(28px, 6vw, 60px);
  border-block: 1px solid var(--line);
  background: var(--cream);
}
.marquee__row {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 110px);
  line-height: 1.15;
  will-change: transform;
}
.marquee__row--solid {
  color: var(--ink);
  transform: translateX(calc((var(--p) - .5) * 24%)) skewX(var(--skew, 0deg));
}
.marquee__row--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--lav-deep);
  transform: translateX(calc((.5 - var(--p)) * 24%)) skewX(var(--skew, 0deg));
}

/* ─── הסצנה: האתר נבנה תוך כדי גלילה ─── */

/* ברירת המחדל (בלי JS / תנועה מופחתת): הכול סטטי, המסך במצב סופי */
.scene {
  background: linear-gradient(var(--cream), var(--lav-soft) 30%, var(--lav) 85%);
}
.scrub .scene { block-size: 430svh; }

.scene__sticky { padding-block: clamp(60px, 10vw, 100px); }
.scrub .scene__sticky {
  position: sticky;
  inset-block-start: 0;
  block-size: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 8px) 16px;
  overflow: clip;
}

.scene__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  inline-size: 100%;
  display: grid;
  gap: 24px;
}

.scene__copy .section__title { margin-block-end: 14px; }

.scene__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.scene__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: opacity .45s var(--ease);
}
.scene__num {
  flex: none;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  background: var(--cream-2);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-content: center;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.scene__step-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin-block-start: 6px;
  margin-block-end: 4px;
}
.scene__step-body p {
  color: var(--muted);
  font-size: 15.5px;
  max-inline-size: 42ch;
}

/* מצב פעיל (רק כשהגלילה חיה) */
.scrub .scene__step { opacity: .35; }
.scrub .scene__step.is-active { opacity: 1; }
.scrub .scene__step.is-active .scene__num {
  background: var(--ink);
  color: var(--cream);
}

/* בנייד: בזמן סצנה חיה מציגים רק את השלב הפעיל */
@media (max-width: 719px) {
  .scrub .scene__steps { display: grid; min-block-size: 118px; align-items: start; }
  .scrub .scene__step { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
  .scrub .scene__step.is-active { opacity: 1; }
  .scrub .scene__step-body p { font-size: 14.5px; }
  .scrub .scene__copy .section__title { font-size: clamp(26px, 7vw, 34px); padding-block-end: 12px; margin-block-end: 10px; }
}

/* הבמה */
.scene__stage { display: flex; justify-content: center; }

.scene__phone {
  inline-size: min(300px, 78vw);
  border-radius: 30px;
  border: 1px solid rgba(41, 34, 51, .25);
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 34px 80px rgba(41, 34, 51, .32);
}
.scrub .scene__phone {
  transform: rotate(calc((var(--p) - .5) * -3deg)) translateY(calc((.5 - var(--p)) * 14px));
  will-change: transform;
}

.scene__screen {
  position: relative;
  background: var(--cream-2);
  border-radius: 22px;
  block-size: min(52svh, 460px);
  min-block-size: 340px;
  overflow: hidden;
  padding: 14px;
}

/* אלמנטים בתוך המסך — ברירת מחדל: מצב סופי (שלב 4) */
.ph-chat,
.ph-url, .ph-site .ph-nav, .ph-site .ph-headline, .ph-site .ph-img, .ph-site .ph-cta,
.ph-pin, .ph-live, .ph-wa {
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* שלב 1: צ'אט השאלון */
.ph-chat {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}
.ph-bubble {
  max-inline-size: 82%;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.ph-bubble--q {
  align-self: flex-start;
  background: #E5DCD0;
  color: var(--ink);
  border-start-start-radius: 4px;
}
.ph-bubble--a {
  align-self: flex-end;
  background: var(--lav);
  color: var(--ink);
  border-start-end-radius: 4px;
}
.ph-bubble--photos {
  display: flex;
  gap: 6px;
  padding: 8px;
}
.ph-bubble--photos span {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, #C8A24E, #8B6A2B);
}
.ph-bubble--photos span:nth-child(2) { background: linear-gradient(140deg, #7D9E6A, #4C6B3C); }
.ph-bubble--photos span:nth-child(3) { background: linear-gradient(140deg, #B97B4E, #7C4A28); }

/* שלבים 2–4: האתר */
.ph-url {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #E9E0D4;
  border-radius: 999px;
  padding: 6px 12px;
  margin-block-end: 10px;
}

.ph-site { display: flex; flex-direction: column; gap: 12px; }

.ph-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ph-nav b {
  font-family: var(--font-display);
  font-size: 15px;
  color: #6E4F1E;
}
.ph-nav i {
  inline-size: 26px;
  block-size: 8px;
  border-radius: 4px;
  background: #E5DCD0;
}

.ph-headline {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}

.ph-img {
  block-size: 84px;
  border-radius: 12px;
  background:
    radial-gradient(60% 90% at 30% 20%, rgba(255, 244, 214, .5), transparent 60%),
    linear-gradient(140deg, #C8A24E, #8B6A2B);
}

.ph-cta {
  align-self: flex-start;
  background: #C8A24E;
  color: #241A05;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

/* שלב 3: הערת תיקון */
.ph-pin {
  position: absolute;
  inset-block-end: 84px;
  inset-inline-end: 14px;
  display: grid;
  gap: 6px;
  justify-items: end;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.ph-pin__note,
.ph-pin__done {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  border-start-end-radius: 3px;
  box-shadow: 0 8px 20px rgba(41, 34, 51, .18);
}
.ph-pin__note { background: var(--ink); color: var(--cream); }
.ph-pin__done { background: var(--wa); color: #06240f; }

/* שלב 4: באוויר */
.ph-live {
  position: absolute;
  inset-block-start: 46px;
  inset-inline-start: 14px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  rotate: 3deg;
  box-shadow: 0 10px 24px rgba(41, 34, 51, .3);
}
.ph-wa {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--wa);
  color: #06240f;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .45);
}

/* ── מצבי הסצנה לפי שלב (רק כשהגלילה חיה) ── */

/* שלב 1: רק הצ'אט */
.scrub .scene[data-phase="1"] .ph-chat { opacity: 1; transform: translateY(0); }
.scrub .scene[data-phase="1"] .ph-url,
.scrub .scene[data-phase="1"] .ph-site .ph-nav,
.scrub .scene[data-phase="1"] .ph-site .ph-headline,
.scrub .scene[data-phase="1"] .ph-site .ph-img,
.scrub .scene[data-phase="1"] .ph-site .ph-cta {
  opacity: 0;
  transform: translateY(20px);
}

/* שלב 2: האתר נבנה — כניסה מדורגת */
.scrub .scene[data-phase="2"] .ph-site .ph-nav      { transition-delay: .05s; }
.scrub .scene[data-phase="2"] .ph-site .ph-headline { transition-delay: .15s; }
.scrub .scene[data-phase="2"] .ph-site .ph-img      { transition-delay: .25s; }
.scrub .scene[data-phase="2"] .ph-site .ph-cta      { transition-delay: .35s; }

/* שלבים 1–3: עדיין אין כתובת, אין "באוויר", אין וואטסאפ */
.scrub .scene[data-phase="1"] .ph-url,
.scrub .scene[data-phase="2"] .ph-url,
.scrub .scene[data-phase="3"] .ph-url { opacity: 0; transform: translateY(-8px); }
.scrub .scene[data-phase="1"] .ph-live,
.scrub .scene[data-phase="2"] .ph-live,
.scrub .scene[data-phase="3"] .ph-live { opacity: 0; transform: scale(.6); }
.scrub .scene[data-phase="1"] .ph-wa,
.scrub .scene[data-phase="2"] .ph-wa,
.scrub .scene[data-phase="3"] .ph-wa { opacity: 0; transform: scale(.4); }

/* שלב 3: ההערה מופיעה, הכפתור מתוקן */
.scrub .scene[data-phase="3"] .ph-pin { opacity: 1; transform: translateY(0); }
.scrub .scene[data-phase="3"] .ph-cta,
.scrub .scene[data-phase="4"] .ph-cta {
  transform: scale(1.12);
  transform-origin: center;
  box-shadow: 0 8px 18px rgba(110, 79, 30, .35);
}
.scrub .scene[data-phase="3"] .ph-pin__done { transition-delay: .5s; }
.scrub .scene[data-phase="3"] .ph-pin__note { opacity: .55; }

/* שלב 4: הכול חי */
.scrub .scene[data-phase="4"] .ph-live { transition-delay: .15s; }
.scrub .scene[data-phase="4"] .ph-wa { transition-delay: .3s; }

/* ─── קריאה אמצעית ─── */

.mid-cta {
  display: block;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 22px var(--pad);
  font-family: var(--font-display);
  font-size: clamp(19px, 5vw, 26px);
  color: var(--lav-deep);
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.mid-cta:hover { background: rgba(189, 166, 206, .18); }

/* ─── עבודות: פאנלים נערמים ─── */

.section--work {
  padding-block-end: clamp(72px, 14vw, 130px);
  overflow: clip;
}
/* התוכן מעל מפת המסלול */
.section--work .section__inner,
.section--work .stack { position: relative; }

/* מפת מסלול דקורטיבית — הקו נמתח עם הגלילה (‎--p) */
.workmap {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}
.workmap__route {
  fill: none;
  stroke: var(--lav);
  stroke-width: 1.5;
  opacity: .4;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 1));
}
.workmap__stop circle {
  fill: var(--lav);
  opacity: .8;
}
.workmap__stop text {
  fill: var(--muted-d);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  opacity: .45;
}
.workmap__coord {
  fill: var(--muted-d);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .06em;
  opacity: .4;
}

.stack {
  display: grid;
  gap: 20px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-block-start: 10px;
}

.work-panel {
  position: sticky;
  border-radius: 24px;
  padding: 26px 22px;
  display: grid;
  gap: 20px;
  border: 1px solid var(--line-d);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .3);
}
.work-panel:nth-child(1) { inset-block-start: calc(var(--header-h) + 14px); }
.work-panel:nth-child(2) { inset-block-start: calc(var(--header-h) + 28px); }
.work-panel:nth-child(3) { inset-block-start: calc(var(--header-h) + 42px); }
.work-panel:nth-child(4) { inset-block-start: calc(var(--header-h) + 56px); }
.work-panel:nth-child(5) { inset-block-start: calc(var(--header-h) + 70px); }
.work-panel:nth-child(6) { inset-block-start: calc(var(--header-h) + 84px); }

.work-panel--hummus   { background: #332711; }
.work-panel--salon    { background: #381F2C; }
.work-panel--electric { background: #1D2637; }
.work-panel--pulse    { background: #331114; }
.work-panel--law      { background: #1a2338; }
.work-panel--ohana    { background: #26221E; }

.work__live {
  display: inline-block;
  margin-block-start: 12px;
  color: var(--cream);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: opacity .2s var(--ease);
}
.work__live:hover { opacity: .7; }

.work__screen-link { display: block; text-decoration: none; border-radius: 22px; }
.work__screen-link .work__screen { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.work__screen-link:hover .work__screen,
.work__screen-link:focus-visible .work__screen { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }

.work__name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--cream);
}
.work__where { color: var(--muted-d); font-size: 18px; }
.work__desc { color: var(--muted-d); font-size: 15.5px; margin-block-start: 6px; max-inline-size: 40ch; }

.work__screen {
  position: relative;
  aspect-ratio: 9 / 13;
  inline-size: min(280px, 100%);
  max-block-size: 58svh;
  margin-inline: auto;
  border-radius: 22px;
  border: 1px solid var(--line-d);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.work__screen-img {
  border-radius: 22px;
  border: 1px solid var(--line-d);
  inline-size: min(280px, 100%);
  margin-inline: auto;
}

.work__screen--hummus { background: linear-gradient(160deg, #2A1E0F, #171008 70%); }
.work__screen--hummus .ws-brand { color: #FFC53D; }
.work__screen--hummus .ws-btn { background: #FFC53D; color: #1d1405; }

.work__screen--salon { background: linear-gradient(160deg, #2A0F1E, #170810 70%); }
.work__screen--salon .ws-brand { color: #FF5D73; }
.work__screen--salon .ws-btn { background: #FF5D73; color: #250810; }

.work__screen--electric { background: linear-gradient(160deg, #0F1E2E, #081018 70%); }
.work__screen--electric .ws-brand { color: #6FC3FF; }
.work__screen--electric .ws-btn { background: #6FC3FF; color: #06121d; }

.work__screen--pulse { background: linear-gradient(160deg, #2A0F12, #170808 70%); }
.work__screen--pulse .ws-brand { color: #FF5D5D; }
.work__screen--pulse .ws-btn { background: #FF5D5D; color: #250808; }

.work__screen--ohana { background: linear-gradient(160deg, #2A2520, #151210 70%); }
.work__screen--ohana .ws-brand { color: #E8632B; }
.work__screen--ohana .ws-btn { background: #E8632B; color: #2B1000; }

.work__screen--law { background: linear-gradient(160deg, #16213a, #0c111d 70%); }
.work__screen--law .ws-brand { color: #d8bc8a; font-size: 24px; }
.work__screen--law .ws-btn { background: #b9945a; color: #0c111d; }

.ws-nav {
  block-size: 8px;
  inline-size: 44%;
  border-radius: 6px;
  background: rgba(242, 234, 224, .14);
  margin-block-end: 22px;
}
.ws-brand { font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.ws-tag {
  font-size: 13px;
  font-weight: 600;
  color: rgba(242, 234, 224, .55);
  margin-block-start: 4px;
}
.ws-line {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--cream);
  margin-block-start: 20px;
}
.ws-btn {
  margin-block-start: 18px;
  align-self: flex-start;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
}
.ws-rows {
  margin-block-start: auto;
  display: grid;
  gap: 9px;
}
.ws-rows span {
  block-size: 10px;
  border-radius: 6px;
  background: rgba(242, 234, 224, .09);
}
.ws-rows__long { inline-size: 86%; }
.ws-rows__short { inline-size: 58%; }
.ws-strip {
  margin-block-start: 14px;
  display: flex;
  gap: 8px;
}
.ws-strip span {
  flex: 1;
  block-size: 30px;
  border-radius: 8px;
  background: rgba(242, 234, 224, .08);
}

/* ─── מחיר ─── */

.price-card {
  background: var(--cream-2);
  border: 1.5px solid var(--lav);
  border-radius: 22px;
  padding: 30px 24px;
  box-shadow: 0 24px 60px rgba(41, 34, 51, .1);
  display: grid;
  gap: 28px;
  max-inline-size: 760px;
}

.price-card__label {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--muted);
  margin-block-end: 6px;
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
  color: var(--lav-deep);
}
.price-card__amount--small { font-size: 38px; }
.price-card__sale {
  display: inline-block;
  background: var(--lav);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 3px 12px;
  border-radius: 999px;
  margin-inline-start: 8px;
  rotate: -1.5deg;
}
.price-card__was {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-decoration-thickness: 2px;
  white-space: nowrap;
}
.price-card__per { font-family: var(--font-body); font-size: 17px; color: var(--muted); font-weight: 600; }
.price-card__once { color: var(--muted); font-size: 15px; margin-block-start: 4px; }

/* מסלולי התחייבות — הדגשת 24/36 בלי לחשוף מחיר (סגירה פנים-אל-פנים) */
.plan-tiers { display: grid; gap: 8px; margin-block-start: 14px; }
.plan-tiers__title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.plan-tiers__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; position: relative;
  padding: 10px 14px; border-radius: 12px;
  background: var(--cream-2); border: 1px solid var(--line);
  font-size: 15px; color: var(--muted); text-decoration: none;
}
.plan-tiers__len { font-weight: 700; color: var(--ink); white-space: nowrap; }
.plan-tiers__price { font-weight: 600; }
.plan-tiers__row--hot {
  background: var(--lav-soft); border-color: var(--lav);
  color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.plan-tiers__row--hot .plan-tiers__price { color: var(--lav-deep); font-weight: 700; }
a.plan-tiers__row--hot:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(138, 107, 166, .25); }
.plan-tiers__row--best { border-width: 2px; border-color: var(--lav-deep); }
.plan-tiers__badge {
  position: absolute; top: -9px; inset-inline-start: 12px;
  background: var(--lav-deep); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  padding: 2px 9px; border-radius: 999px; line-height: 1.4;
}

.price-card__list {
  list-style: none;
  padding: 0;
  margin-block-start: 18px;
  display: grid;
  gap: 10px;
}
.price-card__list li {
  padding-inline-start: 28px;
  position: relative;
  font-size: 16px;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .5em;
  inline-size: 14px;
  block-size: 8px;
  border-inline-start: 2.5px solid var(--lav-deep);
  border-block-end: 2.5px solid var(--lav-deep);
  transform: rotate(-45deg);
}

.price-card__list--compact li { font-size: 15px; color: var(--muted); }

.price-card__hosting {
  border-block-start: 1px solid var(--line);
  padding-block-start: 24px;
}

.price-card__promise {
  border-block-start: 1px solid var(--line);
  padding-block-start: 20px;
  font-weight: 700;
  font-size: 17px;
}

/* ─── שאלות ─── */

.faq { display: grid; gap: 10px; }

.faq__item {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--lav); }

.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  padding-inline-end: 52px;
  transition: color .15s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--lav-deep); }
.faq__q::after {
  content: "+";
  position: absolute;
  inset-inline-end: 20px;
  inset-block-start: 50%;
  translate: 0 -50%;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--lav-deep);
  transition: rotate .25s var(--ease);
}
.faq__item[open] .faq__q::after { rotate: 45deg; }

.faq__a { padding: 0 20px 20px; color: var(--muted); }

/* ─── צור קשר (מערכה סגולה) ─── */

.section--contact {
  background: var(--lav);
  color: var(--ink);
  text-align: center;
}
.section--contact .section__lead { color: #453653; }
.section--contact .section__title::after { background: var(--cream-2); }
.section--contact .btn--ghost { border-color: var(--ink); color: var(--ink); }
.section--contact .btn--ghost:hover { background: rgba(41, 34, 51, .08); }

.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ─── תחתית ─── */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 40px var(--pad) 110px; /* מקום לפס הוואטסאפ בנייד */
}
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}
.footer__brand { font-family: var(--font-display); font-size: 20px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a {
  color: var(--muted-d);
  text-decoration: none;
  font-size: 15px;
}
.footer__nav a:hover { color: var(--lav); text-decoration: underline; }
.footer__note { color: var(--muted-d); font-size: 14px; }

/* השם ענק בתחתית — חתימת הסטודיו */
.footer__giant {
  grid-column: 1 / -1;
  margin-block-start: 26px;
  font-family: var(--font-display);
  font-size: clamp(88px, 24vw, 300px);
  line-height: .9;
  text-align: center;
  direction: ltr;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 234, 224, .28);
  user-select: none;
  white-space: nowrap;
  overflow: clip;
}

/* ─── פס וואטסאפ צף ─── */

.wa-bar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 90;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(41, 34, 51, .28) 60%);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
  pointer-events: none;
}
.wa-bar.is-visible { transform: translateY(0); pointer-events: auto; }
.wa-bar__btn { inline-size: 100%; }

/* ─── כפתור וואטסאפ צף קטן ─── */

.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 92;
  display: none;
  place-content: center;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #06240f;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .55);
}
@media (min-width: 720px) {
  .wa-float { display: grid; } /* בנייד יש את הפס הצף במקום */
}

/* ─── כפתור נגישות ─── */

.a11y-btn {
  position: fixed;
  inset-inline-end: 0;
  inset-block-start: 50%;
  translate: 0 -50%;
  z-index: 95;
  display: grid;
  place-content: center;
  inline-size: 46px;
  block-size: 52px;
  border: none;
  cursor: pointer;
  background: var(--ink);
  color: var(--cream);
  border-start-start-radius: 14px;
  border-end-start-radius: 14px;
  box-shadow: 0 8px 24px rgba(41, 34, 51, .3);
}
.a11y-btn:hover { background: var(--lav-deep); }

.a11y-panel {
  position: fixed;
  inset-inline-end: 56px;
  inset-block-start: 50%;
  translate: 0 -50%;
  z-index: 96;
  inline-size: 224px;
  background: var(--cream-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(41, 34, 51, .25);
  display: grid;
  gap: 6px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__title {
  font-family: var(--font-display);
  font-size: 19px;
  margin-block-end: 4px;
}
.a11y-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  inline-size: 100%;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 6px;
  border-radius: 10px;
  text-align: start;
}
.a11y-opt:hover { background: rgba(189, 166, 206, .2); }
.a11y-opt__box {
  flex: none;
  inline-size: 20px;
  block-size: 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  display: grid;
  place-content: center;
}
.a11y-opt[aria-pressed="true"] .a11y-opt__box {
  background: var(--ink);
}
.a11y-opt[aria-pressed="true"] .a11y-opt__box::after {
  content: "";
  inline-size: 10px;
  block-size: 5px;
  border-inline-start: 2.5px solid var(--cream);
  border-block-end: 2.5px solid var(--cream);
  transform: rotate(-45deg) translateY(-1px);
}
.a11y-panel__link {
  margin-block-start: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lav-deep);
}

/* ── אפקטים של כפתור הנגישות ── */

html.a11y-bigtext { zoom: 1.15; }
html.a11y-links a { text-decoration: underline !important; }

html.a11y-contrast {
  --cream: #FFFFFF;
  --cream-2: #FFFFFF;
  --lav: #CDB6DE;
  --lav-soft: #E4D8EE;
  --lav-deep: #4B2D6B;
  --ink: #000000;
  --ink-2: #14101B;
  --muted: #2E2838;
  --muted-d: #EFEAF5;
  --line: rgba(0, 0, 0, .35);
  --line-d: rgba(255, 255, 255, .4);
}

/* עצירת אנימציות (מקבילה ל-prefers-reduced-motion, מופעלת ידנית) */
html.a11y-stopmotion *,
html.a11y-stopmotion *::before,
html.a11y-stopmotion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
html.a11y-stopmotion { scroll-behavior: auto; }
html.a11y-stopmotion .load-1,
html.a11y-stopmotion .load-2,
html.a11y-stopmotion .load-3,
html.a11y-stopmotion .load-4,
html.a11y-stopmotion .load-5,
html.a11y-stopmotion .reveal { opacity: 1; transform: none; animation: none; }
html.a11y-stopmotion .section__title::after { transform: scaleX(1); }
html.a11y-stopmotion .marquee__row { transform: none; }
html.a11y-stopmotion .work-panel { position: static; }

/* ─── גרעין פילם עדין ─── */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .05;
}
html.a11y-contrast body::after { display: none; }

/* ─── דפים נערמים: מקטעים שנגלשים זה על זה ─── */

.sheet {
  position: relative;
  border-start-start-radius: clamp(28px, 6vw, 56px);
  border-start-end-radius: clamp(28px, 6vw, 56px);
  margin-block-start: calc(-1 * clamp(28px, 6vw, 56px));
}
.sheet--cream { background: var(--cream); }

/* ─── חשיפת כותרות מילה-מילה ─── */

.scrub .section__title .w {
  display: inline-block;
  overflow: clip;
  padding-block-end: .16em;   /* לא לחתוך אותיות יורדות (ך ץ ף) */
  margin-block-end: -.16em;
}
.scrub .section__title .w__i {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .65s var(--ease);
  transition-delay: calc(var(--wi, 0) * 70ms);
}
.scrub .section__title.is-lit .w__i { transform: translateY(0); }

/* ─── סמן עוקב (עכבר בלבד) ─── */

.cursor {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 999;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: var(--lav);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width .2s, height .2s;
  will-change: transform;
}

.btn { translate: 0 0; transition-property: transform, box-shadow, background-color, border-color, translate; }

/* ─── חשיפות בגלילה ─── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ─── עמודים משפטיים ─── */

.legal {
  max-width: 720px;
  margin-inline: auto;
  padding: 120px var(--pad) 80px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 46px);
  margin-block-end: 8px;
}
.legal__updated { color: var(--muted); font-size: 14px; margin-block-end: 36px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 23px;
  margin-block-start: 36px;
  margin-block-end: 10px;
  color: var(--lav-deep);
}
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p { margin-block-end: 12px; }
.legal ul { padding-inline-start: 22px; margin-block-end: 12px; }
.legal li { margin-block-end: 6px; }
.legal a { color: var(--lav-deep); }
.legal strong { color: var(--ink); }
.legal .todo {
  display: block;
  background: rgba(189, 106, 130, .12);
  border: 1px dashed #A34D68;
  border-radius: 10px;
  padding: 12px 16px;
  color: #8F3B55;
  font-weight: 600;
  font-size: 15px;
  margin-block: 16px;
}
.legal__back {
  display: inline-block;
  margin-block-start: 40px;
  color: var(--ink);
  font-weight: 700;
}

/* ─── תנועה מופחתת ─── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .load-1, .load-2, .load-3, .load-4, .load-5,
  .reveal { opacity: 1; transform: none; animation: none; }
  .section__title::after { transform: scaleX(1); }
  .wa-bar { transform: translateY(0); pointer-events: auto; }
  .work-panel { position: static; }
}

/* ═══ טאבלט ומעלה ═══ */

@media (min-width: 720px) {
  .nav__toggle { display: none; }

  .nav__menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .nav__list { flex-direction: row; gap: 2px; }
  .nav__link { font-size: 16px; padding: 8px 12px; }

  .cards { grid-template-columns: 1fr 1fr; gap: 16px; }

  .scene__inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 48px;
  }
  .scene__steps { gap: 20px; }
  .scene__screen { block-size: min(60svh, 500px); }

  .work-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 40px 44px;
    gap: 40px;
  }
  .work-panel__text { max-inline-size: 42ch; }
  .work__name { font-size: 30px; }

  .price-card {
    grid-template-columns: 1.2fr 1fr;
    padding: 40px 36px;
  }
  .price-card__hosting {
    border-block-start: none;
    border-inline-start: 1px solid var(--line);
    padding-block-start: 0;
    padding-inline-start: 28px;
  }
  .price-card__promise { grid-column: 1 / -1; }

  .contact__actions { flex-direction: row; justify-content: center; }

  .footer { padding-block-end: 40px; }
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer__nav { justify-content: center; }

  .wa-bar { display: none; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }

  .hero__title { flex-direction: row; align-items: baseline; gap: .35em; flex-wrap: wrap; }

  .section__title br { display: none; }
}

/* ── תגיות טכניקה על כרטיסי הדוגמאות ── */
.work__tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px;
  margin: 0 0 16px; padding: 0;
}
.work__tags li {
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid currentColor; opacity: .72;
}

/* ═══ הסצנה החיה: אבני בניין מאחורי הדף (three.js, נטען עצלות) ═══ */
#bg-scene {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
#bg-scene canvas { display: block; width: 100%; height: 100%; opacity: .55; }
main, footer { position: relative; z-index: 1; }

/* ── קפה שקד (example panel) ── */
.work-panel--cafe     { background: #2B1D14; }
.work__screen--cafe { background: linear-gradient(160deg, #3A2814, #1E120A 72%); text-align: center; }
.work__screen--cafe .ws-nav { margin-inline: auto; }
.work__screen--cafe .ws-brand { color: #F5C24E; }
.work__screen--cafe .ws-btn { background: #F5C24E; color: #21130a; align-self: center; }
.work__screen--cafe .ws-rows { justify-items: center; }
.work__screen--cafe .ws-strip { justify-content: center; }
