/* דף הנחיתה של ההגרלה. כיוון: חם וחווייתי, בגרסה יוקרתית ומינימליסטית, בצבעי המותג של שלום שישא. */
:root {
  --ink: #0E3B2A;      /* דיו: ירוק אמרלד עמוק */
  --sage: #7C9E80;     /* משני: ירוק מרווה */
  --gold: #B8975A;     /* הדגשה ראשית: זהב עדין */
  --leaf: #4F8A3C;     /* הדגשה משנית: ירוק עלה */
  --ink-deep: color-mix(in srgb, var(--ink) 80%, #000);
  --gold-l: color-mix(in srgb, var(--gold) 55%, #fff);
  --gold-d: color-mix(in srgb, var(--gold) 72%, #000);
  --sage-l: color-mix(in srgb, var(--sage) 18%, #fff);
  --bg: #F8F4EC;
  --surface: #F0E9DC;
  --card: #FFFDF8;
  --text: #102D21;
  --muted: #4F6258;
  --line: color-mix(in srgb, var(--ink) 14%, var(--bg));
  --ok: #2E7D4A;
  --warn: #9A6A12;
  --err: #B03A2E;
  --font-head: 'Rubik', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --shadow-card: 0 30px 70px -24px color-mix(in srgb, var(--ink) 40%, transparent);
  --shadow-soft: 0 18px 45px -22px color-mix(in srgb, var(--ink) 45%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg); overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; text-wrap: balance; letter-spacing: -.4px; }
p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }

/* תפריט צף */
.top { position: sticky; top: 10px; z-index: 20; padding-top: 10px; }
.top__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px; box-shadow: var(--shadow-soft);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--ink); font-size: 16px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.wa-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
}
.wa-pill svg { width: 18px; height: 18px; }

/* כפתורים */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 14px 30px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font-family: var(--font-head);
  font-weight: 800; font-size: 20px; line-height: 1.2; transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--gold {
  color: var(--ink-deep); background: linear-gradient(135deg, var(--gold-l), var(--gold));
  box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--gold-d) 70%, transparent);
}
.btn--ink { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--ink) 75%, var(--leaf)), var(--ink)); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--ink) 70%, transparent); }
.btn--block { width: 100%; }
.btn--ghost { min-height: 44px; font-size: 15px; padding: 8px 18px; background: transparent; border: 2px solid var(--line); color: var(--ink); font-family: var(--font-body); font-weight: 700; }

/* פתיחה */
.hero { position: relative; padding: 44px 0 40px; text-align: center; isolation: isolate; }
.hero::before, .hero::after {
  content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { width: 300px; height: 300px; background: var(--sage-l); top: 0; right: -80px; }
.hero::after { width: 260px; height: 260px; background: color-mix(in srgb, var(--gold) 28%, var(--bg)); bottom: -40px; left: -90px; }
.hero__dots {
  position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 30%, transparent) 1.2px, transparent 1.2px);
  background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.shuli { width: 132px; height: auto; margin: 0 auto 6px; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--leaf); background: var(--sage-l); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 9vw, 72px); font-weight: 900; color: var(--ink); margin-bottom: 16px; }
.hero h1 em { white-space: nowrap; font-style: normal; background: linear-gradient(90deg, var(--gold-d), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(18px, 4.6vw, 22px); color: var(--muted); max-width: 34ch; margin: 0 auto 26px; }
.hero__cta { width: min(100%, 420px); }
.hero__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__checks svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }
.closed-note { display: inline-block; margin-top: 8px; padding: 14px 22px; border-radius: 22px; background: var(--surface); font-weight: 700; color: var(--ink); }

/* שלבים */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px auto 40px; max-width: 640px; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px 8px; text-align: center; font-size: 14.5px; font-weight: 500; line-height: 1.35; box-shadow: var(--shadow-soft); }
.steps b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 900; color: var(--gold); margin-bottom: 2px; }

/* טופס */
.form-sec { padding: 8px 0 56px; scroll-margin-top: 80px; }
.form-sec.reveal { animation: rise .6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.card { background: var(--card); border-radius: 30px; padding: 26px 18px; box-shadow: var(--shadow-card); border: 1px solid var(--line); max-width: 640px; margin-inline: auto; }
.card h2 { font-size: clamp(28px, 7vw, 38px); font-weight: 800; color: var(--ink); text-align: center; margin-bottom: 6px; }
.card__lead { text-align: center; color: var(--muted); margin-bottom: 22px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 700; font-size: 16px; color: var(--ink); }
.field .req { color: var(--gold-d); }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--line);
  background: #fff; font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-l); }
.field.has-err input { border-color: var(--err); }
.field__err { color: var(--err); font-size: 15px; font-weight: 500; min-height: 0; }
.field__err:empty { display: none; }

