/* פונטים וצבעים (אותם ערכים כמו fonts.css, כאן כדי לחסוך טעינה) */
@font-face { font-family: "Tchelet"; src: url("fonts/Tchelet-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oron Tzar"; src: url("fonts/OronTzar-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --f-display: "Tchelet", serif;
  --f-body: "Oron Tzar", "Assistant", system-ui, sans-serif;
  --teal-pale: #a8cfc8;
  --ink: #0e2a36;
  --cream: #f7efdd;
  --gold-1: #fff1c9;
  --gold-2: #f0cf8a;
  --gold: linear-gradient(135deg, #fff3cf 0%, #f2d493 45%, #d4a458 100%);
  --err: #ffb4a2;
  --bg: #00141f;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font-family: var(--f-body); font-size: 20px; line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
p, h1, h2 { margin: 0; }
svg { flex: none; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; }

/* ===== הדף: רקע כהה כמו בפלאייר, שמתבהר לטורקיז בתחתית ===== */
.page {
  position: relative; overflow: hidden; min-height: 100vh;
  background:
    radial-gradient(60% 40% at 85% 55%, rgba(38, 120, 128, .22), transparent 70%),
    radial-gradient(70% 35% at 10% 80%, rgba(38, 120, 128, .2), transparent 70%),
    linear-gradient(180deg, #00141f 0, #001b29 35%, #00283a 70%, #0b4652 100%);
}

/* השמיים של הפלאייר, עם הירח והאורות, נמסים לתוך הרקע בתחתית */
.sky {
  position: absolute; top: 0; left: 50%; z-index: 0; width: min(100%, 880px);
  transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 92%);
  mask-image: linear-gradient(#000 45%, transparent 92%);
}
@media (min-width: 881px) {
  .sky {
    -webkit-mask-image: linear-gradient(#000 45%, transparent 92%), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(#000 45%, transparent 92%), linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-composite: intersect;
  }
}
.sky-img { display: block; width: 100%; height: auto; }
.bulb {
  position: absolute; left: var(--x); top: var(--y); width: 9%; aspect-ratio: 1; margin: -4.5% 0 0 -4.5%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 222, 150, .85), rgba(255, 196, 100, .3) 45%, transparent);
  opacity: .55; animation: bulb 3s ease-in-out var(--d) infinite;
}
@keyframes bulb { 50% { opacity: 1; } }
.moon-glow {
  position: absolute; left: 9%; top: 4%; width: 50%; aspect-ratio: 1; margin: -25% 0 0 -25%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 246, 215, .5), rgba(255, 240, 200, .16) 55%, transparent);
  animation: moon 5s ease-in-out infinite;
}
@keyframes moon { 50% { opacity: .55; } }

/* ניצוצות וגחליליות – רק שקיפות ותזוזה, קל לטלפון */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.tw { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff7e0; box-shadow: 0 0 4px #fff7e0; opacity: .2; animation: tw var(--t) ease-in-out var(--d) infinite; }
@keyframes tw { 50% { opacity: 1; } }
.ff {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 222, 150, .95), rgba(255, 200, 110, 0));
  animation: ff var(--t) ease-in-out var(--d) infinite;
}
@keyframes ff {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: .9; }
  50% { transform: translate(var(--dx), -90px); opacity: .5; }
  80% { opacity: .9; }
  100% { transform: translate(calc(var(--dx) * -.5), -180px); opacity: 0; }
}

/* כוכב נופל קטן מדי פעם */
.shoot {
  position: absolute; left: var(--x); top: var(--y); width: 120px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #fff8e1, rgba(255, 248, 225, 0)); box-shadow: 0 0 6px rgba(255, 248, 225, .6);
  opacity: 0; transform: rotate(-24deg); animation: shoot var(--t) linear var(--d) infinite;
}
@keyframes shoot {
  0% { opacity: 0; transform: rotate(-24deg) translateX(0); }
  1% { opacity: 1; }
  7% { opacity: 0; transform: rotate(-24deg) translateX(-380px); }
  100% { opacity: 0; transform: rotate(-24deg) translateX(-380px); }
}

