/* ==========================================================
   ינון אוחנה — צלם וידאו | inonohana.com
   Mobile-first · RTL · Rubik · Yellow #FFCE00 / Black #0A0A0A
   ========================================================== */

:root {
  --yellow: #FFCE00;
  --yellow-deep: #F2B90D;
  --black: #0A0A0A;
  --ink: #111111;
  --white: #FFFDF5;
  --grey: #6b6b6b;
  --red: #FF3B30;
  --green: #25D366;
  --font: 'Rubik', system-ui, sans-serif;
  --radius: 18px;
  --nav-h: 64px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: #050505;
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* טיפוגרפיה של סקשנים */
.sec-tag {
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  opacity: 0.65;
  margin-bottom: 10px;
  direction: ltr;
  text-align: right;
}
.sec-title {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: clamp(24px, 5vw, 48px);
}

.section-dark { background: var(--black); color: var(--yellow); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--pad);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.nav-logo {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--black);
  transition: color 0.35s ease;
}
.nav-logo span { font-weight: 300; }
.nav.scrolled .nav-logo,
.nav.menu-open .nav-logo { color: var(--yellow); }
.nav-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-inline-start: 6px;
  animation: recBlink 1.6s ease-in-out infinite;
}

.nav-links {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--yellow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: -1;
}
.nav-links.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-links a { position: relative; }
.nav-cta {
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 8px 26px;
}

.nav-burger {
  width: 44px; height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}
.nav-burger span {
  width: 26px; height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.35s ease;
}
.nav.scrolled .nav-burger span, .nav-burger.open span { background: var(--yellow); }
.nav-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #050505;
}
.hero-media { position: absolute; inset: 0; background: #050505; }
/* GSAP עוטף את ההירו ב-pin-spacer בזמן האנימציה. אם הוא שקוף, רואים את ה-body הצהוב מתחת לתמונה במובייל. */
main > .pin-spacer:first-child,
.pin-spacer:has(.hero) {
  background: #050505 !important;
}
.hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: clamp(170px, 30vh, 300px);
  z-index: 2;
  pointer-events: none;
  background: #050505;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 48.5% 20%;
}
/* רצף גלילה: הפריים הראשון (fallback) גלוי כברירת מחדל; הקנבס נכנס כש-JS מפעיל אותו */
.hero-canvas { opacity: 0; }
body.js-seq .hero-canvas { opacity: 1; }
body.js-seq .hero-fallback { opacity: 0; }
/* במצב reduced-motion נשארים על ה-fallback הסטטי */
body.reduced-motion .hero-canvas { display: none; }
body.reduced-motion .hero-fallback { opacity: 1 !important; }

/* אלמנטי ה-HUD נעלמים בגלילה — אכיפה קשיחה מעל GSAP */
.hero--scrolled .vf-rec,
.hero--scrolled .vf-tc,
.hero--scrolled .vf-meta,
.hero--scrolled .vf-battery,
.hero--scrolled .vf-grid,
.hero--scrolled .hero-scroll,
.hero--scrolled .vf-corner {
  opacity: 0 !important;
  transition: opacity 0.25s ease;
}

