/* =========================================================
   BOI BARBER: שחור-לבן עם טקסטורות
   מובייל קודם, ואז min-width 900px. צבעים ופונטים בטוקנים
   ========================================================= */

:root {
  --black: #0A0A0A;
  --coal: #131313;
  --coal-2: #1D1D1D;
  --paper: #F1EFEA;
  --white: #FFFFFF;
  --mute-d: #A9A9A9;   /* טקסט משני על כהה */
  --mute-l: #555555;   /* טקסט משני על בהיר */
  --line-d: rgba(255, 255, 255, .18);
  --line-l: rgba(10, 10, 10, .18);
  --open: #3DDC84;
  --soon: #F5C451;
  --closed: #FF6B6B;

  --font-display: "Karantina", "Arial Narrow", "Arial Hebrew", sans-serif;
  --font-body: "Rubik", "Arial Hebrew", Arial, sans-serif;

  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --fs-h2: clamp(3.25rem, 2rem + 6.5vw, 7rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1280px;
  --header-h: 4rem;
  --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* טקסטורות SVG (בלי קבצי תמונה) */
  --tex-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --tex-concrete: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><filter id='c'><feTurbulence type='fractalNoise' baseFrequency='.014' numOctaves='5' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23c)'/></svg>");
  --tex-paper: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.035' numOctaves='4' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
  --tex-ink: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='i'><feTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='2' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 1.4'/></filter><rect width='100%' height='100%' filter='url(%23i)'/></svg>");
}
@media (max-width: 899px) { :root { --bar-h: calc(4.4rem + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { :root { --header-h: 4.75rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-synthesis: none;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
}
/* גרעיניות פילם על כל העמוד */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 300;
  background: var(--tex-grain);
  opacity: .07;
  pointer-events: none;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-5%, -2%); }
  80% { transform: translate(4%, 5%); }
  100% { transform: translate(0, 0); }
}
.nav-open body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; inset-inline-start: 1rem; z-index: 400;
  padding: .75rem 1.25rem; background: var(--white); color: var(--black); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.flip { transform: scaleX(-1); }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(4.5rem, 3.5rem + 6vw, 8.5rem); overflow: hidden; }

/* ---------- Textures ---------- */
.tex-concrete { background-color: var(--coal); background-image: var(--tex-concrete); color: var(--white); }
.tex-paper { background-color: var(--paper); background-image: var(--tex-paper); color: var(--black); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: .75rem; font-size: .875rem; font-weight: 500; letter-spacing: .04em;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: .88;
  letter-spacing: .005em;
  text-wrap: balance;
}
.lead { max-width: 40ch; margin-top: 1rem; font-size: var(--fs-lead); opacity: .8; }
.tex-concrete .lead { color: var(--mute-d); opacity: 1; }
.tex-paper .lead { color: var(--mute-l); opacity: 1; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.placeholder-block {
  margin-block: 1.25rem; padding: 1rem 1.25rem; border: 1px dashed currentColor; opacity: .85;
  font-size: .9375rem;
}
.demo-note {
  display: inline-block; margin-top: 1.25rem; padding: .5rem .85rem;
  border: 1px solid var(--line-d); font-size: .875rem; color: var(--mute-d);
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: .7rem 1.5rem;
  border: 2px solid currentColor; border-radius: 0;
  background: transparent; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn-sm { min-height: 2.75rem; padding: .45rem 1.05rem; font-size: .9375rem; }
.btn-lg { min-height: 3.5rem; padding-inline: 1.9rem; font-size: 1.0625rem; }
.btn-primary { background: var(--white); border-color: var(--white); color: var(--black); }
.tex-paper .btn-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-ghost { color: inherit; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
@media (hover: hover) {
  .btn:not(:disabled):hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 currentColor; }
  .btn-primary:not(:disabled):hover { box-shadow: 3px 3px 0 var(--mute-d); }
  .tex-paper .btn-primary:not(:disabled):hover { box-shadow: 3px 3px 0 var(--mute-l); }
}
.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 2px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer;
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.round-btn:hover { background: var(--white); color: var(--black); }
.round-btn.dark:hover { background: var(--black); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s;
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--black); background-image: var(--tex-concrete); opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled, .nav-open .site-header { border-bottom-color: var(--line-d); }
.site-header.is-scrolled::after, .nav-open .site-header::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: flex; align-items: center; gap: .75rem; height: 100%;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-inline-end: auto;
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; white-space: nowrap; direction: ltr;
}
.brand .icon { width: 1.1rem; height: 1.1rem; }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 2px solid var(--white); background: transparent; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
html:not(.js) .nav-toggle { display: none; }

@media (max-width: 899px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto; background: var(--black); background-image: var(--tex-concrete);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease); }
  .nav-list a {
    display: block; padding-block: .3rem; font-family: var(--font-display); font-size: 3rem; font-weight: 700;
    line-height: 1.05; text-decoration: none;
  }
  .nav-extra { display: grid; gap: .25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-d); color: var(--mute-d); }
  .nav-extra a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--white); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .brand { margin-inline-end: 0; }
  .site-nav { flex: 1; display: flex; justify-content: center; }
  .nav-list { display: flex; gap: clamp(.75rem, 1.8vw, 1.75rem); }
  .nav-list a {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; font-size: .9375rem; font-weight: 500; text-decoration: none;
  }
  .nav-list a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: .55rem; height: 2px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
  }
  .nav-list a:hover::after { transform: scaleX(1); }
  .nav-extra { display: none; }
}

