/* כרטיס צור קשר — הטופס עצמו מעוצב לפי המוקאפ, ולא איור מעל טופס גנרי. */

.contact-wrap { padding: 30px 20px 50px; display: flex; justify-content: center; }

.contact-card {
  width: 100%; max-width: 460px;
  background: #fff; border-radius: 26px;
  box-shadow: 0 18px 44px -18px rgba(11, 49, 81, .28), 0 2px 6px rgba(11, 49, 81, .06);
  overflow: hidden;
}

/* ⚠️ הגל בתחתית הכותרת נוצר ב-CSS ולא כתמונה: הוא נמתח לכל רוחב בלי
   פיקסלציה, ומשנה צבע עם המותג בלי לייצא קובץ חדש. */
.cc-head {
  position: relative;
  background: linear-gradient(180deg, var(--teal-200) 0%, var(--teal-100) 100%);
  padding: 26px 24px 46px; text-align: center;
}
.cc-head::after {
  content: ""; position: absolute; inset-inline: -2px; bottom: -1px; height: 42px;
  background: #fff;
  border-start-start-radius: 60% 100%;
  border-start-end-radius: 60% 100%;
}
.cc-head img { display: block; margin: 0 auto 10px; position: relative; z-index: 1; }
.cc-head h2 { position: relative; z-index: 1; margin: 0 0 4px; font-size: 21px; color: var(--navy-900); }
.cc-head p  { position: relative; z-index: 1; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--navy-700); }

.cc-body { padding: 4px 22px 24px; display: flex; flex-direction: column; gap: 12px; }

/* שורה = שדה + אייקון בתוך אותה "כדור" לבנה, כמו במוקאפ */
.cc-row { position: relative; }
.cc-row input,
.cc-row textarea {
  width: 100%; box-sizing: border-box;
  padding: 15px 18px; padding-inline-end: 58px;
  border: 1px solid var(--line-soft); border-radius: 17px;
  background: #fff;
  box-shadow: 0 3px 10px -4px rgba(11, 49, 81, .16);
  font: inherit; font-size: 15px; color: var(--ink-900);
  transition: border-color .14s, box-shadow .14s;
  /* ⚠️ 16px+ במובייל, אחרת iOS מזום את הדף בכל מיקוד בשדה */
}
.cc-row textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.cc-row input::placeholder,
.cc-row textarea::placeholder { color: var(--ink-400); }
.cc-row input:focus,
.cc-row textarea:focus {
  outline: none; border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-100);
}

.cc-ic {
  position: absolute; inset-inline-end: 12px; top: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); color: var(--gold-text);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.cc-row-area .cc-ic { top: 14px; }

/* ⚠️ כפתור מדורג ברוחב מלא, כמו במוקאפ — אבל <button> אמיתי: נגיש
   למקלדת, מגיש את הטופס, ועובד בלי JavaScript. */
.cc-submit {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; margin-top: 4px; padding: 16px 20px;
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  background: linear-gradient(90deg, var(--teal-600) 0%, var(--navy-600) 100%);
  color: #fff; font: inherit; font-size: 16px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(2, 108, 125, .7);
  transition: filter .14s, transform .06s;
}
.cc-submit:hover { filter: brightness(1.07); text-decoration: none; color: #fff; }
.cc-submit:active { transform: translateY(1px); }
.cc-submit:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.cc-alt { margin: 2px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-500); }
.contact-done .cc-body { text-align: center; padding-bottom: 28px; }
.contact-done h2 { margin: 6px 0 6px; }

@media (max-width: 520px) {
  .contact-wrap { padding: 18px 14px 36px; }
  .cc-head { padding: 22px 18px 40px; }
  .cc-body { padding-inline: 16px; }
}
