/* ============================================================
   contact.css — כרטיס "לשיחת היכרות" · משותף לעמוד הבית ולאודות
   11.10.2026 — הוצא מ-hero.html כשהטופס נדרש גם באודות. מקור אמת אחד:
   שינוי כאן משנה את שני העמודים.
   ============================================================ */

/* ================= יצירת קשר ================= */
/* 11.10.2026 — כרטיס כהה אחד לפי הרפרנס של דניאל. הרקע של הסקשן נשאר
   cream-deep: הפוטר כבר Ink, וכרטיס כהה על רקע בהיר לא מתמזג איתו. */
.ct{background:var(--cream-deep);padding:var(--space-2xl) var(--space-outer)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ctf{
  position:relative;isolation:isolate;   /* בלי overflow:hidden — האובייקט יוצא מהמסגרת */
  max-width:80%;margin-inline:auto;text-align:center;
  background:linear-gradient(180deg,#27194F 0%,#170F35 100%);
  border-radius:2.083vw;                               /* 40 @1920 */
  padding:5vw 6.25vw 3.646vw;                          /* 96 / 120 / 70 */
  color:var(--cream);
}
/* האובייקט יוצא מהמסגרת — 11.10.2026, לבקשת דניאל: "שיצא קצת ויהיה עניין".
   גזור מהרקע (obj-4-business-cut.webp, מפתח צבע R−B: הרקע הסגול נמדד
   −4 עד −12 והעצם +43 עד +52), כך שמחוץ לכרטיס אין ריבוע ואין הילה.
   חורג ~4vw מעל ומשמאל, מוטה 8°, וצל רך מעגן אותו גם על הקרם וגם על הכרטיס. */
.ctf__obj{
  position:absolute;z-index:2;top:-4.2vw;left:-3.6vw;width:15vw;height:auto;
  pointer-events:none;transform:rotate(-8deg);
  filter:drop-shadow(0 1.25vw 1.875vw rgba(15,7,35,.35));
}
/* (0,2,0) בכוונה — כלל הטוקנים .ct h2 בבלוק הרספונסיבי הוא (0,1,1)
   והיה מכווץ את הכותרת חזרה ל-h2 רגיל */
.ct .ctf__title{
  font-family:var(--font-display);font-weight:700;color:var(--cream);
  font-size:clamp(40px,4.792vw,92px);line-height:1;letter-spacing:-.02em;
}
.ctf__lede{
  margin:1.25vw auto 0;max-width:54ch;
  font-size:clamp(16px,1.042vw,20px);line-height:1.7;color:rgba(255,251,243,.72);
}
.ctf__form{margin-top:3.125vw;display:flex;flex-direction:column;gap:1.25vw}  /* 60 / 24 */
.ctf__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25vw}
/* השדה: גלולה שקופה למחצה עם קו קרם. גובה 76 @1920, רצפה 56 — מטרת מגע */
.ctf__in{
  display:block;width:100%;margin:0;
  font:inherit;font-size:clamp(16px,1.146vw,22px);color:var(--cream);text-align:right;
  height:max(56px,3.958vw);padding:0 1.875vw;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,251,243,.28);border-radius:9999px;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.ctf__in::placeholder{color:rgba(255,251,243,.55)}
.ctf__in:focus{outline:none;border-color:var(--purple-light);background:rgba(255,255,255,.08);
  box-shadow:0 0 0 3px rgba(160,112,255,.28)}
.ctf__in:user-invalid{border-color:#E8796B}
.ctf__ta{height:auto;min-height:max(140px,9.375vw);border-radius:1.667vw;
  padding:1.25vw 1.875vw;line-height:1.6;resize:vertical}
/* כפתור קרם ברוחב מלא — הניגוד הכי חזק בכרטיס, ולכן הוא הפעולה */
.ctf__btn{
  /* היה ברוחב מלא ו-76px גובה — עכשיו המידה האחידה, ממורכז */
  display:inline-flex;align-items:center;justify-content:center;gap:.625vw;
  align-self:center;min-height:var(--btn-h);padding:0 var(--btn-px);margin-top:.417vw;
  border:0;border-radius:9999px;cursor:pointer;
  background:var(--cream);color:var(--ink);
  font:inherit;font-weight:700;font-size:var(--btn-fs);
  transition:background .2s ease,transform .2s var(--ease-out-soft);
}
.ctf__btn:hover:not(:disabled){background:#fff;transform:translateY(-2px)}
.ctf__btn:focus-visible{outline:2px solid var(--purple-light);outline-offset:3px}
.ctf__btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
.ctf__consent{font-size:clamp(13px,.833vw,16px);line-height:1.6;color:rgba(255,251,243,.6)}
.ctf__consent a{color:var(--cream);text-decoration:underline;text-underline-offset:.25em}
.ct__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ct__msg{display:none;font-size:clamp(15px,.9vw,17px);line-height:1.6;
  padding:1vw 1.4vw;border-radius:1vw}
.ct__msg[data-state="ok"]{display:block;background:rgba(160,112,255,.18);color:var(--cream)}
.ct__msg[data-state="err"]{display:block;background:rgba(232,121,107,.14);color:#F3B2A9}

/* הדרכים הישירות — שורה אחת עם קו שיער מעליה. אייקון חשוף, בלי ריבוע */
.ctf__direct{
  list-style:none;margin:3.125vw 0 0;padding:1.667vw 0 0;
  border-top:1px solid rgba(255,251,243,.12);
  display:flex;flex-wrap:wrap;justify-content:center;gap:.5vw 2.5vw;
  font-size:clamp(14px,.885vw,17px);color:rgba(255,251,243,.78);
}
.ctf__direct li{display:inline-flex;align-items:center;gap:.625vw}
.ctf__direct svg{width:1.146vw;min-width:18px;aspect-ratio:1;flex:none;fill:none;
  stroke:var(--purple-light);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ctf__direct a{display:inline-flex;align-items:center;min-height:44px;
  color:var(--cream);text-decoration:none}
.ctf__direct a:hover{color:var(--purple-light)}
.ctf__direct .ctf__wa{color:var(--purple-light);font-weight:700}
@media (prefers-reduced-motion:reduce){
  .ctf__in,.ctf__btn{transition:none}
  .ctf__btn:hover:not(:disabled){transform:none}
}
@media (max-width:1100px){
  .ctf{max-width:none}
}
@media (max-width:900px){
  .ct{padding:16vw 5vw}
  .ctf{border-radius:6vw;padding:15vw 6vw 9vw}
  /* קטן וגבוה יותר — במובייל הכותרת ממורכזת וקרובה לקצה העליון */
  .ctf__obj{width:24vw;top:-10vw;left:-3vw}
  .ct .ctf__title{font-size:clamp(34px,10vw,48px)}
  .ctf__lede{margin-top:3.5vw}
  .ctf__form{margin-top:8vw;gap:3.5vw}
  .ctf__row{grid-template-columns:1fr;gap:3.5vw}
  .ctf__in{padding:0 5vw}
  .ctf__ta{border-radius:6vw;padding:4vw 5vw}
  .ctf__btn{margin-top:1vw;gap:2vw}
  .ct__msg{padding:4vw;border-radius:3vw}
  .ctf__direct{flex-direction:column;align-items:center;gap:0;margin-top:9vw;padding-top:6vw}
  .ctf__direct li{gap:2.5vw;min-height:44px}
}