/* ---------- Placeholders לתמונות ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background-color: var(--coal-2);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .13) 1px, transparent 1.6px),
    var(--tex-concrete);
  background-size: 7px 7px, auto;
  color: var(--white);
}
.ph-light {
  background-color: #DCD9D2;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .14) 1px, transparent 1.6px), var(--tex-paper);
  color: var(--black);
}
.ph-label {
  position: relative; padding: .35rem .8rem; border: 1px solid currentColor;
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em; background: rgba(0, 0, 0, .35);
}
.ph-light .ph-label { background: rgba(255, 255, 255, .5); }
.ph-label::before { content: "✂ "; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 2rem) 0 2.5rem; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 10, .96) 8%, rgba(10, 10, 10, .55) 55%, rgba(10, 10, 10, .75));
}
.hero-inner { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); perspective: 900px; }
.hero-greeting { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .5rem; font-size: .9375rem; color: var(--mute-d); }
.hero-title {
  display: grid; justify-items: start; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 700; line-height: .78; letter-spacing: .01em;
  transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.hero-word { display: block; transform-style: preserve-3d; }
.hero-word > span {
  display: inline-block;
  /* אותיות לבנות עם טקסטורת "דיו" ועומק תלת-ממדי */
  color: var(--white);
  text-shadow:
    1px 1px 0 #2a2a2a, 2px 2px 0 #262626, 3px 3px 0 #222, 4px 4px 0 #1e1e1e,
    5px 5px 0 #1a1a1a, 6px 6px 0 #161616, 7px 7px 0 #121212, 10px 12px 18px rgba(0, 0, 0, .6);
}
.hero-word { font-size: clamp(3.5rem, 18vw, 8rem); }
.hero-word-big { font-size: clamp(6.5rem, 37vw, 19rem); margin-top: -.08em; }
.hero-tag { max-width: 34ch; margin-bottom: 1.5rem; font-size: var(--fs-lead); color: var(--white); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.hero-meta li {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .2rem 1rem;
  border: 1px solid var(--line-d); background: rgba(10, 10, 10, .5); font-size: .9375rem;
}
.hero-meta li:has(> [hidden]) { display: none; }
.hero-meta li:has(> a) { padding: 0; }
.hero-meta a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .2rem 1rem; text-decoration: none; }
@media (max-width: 599px) { .hero-meta li:last-child { display: none; } }

/* עמוד מספרה בתלת-ממד */
.pole-wrap {
  position: absolute; top: calc(var(--header-h) + 1.5rem); inset-inline-end: var(--gutter);
  perspective: 600px; z-index: 1;
}
.pole {
  display: grid; justify-items: center; transform: rotateZ(-6deg) rotateY(var(--pole-ry, 0deg)) rotateX(var(--pole-rx, 0deg));
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.pole-cap {
  width: 54px; height: 18px; border-radius: 9px 9px 3px 3px;
  background: linear-gradient(90deg, #555, #eee 35%, #9a9a9a 55%, #333);
}
.pole-cap-b { border-radius: 3px 3px 9px 9px; }
.pole-glass { position: relative; width: 42px; height: clamp(130px, 22vw, 220px); overflow: hidden; border-radius: 4px; background: #fff; }
.pole-stripes {
  position: absolute; inset: -100% 0 0; height: 200%;
  background: repeating-linear-gradient(-55deg, var(--white) 0 12px, var(--black) 12px 24px);
  animation: pole 2.4s linear infinite;
}
.pole-glass::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .05) 30%, rgba(255, 255, 255, .45) 48%, rgba(0, 0, 0, .05) 62%, rgba(0, 0, 0, .7));
}
@keyframes pole { to { transform: translateY(50%); } }

