:root {
  --blue-900: #0b2a5b;
  --blue-700: #134a9c;
  --blue-500: #1f6fe0;
  --blue-100: #e6f0fd;
  --sky: #7cc4ff;
  --ink: #1a2333;
  --muted: #5d6b82;
  --line: #d9e2ef;
  --bg: #f5f8fc;
  --white: #fff;
  --danger: #c62828;
  --ok: #1b8a4b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 42, 91, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-weight: 400; font-style: normal; }
[hidden] { display: none !important; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 196, 255, .35), transparent 45%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700) 60%, var(--blue-500));
  color: var(--white);
  padding: 56px 0 96px;
}
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px;
  border-radius: 999px; background: rgba(255,255,255,.15);
  font-size: .9rem; font-weight: 500;
}
.hero h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; line-height: 1.1; }
.hero-sub { margin: 8px 0 16px; font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 500; color: #dbeaff; }
.hero-lead { margin: 0 0 28px; max-width: 34em; font-size: 1.05rem; color: #e8f1ff; }
/* הגרפיקה מוצגת חתוכה לחלק העליון: התמונה + כותרת "שלישי אישי עם דוד" */
.hero-photo {
  flex: 0 0 auto; width: 400px; aspect-ratio: 1024 / 1085; margin: 0;
  border-radius: 24px; overflow: hidden; background: var(--white);
  box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.9);
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--white); color: var(--blue-700); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-light:hover { box-shadow: 0 8px 26px rgba(0,0,0,.25); }
.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:disabled { background: #9db8de; cursor: wait; }
.btn-block { width: 100%; }
.link-btn {
  display: block; margin: 16px auto 0; padding: 8px; border: 0; background: none;
  color: var(--blue-700); font: inherit; font-weight: 500; cursor: pointer;
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -56px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); text-align: center;
}
.why-icon { font-size: 2rem; }
.why-card h2 { margin: 8px 0 4px; font-size: 1.2rem; color: var(--blue-900); }
.why-card p { margin: 0; color: var(--muted); }

/* ---------- Booking ---------- */
.book { padding: 48px 16px 64px; }
.card {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px;
}
.book-title { margin: 0; text-align: center; font-size: 1.8rem; color: var(--blue-900); }
.book-note { margin: 4px 0 24px; text-align: center; color: var(--muted); }

.steps { display: flex; justify-content: space-between; list-style: none; margin: 0 0 28px; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 17px; inset-inline: 16%; height: 2px; background: var(--line); }
.steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .9rem; color: var(--muted); position: relative; }
.steps span {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line); font-weight: 700;
}
.steps li.active, .steps li.done { color: var(--blue-700); font-weight: 500; }
.steps li.active span { border-color: var(--blue-500); background: var(--blue-500); color: var(--white); }
.steps li.done span { border-color: var(--blue-500); color: var(--blue-500); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 16px; font-size: 1.2rem; font-weight: 700; }
legend:focus { outline: none; }

.dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.date-btn, .hour-btn {
  font: inherit; cursor: pointer; background: var(--white);
  border: 2px solid var(--line); border-radius: 12px; color: var(--ink);
  transition: border-color .15s, background .15s, transform .1s;
}
.date-btn { padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.date-btn .dow { font-size: .9rem; color: var(--muted); }
.date-btn .day { font-size: 1.6rem; font-weight: 800; color: var(--blue-900); line-height: 1.2; }
.date-btn .month { font-size: .95rem; }
.date-btn .tag { margin-top: 4px; font-size: .8rem; color: var(--blue-700); font-weight: 500; }
.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hour-btn { padding: 12px 4px; display: flex; flex-direction: column; align-items: center; }
.hour-btn .time { font-size: 1.15rem; font-weight: 700; direction: ltr; }
.hour-btn .left { font-size: .75rem; color: #b35c00; min-height: 1.1em; }

.date-btn:hover:not(:disabled), .hour-btn:hover:not(:disabled) { border-color: var(--blue-500); }
.date-btn[aria-checked="true"], .hour-btn[aria-checked="true"] { border-color: var(--blue-500); background: var(--blue-100); }
.date-btn:disabled, .hour-btn:disabled { cursor: not-allowed; opacity: .45; background: #f1f3f7; }
.date-btn:disabled .tag { color: var(--muted); }
.date-btn:focus-visible, .hour-btn:focus-visible, .btn:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 16px; }

.summary {
  margin: 0 0 20px; padding: 12px 16px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-900); font-weight: 500;
}
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
}
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); }
.field.invalid input { border-color: var(--danger); }
.field textarea { resize: vertical; }
.error { display: block; min-height: 0; color: var(--danger); font-size: .85rem; margin-top: 4px; }
.error:empty { margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 4px; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--blue-500); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 500; text-align: center; min-height: 0; margin: 12px 0; }
.form-error:empty { margin: 8px 0; }

.success { text-align: center; padding: 8px 0; }
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; background: #e3f6ec; color: var(--ok);
  font-size: 2.2rem; font-weight: 800;
}
.success h3 { margin: 0 0 8px; font-size: 1.6rem; color: var(--blue-900); }
.success p { margin: 0 0 8px; }
.success .btn { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #cfe0fb; text-align: center; padding: 40px 0; }
.motto { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; color: var(--white); }
.motto-sub { margin: 0 0 20px; color: var(--sky); }
.sign { margin: 0; }
.sign strong { color: var(--white); }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .hero { padding: 40px 0 80px; text-align: center; }
  .hero-inner { flex-direction: column-reverse; gap: 24px; }
  .hero-photo { width: 100%; max-width: 440px; }
  /* בנייד הכותרת כבר מופיעה בגרפיקה – נשארת לקוראי מסך ולמנועי חיפוש */
  .hero-titles { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero-lead { margin-inline: auto; }
  .why { grid-template-columns: 1fr; gap: 12px; margin-top: -48px; }
  .why-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; text-align: right; padding: 16px 18px; }
  .why-icon { grid-row: span 2; align-self: center; }
  .why-card h2 { margin: 0; font-size: 1.1rem; }
  .book { padding: 32px 16px 48px; }
  .card { padding: 24px 18px; }
  .hours { gap: 8px; }
  .hour-btn { padding: 10px 2px; }
  .hour-btn .time { font-size: 1.05rem; }
}
