/* =========================================================================
   לילך קרמיקה — styles.css
   כיוון עיצובי: אורגני-עריכתי. צבעי החימר מהתמונות (שמנת, חלודה, אדמה, תכלת מאובקת),
   צורות "חלוק" לא סימטריות כמו הכלים בעבודת יד, וקווי שכבות בהשראת המרבלינג.
   ========================================================================= */

:root {
  /* צבעים — נלקחו מהכלים בתמונות */
  --clay:      #EFE8DD;   /* רקע ראשי — שמנת חימר */
  --paper:     #F8F4EE;   /* כרטיסים */
  --sand:      #D9CBB5;
  --ink:       #231C17;   /* טקסט — אדמה כהה */
  --ink-soft:  #5B4F45;
  --rust:      #8A3E22;   /* מבטא — חלודה/טרקוטה */
  --rust-deep: #62291A;
  --slate:     #93A9B5;   /* תכלת מאובקת מהפלטות */
  --line:      rgba(35, 28, 23, .14);

  /* טיפוגרפיה */
  --f-display: 'Frank Ruhl Libre', 'David', serif;
  --f-body:    'IBM Plex Sans Hebrew', 'Arial Hebrew', sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* מרווחים ומידות */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--clay);
  color: var(--ink);
  font: 400 17px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* גרעיניות עדינה — מרקם חימר */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---------- טיפוגרפיה משותפת ---------- */
.eyebrow {
  font: 500 13px/1 var(--f-body); letter-spacing: .14em; color: var(--rust);
  margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--sand); }