/* ===== הכותרת: שכבות נפרדות מה-PDF ===== */
.hero { position: relative; z-index: 1; width: min(100%, 880px); margin: 0 auto; }
.stage { position: relative; --sh: 332; aspect-ratio: 595.5 / var(--sh); }
.ly {
  position: absolute; display: block; height: auto; margin: 0;
  left: calc(var(--x) / 5.955 * 1%); top: calc(var(--y) / var(--sh) * 100%); width: calc(var(--w) / 5.955 * 1%);
  animation: lyIn 1.1s cubic-bezier(.2, .8, .2, 1) var(--ld, 0s) both;
}
.ly img { display: block; width: 100%; height: auto; }
@keyframes lyIn { from { opacity: 0; transform: translateY(14px); } }
.title  { --x: 87.75;  --y: 141.75; --w: 457.25; --ld: .1s; }
.prayer { --x: 395.25; --y: 75.75;  --w: 144.75; --ld: .35s; }
.bsd    { --x: 535.25; --y: 24.5;   --w: 30.25;  --ld: .5s; }
.flare  { --x: 56.25;  --y: 125.75; --w: 312.25; --ld: .6s; animation: lyIn 1s ease-out var(--ld) both, flare 4.5s ease-in-out 1.6s infinite; }
@keyframes flare { 50% { opacity: .45; transform: scale(.92); } }

/* בטלפון: הכותרת גדולה יותר ויש מקום מתחתיה */
@media (max-width: 699px) {
  .stage  { --sh: 392; }
  .title  { --x: 17.75; --y: 124; --w: 560; }
  .flare  { --x: -21;   --y: 104; --w: 382; }
  .prayer { --x: 372;   --y: 56;  --w: 186; }
  .bsd    { --x: 540;   --y: 20;  --w: 34; }
}