.scroll-cue {
  position: absolute; bottom: 1rem; left: 50%; translate: -50% 0;
  display: none; flex-direction: column; align-items: center; gap: .4rem; min-height: 44px;
  font-size: .75rem; color: var(--mute-d); text-decoration: none;
}
.scroll-cue-line { width: 2px; height: 2.25rem; background: var(--white); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (min-width: 900px) {
  .hero { justify-content: center; padding-bottom: 4rem; }
  .hero::before { background: linear-gradient(to left, rgba(10, 10, 10, .97) 30%, rgba(10, 10, 10, .55) 70%, rgba(10, 10, 10, .8)); }
  .hero-media {
    inset: calc(var(--header-h) + 2rem) auto 3rem var(--gutter);
    width: min(38vw, 520px); z-index: 0; border: 2px solid var(--white);
    box-shadow: 14px 14px 0 rgba(255, 255, 255, .08);
  }
  .hero-inner { position: relative; z-index: 1; }
  .hero-word-big { font-size: clamp(9rem, 22vw, 20rem); }
  .pole-wrap { top: auto; bottom: 4rem; inset-inline-end: auto; left: calc(var(--gutter) + min(38vw, 520px) + 2.5rem); }
  .scroll-cue { display: flex; }
}

/* ---------- Marquee ---------- */
.marquee-clip { position: relative; z-index: 2; overflow-x: clip; overflow-y: visible; }
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding-block: 1.1rem;
  border-block: 2px solid var(--black); transform: rotate(-2deg) scale(1.04); margin-block: -1.2rem;
}
.marquee-track {
  display: flex; gap: 1.25rem; width: max-content; align-items: center;
  font-family: var(--font-display); font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 700; line-height: 1;
  animation: marquee 28s linear infinite;
}
.marquee-track i { font-style: normal; font-size: .6em; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Styles: 3D ring ---------- */
.ring-stage {
  --card-w: clamp(210px, 58vw, 290px);
  --card-h: calc(var(--card-w) * 1.32);
  position: relative; display: grid; place-items: center; height: calc(var(--card-h) + 6rem);
  perspective: 1500px; touch-action: pan-y; cursor: grab; user-select: none;
}
.ring-stage.is-dragging { cursor: grabbing; }
.ring {
  position: relative; width: var(--card-w); height: var(--card-h);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r, 400px) * -1)) rotateY(var(--rot, 0deg));
}
.ring.is-snapping { transition: transform .7s var(--ease); }
.ring-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.1rem; border: 2px solid var(--white); text-align: start; cursor: pointer;
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--r, 400px));
  background-color: var(--coal-2);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 1.6px), var(--tex-concrete);
  background-size: 7px 7px, auto;
  color: var(--white); transition: opacity .5s, filter .5s;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.ring-card[data-front="false"] { opacity: .35; filter: grayscale(1) brightness(.6); }
