/* הסטלה באופק — שפה ויזואלית: לילה, זהב חם, עריכה מגזינית. פינות חדות בכל האתר. */

:root {
  --black: #080808;
  --coal: #111111;
  --gold: #C8A45A;
  --gold-lt: #E2C47A;
  --ivory: #F4EFE6;
  --muted: #A8A39A;
  --line: rgba(200, 164, 90, 0.22);

  --font-display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-body: "Assistant", "Heebo", system-ui, sans-serif;

  --gutter: clamp(1rem, 4.5vw, 4rem);
  --max: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* שכבות */
  --z-media: 0;
  --z-content: 2;
  --z-float: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-grain: 90;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* גרעין צילום עדין, על שכבה קבועה בלבד */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- כפתורים ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0 1.9rem;
  border: 1px solid transparent;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ph { font-size: 1.3em; }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-lt); }

.btn--ghost {
  border-color: rgba(244, 239, 230, 0.45);
  color: var(--ivory);
  background: rgba(8, 8, 8, 0.25);
}
.btn--ghost:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

.btn--line {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.98rem;
  border-color: var(--gold);
  color: var(--gold-lt);
}
.btn--line:hover { background: var(--gold); color: var(--black); }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(8, 8, 8, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: var(--header-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}
/* סימן "אופק": קו זהב ושמש שעולה מעליו */
.brand__mark {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(to left, var(--gold), rgba(200, 164, 90, 0));
}
.brand__mark::before {
  content: "";
  position: absolute;
  bottom: 1px;
  inset-inline-start: 18%;
  width: 12px;
  height: 6px;
  border-radius: 12px 12px 0 0;
  background: var(--gold);
}

.nav {
  display: flex;
  gap: 2.25rem;
  margin-inline-start: auto;
}
.nav a {
  position: relative;
  font-size: 1rem;
  color: rgba(244, 239, 230, 0.82);
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); }

.header__mobile { display: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--gold-lt);
  font-size: 1.35rem;
}

.burger {
  display: inline-grid;
  align-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- תפריט נייד ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--black);
}
.menu[hidden] { display: none; }
.menu__nav { display: grid; gap: 0.5rem; }
.menu__nav a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.25;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.menu__foot { display: grid; gap: 1.25rem; }
.menu__tel {
  justify-self: start;
  direction: ltr;
  color: var(--muted);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}
html.menu-open { overflow: hidden; }
html.menu-open .header { background: var(--black); z-index: calc(var(--z-menu) + 1); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: var(--z-media);
  overflow: hidden;
}
.hero__media video,
.hero__media img,
.hero__media .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* placeholder קולנועי עד שיגיעו צילומים אמיתיים: אורות בר מחוץ לפוקוס */
.scene {
  background-color: #0c0a08;
  filter: blur(1.5px) saturate(1.1);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to left, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.55) 42%, rgba(8, 8, 8, 0.1) 78%),
    linear-gradient(to top, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0) 45%),
    linear-gradient(to bottom, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0) 22%);
}

.hero__sentinel {
  position: absolute;
  top: 0;
  height: 90px;
  width: 1px;
}

.hero__inner {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(4rem, 11vh, 7.5rem);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.75rem;
  color: var(--gold-lt);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero__kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: -0.008em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }

.hero__lead {
  max-width: 40ch;
  margin: 1.5rem 0 2.25rem;
  color: rgba(244, 239, 230, 0.86);
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  font-weight: 400;
  line-height: 1.65;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* קו האופק בתחתית ה-Hero: נמתח מימין לשמאל בטעינה */
.hero__horizon {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-content);
  height: 1px;
  background: linear-gradient(to left, rgba(200, 164, 90, 0) 0%, var(--gold) 30%, var(--gold-lt) 55%, rgba(200, 164, 90, 0) 100%);
  transform-origin: right;
}