/* ערבות מהפלאייר – ברקע, רכות ומתנדנדות לאט */
.leaves { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.leaf { position: absolute; height: auto; opacity: .5; will-change: transform; }
.leaf-a {
  width: min(46vw, 330px); left: -9vw; top: 46vh; transform-origin: 0 0; animation: leafA 9s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(100deg, #000 55%, transparent 95%); mask-image: linear-gradient(100deg, #000 55%, transparent 95%);
}
.leaf-b {
  width: min(34vw, 250px); right: -8vw; bottom: -4vh; transform-origin: 100% 100%; animation: leafB 11s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(200deg, #000 50%, transparent 95%); mask-image: linear-gradient(200deg, #000 50%, transparent 95%);
}
@keyframes leafA { 50% { transform: rotate(5deg) translateY(6px); } }
@keyframes leafB { 50% { transform: rotate(-6deg); } }

/* ===== פריסה ===== */
.layout {
  position: relative; z-index: 1; display: grid; gap: 28px;
  width: min(520px, 100%); margin: 0 auto; padding: 0 16px;
}
@media (min-width: 960px) {
  .layout { width: min(1040px, 100%); grid-template-columns: 400px 1fr; gap: 40px; align-items: start; padding: 0 24px; }
  .card { padding: 22px 18px 18px; }
  .form-title { font-size: 46px; margin-bottom: 16px; }
  .seg label span { height: 50px; font-size: 32px; }
  .field input, .step { height: 54px; }
  .cta.big { height: 58px; font-size: 32px; }
  .sec-title { font-size: 40px; margin-bottom: 12px; }
}

/* ===== זכוכית (בלי טשטוש רקע – זה מה שהאט את הטלפון) ===== */
.glass {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 55%, rgba(0, 20, 30, .2));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 36px rgba(0, 0, 0, .28);
}

/* ===== כרטיס הטופס ===== */
.card {
  padding: 26px 20px 22px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(46, 128, 134, .42), rgba(3, 30, 42, .78) 62%);
  border-color: rgba(240, 207, 138, .28);
}
.card::before { /* מסגרת זהב עדינה – סטטית */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 236, 190, .8), rgba(240, 207, 138, .06) 35%, rgba(240, 207, 138, .06) 65%, rgba(240, 207, 138, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.eyebrow { text-align: center; font-size: 17px; color: var(--teal-pale); letter-spacing: .05em; }
.form-title, .done h2, .sec-title, .bo, .tl-big, .tl-time, .cta.big, .float-cta, .seg label span { font-family: var(--f-display); font-weight: 400; line-height: 1; }
.form-title {
  margin: 4px 0 20px; text-align: center; font-size: 54px;
  background: linear-gradient(100deg, #d4a458, #fff3cf 35%, #f2d493 60%, #fff3cf 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* בורר בן/בת עם גלולה שזזה */
.seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 18px;
  background: rgba(3, 22, 32, .5); border: 1px solid rgba(255, 255, 255, .1);
}
.seg label { position: relative; z-index: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label span {
  display: grid; place-items: center; height: 58px; border-radius: 14px; cursor: pointer;
  font-size: 36px; color: rgba(247, 239, 221, .75);
  transition: color .3s, transform .2s; -webkit-tap-highlight-color: transparent;
}
.seg label:active span { transform: scale(.95); }
.seg input:checked + span { color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-1); outline-offset: -2px; }
.seg-pill {
  position: absolute; top: 5px; bottom: 5px; right: 5px; width: calc(50% - 5px); border-radius: 14px;
  background: var(--gold); box-shadow: 0 6px 20px rgba(240, 207, 138, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
  opacity: 0; transform: translateX(0) scale(.9);
  transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .25s;
}
.seg[data-v="m"] .seg-pill { opacity: 1; transform: translateX(0) scale(1); }
.seg[data-v="f"] .seg-pill { opacity: 1; transform: translateX(-100%) scale(1); }

/* מאיפה מגיעים */
.from { margin-top: 14px; animation: slideIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }
.from-q { font-size: 18px; color: var(--teal-pale); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.bad { animation: shake .45s; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: rgba(3, 22, 32, .45); border: 1.5px solid rgba(255, 255, 255, .16); font-size: 19px; color: var(--cream);
  transition: background .25s, color .25s, border-color .25s, transform .2s cubic-bezier(.3, 1.5, .5, 1);
  -webkit-tap-highlight-color: transparent; animation: chipIn .4s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i) * 45ms);
}
@keyframes chipIn { from { opacity: 0; transform: scale(.7); } }
.chips label:active span { transform: scale(.94); }
.chips input:checked + span { background: var(--gold); color: var(--ink); border-color: transparent; box-shadow: 0 6px 18px rgba(240, 207, 138, .35); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-1); outline-offset: 2px; }
@media (hover: hover) { .chips span:hover { border-color: rgba(240, 207, 138, .6); } }

/* שדות עם תווית צפה */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.field { position: relative; display: block; }
.field input {
  display: block; width: 100%; height: 60px; padding: 20px 16px 4px; border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(3, 22, 32, .45);
  color: var(--cream); font-size: 22px; outline: none; -moz-appearance: textfield;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field span {
  position: absolute; right: 16px; top: 50%; translate: 0 -50%; pointer-events: none;
  color: rgba(247, 239, 221, .6); font-size: 20px; transform-origin: right center;
  transition: translate .25s, scale .25s, color .25s;
}
.field input:focus, .field input:not(:placeholder-shown) { background: rgba(3, 22, 32, .65); }
.field input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(240, 207, 138, .15); }
.field input:focus + span, .field input:not(:placeholder-shown) + span { translate: 0 -118%; scale: .72; color: var(--gold-2); }
.field input.bad { border-color: #ff9b85; animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.age { display: grid; grid-template-columns: 60px 1fr 60px; gap: 10px; margin-top: 10px; }
.age .field input { text-align: center; }
.age .field span { right: 50%; translate: 50% -50%; transform-origin: center; }
.age .field input:focus + span, .age .field input:not(:placeholder-shown) + span { translate: 50% -118%; }
.step {
  height: 60px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .14); cursor: pointer;
  background: rgba(255, 255, 255, .07); font-size: 30px; line-height: 1; color: var(--gold-1);
  transition: background .2s, transform .15s; -webkit-tap-highlight-color: transparent;
}
.step:active { transform: scale(.9); }
@media (hover: hover) { .step:hover { background: rgba(255, 255, 255, .14); } }

.hp { position: absolute; width: 1px; height: 1px; opacity: 0; clip-path: inset(50%); overflow: hidden; }

/* ===== כפתורים ===== */
.cta, .ghost {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 16px; cursor: pointer; text-decoration: none; overflow: hidden;
  transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s, background .25s;
  -webkit-tap-highlight-color: transparent;
}
.cta {
  border: 0; background: var(--gold); color: var(--ink);
  box-shadow: 0 8px 26px rgba(240, 207, 138, .28), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.cta.big::after, .float-cta::after { /* ברק שעובר על הכפתור – רק תזוזה, בלי ציור מחדש */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-18deg); animation: shine 4s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(480%) skewX(-18deg); } }
.cta:active, .ghost:active { transform: scale(.97); }
@media (hover: hover) {
  .cta:hover { box-shadow: 0 12px 30px rgba(240, 207, 138, .42), inset 0 1px 0 rgba(255, 255, 255, .7); }
  .ghost:hover { background: rgba(255, 255, 255, .15); }
}
.cta.big { display: flex; width: 100%; height: 64px; margin-top: 18px; font-size: 36px; }
.cta.small, .ghost.small { height: 48px; padding: 0 18px; font-size: 19px; }
.cta svg, .ghost svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#waze svg { fill: currentColor; stroke: none; }
.ghost {
  height: 52px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: var(--cream); font-size: 19px;
}
.ghost.wide { display: flex; width: 100%; margin-top: 18px; }

.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .55);
  transform: scale(0); animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.spinner {
  display: none; width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid rgba(14, 42, 54, .25); border-top-color: var(--ink); animation: rot .7s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
.cta.loading { cursor: wait; }
.cta.loading .cta-label { display: none; }
.cta.loading .spinner { display: block; }

.err { margin: 12px 0 0; text-align: center; color: var(--err); font-size: 19px; }
.err:empty { display: none; }

/* ===== אחרי שליחה ===== */
.done { text-align: center; animation: pop .6s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } }
.check { width: 88px; height: 88px; margin: 0 auto 10px; display: block; }
.check circle { fill: rgba(240, 207, 138, .12); stroke: var(--gold-2); stroke-width: 3; stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw .7s ease-out .1s forwards; }
.check path { fill: none; stroke: var(--gold-1); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s ease-out .65s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: 52px; color: var(--gold-1); }
.done p { margin-top: 8px; font-size: 22px; }
.done p b { color: var(--gold-1); }
.done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.done-actions .cta { grid-column: 1 / -1; height: 56px; font-size: 21px; }
.done-actions .ghost { padding: 0 10px; font-size: 18px; }
.link { margin-top: 16px; background: none; border: 0; color: var(--teal-pale); font-size: 19px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* תזכורת לטלפון */
.remind { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 18px; }
.remind-t { font-size: 18px; line-height: 1.3; }
.remind .cta { flex: none; }
.remind.ok { justify-content: center; text-align: center; }
.remind.ok .remind-t { color: var(--gold-1); }
.done-actions .remind-done { grid-column: 1 / -1; border-color: rgba(240, 207, 138, .5); }

.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.chip { padding: 8px 16px; border-radius: 999px; font-size: 18px; box-shadow: none; }

/* ===== לוח הזמנים ===== */
.sec-title { font-size: 46px; text-align: center; color: var(--gold-1); margin-bottom: 16px; }
@media (min-width: 960px) { .sec-title { text-align: right; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tl-line { /* הקו, וניצוץ שרץ לאורכו */
  position: absolute; top: 18px; bottom: 18px; right: 26px; width: 10px; overflow: hidden; pointer-events: none;
}
.tl-line::before {
  content: ""; position: absolute; inset: 0 4px;
  background: linear-gradient(rgba(240, 207, 138, .6), rgba(63, 154, 155, .5), rgba(240, 207, 138, .6));
}
.tl-line i {
  position: absolute; inset: 0; will-change: transform;
  background: linear-gradient(transparent, #fff3cf 35px, transparent 70px) top / 100% 70px no-repeat;
  animation: run 5s ease-in-out infinite;
}
@keyframes run { from { transform: translateY(-70px); } to { transform: translateY(100%); } }

.tl { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
.tl-time {
  position: relative; z-index: 1; display: grid; place-items: center; height: 34px; border-radius: 11px;
  background: #0b3140; border: 1px solid rgba(240, 207, 138, .35);
  font-size: 22px; color: var(--gold-1); font-variant-numeric: tabular-nums;
}
.tl-card {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 10px 14px; border-radius: 16px;
}
.tl-card > div:last-child { min-width: 0; }
.tl-who { font-size: 19.5px; }
.tl-who b { font-weight: 700; }
.tl-what { font-size: 16.5px; color: rgba(247, 239, 221, .75); }
.tl-what b { color: var(--cream); font-weight: 600; }
.tl-big { font-size: 31px; line-height: 1.05; color: var(--gold-1); }
.tl.gold .tl-time { background: var(--gold); color: var(--ink); border-color: transparent; box-shadow: 0 0 16px rgba(240, 207, 138, .4); }
.tl.special .tl-card { background: linear-gradient(145deg, rgba(240, 207, 138, .2), rgba(255, 255, 255, .04)); border-color: rgba(240, 207, 138, .35); }
@media (min-width: 960px) {
  .tl { grid-template-columns: 66px 1fr; gap: 12px; margin-bottom: 9px; }
  .tl-line { right: 28px; }
  .tl-time { height: 34px; font-size: 23px; }
  .tl-card { gap: 13px; min-height: 64px; padding: 8px 14px; border-radius: 16px; }
  .tl-who { font-size: 20px; }
  .tl-what { font-size: 17px; }
  .tl-big { font-size: 31px; }
}

/* תמונות הרבנים – בלי רקע, בתוך עיגול */
.av { position: relative; flex: none; width: 58px; height: 58px; }
.av::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(255, 243, 207, .32), rgba(63, 154, 155, .22) 60%, rgba(3, 22, 32, .2));
  border: 2px solid rgba(240, 207, 138, .75); box-shadow: 0 5px 14px rgba(0, 0, 0, .32);
}
.av img {
  position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); display: block;
  border-radius: 50%; object-fit: cover;
}
.avs { display: flex; flex: none; }
.avs .av + .av { margin-right: -14px; }

/* כלי נגינה בהתוועדות */
.music { position: absolute; left: 6px; top: -26px; width: 80px; height: 80px; pointer-events: none; }
.music img { position: absolute; height: auto; }
.m-sax { width: 46px; left: 18px; top: 0; animation: sway2 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.m-note { width: 24px; left: -4px; top: 24px; animation: bob 2.4s ease-in-out infinite; }
.m-clef { width: 13px; left: 62px; top: 14px; animation: bob 2.8s ease-in-out .6s infinite; }
@keyframes sway2 { 50% { transform: rotate(-9deg); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(8deg); } }

/* מה קורה עכשיו (בליל האירוע) */
.tl.now .tl-card { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2), 0 0 26px rgba(240, 207, 138, .3); }
.tl.now .tl-time::after {
  content: "עכשיו"; position: absolute; top: -12px; left: 50%; translate: -50% 0; padding: 0 7px; border-radius: 8px;
  background: #ff6b5a; color: #fff; font-family: var(--f-body); font-size: 13px; line-height: 18px; animation: pulse 1.2s infinite;
}
.tl.past { opacity: .5; }
@keyframes pulse { 50% { opacity: .6; } }

/* ===== מיקום ===== */
.place {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  margin-top: 18px; padding: 16px; border-radius: 22px;
}
.place-pin { position: relative; width: 48px; height: 48px; display: grid; place-items: center; }
.place-pin span { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold-2); }
.place-pin::before, .place-pin::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-2);
  animation: radar 2.4s ease-out infinite;
}
.place-pin::after { animation-delay: 1.2s; }
@keyframes radar { from { transform: scale(.35); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.place-name { font-size: 21px; font-weight: 700; }
.place-addr { font-size: 18px; color: rgba(247, 239, 221, .75); }
.place-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }

/* ===== יצירת קשר ===== */
.contact { width: min(420px, 100%); margin: 26px auto 0; padding: 18px 18px 16px; border-radius: 22px; text-align: center; }
.contact-t { font-size: 20px; font-weight: 700; color: var(--gold-1); }
.contact-num { display: inline-block; margin-top: 4px; font-size: 26px; letter-spacing: .04em; color: var(--cream); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

/* ===== תחתית ===== */
.foot { position: relative; z-index: 1; margin: 40px auto 0; padding: 0 16px calc(110px + env(safe-area-inset-bottom)); text-align: center; }
.bo {
  font-size: clamp(56px, 14vw, 96px);
  background: linear-gradient(100deg, #d4a458, #fff3cf 35%, #f2d493 60%, #fff3cf 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.orgs {
  width: min(460px, 100%); margin: 28px auto 0; padding: 10px 14px; border-radius: 20px; background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.orgs img { display: block; width: 100%; height: auto; }
@media (min-width: 960px) { .foot { padding-bottom: 60px; } }

/* ===== כפתור צף בטלפון ===== */
.float-cta {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; overflow: hidden;
  margin-left: -95px; width: 190px; padding: 14px 0; border-radius: 999px; text-align: center; text-decoration: none;
  background: var(--gold); color: var(--ink); font-size: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 6px rgba(240, 207, 138, .18);
  transform: translateY(160%); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1);
}
.float-cta.show { transform: translateY(0); }
@media (min-width: 960px) { .float-cta { display: none; } }

/* ===== הפלאייר המלא ===== */
.lightbox {
  width: min(760px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 20px;
  background: #031620; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox[open] { animation: pop .45s cubic-bezier(.2, 1.2, .4, 1); }
.lightbox::backdrop { background: rgba(1, 10, 15, .8); }
.lightbox img { display: block; width: 100%; height: auto; }
.lb-close {
  position: sticky; top: 10px; float: left; margin: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(3, 22, 32, .7); color: #fff; font-size: 20px; cursor: pointer;
}

/* ===== כניסה בגלילה ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== טלפון צר ===== */
@media (max-width: 370px) {
  body { font-size: 18px; }
  .form-title { font-size: 46px; }
  .tl { grid-template-columns: 56px 1fr; gap: 8px; }
  .tl-line { right: 23px; }
  .tl-time { font-size: 20px; }
  .tl-card { gap: 10px; padding: 9px 11px; }
  .tl-who { font-size: 18px; }
  .tl-what { font-size: 15.5px; }
  .av { width: 50px; height: 50px; }
  .chips span { padding: 0 13px; font-size: 18px; }
}

/* ===== בלי תנועה למי שביקש ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .check circle, .check path { stroke-dashoffset: 0; }
  .fx, .leaves { display: none; }
}