.ring-num { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: .8; -webkit-text-stroke: 1.5px var(--white); color: transparent; }
.ring-title { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; line-height: .9; }
.ring-card .ph-tag { font-size: .75rem; color: var(--mute-d); }
.ring-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: -1rem; }
.ring-info { flex: 1; text-align: center; min-height: 4.5rem; }
.ring-name { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.ring-note { color: var(--mute-d); font-size: .9375rem; }
.ring-cta { display: flex; justify-content: center; margin-top: 1.25rem; }

/* ---------- Services ---------- */
.svc-grid { display: grid; gap: 1rem; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: .6rem; min-width: 0;
  padding: 1.4rem 1.3rem 1.3rem; border: 2px solid var(--black); background: var(--paper);
  background-image: var(--tex-paper);
  transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.svc-name { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: .9; transform: translateZ(30px); }
.svc-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: .9; white-space: nowrap; transform: translateZ(40px); }
.svc-price small { font-family: var(--font-body); font-size: .4em; font-weight: 500; margin-inline-start: .15em; }
.svc-desc { color: var(--mute-l); font-size: .9375rem; max-width: 42ch; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .4rem; border-top: 1px solid var(--line-l); }
.svc-dur { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; color: var(--mute-l); }
.svc .btn { min-height: 2.75rem; padding-inline: 1rem; }
/* חותמת "הכי מבוקש" מסתובבת */
.stamp {
  position: absolute; top: -2.4rem; inset-inline-start: 1rem; width: 4.6rem; height: 4.6rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--white);
  transform: translateZ(60px) rotate(-8deg); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7);
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite; }
.stamp svg text { font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; fill: currentColor; }
.stamp .icon { width: 1.3rem; height: 1.3rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.svc.is-popular { padding-top: 2.6rem; }
.svc-grid > li:has(.is-popular) { margin-top: 1.5rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; } .svc-grid > li:has(.is-popular) { margin-top: 0; } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2rem; } }

/* ---------- Team: flip cards ---------- */
.team-grid { display: grid; gap: 1.25rem; }
.flip { perspective: 1200px; min-width: 0; }
.flip-inner {
  position: relative; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform .9s var(--ease);
}
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem; border: 2px solid var(--white); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
}
.flip-front .ph { position: absolute; inset: 0; }
.flip-front .ph-label { position: absolute; top: 1rem; inset-inline-end: 1rem; }
.flip-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .92), transparent 55%); }
.flip-front > :not(.ph):not(.flip-photo) { position: relative; z-index: 1; }
.flip-photo { position: absolute; inset: 0; display: block; }
.flip-photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s ease, transform 1.2s var(--ease); }
@media (hover: hover) { .flip:hover .flip-photo img { filter: grayscale(0) contrast(1.02); transform: scale(1.04); } }
.flip-back { transform: rotateY(180deg); justify-content: space-between; background: var(--white); color: var(--black); background-image: var(--tex-paper); }
.flip-name { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: .9; }
.flip-spec { color: var(--mute-d); font-size: .9375rem; }
.flip-back .flip-spec { color: var(--mute-l); }
.flip-open { margin-top: .9rem; align-self: flex-start; }
.flip-back dl { display: grid; gap: .5rem; margin: 0; }
.flip-back dt { font-size: .8125rem; color: var(--mute-l); }
.flip-back dd { margin: 0 0 .4rem; font-weight: 500; }
.flip-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Work: before/after + filters ---------- */
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 2px solid var(--black);
  margin-bottom: 1.75rem; touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-layer .ph-label { position: absolute; top: 1rem; }