/* עינית מצלמה */
.vf {
  position: absolute;
  top: calc(var(--nav-h) + 12px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  left: clamp(14px, 3vw, 34px);
  z-index: 3;
  pointer-events: none;
  font-weight: 600;
}
.vf-corner {
  position: absolute;
  width: clamp(26px, 5vw, 46px);
  height: clamp(26px, 5vw, 46px);
  border: 3px solid var(--black);
}
.vf-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.vf-grid { position: absolute; inset: 0; opacity: 0.14; }
.vf-grid i { position: absolute; background: var(--black); }
.vf-grid i:nth-child(1) { left: 33.33%; top: 0; bottom: 0; width: 1px; }
.vf-grid i:nth-child(2) { left: 66.66%; top: 0; bottom: 0; width: 1px; }
.vf-grid i:nth-child(3) { top: 33.33%; left: 0; right: 0; height: 1px; }
.vf-grid i:nth-child(4) { top: 66.66%; left: 0; right: 0; height: 1px; }

.vf-rec {
  position: absolute;
  top: clamp(12px, 3vw, 22px);
  right: clamp(16px, 3.5vw, 30px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  letter-spacing: 0.14em;
  direction: ltr;
}
.vf-rec-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  animation: recBlink 1.2s steps(2, start) infinite;
}
@keyframes recBlink { 50% { opacity: 0.15; } }

.vf-tc {
  position: absolute;
  top: clamp(12px, 3vw, 22px);
  left: clamp(16px, 3.5vw, 30px);
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.vf-meta {
  position: absolute;
  bottom: clamp(12px, 3vw, 22px);
  left: clamp(16px, 3.5vw, 30px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(0.72rem, 2.2vw, 0.9rem);
  letter-spacing: 0.12em;
  direction: ltr;
}
.vf-audio { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.vf-audio i {
  width: 3px;
  background: var(--black);
  animation: audioLvl 0.7s ease-in-out infinite alternate;
}
.vf-audio i:nth-child(1) { height: 40%; animation-delay: 0s; }
.vf-audio i:nth-child(2) { height: 80%; animation-delay: 0.12s; }
.vf-audio i:nth-child(3) { height: 55%; animation-delay: 0.24s; }
.vf-audio i:nth-child(4) { height: 95%; animation-delay: 0.36s; }
.vf-audio i:nth-child(5) { height: 30%; animation-delay: 0.48s; }
@keyframes audioLvl { to { transform: scaleY(0.35); } }

.vf-battery {
  position: absolute;
  bottom: clamp(12px, 3vw, 22px);
  right: clamp(16px, 3.5vw, 30px);
  width: 30px; height: 14px;
  border: 2px solid var(--black);
  border-radius: 3px;
  padding: 2px;
}
.vf-battery::after {
  content: '';
  position: absolute;
  top: 3px; bottom: 3px;
  left: -6px;
  width: 3px;
  background: var(--black);
  border-radius: 1px;
}
.vf-battery i { display: block; height: 100%; width: 78%; background: var(--black); }

/* כותרת hero */
.hero-title {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(84px, 16vh, 150px);
  z-index: 4;
  text-align: center;
  padding-inline: var(--pad);
}
.hero-overline {
  font-size: clamp(0.8rem, 2.8vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 2px;
  color: var(--yellow);
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.78), 0 1px 1px rgba(0, 0, 0, 0.9);
}
.hero-name {
  display: inline-block;
  font-size: clamp(3.25rem, 13.5vw, 7.4rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: transparent;
  background: linear-gradient(180deg, #fff9d7 0%, #ffdc3f 44%, #ffb000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 2px rgba(10, 10, 10, 0.8)) drop-shadow(0 5px 0 rgba(10, 10, 10, 0.88)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
}
.hero-name .ch {
  display: inline-block;
  white-space: pre;
  color: transparent;
  background: linear-gradient(180deg, #fff9d7 0%, #ffdc3f 44%, #ffb000 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(0.95rem, 3.2vw, 1.3rem);
  font-weight: 500;
  margin-top: 10px;
  color: var(--yellow);
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.82), 0 1px 1px rgba(0, 0, 0, 0.9);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  background: var(--black);
  color: var(--yellow);
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 700;
  border-radius: 999px;
  padding: clamp(13px, 3vw, 16px) clamp(28px, 6vw, 40px);
  border: 2px solid var(--yellow);
  box-shadow: 0 12px 34px rgba(10, 10, 10, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.hero-cta svg { width: 22px; height: 22px; color: var(--green); }
.hero-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 44px rgba(10, 10, 10, 0.45); }
.hero-cta:active { transform: scale(0.98); }

.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}
.hero-scroll-line {
  width: 2px; height: 34px;
  background: var(--black);
  transform-origin: top;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============ REC STRIP (מפריד הקלטה בין הירו ל-about) ============ */
.rec-strip {
  position: relative;
  z-index: 7;
  background: var(--black);
  border-block: 2px solid var(--yellow);
  overflow: hidden;
  padding-block: clamp(11px, 2.3vw, 15px);
  box-shadow: 0 -26px 46px rgba(5, 5, 5, 0.55);
}
.rec-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  direction: ltr;
  will-change: transform;
  animation: recMarquee 36s linear infinite;
}
.rec-strip-set {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 5vw, 46px);
  padding-inline-end: clamp(22px, 5vw, 46px);
  flex: 0 0 auto;
}
.rt-tok, .rt-rec {
  white-space: nowrap;
  font-size: clamp(0.76rem, 2.3vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
  text-transform: uppercase;
}
.rt-rec { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.rt-rec i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: recBlink 1.2s steps(2, start) infinite;
}
@keyframes recMarquee { to { transform: translateX(-25%); } }

/* ============ ABOUT ============ */
.about { padding-block: clamp(64px, 10vw, 112px); position: relative; overflow: hidden; }
.about-grid { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; position: relative; z-index: 2; }
.about-title .reveal-line { display: block; overflow: hidden; }
.about-p {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  max-width: 54ch;
  margin-bottom: 18px;
}
.about-p strong { color: var(--yellow); font-weight: 600; }
.about-gear { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-gear li {
  border: 1.5px solid var(--yellow);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* מצלמת הקולנוע (איור היגספילד) — שכבה שעפה מאחורי התוכן */
.el-img { pointer-events: none; user-select: none; }
.cam-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.el-camera {
  position: absolute;
  top: 12%;
  left: 4%;
  width: clamp(220px, 26vw, 380px);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 46px rgba(255, 206, 0, 0.14));
  will-change: transform;
  opacity: 0.55;
}

/* סטילס מתוך הפקות — פריימים מפוזרים */
.about-stills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 22px);
  align-items: start;
}
.about-still {
  background: #141414;
  border: 1.5px solid rgba(255, 206, 0, 0.35);
  border-radius: 14px;
  padding: 9px 9px 11px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 34px rgba(255, 206, 0, 0.07);
  will-change: transform;
}
.about-still img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}
.still-a { transform: rotate(-2.4deg); margin-top: clamp(20px, 4vw, 42px); }
.still-a img { object-position: center 38%; }
.still-b { transform: rotate(2deg); }
.still-b img { object-position: center 68%; }
.about-still figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--yellow);
  opacity: 0.85;
}
.about-still figcaption::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* הוכחות אמון */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 30px);
  margin-top: clamp(44px, 7vw, 72px);
  position: relative;
  z-index: 2;
}
.trust-item {
  border-top: 2px solid rgba(255, 206, 0, 0.3);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item strong {
  color: var(--yellow);
  font-weight: 900;
  font-size: clamp(1.05rem, 3.4vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.trust-item span {
  color: var(--white);
  opacity: 0.72;
  font-weight: 300;
  font-size: clamp(0.82rem, 2.6vw, 0.95rem);
}

/* ============ SERVICES ============ */
.services {
  position: relative;
  padding-block: clamp(64px, 10vw, 112px);
  background: var(--yellow);
  overflow: hidden;
  isolation: isolate;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 86%, transparent);
}
.services::after {
  content: 'SERVICES';
  position: absolute;
  z-index: 0;
  left: -0.04em;
  bottom: -0.25em;
  color: var(--black);
  opacity: 0.035;
  font-size: clamp(8rem, 24vw, 22rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  direction: ltr;
  pointer-events: none;
}
.services .container { position: relative; z-index: 2; }
.services .sec-tag,
.services .sec-title { position: relative; z-index: 3; }
.services .sec-title {
  display: inline-block;
  background: var(--yellow);
  box-shadow: 0 0 0 12px var(--yellow);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
  perspective: 1000px;
}
.svc-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 232px;
  background: rgba(255, 206, 0, 0.96);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: clamp(22px, 5vw, 34px);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease-out, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 206, 0, 0.34), transparent 68%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  transition: opacity 0.35s ease, transform 0.45s ease;
  pointer-events: none;
}
.svc-card > * { position: relative; z-index: 2; }
.svc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  margin-bottom: 20px;
}
.svc-no {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.svc-code {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.72;
}
.svc-card h3 { font-size: clamp(1.15rem, 4vw, 1.4rem); font-weight: 800; margin-block: 14px 6px; }
.svc-card p { max-width: 48ch; font-weight: 400; font-size: clamp(0.92rem, 3vw, 1.02rem); opacity: 0.82; }
.svc-icon {
  width: 52px;
  height: 52px;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
.svc-icon .i {
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
@media (hover: hover) {
  .svc-card:hover {
    background: var(--black);
    color: var(--yellow);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-9px) scale(1.008);
    box-shadow: 0 24px 52px rgba(10, 10, 10, 0.28);
  }
  .svc-card:hover::before { opacity: 1; }
  .svc-card:hover::after { opacity: 0.15; transform: scale(1.05); }
  .svc-card:hover .svc-icon { transform: translateY(-5px) rotate(-5deg) scale(1.08); filter: drop-shadow(0 8px 12px rgba(255, 206, 0, 0.18)); }
  .svc-card:hover .svc-code { opacity: 1; }
}

/* רחפן */
.drone-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.drone {
  position: absolute;
  top: 0; left: 0;
  width: clamp(190px, 26vw, 310px);
  opacity: 0.92;
  will-change: transform;
  filter: drop-shadow(0 26px 30px rgba(10, 10, 10, 0.28));
}
.drone-shadow {
  position: absolute;
  width: clamp(80px, 14vw, 150px);
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10, 10, 10, 0.25), transparent 70%);
  will-change: transform, opacity;
}
/* ריחוף עדין לרחפן כשאין טיסה (מובייל / reduced-motion) — כדי שלא ייראה "תקוע" */
@keyframes drone-hover {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1.5deg); }
}