.hero__pause {
  position: absolute;
  inset-inline-end: var(--gutter);
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  z-index: var(--z-content);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 239, 230, 0.45);
  background: rgba(8, 8, 8, 0.4);
  color: var(--ivory);
  font-size: 1.1rem;
}
.hero__pause:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* ---------- גלריה ---------- */

.gallery {
  position: relative;
  padding-block: clamp(5.5rem, 12vw, 10rem) clamp(5rem, 10vw, 8rem);
}

.gallery__head { max-width: 52rem; margin-bottom: clamp(3rem, 6vw, 5rem); }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.gallery__sub {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(56px, 6.2vw, 92px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 18px);
}

.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--coal);
}
.tile--feature   { grid-column: span 8; grid-row: span 5; }
.tile--tall      { grid-column: span 4; grid-row: span 8; }
.tile--small     { grid-column: span 4; grid-row: span 3; }
.tile--wide      { grid-column: 3 / -1; grid-row: span 5; margin-top: clamp(2rem, 5vw, 5rem); }
.tile--portrait  { grid-column: span 5; grid-row: span 7; }
.tile--landscape { grid-column: span 7; grid-row: span 5; }

.tile__media {
  position: absolute;
  inset: 0;
}
.tile__media > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease);
}
.tile:hover .tile__media > * { transform: scale(1.045); }

.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  padding: 3.5rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0));
  font-size: 1.05rem;
  pointer-events: none;
}
.tile__type { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.tile__sep { width: 1px; height: 0.95em; background: var(--gold); align-self: center; }
.tile__guests { color: var(--gold-lt); font-weight: 600; }
.tile__loc { flex-basis: 100%; color: var(--muted); font-size: 0.92rem; }

.tile__hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: zoom-in;
}
.tile__hit:focus-visible { outline-offset: -4px; }

.tile__play {
  position: absolute;
  top: 1.1rem;
  inset-inline-end: 1.1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 239, 230, 0.4);
  color: var(--ivory);
  font-size: 1.1rem;
  pointer-events: none;
}

/* סימון זמני לחריץ שמחכה למדיה אמיתית */
.tile__slot {
  position: absolute;
  top: 1.1rem;
  inset-inline-start: 1.1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(244, 239, 230, 0.55);
  font-size: 0.85rem;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .tile__cap {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  }
  .tile:hover .tile__cap,
  .tile:focus-within .tile__cap { opacity: 1; transform: none; }
}

.gold { color: var(--gold); }

.note {
  margin: 2.5rem 0 0;
  color: rgba(168, 163, 154, 0.75);
  font-size: 0.9rem;
}

/* מקום למדיה שמחכה לצילום אמיתי (תהליך, למה זה עובד, המלצה, CTA) */
.slot {
  position: relative;
  overflow: hidden;
  background: var(--coal);
}
.slot > img,
.slot > .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- איך זה עובד ---------- */

.process { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.steps {
  --progress: 0.25;
  position: relative;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  padding-inline-start: clamp(1.5rem, 3vw, 2.75rem);
  list-style: none;
}
/* פס התקדמות זהב דק לאורך השלבים */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 1px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(var(--progress));
  transition: transform 0.9s var(--ease);
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64vh;
  /* שלב לא פעיל מעומעם, אבל עדיין עומד ביחס ניגודיות 4.5:1 לקריאה */
  opacity: 0.75;
  transition: opacity 0.7s var(--ease);
}
.step.is-active { opacity: 1; }

.step__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  transition: color 0.7s var(--ease);
}
.step.is-active .step__num { color: var(--gold); }

.step__title {
  margin: 1rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
}
.step__text {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}
.step__media { display: none; }

.process__visual {
  position: sticky;
  top: calc(var(--header-h) + 4vh);
  align-self: start;
  height: calc(100svh - var(--header-h) - 8vh);
  margin-top: clamp(4.5rem, 9vw, 8rem);
}
.process__frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--coal);
}
.process__frame .layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.process__frame .layer.is-on { opacity: 1; transform: none; }

/* ---------- הבידול ---------- */