.ba-before .ph-label { left: 1rem; }
.ba-after .ph-label { right: 1rem; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; inset: 0 -1px; background: var(--white); box-shadow: 0 0 0 1px var(--black); }
.ba-handle span {
  position: absolute; top: 50%; left: 0; width: 52px; height: 52px; translate: -50% -50%;
  border: 2px solid var(--black); border-radius: 50%; background: var(--white);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--black); border-width: 0 0 2px 2px;
}
.ba-handle span::before { left: 11px; transform: translateY(-50%) rotate(45deg); }
.ba-handle span::after { right: 11px; transform: translateY(-50%) rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle span { outline: 3px solid var(--black); outline-offset: 2px; }
@media (min-width: 760px) { .ba { aspect-ratio: 16 / 8; } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip {
  min-height: 2.75rem; padding: .4rem 1rem; border: 2px solid var(--black); background: transparent;
  font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s;
}
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.work-item { position: relative; aspect-ratio: 1; border: 2px solid var(--black); overflow: hidden; }
.work-item .ph { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.work-item figcaption {
  position: absolute; bottom: 0; inset-inline: 0; padding: .5rem .7rem; background: var(--black); color: var(--white);
  font-size: .8125rem; display: flex; justify-content: space-between; gap: .5rem;
}
.work-item[hidden] { display: none; }
.work-item.is-in { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.92) rotateX(12deg); } }
@media (hover: hover) { .work-item:hover .ph { transform: scale(1.06) rotate(-1deg); } }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Booking ---------- */
.bk { border: 2px solid var(--white); background: rgba(10, 10, 10, .55); }
.bk-steps { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 2px solid var(--white); }
.bk-steps li {
  display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .7rem .2rem;
  font-size: .75rem; color: var(--mute-d); text-align: center;
}
.bk-steps li + li { border-inline-start: 1px solid var(--line-d); }
.bk-steps span { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.bk-steps li[aria-current="step"] { background: var(--white); color: var(--black); }
.bk-steps li.is-done { color: var(--white); }
.bk-body { padding: clamp(1.1rem, 3vw, 2rem); min-height: 18rem; outline: none; }
.bk-title { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: .95; margin-bottom: 1rem; }
.bk-sub { color: var(--mute-d); margin: -.5rem 0 1rem; font-size: .9375rem; }
.bk-error { min-height: 0; padding-inline: clamp(1.1rem, 3vw, 2rem); color: var(--closed); font-weight: 500; }
.bk-error:empty { display: none; }
.bk-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem clamp(1.1rem, 3vw, 2rem); border-top: 2px solid var(--white);
}
.bk-sum { font-size: .9375rem; color: var(--mute-d); }
.bk-sum strong { color: var(--white); }
.bk-nav { display: flex; gap: .5rem; margin-inline-start: auto; }
.bk[data-step="5"] .bk-bar { display: none; }

.opt-grid { display: grid; gap: .6rem; }
@media (min-width: 640px) { .opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .opt-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-box {
  display: grid; gap: .2rem; height: 100%; padding: .9rem 1rem; border: 2px solid var(--line-d);
  transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease);
}
.opt-box b { font-size: 1.0625rem; }
.opt-box small { color: var(--mute-d); font-size: .8125rem; }
.opt:hover .opt-box { border-color: var(--white); }
.opt input:checked + .opt-box { border-color: var(--white); background: var(--white); color: var(--black); transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--mute-d); }
.opt input:checked + .opt-box small { color: var(--mute-l); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--white); outline-offset: 3px; }
.opt-tag { justify-self: start; margin-top: .2rem; padding: 0 .4rem; border: 1px solid currentColor; font-size: .6875rem; }