/* ============ WORK ============ */
.work { position: relative; padding-block: clamp(72px, 11vw, 124px); overflow: hidden; }
.clapper-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.clapper {
  position: absolute;
  top: 0; left: 0;
  width: clamp(150px, 22vw, 280px);
  will-change: transform;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(255, 206, 0, 0.12));
}
.work .container { position: relative; z-index: 2; }
.film-strip, .film-strip-btm {
  position: absolute;
  inset-inline: 0;
  height: 26px;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0 10px,
    var(--yellow) 10px 26px,
    transparent 26px 36px
  );
  opacity: 0.16;
}
.film-strip { top: 24px; }
.film-strip-btm { top: auto; bottom: 24px; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.yt { position: relative; }
.yt-wide { grid-column: 1 / -1; }
.yt-face {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  isolation: isolate;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* הטיות עדינות בסגנון "פריימים מפוזרים על שולחן" — מתיישרות בהובר */
.yt-short:nth-of-type(2) .yt-face { transform: rotate(-1.6deg); }
.yt-short:nth-of-type(3) .yt-face { transform: rotate(1.2deg); }
.yt-short:nth-of-type(4) .yt-face { transform: rotate(-1.1deg); }
.yt-short:nth-of-type(5) .yt-face { transform: rotate(1.7deg); }
@media (hover: hover) { .yt .yt-face:hover { transform: rotate(0deg) scale(1.015); } }
.yt-wide .yt-face { aspect-ratio: 16 / 9; }
.yt-short .yt-face { aspect-ratio: 9 / 16; }
.yt-face img, .yt-face iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.yt-face img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease; }
@media (hover: hover) { .yt-face:hover img { transform: scale(1.06); } }

.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(54px, 12vw, 74px);
  height: clamp(54px, 12vw, 74px);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.yt-play svg { width: 46%; height: 46%; transform: translateX(-6%); }

/* הובר פרימיום: התמונה מתכהה, הפליי גדל, "צפו בפרויקט" עולה */
.yt-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0);
  transition: background 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.yt-face::after {
  content: 'צפו בפרויקט';
  position: absolute;
  top: calc(50% + clamp(38px, 8vw, 52px));
  inset-inline: 0;
  text-align: center;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
  pointer-events: none;
}
@media (hover: hover) {
  .yt-face:hover .yt-play { transform: scale(1.16); }
  .yt-face:hover::before { background: rgba(10, 10, 10, 0.34); }
  .yt-face:hover::after { opacity: 1; transform: translateY(0); }
}