.diff { padding-block: clamp(5rem, 11vw, 9rem); background: var(--coal); }

.diff__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.diff__lead {
  max-width: 44ch;
  margin: 1.5rem 0 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
}

.principles {
  display: grid;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.principle {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.2rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__num {
  grid-row: span 2;
  padding-top: 0.35rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.principle__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}
.principle__text { color: var(--muted); font-size: 1.05rem; }

.diff__media { position: relative; aspect-ratio: 4 / 5; }
.diff__main { position: absolute; top: 0; bottom: 14%; inset-inline-start: 0; inset-inline-end: 16%; }
.diff__inset {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 0 0 10px var(--coal);
}

/* ---------- מה אתם מרוויחים ---------- */

.gains { padding-block: clamp(5.5rem, 12vw, 10rem); }

.gains__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
}
.gain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0.5rem clamp(1.25rem, 3vw, 2.75rem);
  border-inline-start: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  line-height: 1.25;
}
.gain:first-child { padding-inline-start: 0; border-inline-start: 0; }
.gain--accent { color: var(--gold-lt); }

.sun {
  flex: none;
  width: 22px;
  height: 11px;
  border-radius: 22px 22px 0 0;
  background: var(--gold);
}

/* ---------- המלצה ---------- */

.proof { padding-block: clamp(6rem, 13vw, 11rem); }

.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.proof__list { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }

.quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(0.5rem, 3vw, 2.5rem) 0 0;
}
.quote__photo {
  grid-row: span 3;
  width: clamp(100px, 10vw, 150px);
  aspect-ratio: 3 / 4;
}
.quote__text { margin: 0; }
.quote__text p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.45;
}
.quote__by { display: flex; flex-direction: column; gap: 0.2rem; }
.quote__name { font-weight: 700; font-size: 1.1rem; }
.quote__meta { color: var(--gold-lt); }
.note--tag { grid-column: 2; margin: 0; }

/* ---------- CTA מרכזי וטופס ---------- */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 12vw, 10rem);
}
.contact__bg { position: absolute; inset: 0; z-index: -2; }
.contact__bg > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 65% at 72% 42%, rgba(200, 164, 90, 0.16), rgba(200, 164, 90, 0) 70%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.74) 45%, rgba(8, 8, 8, 0.96) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.contact__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.05;
}
.contact__sub {
  max-width: 20ch;
  margin: 1.25rem 0 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.4;
  color: rgba(244, 239, 230, 0.85);
}
.contact__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.form {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.form__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 600; font-size: 0.98rem; }
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 1.1rem;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}
.field [aria-invalid="true"] { border-bottom-color: #F0A58C; }
.field select option { background: var(--coal); color: var(--ivory); }
.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field input[type="number"] { -moz-appearance: textfield; }
.select { position: relative; display: block; }
.select .ph {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  translate: 0 -50%;
  color: var(--gold-lt);
  pointer-events: none;
}
.field__help { margin: 0; color: var(--muted); font-size: 0.85rem; }
.field__err { margin: 0; color: #F0A58C; font-size: 0.9rem; }
.form__submit { width: 100%; margin-top: 0.5rem; }
.form__hint { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- Footer ---------- */

.footer {
  /* מרווח תחתון שמשאיר מקום לכפתור ה-WhatsApp הצף */
  padding-block: 3.5rem calc(6.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(244, 239, 230, 0.85);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--gold-lt); }
.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- נגישות: טקסט לקורא מסך בלבד ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- תפריט נגישות ---------- */

.a11y-btn {
  position: fixed;
  inset-inline-start: clamp(1rem, 2.5vw, 2rem);
  bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  background: rgba(8, 8, 8, 0.92);
  color: var(--gold-lt);
  font-size: 1.6rem;
  transition: background-color 0.3s, color 0.3s;
}
.a11y-btn:hover,
.a11y-btn[aria-expanded="true"] { background: var(--gold); color: var(--black); }

.a11y-panel {
  position: fixed;
  inset-inline-start: clamp(1rem, 2.5vw, 2rem);
  bottom: calc(clamp(1rem, 2.5vw, 2rem) + 64px + env(safe-area-inset-bottom));
  z-index: calc(var(--z-header) + 1);
  width: min(320px, calc(100vw - 2rem));
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--coal);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  font-size: 1rem;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.a11y-panel__head h2 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.a11y-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  font-size: 1.2rem;
}

.a11y-fs {
  display: grid;
  grid-template-columns: 1fr 44px 4.5rem 44px;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.a11y-fs__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 239, 230, 0.35);
  font-size: 1.1rem;
}
.a11y-fs__value { text-align: center; color: var(--gold-lt); font-variant-numeric: tabular-nums; }

.a11y-opts { display: grid; gap: 0.5rem; margin: 1rem 0; padding: 0; list-style: none; }
.a11y-opt,
.a11y-reset {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 48px;
  padding: 0 0.9rem;
  border: 1px solid rgba(244, 239, 230, 0.25);
  text-align: start;
  font-size: 1.02rem;
}
.a11y-opt .ph,
.a11y-reset .ph { font-size: 1.3rem; color: var(--gold-lt); }
.a11y-opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(200, 164, 90, 0.16); }
.a11y-opt[aria-pressed="true"]::after { content: "פעיל"; margin-inline-start: auto; color: var(--gold-lt); font-size: 0.85rem; }
.a11y-reset { border-style: dashed; }
.a11y-statement { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.5rem; color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }

/* מצבי נגישות */
html[data-fs="1"] { font-size: 112.5%; }
html[data-fs="2"] { font-size: 125%; }
html[data-fs="3"] { font-size: 137.5%; }

html.a11y-contrast {
  --black: #000000;
  --coal: #000000;
  --ivory: #ffffff;
  --muted: #ffffff;
  --gold: #ffd84d;
  --gold-lt: #ffe680;
  --line: rgba(255, 255, 255, 0.7);
}
html.a11y-contrast .scene,
html.a11y-contrast .hero__media,
html.a11y-contrast .contact__bg { opacity: 0.25; }
html.a11y-contrast .hero__lead,
html.a11y-contrast .diff__lead,
html.a11y-contrast .note,
html.a11y-contrast .doc p,
html.a11y-contrast .doc li { color: #ffffff; }
html.a11y-contrast .btn--ghost { border-color: #ffffff; }

html.a11y-gray main,
html.a11y-gray .header,
html.a11y-gray .footer,
html.a11y-gray .wa-float { filter: grayscale(1); }

html.a11y-links a:not(.btn):not(.brand) { text-decoration: underline; text-underline-offset: 4px; }
html.a11y-links a,
html.a11y-links button { outline: 2px dashed var(--gold-lt); outline-offset: 2px; }

html.a11y-font { --font-display: var(--font-body); }
html.a11y-font body { letter-spacing: 0.01em; word-spacing: 0.08em; }

html.a11y-still *,
html.a11y-still *::before,
html.a11y-still *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-still .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- עמודים משפטיים ---------- */

.doc-header { border-bottom: 1px solid var(--line); }
.doc-header .header__bar { justify-content: space-between; }
.doc-back { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: rgba(244, 239, 230, 0.85); }
.doc-back:hover { color: var(--gold-lt); }

.doc {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(5rem, 9vw, 7rem);
}
.doc h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.15;
}
.doc__meta { margin: 0 0 2.5rem; color: var(--muted); }
.doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.3;
}
.doc p,
.doc li { color: rgba(244, 239, 230, 0.88); line-height: 1.8; }
.doc ul { padding-inline-start: 1.25rem; }
.doc li + li { margin-top: 0.4rem; }
.doc a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }

.footer__legal-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgba(168, 163, 154, 0.4);
  text-underline-offset: 4px;
}
.footer__legal-links a:hover { color: var(--gold-lt); }
.footer__warning {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ivory);
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- WhatsApp צף ---------- */