.days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-inline: calc(clamp(1.1rem, 3vw, 2rem) * -1); padding-inline: clamp(1.1rem, 3vw, 2rem); scrollbar-width: thin; }
.day {
  flex: none; display: grid; justify-items: center; gap: .1rem; min-width: 4.4rem; min-height: 4.6rem; padding: .5rem .4rem;
  border: 2px solid var(--line-d); background: transparent; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.day b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.day small { font-size: .75rem; color: var(--mute-d); }
.day:hover:not(:disabled) { border-color: var(--white); }
.day[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.day[aria-pressed="true"] small { color: var(--mute-l); }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.times-group { margin-top: 1.25rem; }
.times-group h4 { margin: 0 0 .5rem; font-size: .875rem; font-weight: 500; color: var(--mute-d); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: .45rem; }
.time {
  min-height: 2.9rem; border: 2px solid var(--line-d); background: transparent; font-weight: 500; cursor: pointer;
  font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s;
}
.time:hover { border-color: var(--white); }
.time[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.empty { padding: 1.25rem; border: 1px dashed var(--line-d); color: var(--mute-d); }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; max-width: 26rem; }
.field label { font-size: .9375rem; font-weight: 500; }
.field input {
  min-height: 3.1rem; padding: .6rem .9rem; border: 2px solid var(--line-d); border-radius: 0; background: rgba(255, 255, 255, .04);
  font-size: 1.0625rem; color: var(--white);
}
.field input:focus { outline: none; border-color: var(--white); }
.field input[aria-invalid="true"] { border-color: var(--closed); }
.field .hint { font-size: .8125rem; color: var(--mute-d); }
.field .err { font-size: .875rem; color: var(--closed); }
.field .err:empty { display: none; }
.otp-input { letter-spacing: .5em; font-variant-numeric: tabular-nums; max-width: 12rem; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: 1rem; border: 2px solid var(--white); margin-bottom: 1rem; }
.linkish { background: none; border: 0; padding: 0; min-height: 44px; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }

.done { display: grid; gap: 1.25rem; }
.done-check {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--white); color: var(--black);
  animation: popin .7s var(--ease);
}
.done-check .icon { width: 2.2rem; height: 2.2rem; }
@keyframes popin { from { transform: scale(0) rotate(-90deg); } }
.summary { display: grid; gap: .5rem; padding: 1rem 1.25rem; border: 2px solid var(--line-d); }
.summary div { display: flex; justify-content: space-between; gap: 1rem; }
.summary dt { color: var(--mute-d); }
.summary dd { margin: 0; font-weight: 500; text-align: end; }

/* ---------- Reviews: coverflow ---------- */
.flow { position: relative; }
.flow-track { position: relative; height: 22rem; perspective: 1200px; transform-style: preserve-3d; }
.flow-card {
  position: absolute; top: 0; left: 50%; width: min(82vw, 25rem); height: 19rem; margin-left: calc(min(82vw, 25rem) / -2);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.5rem;
  border: 2px solid var(--black); background: var(--white); background-image: var(--tex-paper); color: var(--black);
  transition: transform .7s var(--ease), opacity .7s; will-change: transform;
}
.flow-stars { display: flex; gap: .15rem; }
.flow-stars .icon { width: 1.1rem; height: 1.1rem; }
.flow-quote { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.flow-who { font-size: .875rem; color: var(--mute-l); }
.flow-tag { align-self: flex-start; padding: 0 .4rem; border: 1px solid currentColor; font-size: .75rem; }
.flow-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.flow-dots { display: flex; gap: .4rem; }
.flow-dots { gap: 0; }
.flow-dots button { width: 44px; height: 44px; padding: 0 7px; border: 0; background: none; cursor: pointer; }
.flow-dots button::before { content: ""; display: block; height: 4px; background: var(--black); opacity: .25; transition: opacity .3s; }
.flow-dots button[aria-current="true"]::before { opacity: 1; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2rem; }
.values { display: grid; gap: .8rem; margin-top: 1.5rem; }
.values li { padding-inline-start: 1.1rem; border-inline-start: 2px solid var(--white); color: var(--mute-d); }
.values strong { color: var(--white); }
.about-art {
  position: relative; aspect-ratio: 4 / 4.4; width: 100%; max-width: 34rem; margin-inline: auto;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.aa {
  position: absolute; display: block; overflow: hidden; border: 2px solid var(--white);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85);
  transform: translate3d(0, calc(var(--py, 0) * 1px), var(--z, 0px));
}
.aa img { width: 100%; height: 100%; object-fit: cover; }
.aa-1 { top: 0; right: 0; width: 66%; height: 80%; --z: 0px; }
.aa-2 { bottom: 0; left: 6%; width: 32%; height: 58%; --z: 70px; }
.aa-3 { top: 6%; left: 0; width: 30%; height: 32%; --z: 35px; }
.aa-word {
  position: absolute; bottom: 2%; right: 2%; direction: ltr; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 20vw, 10rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--white);
  transform: translate3d(0, calc(var(--py, 0) * 1px), 110px);
}
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4rem; } }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.prod { min-width: 0; }
.prod-float { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.prod-card { display: grid; gap: .5rem; padding: .75rem .75rem 1rem; border: 2px solid var(--black); background: var(--white); transition: transform .35s var(--ease); transform-style: preserve-3d; }
.prod-card .ph { aspect-ratio: 1; }
.prod-name { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: .9; }
.prod-desc { font-size: .875rem; color: var(--mute-l); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 900px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; }
.status[hidden] { display: none; }
.status-dot { position: relative; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--mute-d); }
.status[data-state="open"] .status-dot { background: var(--open); }
.status[data-state="closing"] .status-dot, .status[data-state="opening"] .status-dot { background: var(--soon); }
.status[data-state="closed"] .status-dot { background: var(--closed); }
.status[data-state="open"] .status-dot::after, .status[data-state="closing"] .status-dot::after, .status[data-state="opening"] .status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ring 2.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }
.status-lg { margin-block: .5rem 1.25rem; font-size: 1.0625rem; }
.hours { width: 100%; max-width: 26rem; margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .6rem 0; border-bottom: 1px solid var(--line-d); font-weight: 400; text-align: start; }
.hours th { color: var(--mute-d); }
.hours td { text-align: end; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--white); font-weight: 700; }
.today-tag { margin-inline-start: .5rem; padding: 0 .45rem; border: 1px solid currentColor; font-size: .75rem; }
.contact-address { display: grid; gap: .1rem; margin-bottom: 1.5rem; font-size: 1.0625rem; }
.contact-address a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; text-decoration: none; }
.contact-map { aspect-ratio: 4 / 3; border: 2px solid var(--white); overflow: hidden; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.1); }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.social-label { font-size: .875rem; color: var(--mute-d); margin-inline-end: .25rem; }
.social a {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid currentColor; border-radius: 50%;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.social .icon { width: 20px; height: 20px; }
.social a:hover { background: var(--white); color: var(--black); transform: translateY(-3px) rotate(-8deg); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 4rem; } .contact-map { aspect-ratio: auto; height: min(560px, 70vh); } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2rem; background: var(--black); color: var(--mute-d); font-size: .9375rem; border-top: 2px solid var(--white); }
/* במחשב כפתור הוואטסאפ צף בפינה: משאירים לו מקום כדי שלא יסתיר את שורת הקרדיט */
@media (min-width: 900px) { .site-footer { padding-bottom: 6.5rem; } }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-d); }
.footer-logo { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--white); direction: ltr; text-align: right; }
.footer-h { margin-bottom: .4rem; font-size: .875rem; font-weight: 700; color: var(--white); }
.site-footer a { display: inline-flex; align-items: center; min-height: 46px; color: var(--white); text-decoration: none; }
.site-footer .social a { display: inline-grid; }
.site-footer a:not(.social a):hover { text-decoration: underline; text-underline-offset: .3em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1rem; font-size: .8125rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; z-index: 45; display: none; place-items: center;
  width: 58px; height: 58px; border: 2px solid var(--black); border-radius: 50%; background: var(--white); color: var(--black);
  box-shadow: 4px 4px 0 var(--black); transition: transform .3s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: translate(-2px, -2px) rotate(-8deg); }