.yt figcaption { padding: 12px 6px 4px; }
.yt-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  background: var(--yellow);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 7px;
}
.yt figcaption h3 { font-size: clamp(0.95rem, 3vw, 1.15rem); font-weight: 600; color: var(--white); }

/* CTA אחרי גריד העבודות */
.work-cta {
  margin-top: clamp(48px, 8vw, 76px);
  text-align: center;
  position: relative;
  z-index: 2;
}
.work-cta h3 {
  color: var(--yellow);
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.work-cta p {
  color: var(--white);
  opacity: 0.8;
  font-weight: 300;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  max-width: 44ch;
  margin: 0 auto 26px;
}
.work-cta .wa-btn { background: var(--yellow); color: var(--black); }
.work-cta .wa-btn svg { color: #128C3E; }

/* ============ CONTACT ============ */
.contact {
  position: relative;
  min-height: 86svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--yellow);
  text-align: center;
  padding-block: clamp(72px, 11vw, 124px);
}
.contact-media { position: absolute; inset: 0; }
.contact-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}
.contact-inner {
  position: relative;
  z-index: 2;
  padding-inline: var(--pad);
  margin-top: clamp(-10vh, -6vw, 0px);
}
.contact .sec-tag { text-align: center; }
.contact-title {
  font-size: clamp(2.8rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
  color: transparent;
  background: linear-gradient(180deg, #fff9d7 0%, #ffdc3f 44%, #ffb000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 2px rgba(10, 10, 10, 0.8)) drop-shadow(0 5px 0 rgba(10, 10, 10, 0.88)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
}
.contact-sub {
  font-size: clamp(1rem, 3.4vw, 1.3rem);
  font-weight: 500;
  margin-bottom: 34px;
  color: var(--yellow);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--yellow);
  font-size: clamp(1.05rem, 3.6vw, 1.3rem);
  font-weight: 700;
  border-radius: 999px;
  padding: clamp(15px, 3.4vw, 20px) clamp(30px, 7vw, 46px);
  box-shadow: 0 14px 40px rgba(10, 10, 10, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.wa-btn svg { width: 26px; height: 26px; color: var(--green); }
.wa-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 50px rgba(10, 10, 10, 0.4); }
.wa-btn:active { transform: scale(0.98); }
.contact .sec-tag { color: var(--yellow); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); opacity: 0.9; }

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  color: var(--yellow);
  text-align: center;
  padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom));
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ============ WHATSAPP FAB ============ */
.wa-fab {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 18px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.wa-fab.show { opacity: 1; transform: scale(1); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.1); }