.wa-float {
  position: fixed;
  inset-inline-end: clamp(1rem, 2.5vw, 2rem);
  bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--black);
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background-color 0.3s;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--gold-lt); }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) 2rem;
  border: 0;
  background: rgba(8, 8, 8, 0.97);
  color: var(--ivory);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
.lightbox::backdrop { background: rgba(8, 8, 8, 0.9); }
.lightbox__media {
  position: relative;
  width: min(100%, 1200px);
  height: min(78dvh, 100%);
  display: grid;
  place-items: center;
}
.lightbox__media > img,
.lightbox__media > video { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__media > .scene { position: absolute; inset: 0; }
.lightbox__cap { margin: 0; color: var(--muted); font-size: 1.05rem; text-align: center; }
.lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: var(--gutter);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  font-size: 1.4rem;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ---------- תנועה (רק כש-JS פעיל ובלי reduced motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }

  .js .hero__media > * { animation: settle 2.4s var(--ease) both; }
  .js .hero__title .line > span { animation: rise 1.2s var(--ease) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
  .js .hero__kicker,
  .js .hero__lead,
  .js .hero__ctas { animation: fade 1.2s var(--ease) both; }
  .js .hero__kicker { animation-delay: 0.05s; }
  .js .hero__lead { animation-delay: 0.35s; }
  .js .hero__ctas { animation-delay: 0.5s; }
  .js .hero__horizon { animation: draw 2.2s var(--ease) 0.6s both; }
}


@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile__media > * { transition: none; }
  .tile:hover .tile__media > * { transform: none; }
}

/* ---------- מובייל ---------- */

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header__cta { display: none; }
  .header__bar { justify-content: space-between; }
  .header__mobile { display: flex; align-items: center; gap: 0.5rem; }
  .brand__name { font-size: 1.35rem; }

  /* התהליך: בלי sticky. כל שלב מקבל את התמונה שלו מעליו */
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__visual { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 0 3.5rem; }
  .step__num { color: var(--gold); }
  .step__media {
    display: block;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.5rem;
  }

  .diff__grid,
  .proof__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .diff__media { max-width: 520px; width: 100%; }
}

@media (max-width: 767px) {
  .hero__shade {
    background:
      linear-gradient(to top, rgba(8, 8, 8, 0.97) 0%, rgba(8, 8, 8, 0.75) 45%, rgba(8, 8, 8, 0.15) 80%),
      linear-gradient(to bottom, rgba(8, 8, 8, 0.65) 0%, rgba(8, 8, 8, 0) 25%);
  }
  .hero__kicker { font-size: 0.88rem; gap: 0.75rem; letter-spacing: 0.03em; }
  .hero__kicker::before { width: 24px; }
  .hero__lead { margin: 1.25rem 0 2rem; }
  .hero__ctas { display: grid; }
  .hero__ctas .btn { width: 100%; }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px;
  }
  .tile { grid-row: auto; }
  .tile--feature   { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .tile--tall      { grid-column: 1 / -1; aspect-ratio: 9 / 14; }
  .tile--small     { grid-column: span 1; aspect-ratio: 3 / 4; }
  .tile--wide      { grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-top: 0; }
  .tile--portrait  { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .tile--landscape { grid-column: 1 / -1; aspect-ratio: 4 / 3; }

  .tile--small .tile__cap { padding: 2.5rem 0.85rem 0.85rem; font-size: 0.92rem; }
  .tile--small .tile__type { font-size: 1.05rem; }
  .tile--small .tile__sep { display: none; }
  .tile--small .tile__guests { flex-basis: 100%; }

  .gains__list { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .gain { flex-direction: row; align-items: center; gap: 1rem; padding: 0; border: 0; }

  .contact__direct .btn { flex: 1 1 0; padding-inline: 1rem; }

  .quote { grid-template-columns: minmax(0, 1fr); }
  .quote__photo { grid-row: auto; width: 96px; }
  .note--tag { grid-column: auto; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__links { justify-content: flex-start; }
}