/* העלאת צילומי מסך */
.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 16px; }
.up { position: relative; display: flex; flex-direction: column; gap: 8px; }
.up__box {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  aspect-ratio: 9 / 13; border-radius: 22px; border: 2px dashed color-mix(in srgb, var(--sage) 70%, var(--bg));
  background: color-mix(in srgb, var(--sage-l) 60%, #fff); cursor: pointer; overflow: hidden; padding: 12px;
  color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.3; transition: border-color .2s, transform .2s;
}
.up__box:hover { border-color: var(--leaf); }
.up__box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.up__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.up__icon svg { width: 26px; height: 26px; }
.up__hint { font-weight: 400; font-size: 13.5px; color: var(--muted); }
.up__box img.prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.up.has-img .up__box { border-style: solid; border-color: var(--line); }
.up.has-img .up__icon, .up.has-img .up__txt, .up.has-img .up__hint { display: none; }
.up__busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(14 59 42 / .55); color: #fff; font-weight: 700; font-size: 15px; z-index: 2; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: sp 0.9s linear infinite; margin: 0 auto 6px; }
@keyframes sp { to { transform: rotate(360deg); } }
.up__res { font-size: 14px; line-height: 1.45; padding: 8px 10px; border-radius: 14px; font-weight: 500; }
.up__res:empty { display: none; }
.up__res.pass { background: color-mix(in srgb, var(--ok) 12%, #fff); color: var(--ok); }
.up__res.warn { background: color-mix(in srgb, #E2B24A 18%, #fff); color: var(--warn); }
.up__res.err { background: color-mix(in srgb, var(--err) 10%, #fff); color: var(--err); }
.up__swap { align-self: center; }
.up.has-err .up__box { border-color: var(--err); }

/* תיבות סימון */
.opts { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 18px; padding: 16px; border-radius: 22px; background: var(--surface); }
.opts__title { font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: 16px; line-height: 1.5; }
.check input { appearance: none; width: 26px; height: 26px; margin: 0; border-radius: 8px; border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.check input::after { content: ''; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.legal-note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
.legal-note a { color: var(--ink); }
.form-msg { margin-top: 12px; padding: 12px 16px; border-radius: 16px; font-weight: 500; text-align: center; background: color-mix(in srgb, var(--err) 10%, #fff); color: var(--err); }
.form-msg:empty { display: none; }

/* עמוד תודה ועמודים קצרים */
.center-page { min-height: calc(100dvh - 160px); display: grid; place-items: center; padding: 30px 0 50px; }
.thanks { text-align: center; }
.thanks h1 { font-size: clamp(36px, 9vw, 60px); font-weight: 900; color: var(--ink); margin-bottom: 14px; }
.thanks p { font-size: 19px; color: var(--muted); max-width: 32ch; margin: 0 auto 26px; }
.thanks .btn { width: min(100%, 420px); }
.badge { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; background: var(--sage-l); color: var(--ink); }
.join { margin-top: 28px; padding: 18px; border-radius: 22px; background: var(--surface); font-size: 16px; }
.join a { font-weight: 700; color: var(--ink); }

/* קונפטי בעמוד התודה */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* מסמכים */
.doc { max-width: 760px; margin: 0 auto; padding: 30px 0 60px; }
.doc h1 { font-size: clamp(30px, 7vw, 44px); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.doc h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-inline-start: 22px; margin: 6px 0; }
.doc li { margin-bottom: 6px; }
.doc .box { background: var(--surface); border-radius: 22px; padding: 16px 18px; margin: 14px 0; }

/* תחתית */
.foot { position: relative; background: var(--ink); color: color-mix(in srgb, var(--sage) 25%, #fff); padding: 34px 0 30px; text-align: center; font-size: 15px; margin-top: 30px; }
.foot__wave { position: absolute; top: -38px; left: 0; width: 100%; height: 40px; color: var(--ink); }
.foot a { color: #fff; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0 6px; }
.foot__brand { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; }

@media (min-width: 720px) {
  .hero { padding: 70px 0 50px; }
  .shuli { width: 160px; }
  .card { padding: 40px 44px; }
  .steps li { font-size: 16px; padding: 18px 12px; }
}
@media (max-width: 380px) {
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* דוגמה לצילום מסך נכון */
.sample { margin: 4px 0 14px; border-radius: 18px; background: var(--surface); padding: 4px 14px; }
.sample__title { font-weight: 700; color: var(--ink); padding: 12px 0 4px; font-size: 16px; text-align: center; }
.sample__row { display: flex; gap: 12px; justify-content: center; padding: 6px 0 4px; }
.mock { position: relative; margin: 0; width: 42%; max-width: 150px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); background: #111; box-shadow: var(--shadow-soft); }
.mock img { width: 100%; height: 100%; object-fit: cover; }
.mock__bar { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 0 12px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .75)); font-size: 18px; }
.mock__bar svg { width: 20px; height: 20px; }
.mock__tag { position: absolute; top: 8px; right: 8px; background: var(--gold); color: var(--ink-deep); font-weight: 700; font-size: 13px; padding: 2px 10px; border-radius: 999px; }
.sample__steps { list-style: decimal; padding-inline-start: 22px; margin: 6px 0 10px; font-size: 15.5px; }