/* ============ DESKTOP ============ */

@media (max-width: 767px) {
  .hero {
    min-height: 520px;
    height: 92svh;
  }
  .nav-logo {
    transform: translateY(16px);
  }
  .hero::after {
    /* במובייל לא מכסים את תמונת ההירו עצמה — השחור מתחיל רק אחרי קצה התמונה/הירו. */
    height: 0;
    background: #050505;
  }
  .hero-title {
    /* מוריד את בלוק הטקסט מהפנים לאזור החזה/התחתית במובייל. */
    bottom: clamp(8px, 2.5vh, 24px);
  }
  .vf-meta {
    left: 10px;
    right: 10px;
    bottom: 12px;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.68rem;
    line-height: 1.1;
  }
  .vf-meta .vf-audio,
  .vf-meta span:nth-of-type(n+5) {
    display: none;
  }
  .rec-strip {
    margin-top: 0;
    padding-block: 12px;
  }
  .rec-strip-track {
    animation-duration: 42s;
  }
  .rec-strip-set {
    gap: 16px;
    padding-inline-end: 16px;
  }
  .rt-tok, .rt-rec {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rec-strip-track { animation: none; transform: none; }
}

@media (min-width: 768px) {
  :root { --nav-h: 76px; }

  .nav-burger { display: none; }
  .nav-links {
    position: static;
    inset: auto;
    background: none;
    flex-direction: row;
    gap: 34px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: auto;
    transition: color 0.35s ease;
  }
  .nav.scrolled .nav-links { color: var(--yellow); }
  .nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    inset-inline: 0;
    height: 2.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }
  .nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: bottom left; }
  /* כפתור "דברו איתי" בניווט — מלא ובולט בכל מצב */
  .nav-cta { padding: 8px 22px; background: var(--black); color: var(--yellow); border-color: var(--black); }
  .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10, 10, 10, 0.3); }
  .nav.scrolled .nav-cta { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
  .nav-cta { transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease; }

  .hero-img { object-position: center 12%; }
  .hero-title { bottom: clamp(56px, 9vh, 110px); }

  .about-grid { grid-template-columns: 1.15fr 0.85fr; }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .svc-card:nth-child(5) { grid-column: 1 / -1; }

  .work-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .yt-wide { grid-column: 1 / -1; }

  .wa-fab { width: 62px; height: 62px; bottom: 26px; left: 26px; }
}