.action-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: var(--black); background-image: var(--tex-concrete); border-top: 2px solid var(--white);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.past-hero .action-bar, html:not(.js) .action-bar { transform: none; }
.nav-open .action-bar { transform: translateY(110%); }
.action-bar .btn { flex: 1; min-height: 3.1rem; }
.ab-icon { display: grid; place-items: center; width: 3.1rem; flex: none; border: 2px solid var(--white); }
@media (min-width: 900px) { .action-bar { display: none; } .wa-float { display: grid; } }

/* ---------- SMS simulation ---------- */
.sms-stack {
  position: fixed; top: calc(.75rem + env(safe-area-inset-top)); left: 50%; translate: -50% 0; z-index: 320;
  display: grid; gap: .5rem; width: min(92vw, 24rem); pointer-events: none;
}
.sms {
  display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .7rem; align-items: start;
  padding: .8rem .9rem; border-radius: 18px; background: rgba(245, 245, 245, .97); color: #111;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); font-size: .875rem; line-height: 1.45; pointer-events: auto;
  animation: smsin .5s var(--ease);
}
.sms.is-out { animation: smsout .35s ease forwards; }
@keyframes smsin { from { transform: translateY(-120%) scale(.96); opacity: 0; } }
@keyframes smsout { to { transform: translateY(-120%); opacity: 0; } }
.sms-app { grid-row: span 2; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: #31C553; color: #fff; }
.sms-app .icon { width: 1.1rem; height: 1.1rem; }
.sms-head { display: flex; justify-content: space-between; gap: .5rem; font-size: .75rem; color: #666; }
.sms-head b { color: #111; }
.sms-text { grid-column: 2 / 4; }
.sms-text strong { font-size: 1.05rem; letter-spacing: .1em; }
.sms-x { grid-column: 3; grid-row: 1; width: 36px; height: 28px; border: 0; background: none; color: #666; cursor: pointer; font-size: 1.1rem; line-height: 1; }

/* ---------- צילומים: שחור-לבן אחיד ---------- */
.photo img { filter: grayscale(1) contrast(1.08); }
.section-bg { position: absolute; inset: 0; z-index: 0; display: block; opacity: .13; pointer-events: none; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; }
.booking > .container { position: relative; z-index: 1; }
.nf-pole {
  position: absolute; top: calc(var(--header-h) + 1.5rem); left: var(--gutter); display: block;
  width: clamp(80px, 16vw, 200px); aspect-ratio: 506 / 900; overflow: hidden; border: 2px solid var(--white);
  transform: perspective(800px) rotateY(-16deg) rotateZ(-4deg); animation: sway 6s ease-in-out infinite;
}
.nf-pole img { width: 100%; height: 100%; object-fit: cover; }
@keyframes sway { 50% { transform: perspective(800px) rotateY(16deg) rotateZ(4deg); } }
.page { position: relative; }

/* ---------- Inner pages: האזור שלי / ניהול / 404 ---------- */
.page { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 2.5rem) 0 4rem; }
.page .h2 { margin-bottom: 1rem; }
.panel { border: 2px solid var(--white); background: rgba(10, 10, 10, .55); padding: clamp(1.1rem, 3vw, 2rem); margin-top: 1.5rem; }
.panel h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; margin-bottom: .75rem; }
.appt-list { display: grid; gap: .75rem; }
.appt { display: grid; gap: .5rem; padding: 1rem 1.1rem; border: 2px solid var(--line-d); }
.appt.is-next { border-color: var(--white); }
.appt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.appt-when { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.appt-meta { color: var(--mute-d); font-size: .9375rem; }
.appt-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.appt-actions .btn { min-height: 2.75rem; padding-inline: 1rem; font-size: .9375rem; }
.badge { align-self: start; padding: .1rem .5rem; border: 1px solid currentColor; font-size: .75rem; }
.badge.cancelled { color: var(--closed); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tabs [role="tab"] { min-height: 2.75rem; padding: .4rem 1rem; border: 2px solid var(--white); background: transparent; font-weight: 500; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--white); color: var(--black); }
.cal { display: grid; gap: .75rem; overflow-x: auto; }
.cal-cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(14rem, 1fr)); gap: .75rem; min-width: 0; }
.cal-col h4 { margin: 0 0 .5rem; font-size: 1rem; }
.slot-row { display: grid; grid-template-columns: 4.2rem 1fr; gap: .5rem; align-items: start; padding: .5rem .6rem; border: 1px solid var(--line-d); margin-bottom: .4rem; font-size: .9rem; }
.slot-row time { font-weight: 700; font-variant-numeric: tabular-nums; }
.slot-row.is-booked { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.slot-row.is-block { border-style: dashed; color: var(--mute-d); }
.slot-row.is-demo { color: var(--mute-d); }
.slot-row button { margin-top: .3rem; }
.form-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.form-row .field { margin: 0; }
.form-row select, .field select { min-height: 3.1rem; padding: .5rem .8rem; border: 2px solid var(--line-d); background: var(--coal); color: var(--white); }
.sms-log { display: grid; gap: .5rem; }
.sms-log li { padding: .7rem .9rem; border: 1px solid var(--line-d); font-size: .9rem; }
.sms-log small { display: block; color: var(--mute-d); margin-bottom: .2rem; }
.big-404 { font-family: var(--font-display); font-weight: 700; font-size: clamp(9rem, 40vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 3px var(--white); }

/* ---------- Reveal (3D) ---------- */
.reveal-ready [data-reveal] {
  opacity: 0; transform: perspective(700px) translateY(40px) rotateX(-18deg); transform-origin: 50% 100%;
  transition: opacity .9s ease var(--rd, 0ms), transform 1.1s var(--ease) var(--rd, 0ms);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.tilt { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }

/* ---------- Cursor: חץ לבן ומספריים, עם מתאר שחור ---------- */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("assets/img/cursor-arrow.svg") 5 3, auto; }
  a[href], button, [role="tab"], label, summary, .ring-stage { cursor: url("assets/img/cursor-scissors.svg") 6 6, pointer !important; }
  .ring-stage.is-dragging { cursor: grabbing !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  body::after { animation: none; }
  .prod-float { animation: none; }
}

/* ---------- 404: מספריים שגוזרות קו ---------- */
.cutline { position: relative; width: min(100%, 36rem); height: 2rem; border-bottom: 2px dashed var(--line-d); container-type: inline-size; }
.cutline .icon { position: absolute; bottom: -.7rem; right: 0; width: 1.6rem; height: 1.6rem; animation: cut 3.6s var(--ease) infinite; }
@keyframes cut {
  0% { transform: translateX(0) rotate(180deg); }
  50% { transform: translateX(calc(-100cqw + 1.6rem)) rotate(180deg); }
  51% { transform: translateX(calc(-100cqw + 1.6rem)) rotate(0deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

/* בין 900 ל-1199px אין מקום לעמוד המספרה ליד הכפתורים */
@media (min-width: 900px) and (max-width: 1199px) { .pole-wrap { display: none; } }
