/* טופס "שרייני אימון היכרות" + פוטר + כפתורי וואטסאפ/טלפון צפים */

/* ---------- טופס ---------- */
.join { position: relative; padding: clamp(100px, 11vw, 160px) 0; background: var(--yellow); overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(28,26,25,.09) 1px, transparent 1.4px) 0 0 / 26px 26px; }
.join__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.join-title { margin: 0; font-weight: 600; font-size: clamp(46px, 5.6vw, 88px); line-height: .95; letter-spacing: -.025em; }
.join__free { margin: 14px 0 0; font-size: clamp(26px, 2.3vw, 34px); color: var(--pink-deep); transform: rotate(-2deg); transform-origin: right; }
.join__note { position: relative; max-width: 380px; margin-top: 44px; padding: 34px 28px 26px; background: #fff; border-radius: 4px 4px 22px 4px; transform: rotate(-2deg); box-shadow: 0 22px 36px -20px rgba(80,70,10,.45); }
.join__note .tape { position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; margin-left: -42px; background: rgba(255,255,255,.7); box-shadow: 0 1px 2px rgba(0,0,0,.08); transform: rotate(-3deg); }
.join__note-h { margin: 0 0 14px; font-size: 27px; }
.join__note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; }
.join__note li { display: flex; align-items: center; gap: 12px; }
.mini-box, .agree__box { position: relative; flex: 0 0 auto; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px 3px 5px 3px; }
.jn-check { position: absolute; width: 30px; height: 26px; top: -10px; right: -7px; overflow: visible; }
.jn-check path { fill: none; stroke: var(--pink-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.jform { position: relative; padding: clamp(26px, 3.4vw, 46px); background: var(--paper); border-radius: 30px; box-shadow: 0 40px 70px -40px rgba(80,70,10,.55); }
.jform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.fld input {
  font: inherit; font-weight: 400; font-size: 18px; padding: 15px 18px; border-radius: 16px;
  border: 2px solid rgba(28,26,25,.16); background: #fff; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.fld input[dir="ltr"] { text-align: right; }
.fld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(230,133,144,.35); }
.fld input.is-bad { border-color: var(--pink-deep); }
.tracks { margin: 24px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tracks legend { margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 2px solid var(--ink); font-size: 16px; transition: background .25s, transform .35s var(--ease-spring); }
.pill small { font-family: var(--hand); font-size: 18px; color: var(--pink-deep); }
.pill:hover span { transform: translateY(-2px); }
.pill input:checked + span { background: var(--c); transform: rotate(-2deg) scale(1.04); }
.pill input:checked + span small { color: var(--ink); }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(230,133,144,.45); }
.agree { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 16px; cursor: pointer; }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree input:focus-visible + .agree__box { box-shadow: 0 0 0 4px rgba(230,133,144,.45); }
.agree a { border-bottom: 1.5px solid currentColor; }
.jform__err { min-height: 24px; margin: 14px 0 0; color: #c0394b; font-size: 15px; font-weight: 600; }
.jform__send { margin-top: 6px; font-size: 19px; padding: 17px 34px; }
.jform__send[disabled] { opacity: .6; pointer-events: none; }
.jform__done { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px; border-radius: 30px; background: var(--paper); text-align: center; }
.jform__done[hidden] { display: none; }
.jform__done svg { width: 90px; height: 76px; overflow: visible; }
.jform__done path { fill: none; stroke: var(--pink-deep); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.jform__done p { margin: 0; font-size: clamp(30px, 2.8vw, 42px); }

/* ---------- פוטר ---------- */
.foot { background: var(--ink); color: rgba(247,245,239,.78); padding: clamp(70px, 8vw, 110px) 0 120px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(30px, 4vw, 60px); }
.foot__logo { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--paper); }
.foot__logo img { height: 34px; width: auto; }
.foot__brand p { max-width: 300px; margin: 20px 0 0; font-size: 16px; line-height: 1.6; }
.foot__social { list-style: none; display: flex; gap: 10px; margin: 24px 0 0; padding: 0; }
.foot__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(247,245,239,.3); color: var(--paper); transition: background .25s, color .25s, transform .35s var(--ease-spring); }
.foot__social a:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); transform: translateY(-3px); }
.foot__social svg { width: 20px; height: 20px; }
.foot__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.foot__col h3 { margin: 0 0 6px; font-family: var(--hand); font-weight: 400; font-size: 28px; color: var(--yellow); }
.foot__col a { width: fit-content; transition: color .2s; }
.foot__col a:hover { color: var(--pink); }
.foot__col .ltr { direction: ltr; }
.foot__addr { opacity: .6; }
.foot__legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(50px, 6vw, 80px); padding-top: 26px; border-top: 1px solid rgba(247,245,239,.14); font-size: 14px; }
.foot__legal nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__legal a:hover { color: var(--paper); }

/* ---------- כפתורים צפים: שמאל-למטה, תמיד ---------- */
.fab { position: fixed; z-index: 70; left: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.fab__btn { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(0,0,0,.35); transition: transform .4s var(--ease-spring); }
.fab__btn svg { width: 28px; height: 28px; }
.fab__btn--wa { position: fixed; right: 20px; bottom: 20px; background: #25d366; color: #fff; } /* וואטסאפ — ימין למטה; טלפון נשאר בשמאל */
.fab__btn--ph { background: var(--pink); color: var(--ink); } /* ורוד — נראה גם על רקע כהה וגם על בהיר */
.fab__btn:hover { transform: scale(1.08) rotate(-6deg); }
.fab__btn--wa::after { /* דופק עדין שמושך את העין */
  content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid #25d366; animation: fab-ping 2.6s ease-out infinite; pointer-events: none;
}
@keyframes fab-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 900px) {
  .join__grid { grid-template-columns: 1fr; }
  .jform__row { grid-template-columns: 1fr; }
  .join__note { margin-top: 30px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .fab { left: 14px; bottom: 14px; gap: 10px; }
  .fab__btn--wa { right: 14px; bottom: 14px; }
  .fab__btn, .fab__btn--wa::after { width: 54px; height: 54px; }
}