@media (max-width: 767px) {
  /* מסירים filter: drop-shadow מהאלמנטים שזזים בגלילה — חישוב הפילטר בכל פריים
     יקר מאוד במובייל וגורם לקרטוע. במקום זה צל CSS זול על ה-box (רק לרחפן/קלאפר). */
  .drone, .el-camera, .clapper { filter: none; }
  /* הרחפן טס גם במובייל (המיקום מנוהל ע"י GSAP) — כאן רק גודל ושקיפות */
  .drone {
    width: clamp(120px, 32vw, 168px);
    opacity: 0.8;
  }
  .drone-shadow { display: none; }
  .svc-card {
    min-height: 0;
    transform: none;
  }
}

@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card:nth-child(4) { grid-column: span 1; }
  .svc-card:nth-child(5) { grid-column: span 2; }
}

/* במסכים צרים הפנים הכהות עוברות מאחורי נתוני העינית — מוסיפים להם משטח קריא. */
@media (max-width: 360px) {
  .vf-rec,
  .vf-tc {
    color: var(--white);
    background: rgba(10, 10, 10, 0.72);
    border-radius: 6px;
    padding: 3px 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
  }
}

/* ============ REDUCED MOTION ============ */
/* מצב עדין: בלי תנועה — רק מעברי שקיפות קצרים; הרחפן המעופף מוסתר */
body.reduced-motion .vf-rec-dot,
body.reduced-motion .vf-audio i,
body.reduced-motion .nav-logo-dot,
body.reduced-motion .hero-scroll-line { animation: none; }
body.reduced-motion .clapper-layer { display: none; }
body.reduced-motion .rec-strip-track { animation: none; }
/* הרחפן נשאר גלוי גם ללא תנועה — ממוקם בצד עליון-שמאלי עם ריחוף איטי ומינימלי */
body.reduced-motion .drone {
  top: clamp(18px, 5vw, 50px);
  left: 3%;
  width: clamp(150px, 24vw, 240px);
  opacity: 0.82;
  animation: drone-hover 6s ease-in-out infinite;
}
body.reduced-motion .drone-shadow { display: none; }
body.reduced-motion .svc-card { transform: none !important; transition-duration: 0.01ms; }
body.reduced-motion .svc-card::before { display: none; }
body.reduced-motion { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