.h2 {
  font: 400 clamp(32px, 4.4vw, 54px)/1.08 var(--f-display);
  margin: 0 0 22px; letter-spacing: -.01em;
}
.h2--light { color: var(--clay); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 34em; }
h3 { font: 500 24px/1.2 var(--f-display); margin: 0 0 10px; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 16px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--ink   { background: var(--ink); color: var(--clay); }
.btn--ink:hover { background: var(--rust-deep); }
.btn--rust  { background: var(--rust); color: #fff; }
.btn--rust:hover { background: var(--rust-deep); }
.btn--clay  { background: var(--clay); color: var(--ink); }
.btn--ghost { border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--clay); }
.link-btn {
  background: none; border: 0; padding: 0; color: var(--rust); font-weight: 500;
  border-bottom: 1px solid currentColor;
}
.tag {
  display: inline-block; font: 500 12px/1 var(--f-body); letter-spacing: .08em;
  background: var(--rust); color: #fff; padding: 7px 12px; border-radius: 999px;
}
.tag--on-img { position: absolute; top: 16px; right: 16px; }

/* צורת "חלוק" — כמו כלי שנבנה ביד */
.pebble { margin: 0; overflow: hidden; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.pebble--b { border-radius: 58% 42% 50% 50% / 44% 56% 44% 56%; }
.pebble--c { border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%; }
.pebble img { width: 100%; height: 100%; object-fit: cover; }

.strata { display: block; width: 100%; height: 40px; color: var(--ink); opacity: .55; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 104px) var(--gutter); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Z00 NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--clay) 86%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav__logo { font: 500 26px/1 var(--f-display); text-decoration: none; }
.nav__logo span { color: var(--rust); font-weight: 300; }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--ink-soft); position: relative; }
.nav__links a::after { content: ''; position: absolute; inset-inline: 0; bottom: -4px; height: 1px; background: var(--rust); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__menu { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav__menu span:not(.sr) { position: absolute; right: 9px; left: 9px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav__menu span:nth-child(1) { top: 15px; }
.nav__menu span:nth-child(2) { top: 24px; }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Z01 HERO ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(56px, 8vw, 100px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__title {
  font: 300 clamp(46px, 7.4vw, 104px)/.98 var(--f-display); margin: 0 0 26px; letter-spacing: -.02em;
}
.hero__title em { font-style: normal; font-weight: 500; color: var(--rust); }
.hero__sub { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-soft); max-width: 30em; margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; aspect-ratio: 1 / 1.08; }
.hero__img-main { position: absolute; inset: 0 0 8% 14%; }
.hero__img-small { position: absolute; width: 40%; aspect-ratio: 1; left: 0; bottom: 0; border: 8px solid var(--clay); }
.hero__badge {
  position: absolute; top: 4%; left: 4%; width: 118px; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--clay); display: grid; place-items: center; text-align: center;
  font: 500 15px/1.25 var(--f-display); transform: rotate(-10deg);
  box-shadow: 0 0 0 6px var(--clay), 0 0 0 7px var(--ink);
}

/* ---------- Z02 ABOUT ---------- */
.about { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about__img { aspect-ratio: 4 / 5; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { font: 400 30px/1 var(--f-display); color: var(--rust); }
.facts strong { display: block; font: 500 19px/1.3 var(--f-display); margin-bottom: 4px; }
.facts span { color: var(--ink-soft); }

/* ---------- Z03 STORY ---------- */
.story__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.opt {
  background: var(--paper); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
}
.opt--featured { background: var(--ink); color: var(--clay); border-color: var(--ink); }
.opt--featured p { color: color-mix(in srgb, var(--clay) 82%, transparent); }
.opt--featured .tag { margin-bottom: 18px; }
.opt h3 { font-size: clamp(24px, 2.4vw, 32px); }
.opt__note { font: italic 400 19px/1.4 var(--f-display); color: var(--sand) !important; margin-bottom: 0; }

/* קערת הפתקים */
.jar {
  background: var(--sand); border-radius: var(--radius); padding: 32px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 340px;
  grid-row: span 2;
}
.jar__bowl {
  width: 200px; height: 100px; border-radius: 0 0 110px 110px; position: relative;
  background: radial-gradient(ellipse at 50% 0%, #b06a46 0%, var(--rust) 45%, var(--rust-deep) 100%);
  box-shadow: inset 0 14px 0 -6px rgba(0,0,0,.25);
}
.jar__bowl::before { /* שפת הקערה */
  content: ''; position: absolute; top: -10px; inset-inline: -6px; height: 22px; border-radius: 50%;
  background: #3d1a10; border: 3px solid #a15a3a;
}
.jar__bowl i { /* פתקים מקופלים */
  position: absolute; top: -26px; width: 34px; height: 26px; background: var(--paper);
  border-radius: 3px; box-shadow: 0 2px 4px rgba(0,0,0,.18); z-index: 1;
}
.jar__bowl i:nth-child(1) { right: 34px; transform: rotate(-18deg); }
.jar__bowl i:nth-child(2) { right: 70px; top: -32px; transform: rotate(8deg); background: #f3e6cf; }
.jar__bowl i:nth-child(3) { right: 104px; transform: rotate(-6deg); }
.jar__bowl i:nth-child(4) { right: 136px; top: -22px; transform: rotate(22deg); background: #e9dccb; }
.jar__bowl i:nth-child(5) { right: 86px; top: -16px; transform: rotate(-30deg); }
.note {
  background: var(--paper); padding: 22px 24px 16px; border-radius: 4px; max-width: 330px;
  box-shadow: 0 18px 30px -18px rgba(35,28,23,.5); transform: rotate(-1.5deg);
  animation: noteUp .55s var(--ease);
}
.note__text { font: 400 18px/1.55 var(--f-display); margin: 0 0 10px; }
.note__hint { font-size: 12px; color: var(--ink-soft); margin: 0; letter-spacing: .06em; }
@keyframes noteUp { from { opacity: 0; transform: translateY(26px) rotate(4deg) scale(.9); } }

/* אלבום */
.album {
  grid-column: 1 / -1; display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}
.album__cover {
  aspect-ratio: 4 / 5; border-radius: 4px 12px 12px 4px; position: relative;
  background: linear-gradient(90deg, rgba(0,0,0,.18) 0 10px, transparent 10px), linear-gradient(160deg, #6c3a24, #4a2416);
  display: grid; place-items: center; padding: 30px; box-shadow: 0 24px 40px -24px rgba(35,28,23,.7);
}
.album__engrave { /* אפקט חריטה */
  font: 500 clamp(20px, 2.2vw, 26px)/1.3 var(--f-display); text-align: center; color: #3b1c11;
  text-shadow: 0 1px 0 rgba(255,220,190,.28), 0 -1px 0 rgba(0,0,0,.45); word-break: break-word;
}
.album__body p { color: var(--ink-soft); }
.field--inline { display: flex; align-items: center; gap: 14px; max-width: 460px; }
.field--inline small { color: var(--ink-soft); white-space: nowrap; }
.field--inline small.is-over { color: var(--rust); font-weight: 600; }

/* ---------- Z04 WORKSHOPS ---------- */
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ws { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.ws:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(35,28,23,.55); }
.ws:nth-child(2) { margin-top: 48px; } /* מדרגה — שבירת גריד עדינה */
.ws__img { margin: 0; aspect-ratio: 4 / 3.4; position: relative; overflow: hidden; }
.ws__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ws:hover .ws__img img { transform: scale(1.05); }
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, var(--sand) 0 2px, transparent 2px 14px), var(--clay);
}
.placeholder span { background: var(--paper); padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-soft); }
.ws__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.ws__body p { color: var(--ink-soft); flex: 1; }
.ws__body .link-btn { align-self: flex-start; }

/* ---------- Z05 PACKAGE ---------- */
.package { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.package__card { background: var(--ink); color: var(--clay); border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.package__card::after { /* כתם חימר */
  content: ''; position: absolute; width: 340px; height: 340px; left: -120px; bottom: -150px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 40% 40%, var(--rust) 0%, var(--rust-deep) 60%, transparent 61%); opacity: .6;
}
/* מדרגות מחיר לפי גודל קבוצה */
.tiers { list-style: none; padding: 0; margin: 0 0 10px; position: relative; z-index: 1; }
.tiers li { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid rgba(239,232,221,.14); }
.tiers li:first-child { border-top: 1px solid rgba(239,232,221,.14); }
.tiers__who { font: 400 clamp(18px, 2vw, 22px)/1.3 var(--f-display); color: var(--clay); }
.tiers__price { font: 300 clamp(36px, 4.4vw, 52px)/1 var(--f-display); color: var(--clay); }
.tiers__per { color: var(--sand); font-size: 14px; min-width: 56px; }
.tiers__note { color: var(--sand); font-size: 14px; margin: 0 0 28px; position: relative; z-index: 1; }

/* בחירת מספר משתתפים (שלב 1) */
.people { margin-top: 22px; padding: 18px 20px; background: var(--clay); border: 1.5px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.people__label { font: 500 20px/1.25 var(--f-display); }
.people__ctl { display: flex; align-items: center; gap: 6px; direction: ltr; }
.people__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.people__btn:disabled { opacity: .3; cursor: default; }
.people__ctl input { width: 64px; height: 44px; text-align: center; font: 500 22px var(--f-body); border: 1.5px solid var(--line); border-radius: 10px; background: #fff; -moz-appearance: textfield; }
.people__ctl input::-webkit-inner-spin-button, .people__ctl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.people__ctl input.is-invalid { border-color: var(--rust); background: #fbefe9; }
.people__price { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 15px; min-height: 1.4em; }
.people__price strong { color: var(--ink); }
.includes { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; position: relative; z-index: 1; }
.includes li { display: flex; gap: 12px; align-items: baseline; color: var(--sand); }
.includes li::before { content: '✓'; color: var(--slate); font-weight: 600; }
.includes strong { color: var(--clay); font-weight: 500; margin-inline-end: 6px; }
.package__card .btn { position: relative; z-index: 1; }
.addon { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.addon__img { aspect-ratio: 1.1; }
.addon__plus { font: 500 28px/1 var(--f-display); color: var(--rust); margin: 0 0 8px; }
.addon p:last-child { color: var(--ink-soft); margin: 0; }

/* ---------- Z06 GALLERY ---------- */
.gal { columns: 3 260px; column-gap: 18px; }
.gal__item { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 18px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: var(--sand); }
.gal__item img { width: 100%; transition: transform .6s var(--ease), filter .6s; }
.gal__item:hover img { transform: scale(1.04); filter: saturate(1.1); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(35,28,23,.88); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox__close { position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--clay); font-size: 18px; }

/* ---------- Z07 BOOKING ---------- */
.demo-pill { display: inline-block; margin: 0; font-size: 13px; background: color-mix(in srgb, var(--slate) 35%, transparent); padding: 6px 14px; border-radius: 999px; }
.book__layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.book__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 44px); min-width: 0; }
.stepper { list-style: none; padding: 0; margin: 0 0 34px; display: flex; gap: 6px; counter-reset: s; }
.stepper li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.stepper li::before { content: ''; height: 3px; border-radius: 2px; background: var(--line); transition: background .4s; }
.stepper b { display: none; }
.stepper li.is-active, .stepper li.is-done { color: var(--ink); }
.stepper li.is-active::before { background: var(--rust); }
.stepper li.is-done::before { background: var(--ink); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.step__title { font: 400 clamp(26px, 3vw, 34px)/1.15 var(--f-display); margin-bottom: 26px; padding: 0; }

.choices { display: grid; gap: 12px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; }
.choice__box {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 22px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--clay);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.choice__box::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-soft); transition: .2s; }
.choice__box strong { display: block; font: 500 20px/1.25 var(--f-display); }
.choice__box small { color: var(--ink-soft); font-size: 14px; }
.choice__box em { font-style: normal; font-size: 12px; background: var(--rust); color: #fff; padding: 5px 10px; border-radius: 999px; }
.choice input:checked + .choice__box { border-color: var(--ink); background: var(--paper); }
.choice input:checked + .choice__box::before { border-color: var(--rust); background: var(--rust); box-shadow: inset 0 0 0 3px var(--paper); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--rust); outline-offset: 2px; }

/* לוח שנה */
.cal { max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font: 500 21px/1 var(--f-display); margin: 0; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--clay); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal__dow span { font-size: 13px; color: var(--ink-soft); padding: 6px 0; }
.cal__day {
  aspect-ratio: 1; border-radius: 50%; border: 1px solid transparent; background: none; font-size: 15px;
  display: grid; place-items: center; position: relative;
}
.cal__day.is-free { background: var(--clay); border-color: var(--line); }
.cal__day.is-free::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--rust); }
.cal__day.is-free:hover { border-color: var(--ink); }
.cal__day:disabled { color: color-mix(in srgb, var(--ink) 28%, transparent); text-decoration: line-through; cursor: default; }
.cal__day.is-selected { background: var(--ink); color: var(--clay); border-color: var(--ink); }
.cal__day.is-selected::after { background: var(--clay); }
.cal__legend { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin: 14px 0 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--free { background: var(--clay); border: 1px solid var(--line); box-shadow: inset 0 -3px 0 -1px var(--rust); }
.dot--full { background: none; border: 1px dashed var(--ink-soft); margin-inline-start: 12px; }
.slots { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.slots__empty { color: var(--ink-soft); margin: 0; font-size: 15px; }
.slots__label { width: 100%; margin: 0 0 4px; font-weight: 500; }
.slot { padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; font: 500 16px/1 var(--f-mono); }
.slot.is-selected { background: var(--ink); color: var(--clay); }
.slot:disabled { border-style: dashed; opacity: .35; text-decoration: line-through; cursor: default; }

/* שדות */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--clay); color: var(--ink); width: 100%; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input.is-invalid { border-color: var(--rust); background: #fbefe9; }
.field input[dir="ltr"] { text-align: left; }
.check { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px 20px; background: var(--clay); border-radius: 14px; cursor: pointer; border: 1.5px solid var(--line); }
.check input { width: 20px; height: 20px; accent-color: var(--rust); }
.check strong { margin-inline-end: 10px; font-weight: 500; }
.check span { color: var(--ink-soft); }
.check:has(input:checked) { border-color: var(--ink); }

.pay__demo { background: #fbefe9; border: 1px dashed var(--rust); color: var(--rust-deep); padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 0 0 20px; }
.pay-redirect { background: var(--clay); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.pay-redirect p { margin: 0; color: var(--ink-soft); }
.pay-redirect .pay-redirect__title { color: var(--ink); font: 500 19px/1.4 var(--f-display); margin-bottom: 8px; }
.pay-verify h3 { margin-top: 6px; }
.pay-verify__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.spinner { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rust); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: var(--rust); font-size: 14px; font-weight: 500; min-height: 1.2em; margin: 14px 0 0; }
.book__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.book__nav #nextBtn { margin-inline-start: auto; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* סיכום */
.summary { position: sticky; top: 100px; background: var(--ink); color: var(--clay); border-radius: var(--radius); padding: 28px; }
.summary h3 { font-size: 22px; margin-bottom: 18px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(239,232,221,.14); font-size: 15px; }
.summary dt { color: var(--sand); }
.summary dd { margin: 0; text-align: left; }
.summary dd.is-empty { color: rgba(239,232,221,.35); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.summary__total strong { font: 400 34px/1 var(--f-display); }

/* אישור */
.done { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); text-align: center; max-width: 640px; margin: 0 auto; animation: fadeIn .6s var(--ease); }
.done:focus { outline: none; }
.done__seal { width: 84px; height: 84px; margin: 0 auto 20px; display: grid; place-items: center; font-size: 36px; color: #fff; background: var(--rust); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.done h3 { font-size: clamp(28px, 3.4vw, 38px); }
.done dl { text-align: right; display: grid; gap: 8px; margin: 26px 0; padding: 20px 24px; background: var(--clay); border-radius: 12px; }
.done dl div { display: flex; justify-content: space-between; gap: 12px; }
.done dt { color: var(--ink-soft); }
.done dd { margin: 0; font-weight: 500; }
.done__small { font-size: 13px; color: var(--ink-soft); }

/* ---------- Z08 VISIT ---------- */
.visit { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.visit__addr { font: 400 clamp(26px, 3vw, 36px)/1.3 var(--f-display); margin: 0 0 24px; }
.visit__addr span { color: var(--ink-soft); font-size: .62em; }
.visit__links { display: flex; gap: 10px; margin-bottom: 18px; }
.visit__img { aspect-ratio: 1; }

/* ---------- Z09 FOOT ---------- */
.foot { background: var(--ink); color: var(--sand); text-align: center; padding: 56px var(--gutter) 90px; font-size: 15px; }
.foot__logo { font: 500 30px/1 var(--f-display); color: var(--clay); margin: 0 0 12px; }
.foot__logo span { color: var(--slate); font-weight: 300; }
.foot__note { font-size: 13px; opacity: .6; }
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1f7a4d; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- אנימציית כניסה ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero__img-small.reveal { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   מצב תוויות — index.html?labels=1 (או Shift+L)
   מציג על כל אובייקט את הקוד שלו מתוך registry.js
   ========================================================================= */
body.show-labels [data-obj] { outline: 1px dashed rgba(29, 78, 137, .75); outline-offset: -1px; }
body.show-labels [data-obj]:not(.hero__img-main, .hero__img-small, .hero__badge, .nav, .wa-float, .summary) { position: relative; }
.obj-label {
  position: absolute; top: 0; right: 0; z-index: 90; pointer-events: auto; cursor: help;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .02em; direction: ltr;
  background: #1D4E89; color: #fff; padding: 4px 6px; border-radius: 0 0 0 6px; white-space: nowrap;
}
.obj-label.is-missing { background: #b3261e; }
.pebble > .obj-label { top: 18%; right: 50%; transform: translateX(50%); border-radius: 4px; } /* בתוך צורה מעוגלת — שלא ייחתך */
.obj-flash { animation: objFlash 1.6s ease 2; }
@keyframes objFlash { 50% { box-shadow: 0 0 0 6px rgba(29, 78, 137, .45); } }
.labels-bar {
  position: fixed; bottom: 20px; right: 50%; transform: translateX(50%); z-index: 95;
  background: #1D4E89; color: #fff; font: 500 13px/1 var(--f-body); padding: 10px 16px; border-radius: 999px;
  display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
}
.labels-bar a { color: #cfe3ff; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1020px) {
  .book__layout { grid-template-columns: 1fr; }
  .summary { position: static; } /* במסך צר הסיכום יורד מתחת לטופס; הסכום מופיע גם על כפתור התשלום */
  .ws-grid { grid-template-columns: 1fr 1fr; }
  .ws:nth-child(2) { margin-top: 0; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 61px 0 auto 0; flex-direction: column; gap: 0; background: var(--clay);
    border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; margin: 0;
    transform: translateY(-120%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__menu { display: block; }
  .nav__cta { margin-inline-start: auto; }
  .hero, .about, .story__grid, .package, .visit { grid-template-columns: 1fr; }
  .jar { grid-row: auto; }
  .hero__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .about__img { max-width: 440px; }
  .album { grid-template-columns: 1fr; }
  .album__cover { max-width: 240px; }
  .visit__img { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__cta { padding: 10px 14px; font-size: 14px; }
  .nav__logo { font-size: 22px; }
  .ws-grid, .fields { grid-template-columns: 1fr; }
  .hero__badge { width: 92px; font-size: 13px; }
  .hero__ctas .btn { flex: 1; }
  .choice__box { padding: 16px; gap: 12px; }
  .field--inline { flex-direction: column; align-items: stretch; }
  .gal { columns: 2 140px; column-gap: 10px; }
  .gal__item { margin-bottom: 10px; }
  .book__nav .btn { padding: 14px 20px; }
}
