/* =========================================================
   NOMES — סטודיו לצילום
   ========================================================= */
:root {
  --bg: #000;
  --bg-2: #0a0a0b;
  --card: #111113;
  --card-2: #1c1c1e;
  --card-3: #2c2c2e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f7;
  --muted: #86868b;
  --muted-2: #a1a1a6;
  --gold: #cbb89a;
  --ok: #30d158;
  --danger: #ff6961;
  --wa: #25d366;
  --radius: 24px;
  --radius-sm: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Hebrew", "Heebo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 3px; border-radius: 10px; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.dim { color: var(--muted); }

.skip { position: absolute; top: -100px; right: 16px; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  transition: transform .2s var(--ease), background .2s, opacity .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-light { background: var(--text); color: #000; }
.btn-light:hover { background: #fff; }
.btn-light:disabled { background: var(--card-3); color: var(--muted); cursor: not-allowed; transform: none; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn-block { width: 100%; }
.btn-link { color: var(--muted-2); font-size: 17px; display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.btn-link:hover { color: var(--text); }
.btn-link span { transition: transform .2s var(--ease); }
.btn-link:hover span { transform: translateX(-3px); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--card-2); color: var(--text); font-size: 22px; line-height: 1;
  transition: background .2s, opacity .2s;
}
.icon-btn:hover { background: var(--card-3); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn-sm { width: 32px; height: 32px; font-size: 14px; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); border-top-color: #000; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-mark { font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.brand-sub { font-size: 10px; letter-spacing: .32em; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--muted-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 96px) 0 40px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 0 auto 0; height: 80vh; pointer-events: none;
  background: radial-gradient(50% 55% at 50% 0%, rgba(255, 248, 235, .13), transparent 70%);
}
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: .04em; margin-bottom: 14px; }
.hero-title {
  font-size: clamp(72px, 15vw, 196px); font-weight: 700; line-height: .95; letter-spacing: -.035em;
  background: linear-gradient(180deg, #fff 30%, #8e8e93 115%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero-sub { margin: 22px auto 0; max-width: 560px; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.45; color: var(--muted-2); font-weight: 400; }
.hero-cta { margin-top: 34px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

.stage {
  position: relative; margin-top: 72px; aspect-ratio: 16 / 8; border-radius: 32px; overflow: hidden;
  background: #0b0b0c; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(255, 245, 225, .12);
}
.stage img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CSS "studio" artwork (placeholders until real photos) ---------- */
.art { position: absolute; inset: 0; overflow: hidden; }
.art-stage {
  background:
    radial-gradient(55% 85% at 72% 36%, rgba(255, 246, 230, .2), transparent 62%),
    radial-gradient(32% 70% at 18% 38%, rgba(215, 228, 255, .09), transparent 60%),
    linear-gradient(180deg, #151515 0%, #0e0e0e 56%, #191919 70%, #0a0a0a 100%);
}
.art-stage::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(36% 14% at 50% 79%, rgba(255, 255, 255, .13), transparent 70%);
}
.octa { position: absolute; right: 15%; top: 13%; width: 19%; aspect-ratio: 1; }
.octa::before {
  content: ""; position: absolute; inset: -45%;
  background: radial-gradient(circle, rgba(255, 244, 222, .38), transparent 60%);
  filter: blur(18px); animation: breathe 9s ease-in-out infinite;
}
.octa::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%);
  background: radial-gradient(circle, #fffdf8 0%, #f0eadf 45%, #cbc3b3 100%);
}
.octa i, .strip i {
  position: absolute; left: 50%; top: 100%; width: 2px; height: 120%;
  background: linear-gradient(#3a3a3a, #161616); transform: translateX(-50%);
}
.strip {
  position: absolute; left: 14%; top: 14%; width: 4%; height: 46%; border-radius: 4px;
  background: linear-gradient(#fff, #e3e9f3);
  box-shadow: 0 0 70px 18px rgba(210, 225, 255, .16);
}
.strip i { height: 40%; }
.box {
  position: absolute; left: 50%; bottom: 17%; width: 9%; height: 10%; transform: translateX(-50%);
  background: linear-gradient(180deg, #2b2825, #191715); border-radius: 3px;
  box-shadow: 0 26px 40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

.tone-cyc {
  background: radial-gradient(120% 90% at 50% 12%, #f4f2ed, #dcd8d0 42%, #aaa59c 74%, #6b6760);
}
.tone-cyc::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .06) 66%, rgba(0, 0, 0, .28) 100%);
}
.tone-gel {
  background:
    radial-gradient(48% 60% at 30% 40%, rgba(255, 60, 95, .55), transparent 66%),
    radial-gradient(48% 60% at 72% 58%, rgba(60, 110, 255, .5), transparent 66%),
    #0c0c10;
}
.tone-paper {
  background:
    linear-gradient(90deg, #8a9a84 0 20%, #c27a5a 20% 40%, #d8c7a8 40% 60%, #4e5b6b 60% 80%, #e9e4da 80% 100%) top / 100% 11% no-repeat,
    linear-gradient(180deg, #c88063 0%, #b36c50 66%, #7a4734 100%);
}
.tone-vanity { background: radial-gradient(34% 44% at 50% 42%, rgba(255, 210, 150, .3), transparent 72%), #110e0b; }
.tone-vanity::before {
  content: ""; position: absolute; left: 30%; right: 30%; top: 18%; bottom: 34%; border-radius: 12px;
  border: 2px dotted rgba(255, 222, 175, .75);
  box-shadow: 0 0 60px rgba(255, 200, 130, .25), inset 0 0 40px rgba(255, 220, 170, .08);
}
.tone-lounge {
  background:
    radial-gradient(55% 45% at 32% 72%, rgba(255, 170, 90, .24), transparent 70%),
    radial-gradient(20% 30% at 74% 30%, rgba(255, 225, 180, .18), transparent 70%),
    linear-gradient(160deg, #18140f, #0b0a09);
}

/* ---------- Tour ---------- */
.tour { padding-top: 120px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; }
.tour-copy .lead { max-width: 440px; }
.tour-motion { margin-top: 26px; }
.tour-stage { perspective: 1400px; display: grid; justify-items: center; gap: 18px; }
.tour-viewer {
  position: relative; height: min(78vh, 760px); aspect-ratio: 9 / 16; border-radius: 40px; overflow: hidden;
  background: #0d0d0e; border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 10px #0c0c0d, 0 0 0 11px var(--line);
  transition: transform .5s var(--ease); transform-style: preserve-3d; touch-action: pan-y; cursor: ew-resize;
}
.tour-viewer canvas { width: 100%; height: 100%; display: block; }
.tour-loader { position: absolute; inset: auto 24px 22px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; transition: opacity .6s; }
.tour-loader span { display: block; height: 100%; width: 0; background: var(--text); transition: width .3s; }
.tour-viewer.is-loaded .tour-loader { opacity: 0; }
.tour-badge {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap;
  background: rgba(0, 0, 0, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  transition: opacity .6s, transform .6s var(--ease); pointer-events: none;
}
.tour-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.4s ease-in-out infinite; }
.tour-viewer.is-active .tour-badge { opacity: 0; transform: translate(-50%, -8px); }
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.tour-range { width: min(240px, 70%); accent-color: var(--text); opacity: .55; transition: opacity .2s; direction: ltr; }
.tour-range:hover, .tour-range:focus-visible { opacity: 1; }
.credit { margin-top: 12px; font-size: 13px; color: var(--muted); }
.stage img { transform: scale(1.08) translate(calc(var(--px, 0) * -1.6%), calc(var(--py, 0) * -1.2%)); will-change: transform; }

/* ---------- Sections ---------- */
.section { padding: 140px 0; }
.section-tight { padding: 100px 0; }
.h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.lead { margin-top: 28px; max-width: 640px; font-size: clamp(19px, 2vw, 22px); color: var(--muted-2); line-height: 1.55; }

.specs { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.specs > div { padding: 28px 0 0; }
.specs > div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.specs dt { font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.specs dt small { font-size: .38em; font-weight: 500; color: var(--muted-2); margin-inline-start: 6px; letter-spacing: 0; }
.specs dd { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Bento ---------- */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; min-height: 220px; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin-top: 18px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.tile-hero { grid-column: span 2; grid-row: span 2; min-height: 460px; padding: 0; display: flex; align-items: flex-end; }
.tile-hero .art { transition: transform 1.2s var(--ease); }
.art img { width: 100%; height: 100%; object-fit: cover; }
.tile-hero:hover .art { transform: scale(1.03); }
.tile-copy {
  position: relative; width: 100%; padding: 120px 32px 32px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78) 60%);
}
.tile-copy h3 { font-size: 28px; margin: 0; }
.tile-copy p { color: rgba(255, 255, 255, .72); max-width: 380px; }
.tile-wide { grid-column: span 2; display: flex; gap: 20px; align-items: flex-start; min-height: 0; }
.tile-wide h3 { margin-top: 0; }

/* ---------- Gear list ---------- */
.gear { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.gear h3 { font-size: 21px; font-weight: 600; }
.gear-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
.gear h4 { font-size: 13px; font-weight: 500; color: var(--gold); letter-spacing: .03em; margin-bottom: 12px; }
.gear ul { list-style: none; display: grid; gap: 0; }
.gear li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; text-align: start; }
.gear li[dir="ltr"] { text-align: right; }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-nav { display: flex; gap: 10px; }
.gallery {
  margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 84vw); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(24px, calc((100vw - 1120px) / 2 + 24px));
  scroll-padding-inline: max(24px, calc((100vw - 1120px) / 2 + 24px));
}
.gallery::-webkit-scrollbar { display: none; }
.shot { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; font-size: 15px; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7));
}

/* ---------- Instagram ---------- */
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ig-lead { margin-top: 18px; max-width: 520px; font-size: 18px; }
.ig-follow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; padding-inline-start: 16px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.ig-follow:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.ig-name { font-size: 15px; font-weight: 500; }
.ig-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.ig-ico .ig-dot { fill: currentColor; stroke: none; }
.ig-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(var(--ig-cols, 4), 1fr); gap: 6px; border-radius: 26px; overflow: hidden; }
.ig-post { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--card); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.ig-over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 18px; text-align: center;
  background: rgba(0,0,0,.55); color: #fff; opacity: 0; transition: opacity .35s var(--ease); }
.ig-over .ig-ico { width: 28px; height: 28px; }
.ig-cap { font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-post:hover img, .ig-post:focus-visible img { transform: scale(1.06); }
.ig-post:hover .ig-over, .ig-post:focus-visible .ig-over { opacity: 1; }
.ig-badge { position: absolute; top: 10px; inset-inline-end: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; }
.ig-badge svg { width: 12px; height: 12px; fill: #fff; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 13px; transition: color .2s; }
.footer-ig:hover { color: var(--text); }
.footer-ig .ig-ico { width: 18px; height: 18px; }

/* ---------- Booking ---------- */
.booking { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 12%, var(--bg-2) 88%, var(--bg) 100%); }
.booking-head { text-align: center; margin-bottom: 56px; }
.booking-head .h2 { margin-inline: auto; }
.demo-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted-2);
  background: var(--card-2); border: 1px solid var(--line);
}
.demo-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.steps { display: grid; gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.step-num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.step-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

.segmented {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--card-2); border-radius: 999px; padding: 4px; margin-bottom: 20px;
}
.segmented button {
  position: relative; z-index: 1; padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--muted-2); transition: color .25s;
}
.segmented button[aria-checked="true"] { color: var(--text); }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: var(--card-3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  transition: left .35s var(--ease), width .35s var(--ease);
}

.packages { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; }
.pkg {
  text-align: start; padding: 20px; border-radius: 18px; border: 1px solid var(--line-2); background: transparent;
  display: grid; gap: 2px; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.pkg:hover { border-color: rgba(255, 255, 255, .32); }
.pkg[aria-checked="true"] { border-color: var(--text); background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--text) inset; }
.pkg-name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pkg-dur { font-size: 14px; color: var(--muted); }
.pkg-price { margin-top: 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.pkg-note { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 4px; }

.when { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h4 { font-size: 17px; font-weight: 600; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 12px; color: var(--muted); padding-bottom: 8px; }
.cal-grid { transition: opacity .25s; min-height: 280px; align-content: start; }
.cal-grid.is-loading { opacity: .35; pointer-events: none; }
.day {
  position: relative; aspect-ratio: 1; max-height: 46px; width: 100%; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums;
  transition: background .18s, color .18s;
}
.day.open { color: var(--text); font-weight: 500; }
.day.open:hover { background: var(--card-3); }
.day.open::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); opacity: .9; }
.day.full { color: rgba(255,105,97,.75); text-decoration: line-through; text-decoration-color: rgba(255,105,97,.6); }
.day.full:hover { background: rgba(255,105,97,.1); }
.day.closed, .day.past, .day.far { color: rgba(255, 255, 255, .2); }
.day.today { box-shadow: inset 0 0 0 1px var(--line-2); }
.day.selected { background: var(--text); color: #000; }
.day.selected::after { background: #000; }
.day:disabled { cursor: default; }
.cal-legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 8px; height: 8px; border-radius: 50%; }
.lg-open { background: var(--ok); }
.lg-full { background: var(--danger); }
.lg-sel { background: var(--text); }

.times h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; min-height: 40px; display: flex; align-items: center; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-group h5 { font-size: 12px; font-weight: 500; color: var(--muted); margin: 12px 0 10px; letter-spacing: .02em; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  height: 44px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 15px; font-variant-numeric: tabular-nums;
  transition: background .18s, color .18s, border-color .18s;
}
.slot:hover { border-color: rgba(255, 255, 255, .4); }
.slot[aria-pressed="true"] { background: var(--text); color: #000; border-color: var(--text); font-weight: 600; }
.hint { color: var(--muted); font-size: 15px; padding: 18px 0; }
.empty { padding: 26px; border-radius: 16px; background: var(--card-2); color: var(--muted-2); font-size: 15px; }
.empty a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 13px; color: var(--muted-2); }
.field small { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--card-2); border: 1px solid transparent; border-radius: 12px;
  padding: 13px 14px; font-size: 16px; color: var(--text); transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field input[dir="ltr"] { text-align: right; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-position: 18px 55%, 13px 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255, 255, 255, .45); background: var(--card-3); }
.field.invalid input { border-color: var(--danger); }
.err { font-style: normal; font-size: 12px; color: var(--danger); min-height: 0; }
.err:empty { display: none; }

.summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.summary-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.sum-list { display: grid; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.sum-list > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.sum-list dt { color: var(--muted); }
.sum-list dd { text-align: end; font-weight: 500; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 22px; }
.sum-total strong { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.fine { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 18px; }
.wa-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* ---------- Success ---------- */
.success {
  max-width: 620px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 32px; padding: 56px 36px; animation: rise .7s var(--ease) both;
}
.check { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; background: var(--text); display: grid; place-items: center; }
.check svg { width: 34px; height: 34px; fill: none; stroke: #000; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 32px; letter-spacing: -.02em; font-weight: 700; }
.success > p { color: var(--muted-2); margin-top: 10px; }
.success .sum-list { text-align: start; margin: 32px 0 28px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.success .demo-note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- Invoice toggle ---------- */
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; padding: 4px 0; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--card-3); transition: background .25s; flex: none; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--ok); }
.toggle input:checked + .toggle-ui::after { transform: translateX(-18px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid rgba(255,255,255,.7); outline-offset: 3px; }
.invoice-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; animation: rise .35s var(--ease) both; }

/* ---------- Payment ---------- */
.pay { text-align: start; margin: 0 0 22px; padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); }
.pay h4 { font-size: 18px; font-weight: 600; }
.pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pay-total { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.pay-go { position: absolute; bottom: 14px; inset-inline-end: 16px; font-size: 22px; color: #fff; }
.pay-bit { position: relative; }
.pay-sub { color: var(--muted-2); font-size: 14px; margin-top: 6px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.pay-card { display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: 14px; background: var(--card-2); font-size: 14px; color: var(--muted-2); }
.pay-card strong { color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.pay-card .chip { justify-self: start; margin-top: 8px; }
.pay-bit { background: linear-gradient(135deg, #1fc3c9, #0aa3b0); color: rgba(255,255,255,.85); transition: transform .2s var(--ease), filter .2s; }
.pay-bit strong { color: #fff; font-size: 22px; letter-spacing: -.01em; }
.pay-bit:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ---------- Booking page ---------- */
.bk { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 56px) 0 80px; overflow: hidden; }
.bk-glow { position: absolute; inset: -10% 0 auto; height: 70vh; pointer-events: none; background: radial-gradient(50% 55% at 50% 0%, rgba(255, 248, 235, .1), transparent 70%); }
.bk-wrap { position: relative; max-width: 640px; text-align: center; }
.bk-wrap > .demo-pill { margin: 0 0 18px; }
.bk-card { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 44px 36px; animation: rise .6s var(--ease) both; }
.bk-loading { display: grid; place-items: center; min-height: 220px; }
.spinner-light { display: inline-block; border-color: rgba(255, 255, 255, .18); border-top-color: #fff; }
.bk-title { font-size: clamp(30px, 5vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.bk-sub { color: var(--muted-2); margin: 12px auto 0; max-width: 460px; }
.bk-state {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--gold); background: rgba(203, 184, 154, .1); border: 1px solid rgba(203, 184, 154, .25);
}
.bk-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.bk-details { text-align: start; margin: 28px 0 24px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.bk-wait { display: inline-flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 14px; margin-bottom: 6px; }
.bk-wait .spinner { width: 16px; height: 16px; }
.claim { margin-top: 4px; }
.claim p { font-weight: 600; margin-bottom: 12px; }
.claim-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bk-card .demo-note { margin-top: 22px; font-size: 13px; color: var(--muted); }
.bk-card .eyebrow { margin-bottom: 10px; }
.check-lg { width: 88px; height: 88px; background: var(--ok); box-shadow: 0 0 0 10px rgba(48, 209, 88, .12), 0 20px 60px rgba(48, 209, 88, .25); animation: pop .6s var(--ease) both; }
.check-lg svg { width: 42px; height: 42px; }
.is-paid .eyebrow { color: var(--ok); }
.cal-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.cal-btn {
  display: flex; align-items: center; gap: 14px; text-align: start; padding: 18px; border-radius: 18px;
  background: var(--text); color: #000; transition: transform .2s var(--ease), background .2s;
}
.cal-btn + .cal-btn { background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); }
.cal-btn:hover { transform: translateY(-2px); }
.cal-btn svg { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cal-btn span { display: grid; gap: 2px; }
.cal-btn strong { font-size: 16px; font-weight: 600; }
.cal-btn small { font-size: 12px; opacity: .65; }
@media (max-width: 720px) {
  .bk-card { padding: 34px 20px; border-radius: 26px; }
  .cal-buttons { grid-template-columns: 1fr; }
  .claim-btns .btn { flex: 1; }
}

/* ---------- Booking head ---------- */
.rate-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; color: var(--muted-2); font-size: 15px; }
.rate-strip span { position: relative; }
.rate-strip span + span::before { content: ""; position: absolute; inset-inline-start: -12px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.rate-strip strong { color: var(--text); font-weight: 600; }
.flow-strip { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 26px auto 0; padding: 0; flex-wrap: wrap; counter-reset: fs; }
.flow-strip li { counter-increment: fs; font-size: 12px; color: var(--muted); padding: 6px 12px 6px 14px; border-radius: 999px; border: 1px solid var(--line); }
.flow-strip li::before { content: counter(fs); display: inline-grid; place-items: center; width: 17px; height: 17px; margin-inline-end: 6px; border-radius: 50%; background: var(--card-3); color: var(--muted-2); font-size: 10px; }
.flow-strip li.is-on { color: var(--text); border-color: var(--line-2); }
.flow-strip li.is-on::before { background: var(--text); color: #000; }

/* ---------- Hours range picker ---------- */
.when { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.when > * { min-width: 0; }
.hours { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; min-width: 0; }
.hours.is-empty .rr { opacity: .5; }
.range-readout { padding: 16px 18px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); }
.rr { display: flex; align-items: center; gap: 14px; }
.rr-end { display: grid; gap: 2px; }
.rr-end small { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.rr-end b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.rr.is-empty b { color: var(--muted); }
.rr-line { position: relative; flex: 1; min-width: 40px; height: 2px; border-radius: 2px; background: linear-gradient(to left, var(--text), rgba(255,255,255,.25)); display: grid; place-items: center; }
.rr.is-empty .rr-line { background: var(--line-2); }
.rr-line::after { content: ""; position: absolute; inset-inline-end: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--text); }
.rr-line i { white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 500; color: var(--text); background: var(--card-2); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.rr-meta { margin-top: 12px; font-size: 14px; color: var(--muted-2); }
.rr-meta strong { color: var(--text); font-size: 16px; }

.dur-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 12px 8px; padding-top: 9px; margin-top: -9px; }
.dur-chips .dur { min-width: 0; padding-inline: 4px; }
.dur { position: relative; display: grid; gap: 1px; padding: 9px 8px; border-radius: 14px; border: 1px solid var(--line-2); text-align: center; transition: border-color .2s, background .2s, color .2s; }
.dur span { font-size: 12px; color: var(--muted-2); }
.dur strong { font-size: 15px; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.dur em { position: absolute; white-space: nowrap; top: -8px; inset-inline-start: 50%; transform: translateX(50%); font-style: normal; font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: #000; }
.dur:hover:not(:disabled) { border-color: rgba(255,255,255,.4); }
.dur.is-on { background: var(--text); border-color: var(--text); color: #000; }
.dur.is-on span { color: rgba(0,0,0,.6); }
.dur:disabled { opacity: .3; cursor: not-allowed; }

.hours-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 8px; }
.hcell { position: relative; height: 58px; display: grid; place-content: center; gap: 1px; font-variant-numeric: tabular-nums; z-index: 0; }
.hcell::before { content: ""; position: absolute; inset: 0 3px; border-radius: 14px; border: 1px solid var(--line-2); z-index: -1; transition: background .15s, border-color .15s; }
.hcell .h-time { font-size: 15px; font-weight: 500; }
.hcell .h-tag { font-size: 10px; color: var(--muted); }
.hcell.free:hover::before { border-color: rgba(255,255,255,.45); }
.hcell.no-start { color: var(--muted); }
.hcell.no-start::before { border-color: var(--line); }
.hcell.busy { cursor: not-allowed; color: rgba(255,105,97,.9); }
.hcell.busy .h-tag { color: var(--danger); font-weight: 600; }
.hcell.busy::before { border-color: rgba(255,105,97,.35); background: repeating-linear-gradient(-45deg, rgba(255,105,97,.10) 0 6px, rgba(255,105,97,.16) 6px 12px); }
/* הטווח המסומן — פס רציף כמו בבחירת תאריכי טיסה */
.hcell.in-range::before, .hcell.preview::before { inset: 0; border-radius: 0; border-color: transparent; background: rgba(255,255,255,.12); }
.hcell.preview:not(.in-range)::before { background: rgba(255,255,255,.07); }
.hcell.preview-bad::before { background: rgba(255,105,97,.18) !important; }
.hcell.in-range:nth-child(4n+1)::before, .hcell.preview:nth-child(4n+1)::before { border-start-start-radius: 14px; border-end-start-radius: 14px; }
.hcell.in-range:nth-child(4n)::before, .hcell.preview:nth-child(4n)::before { border-start-end-radius: 14px; border-end-end-radius: 14px; }
.hcell.r-start::before, .hcell.r-end::before { inset: 0 3px; border-radius: 14px; background: var(--text); border-color: var(--text); box-shadow: 0 6px 24px rgba(255,255,255,.12); }
.hcell.r-start::after, .hcell.r-end::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50%; background: rgba(255,255,255,.12); z-index: -2; }
.hcell.r-start::after { inset-inline-end: 0; }
.hcell.r-end::after { inset-inline-start: 0; }
.hcell.r-start.r-end::after, .hcell.r-start:nth-child(4n)::after, .hcell.r-end:nth-child(4n+1)::after { display: none; }
.hcell.r-start, .hcell.r-end { color: #000; }
.hcell.r-start .h-tag, .hcell.r-end .h-tag { color: rgba(0,0,0,.6); font-weight: 600; }
.hours-hint { font-size: 13px; color: var(--muted); min-height: 20px; }

/* ---------- Booking page ---------- */
.bk-wrap-wide { max-width: 780px; }
.bk-page .bk-wrap { max-width: 720px; }
.bk-page .bk-wrap-wide { max-width: 780px; }
.bk-card.bk-wide { text-align: start; }
.bk-card.bk-wide .bk-sub { margin-inline: 0; max-width: none; }
.stepper { list-style: none; display: flex; justify-content: center; align-items: center; gap: 0; margin: 0 0 22px; padding: 0; }
.stepper li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.stepper li + li::before { content: ""; width: 44px; height: 1px; background: var(--line-2); margin: 0 12px; }
.stepper li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; }
.stepper li.is-on { color: var(--text); }
.stepper li.is-on span { background: var(--text); color: #000; border-color: var(--text); }
.stepper li.is-done { color: var(--muted-2); }
.stepper li.is-done span { background: var(--ok); border-color: var(--ok); color: #000; font-size: 0; }
.stepper li.is-done span::after { content: "✓"; font-size: 13px; }
.bk-mini { display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 12px; background: var(--card-2); font-size: 14px; color: var(--muted-2); }
.bk-mini strong { color: var(--text); }
.done-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(48,209,88,.12); color: var(--ok); font-size: 13px; font-weight: 500; }
.done-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.contract-state { font-size: 13px; color: var(--muted-2); margin: 18px 0 6px; }
.btn-lg { height: 56px; font-size: 17px; }

/* ---------- Contract document ---------- */
.doc-scroll { margin-top: 22px; max-height: 420px; overflow: auto; border-radius: 20px; border: 1px solid var(--line-2); background: #f4f2ee; overscroll-behavior: contain; text-align: start; }
.doc-scroll.doc-tall { max-height: min(62vh, 620px); }
.doc-scroll-hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; transition: opacity .4s; }
.doc-scroll-hint.is-read { opacity: 0; }
.contract-doc { color: #1d1d1f; background: #fbfaf7; padding: 40px 38px; font-size: 14px; line-height: 1.7; }
.contract-doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 10px 0 4px; }
.contract-doc h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #7a6a52; margin-bottom: 8px; }
.c-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid #e4e0d8; }
.c-brand { font-weight: 800; letter-spacing: .3em; font-size: 15px; direction: ltr; }
.c-brand span { font-weight: 500; color: #8a8a8e; letter-spacing: .35em; font-size: 10px; }
.c-meta { font-size: 12px; color: #6e6e73; }
.c-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid #e4e0d8; }
.c-parties p { margin: 0; }
.c-booking { padding: 22px 0; border-bottom: 1px solid #e4e0d8; }
.c-booking table { width: 100%; border-collapse: collapse; }
.c-booking th, .c-booking td { text-align: start; padding: 7px 0; border-bottom: 1px dashed #e4e0d8; vertical-align: top; }
.c-booking th { width: 34%; font-weight: 500; color: #6e6e73; }
.c-small { font-size: 12px; color: #6e6e73; margin-top: 8px; }
.c-terms { padding: 22px 0; border-bottom: 1px solid #e4e0d8; }
.c-terms ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; }
.c-sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
.c-sig-label { font-size: 12px; font-weight: 700; color: #7a6a52; }
.c-sig-box { height: 92px; margin: 6px 0; border-bottom: 1.5px solid #1d1d1f; display: grid; place-items: center; }
.c-sig-box img { max-height: 88px; max-width: 100%; }
.c-sig-empty { font-size: 12px; color: #a1a1a6; }
.c-sig-meta { font-size: 12px; color: #6e6e73; }
.c-foot { margin-top: 26px; padding: 12px 16px; border-radius: 10px; background: #f0ede6; font-size: 12px; color: #55524c; text-align: center; }

.doc-details { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; padding: 4px 18px; text-align: start; }
.doc-details summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; font-weight: 500; list-style: none; }
.doc-details summary::-webkit-details-marker { display: none; }
.doc-details summary::after { content: "+"; margin-inline-start: auto; font-size: 20px; color: var(--muted); transition: transform .25s; }
.doc-details[open] summary::after { transform: rotate(45deg); }
.doc-details summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.doc-details .doc-scroll { margin-top: 0; }
.doc-print { margin: 12px 0 14px; }

/* ---------- Sign form ---------- */
.sign-form { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.sign-form h3 { font-size: 21px; font-weight: 600; }
.sig-wrap { display: grid; gap: 8px; }
.sig-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted-2); }
.sig-actions { display: inline-flex; gap: 6px; }
.sig-pad { position: relative; height: 180px; border-radius: 18px; background: #f7f6f2; border: 2px solid transparent; overflow: hidden; transition: border-color .2s; }
.sig-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; z-index: 1; }
.sig-line { position: absolute; inset: auto 28px 40px; border-top: 1.5px dashed #c9c5bd; padding-top: 6px; font-size: 12px; color: #a1a1a6; text-align: start; transition: opacity .3s; }
.sig-pad.has-ink .sig-line { opacity: .35; }
.sig-pad.invalid { border-color: var(--danger); }
.agree { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; }
.agree input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ok); flex: none; }

/* ---------- Owner page ---------- */
.owner-pill { font-size: 12px; color: var(--gold); border: 1px solid rgba(203,184,154,.3); border-radius: 999px; padding: 5px 12px; }
.st-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.st { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.st-ok { color: var(--ok); border-color: rgba(48,209,88,.35); background: rgba(48,209,88,.08); }
.st-wait { color: var(--muted-2); }
.st-warn { color: var(--gold); border-color: rgba(203,184,154,.35); background: rgba(203,184,154,.08); }
.owner-box { margin-top: 22px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); display: grid; gap: 14px; }
.owner-box h3 { font-size: 17px; font-weight: 600; }
.ok-line { color: var(--ok); font-size: 15px; }
.muted { color: var(--muted-2); font-size: 14px; }
.bk-details a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Print: only the contract ---------- */
#printArea { display: none; }
@media print {
  body.printing > *:not(#printArea) { display: none !important; }
  body.printing { background: #fff !important; }
  body.printing #printArea { display: block !important; }
  body.printing .contract-doc { padding: 0; background: #fff; font-size: 12px; }
  @page { margin: 16mm; }
}

/* ---------- Visit ---------- */
.visit-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 18px; }
.hours { list-style: none; display: grid; gap: 10px; }
.hours li { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.hours li.is-today { color: var(--text); font-weight: 500; }
.address { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.area { color: var(--muted-2); font-size: 15px; margin-top: 4px; }
.arrive { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.arrive li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted-2); }
.ico-sm { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.notice {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: rgba(203, 184, 154, .08); border: 1px solid rgba(203, 184, 154, .22); color: var(--text); font-size: 14px; line-height: 1.5;
}
.notice .ico-sm { color: var(--gold); margin-top: 1px; }
.notice strong { font-weight: 600; }
.notice-center { text-align: start; margin: 0 0 24px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.footer { border-top: 1px solid var(--line); padding: 32px 0 120px; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- WhatsApp widget ---------- */
.wa { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: grid; justify-items: start; gap: 14px; }
.wa-fab {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 18px; border-radius: 999px;
  background: rgba(28, 28, 30, .82); border: 1px solid var(--line-2); color: var(--text); font-size: 15px; font-weight: 500;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), background .2s;
}
.wa-fab:hover { transform: translateY(-2px); background: rgba(44, 44, 46, .9); }
.wa-fab .wa-ico { width: 22px; height: 22px; color: var(--wa); }
.wa-panel {
  width: min(360px, calc(100vw - 40px)); border-radius: 26px; overflow: hidden;
  background: rgba(22, 22, 24, .92); border: 1px solid var(--line-2);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform-origin: bottom left; animation: pop .35s var(--ease);
}
.wa-panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: #000; display: grid; place-items: center; font-weight: 700; }
.wa-who { flex: 1; display: grid; }
.wa-who strong { font-size: 15px; font-weight: 600; }
.wa-status { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.wa-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, .18); }
.wa-body { padding: 16px; display: grid; gap: 8px; max-height: 240px; overflow-y: auto; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; animation: rise .3s var(--ease) both; }
.bubble.in { background: var(--card-3); justify-self: start; border-end-start-radius: 6px; }
.bubble.out { background: var(--text); color: #000; justify-self: end; border-end-end-radius: 6px; }
.wa-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted-2); transition: color .2s, border-color .2s; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.wa-input { display: flex; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--line); }
.wa-input input { flex: 1; min-width: 0; background: var(--card-2); border: 1px solid transparent; border-radius: 999px; padding: 10px 16px; font-size: 15px; }
.wa-input input:focus { outline: none; border-color: var(--line-2); }
.wa-input button { width: 42px; height: 42px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; transition: transform .2s; }
.wa-input button:hover { transform: scale(1.05); }
.wa-input svg { width: 18px; height: 18px; fill: #000; transform: scaleX(-1); }
.wa-note { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 70;
  background: var(--card-3); color: var(--text); padding: 12px 20px; border-radius: 14px; font-size: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid .ig-post:nth-child(n+7) { display: none; }
  .tour-grid { grid-template-columns: 1fr; gap: 40px; }
  .tour-copy { text-align: center; }
  .tour-copy .lead { margin-inline: auto; }
  .booking-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .when { grid-template-columns: 1fr; gap: 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-hero { min-height: 380px; }
}
@media (max-width: 720px) {
  .tour { padding-top: 88px; }
  .tour-viewer { height: auto; width: min(100%, 420px); max-height: 78vh; border-radius: 30px; }
  body { font-size: 16px; }
  .container, .nav-inner { padding-inline: 16px; }
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .stage { aspect-ratio: 4 / 3.4; margin-top: 52px; border-radius: 24px; }
  .octa { width: 26%; right: 10%; }
  .strip { width: 6%; left: 12%; }
  .box { width: 14%; }
  .section { padding: 96px 0; }
  .section-tight { padding: 72px 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .specs > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .bento { grid-template-columns: 1fr; }
  .tile-hero, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-wide { flex-direction: column; gap: 0; }
  .tile-wide h3 { margin-top: 18px; }
  .gallery { padding-inline: 16px; scroll-padding-inline: 16px; }
  .gallery-nav { display: none; }
  .step, .summary-card { padding: 22px 18px; border-radius: 24px; }
  .packages { grid-template-columns: 1fr 1fr; }
  .packages > .pkg:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pkg { padding: 16px; }
  .form { grid-template-columns: 1fr; }
  .invoice-fields, .pay-grid { grid-template-columns: 1fr; }
  .gear-cols { grid-template-columns: 1fr; gap: 20px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 18px; margin-top: 32px; }
  .ig-grid .ig-post:nth-child(n+7) { display: none; }
  .ig-follow { width: 100%; justify-content: space-between; }
  .hours-grid { grid-template-columns: repeat(4, 1fr); }
  .hcell { height: 54px; }
  .rr-end b { font-size: 26px; }
  .contract-doc { padding: 28px 20px; font-size: 13.5px; }
  .c-parties, .c-sigs { grid-template-columns: 1fr; }
  .stepper li + li::before { width: 22px; margin: 0 8px; }
  .sig-pad { height: 170px; }
  .owner-box { padding: 18px 16px; }
  .gear { padding: 24px 20px; }
  .visit-grid { grid-template-columns: 1fr; }
  .success { padding: 44px 20px; }
  .wa { left: 16px; bottom: 16px; }
  .wa-fab span { display: none; }
  .wa-fab { width: 54px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== עמוד הניהול (manage.html) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.adm-login { max-width: 440px; margin-inline: auto; display: grid; gap: 18px; }
.adm-login .bk-sub { margin-bottom: 4px; }
.bk-wrap-wide #view { display: grid; gap: 22px; }
.adm-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.adm-block select:disabled { opacity: .4; }
.adm-conflict { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,105,97,.35); background: rgba(255,105,97,.08); color: var(--danger); font-size: 14px; }
.adm-conflict[hidden] { display: none; }
.adm-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-h2 { font-size: 26px; }
.adm-tabs { display: flex; gap: 6px; }
.chip-on { color: #000; background: var(--text); border-color: var(--text); }
.chip-on:hover { color: #000; }
.chip-danger { color: var(--danger); border-color: rgba(255,105,97,.5); }
.adm-counts { margin: 16px 0 6px; }
.adm-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.adm-row:first-of-type { margin-top: 10px; }
.adm-main { display: grid; gap: 4px; justify-items: start; min-width: 0; font-size: 14px; }
.adm-main strong { font-size: 17px; font-weight: 600; }
.adm-main .st { margin-bottom: 4px; font-size: 12px; padding: 4px 10px; }
.adm-notes { white-space: pre-wrap; }
.adm-row-block strong { color: var(--muted-2); }
.adm-st-block { color: var(--muted-2); background: rgba(255,255,255,.05); }
.adm-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex-shrink: 0; min-width: 170px; }
.adm-actions .chip { text-align: center; }
.adm-status select { width: 100%; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: inherit; font-size: 13px; }
.adm-empty { padding: 26px 0 6px; }
@media (max-width: 640px) {
  .adm-block { grid-template-columns: 1fr; }
  .adm-row { flex-direction: column; }
  .adm-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .adm-actions > * { flex: 1 1 auto; }
}
.footer-admin { color: var(--muted); font-size: 12px; transition: color .2s; }
.footer-admin:hover { color: var(--text); }
