:root {
  --bg: #070b18;
  --bg-2: #0f152d;
  --violet: #a76dd3;
  --brand: linear-gradient(110deg, #3a55c8, #6f5fd0 50%, #a76dd3);
  --text: #f2f0ea;
  --muted: #8e95ad;
  --line: rgba(200, 205, 240, 0.13);
  --lime: #c6ff3d;
  --orange: #ff5c39;
  --paper: #f2f0ea;
  --radius: 28px;
  --pad: clamp(16px, 5vw, 72px);
  --display: "Karantina", "Rubik", sans-serif;
  --ui: "Rubik", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Assistant", system-ui, sans-serif;
  font-size: 18px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  overflow-x: clip;
}
h1, h2, h3 { margin: 0 0 .4em; line-height: 1; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .9; }
h3 { font-family: var(--ui); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: var(--bg); }

.hl { color: var(--lime); }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.eyebrow { font-family: var(--ui); font-size: .9rem; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin-bottom: 1em; }
.eyebrow.dark { color: rgba(11,11,11,.6); }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.sw { display: inline-block; }

/* ---------- סמן, גרעיניות, התקדמות ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 14px; height: 14px; border-radius: 50%; background: var(--lime);
  transform: translate(-50%, -50%); mix-blend-mode: difference; opacity: 0;
  transition: width .35s cubic-bezier(.2,1,.3,1), height .35s cubic-bezier(.2,1,.3,1), opacity .3s;
}
.cursor.is-hover { width: 70px; height: 70px; }
@media (pointer: fine) {
  body.has-cursor .cursor { opacity: 1; }
  body.has-cursor, body.has-cursor * { cursor: none !important; }
}
/* מסך מעבר קצר בקפיצה בין אזורים, במקום גלילה מהירה שמרצדת */
.jump-veil { position: fixed; inset: 0; z-index: 90; background: var(--bg); opacity: 0; pointer-events: none; }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} }
.progress { position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--lime)); transform-origin: right; transform: scaleX(0); }

/* ---------- כפתורים ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 1.8em; border-radius: 999px; cursor: pointer;
  font-family: var(--ui); font-weight: 700; font-size: 1rem;
  border: 1.5px solid var(--text); color: var(--text); background: transparent;
  transition: color .35s;
}
.btn > * { pointer-events: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--text); transform: scale(0, 1); transform-origin: left; transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.btn:hover::before { transform: scale(1, 1); }
.btn-line:hover { color: var(--bg); }
.btn-accent { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.btn-accent::before { background: var(--text); }

.pill-btn { font-family: var(--ui); font-weight: 600; font-size: .95rem; padding: .6em 1.3em; border-radius: 999px; background: var(--lime); color: var(--bg); }

/* ---------- תפריט ---------- */
.topbar {
  position: fixed; top: 16px; right: var(--pad); left: var(--pad); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px; padding-inline-start: 20px;
  border-radius: 999px; background: rgba(10, 14, 32, .6); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  transition: top .4s, background .4s, box-shadow .4s, padding .4s;
  animation: topIn 1s 1.2s cubic-bezier(.16,1,.3,1) backwards;
}
@keyframes topIn { from { translate: 0 -120px; } }
.topbar.scrolled { top: 10px; background: rgba(7, 11, 24, .85); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.logo { display: flex; align-items: center; gap: .6em; font-family: var(--ui); font-weight: 800; font-size: 1.1rem; }
.logo-mark { width: 18px; height: 18px; background: var(--lime); border-radius: 4px; animation: logoSpin 4s cubic-bezier(.7,0,.2,1) infinite; }
@keyframes logoSpin { 50% { transform: rotate(180deg); border-radius: 50%; } 100% { transform: rotate(360deg); border-radius: 4px; } }
.nav { display: flex; gap: 4px; }
.nav a { padding: .45em 1em; border-radius: 999px; color: var(--muted); font-weight: 600; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
/* כפתור צליל: כבוי כברירת מחדל */
.sound-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: color .3s, border-color .3s, background .3s;
}
.sound-toggle:hover { color: var(--text); border-color: var(--muted); }
.sound-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .spk { fill: currentColor; }
.sound-toggle .wave { display: none; }
.sound-toggle.on { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.sound-toggle.on .wave { display: block; animation: wave 1.2s ease-in-out infinite; }
.sound-toggle.on .w2 { animation-delay: .2s; }
.sound-toggle.on .mute { display: none; }
@keyframes wave { 50% { opacity: .3; } }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lime); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; right: 13px; left: 13px; height: 2px; background: var(--bg); transition: transform .3s; }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--lime); color: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 0 32px;
  clip-path: circle(0 at 8% 4%); transition: clip-path .7s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.open { clip-path: circle(150% at 8% 4%); }
.mobile-menu a { font-family: var(--display); font-weight: 700; font-size: 4.4rem; line-height: 1; }

/* ---------- Hero: קיר טיפוגרפי ---------- */
.hero { position: relative; }
.hero-stage {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 76px var(--pad) 150px;
}
.wall {
  font-family: var(--display); font-weight: 700; color: var(--lime);
  margin: 0; text-align: center; line-height: .8;
  display: flex; flex-direction: column; align-items: center;
  scale: var(--z, 1); opacity: var(--o, 1);
}
.hero.calm .wall { scale: 1; opacity: 1; transition: opacity .6s ease; }
.wl { display: block; white-space: nowrap; font-size: 18vw; }
.ch { display: inline-block; will-change: transform; }
.hero-bottom {
  position: absolute; bottom: 36px; right: var(--pad); left: var(--pad);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.hero-bottom p { margin: 0; max-width: 34em; color: var(--text); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; top: 50%; left: 18px; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--ui); font-size: .8rem; letter-spacing: .2em; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue span { width: 1px; height: 50px; background: var(--muted); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Statement ---------- */
.statement { padding: clamp(100px, 16vw, 220px) var(--pad); }
.fill-text { font-family: var(--ui); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 3.8rem); line-height: 1.2; max-width: 1200px; margin: 0; }
.fill-text em { font-style: normal; color: var(--lime); }
html.motion .fill-text .w { opacity: .14; }

/* ---------- פסים נעים ---------- */
.velo { overflow: hidden; padding: 20px 0 60px; direction: ltr; }
.velo-row {
  font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 12vw, 11rem); line-height: 1;
  white-space: nowrap; width: max-content; color: var(--text);
}
.velo-row.r1 { transform: translateX(-15%); }
.velo-row.r2 { transform: translateX(-45%); }
.velo-row.outline { color: transparent; -webkit-text-stroke: 1.5px var(--violet); }

/* ---------- שירותים ---------- */
.services { position: relative; }
.services-pin { position: relative; padding: 110px 0 60px; }
.svc-head { padding: 0 var(--pad); margin-bottom: 36px; }
.svc-head h2 { font-size: clamp(3rem, 7vw, 6rem); }
.svc-intro { display: none; }
.svc-track { display: grid; gap: 22px; padding: 0 var(--pad); }
.svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3.5vw, 44px); border-radius: var(--radius);
  min-height: 460px;
}
.svc-num { font-family: var(--display); font-weight: 700; font-size: 6rem; line-height: .8; opacity: .9; }
.svc h3 { margin-top: auto; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.svc p { font-size: 1.08rem; opacity: .75; max-width: 30em; }
.chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .3em .95em; border: 1px solid currentColor; border-radius: 999px; font-size: .9rem; opacity: .8; }
.theme-dark { background: var(--bg-2); border: 1px solid var(--line); }
.theme-dark .svc-num { color: var(--lime); }
.theme-lime { background: var(--lime); color: var(--bg); }
.theme-paper { background: var(--paper); color: var(--bg); }
.theme-paper .svc-num { color: #3a55c8; }
.theme-violet { background: var(--brand); color: #fff; }

.svc-art { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(24px, 3vw, 40px); width: clamp(110px, 13vw, 180px); aspect-ratio: 1; }
.svc-art i { position: absolute; display: block; }
.art-gears i { border-radius: 50%; border: 9px dashed var(--c1); animation: rot 10s linear infinite; }
.art-gears i:nth-child(1) { inset: 6% 30% 30% 6%; }
.art-gears i:nth-child(2) { inset: 46% 4% 4% 46%; border-color: var(--c2); animation-direction: reverse; animation-duration: 7s; }
.art-gears i:nth-child(3) { inset: 25%; border: 2px solid currentColor; opacity: .2; animation-duration: 20s; }
@keyframes rot { to { transform: rotate(360deg); } }
.art-nodes { border-radius: 50%; border: 1.5px dashed currentColor; animation: rot 18s linear infinite; }
.art-nodes i { width: 24%; aspect-ratio: 1; border-radius: 30%; background: var(--c1); }
.art-nodes i:nth-child(1) { top: -8%; left: 38%; } .art-nodes i:nth-child(2) { bottom: -8%; left: 38%; border-radius: 50%; }
.art-nodes i:nth-child(3) { left: -8%; top: 38%; border-radius: 50%; } .art-nodes i:nth-child(4) { right: -8%; top: 38%; }
.art-bars { display: flex; align-items: flex-end; gap: 8%; padding: 8%; }
.art-bars i { position: static; flex: 1; border-radius: 8px; background: var(--c1); transform-origin: bottom; animation: bar 2.2s ease-in-out infinite alternate; }
.art-bars i:nth-child(even) { background: var(--c2); }
.art-bars i:nth-child(1){height:40%;animation-delay:-.2s} .art-bars i:nth-child(2){height:75%;animation-delay:-.8s} .art-bars i:nth-child(3){height:55%;animation-delay:-1.4s} .art-bars i:nth-child(4){height:95%;animation-delay:-.5s} .art-bars i:nth-child(5){height:65%;animation-delay:-1.1s}
@keyframes bar { to { transform: scaleY(.4); } }
.art-orb i { inset: 10%; background: var(--c1); animation: rot 6s linear infinite, morph 7s ease-in-out infinite alternate; }
.art-orb::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: var(--c2); animation: morph 5s ease-in-out infinite alternate-reverse; }
@keyframes morph { 0% { border-radius: 50%; } 50% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; } 100% { border-radius: 62% 38% 45% 55% / 55% 62% 38% 45%; } }

/* מצב אנימציה: פאנל פתיחה + מסילה אופקית */
html.motion .services-pin { height: 100vh; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }
html.motion .svc-intro {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  position: absolute; inset: 0; z-index: 3; background: var(--lime); color: var(--bg);
  clip-path: inset(0% 0% 0% 0% round 0px);
}
html.motion .svc-intro h2 { font-size: clamp(5rem, 17vw, 16rem); line-height: .82; }
html.motion .svc-track { display: flex; width: max-content; will-change: transform; }
html.motion .svc { width: min(500px, 82vw); height: min(62vh, 560px); min-height: 0; }

/* ---------- מספרים ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 60px var(--pad) 40px; border-block: 1px solid var(--line); }
.stat { padding: 36px 16px; text-align: center; }
.stat + .stat { border-right: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 9vw, 8rem); line-height: .9; color: var(--lime); }
.stat span { color: var(--muted); }

/* ---------- פרויקטים: מנהרה ---------- */
.projects { position: relative; }
.tunnel { position: relative; padding: 100px var(--pad) 60px; }
.tunnel-head h2 { font-size: clamp(3rem, 7vw, 6rem); }
.tunnel-rings, .tunnel-count { display: none; }
.tunnel-cards { display: grid; gap: 24px; margin-top: 30px; }
.project {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
  padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
}
.mock { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0a0f22; }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); direction: ltr; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.mock-bar i:first-child { background: var(--orange); } .mock-bar i:nth-child(2) { background: #ffc93d; } .mock-bar i:nth-child(3) { background: var(--lime); }
.mock-body {
  aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); font-weight: 600;
  background: repeating-linear-gradient(-45deg, #0c1228 0 14px, #10172f 14px 28px);
}
.tag { display: inline-block; font-size: .85rem; font-weight: 700; padding: .25em .9em; border-radius: 999px; background: var(--lime); color: var(--bg); margin-bottom: 12px; }
.project h3 { margin-bottom: 18px; }
.pss { margin: 0; display: grid; gap: 12px; }
.pss div { padding-right: 14px; border-right: 2px solid var(--line); }
.pss .result, .ba .after { border-right-color: var(--lime); }
.ba .before { border-right-color: var(--orange); }
.ba .before dt { color: var(--orange); } .ba .after dt { color: var(--lime); }
.project-quote { margin: 16px 0 0; font-size: 1.05rem; font-style: italic; }
.project-quote cite { display: block; margin-top: 4px; font-style: normal; color: var(--muted); font-size: .9rem; }
.pss dt { font-family: var(--ui); font-weight: 700; font-size: .9rem; }
.pss dd { margin: 0; color: var(--muted); font-size: 1rem; }

html.tunnel-on .tunnel { height: 100vh; min-height: 640px; overflow: hidden; padding: 0; perspective: 1000px; }
html.tunnel-on .tunnel-head { position: absolute; top: 96px; right: var(--pad); z-index: 2; }
html.tunnel-on .tunnel-head h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
html.tunnel-on .tunnel-count { display: block; position: absolute; bottom: 30px; left: var(--pad); z-index: 2; font-family: var(--display); font-size: 3rem; color: var(--muted); direction: ltr; }
html.tunnel-on .tc-now { color: var(--lime); }
html.tunnel-on .tunnel-rings { display: block; position: absolute; inset: 0; pointer-events: none; }
html.tunnel-on .tunnel-rings i {
  position: absolute; left: 50%; top: 55%; width: 60vmin; height: 40vmin; border: 1px solid rgba(167,109,211,.4); border-radius: 30px;
  transform: translate(-50%, -50%);
}
html.tunnel-on .tunnel-cards { position: absolute; inset: 0; margin: 0; display: block; transform-style: preserve-3d; }
html.tunnel-on .project {
  position: absolute; left: 50%; top: 56%; width: min(980px, 86vw);
  visibility: hidden;
}

/* ---------- מוצרים ---------- */
.products { padding: clamp(100px, 12vw, 160px) var(--pad); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.product {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .2s ease-out, background .4s, color .4s;
}
.product:hover { background: var(--lime); color: var(--bg); }
.product:hover p, .product:hover .fit { color: rgba(11,11,11,.7); }
.product-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,.5), transparent 65%); opacity: 0; transition: opacity .3s;
}
.product:hover .product-glow { opacity: .6; }
.product-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; transform: translateZ(30px); }
.product-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; background: var(--lime); color: var(--bg); transition: background .4s, color .4s; }
.product:hover .product-icon { background: var(--bg); color: var(--lime); }
.product-badge { font-size: .85rem; padding: .25em .9em; border: 1px solid currentColor; border-radius: 999px; opacity: .7; }
.product h3, .product p, .product-foot { position: relative; transform: translateZ(18px); }
.product p { color: var(--muted); transition: color .4s; }
.product .fit { font-size: .95rem; }
.product-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid currentColor; border-color: rgba(128,128,128,.3); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; }
.link-arrow { font-weight: 700; padding: .4em 1em; border-radius: 999px; border: 1px solid currentColor; }

/* ---------- עליי ---------- */
.about { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding: 40px var(--pad) clamp(100px, 12vw, 160px); }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 24px; padding: 30px;
  background: radial-gradient(70% 55% at 50% 40%, rgba(167,109,211,.35), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.about-photo .about-mark { width: 62%; height: auto; filter: drop-shadow(0 20px 50px rgba(111,95,208,.45)); }
.about-mark-text { margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .9; }
.photo-placeholder, .about-photo img {
  width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 700;
}
.about-text > p { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.values { list-style: none; padding: 0; margin: 30px 0 0; display: grid; }
.values li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.values b { font-family: var(--display); color: var(--lime); font-size: 1.8rem; line-height: 1; }
.values strong { font-family: var(--ui); font-size: 1.25rem; display: block; }
.values span { color: var(--muted); }

/* ---------- יצירת קשר ---------- */
.contact { padding: clamp(80px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line); overflow: hidden; }
.contact-big { font-size: clamp(6rem, 24vw, 22rem); line-height: .8; color: var(--lime); text-align: center; margin-bottom: .25em; transform-origin: 50% 60%; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-lead { font-size: 1.3rem; max-width: 26em; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form { display: grid; gap: 24px; }
.form label { display: grid; gap: 4px; }
.form label span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.form input, .form textarea {
  font: inherit; font-size: 1.15rem; color: var(--text); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line); padding: .5em 0; resize: vertical; transition: border-color .3s;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--lime); }
.form textarea::placeholder { color: #5b6283; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: .6; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; }
.form .consent input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--lime); }
.form .consent span { font-weight: 400; line-height: 1.5; }
.form .consent a, .form-status a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 0; min-height: 1.5em; color: var(--muted); }
.form-status.ok { color: var(--lime); font-weight: 700; }
.form-status.err { color: var(--orange); }
[hidden] { display: none !important; }
.footer-links a:hover { color: var(--lime); }

/* ---------- פוטר ---------- */
.footer { padding: 0 var(--pad) 28px; overflow: hidden; }
.footer-big { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 19vw, 19rem); line-height: .8; text-align: center; white-space: nowrap; color: var(--bg-2); direction: ltr; -webkit-text-stroke: 1px rgba(167,109,211,.35); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .95rem; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-row a:hover { color: var(--lime); }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .contact-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .project { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav, .topbar .pill-btn { display: none; }
  .menu-toggle { display: block; }
  .topbar { top: 10px; padding-inline-start: 18px; }
  .hero-stage { padding-bottom: 230px; }
  .hero-bottom { bottom: 24px; }
  .hero-bottom p br { display: none; }
  .scroll-cue { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  html.motion .svc { height: min(70vh, 520px); }
  .svc-art { width: 90px; }
  .svc-num { font-size: 4.5rem; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- מותג ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark .hand-h, .brand-mark .hand-m { transform-origin: 50px 50px; }
.wordmark {
  font-family: "Poppins", var(--ui); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em;
  direction: ltr; line-height: 1;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 60px 0 10px; }
.footer-mark { width: 84px; height: 84px; }
.footer-wordmark { font-size: 2.4rem; }
.footer-tagline { font-family: var(--ui); font-weight: 700; margin-top: 6px; color: var(--text); }
.footer-big { font-size: clamp(3.4rem, 11vw, 11rem); direction: rtl; }

/* ---------- סיפור: כמה שווה הזמן ---------- */
.story { padding: 120px var(--pad); }
.story-stage { display: grid; gap: 80px; max-width: 1100px; margin: 0 auto; }
.story-scene { text-align: center; }
.story-kicker { font-family: var(--ui); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.2; color: var(--text); max-width: 22em; margin: 0 auto .5em; display: grid; }
.story-kicker .k2 { color: var(--text); font-weight: 700; }
.story-kicker .w { display: inline-block; }
.s1 { position: relative; }
html.motion .s1::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: calc(var(--glow, 0) * var(--glow-k, 1));
  background: radial-gradient(55% 45% at 50% 45%, rgba(198,255,61,.18), transparent 70%);
}
.story-counter { display: grid; justify-items: center; font-family: var(--display); font-weight: 700; line-height: .9; margin-bottom: .35em; }
.story-counter .money { direction: ltr; color: var(--lime); font-size: clamp(3rem, 9vw, 8rem); }
.story-counter .age { color: var(--orange); font-family: var(--ui); font-weight: 800; letter-spacing: -.02em; font-size: clamp(2.8rem, 8.5vw, 7rem); line-height: 1; white-space: nowrap; }
.story-counter .money-in { display: inline-block; }
.story-counter b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.story-list { list-style: none; padding: 0; margin: 0 auto; display: inline-grid; gap: 12px; text-align: right; }
.story-list li { font-family: var(--ui); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 2.1rem); display: flex; align-items: center; gap: 16px; }
.story-list i { font-style: normal; width: 1.5em; height: 1.5em; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75em; flex: none; }
.story-list .yes { background: var(--lime); color: var(--bg); }
.story-list .no { display: none; background: var(--orange); color: #fff; }
.story-list .t { background: linear-gradient(var(--orange), var(--orange)) no-repeat right 55% / 0% 4px; }
.story-q { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 6.5vw, 6rem); line-height: .9; margin: .35em 0 0; color: var(--lime); }
.story-mid { font-family: var(--ui); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--muted); }
.story-big2 { font-family: var(--display); font-weight: 700; font-size: clamp(3.6rem, 10vw, 9rem); line-height: .9; margin: .2em 0 0; }
/* המהות */
.s3 { position: relative; }
.ess-a { font-family: var(--ui); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.8rem); color: var(--muted); margin: 0 0 .4em; }
.ess-b { font-family: var(--display); font-weight: 700; font-size: clamp(3.6rem, 10.5vw, 10.5rem); line-height: .88; margin: 0; }
.ess-b .w { display: inline-block; }

html.motion .story { padding: 0; }
html.motion .story-stage { position: relative; height: 100vh; min-height: 560px; max-width: none; display: block; overflow: hidden; }
html.motion .story-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 90px var(--pad) 40px; }
html.motion .story-kicker > *, html.motion .story-counter > * { grid-area: 1 / 1; }
html.motion .story-kicker .k2, html.motion .story-counter .age { opacity: 0; }
html.motion .story-counter { align-items: center; }
html.motion .story-list .no { display: inline-grid; position: absolute; opacity: 0; }
html.motion .story-list i { position: relative; }
html.motion .story-list li { position: relative; }
html.motion .s3::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 55%, rgba(198,255,61,.14), transparent 70%);
}

/* ---------- הדגמה: ידני מול ממוחשב ---------- */
.demo { padding: 100px var(--pad); }
.demo-stage { max-width: 1100px; margin: 0 auto; }
.demo-head h2 { font-size: clamp(2.8rem, 6.5vw, 5.6rem); }
.manual-word { color: var(--orange); }
.demo-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 34px; }
.dc { padding: 18px 22px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.dc span { display: block; color: var(--muted); font-weight: 600; }
.dc strong { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.4rem); line-height: .9; direction: ltr; display: inline-block; color: var(--orange); }
.dc-saved strong { color: var(--lime); }
.dc em { font-style: normal; display: block; color: var(--text); font-weight: 700; min-height: 1.5em; }
.demo-rows { display: grid; gap: 12px; }
.drow { display: grid; grid-template-columns: minmax(150px, 1.1fr) 3fr minmax(120px, auto); gap: 18px; align-items: center; }
.drow-name { font-family: var(--ui); font-weight: 700; }
.drow-track { height: 18px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.drow-bar { height: 100%; width: var(--w, 100%); border-radius: inherit; background: var(--orange); transform-origin: right; }
.drow.done .drow-bar { background: var(--lime); }
.drow-time { font-family: var(--ui); font-weight: 700; white-space: nowrap; color: var(--orange); }
.drow.done .drow-time { color: var(--lime); }
.demo-note { margin-top: 26px; }

html.demo-pin .demo { padding: 0; }
html.demo-pin .demo-stage { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) 30px; max-width: 1240px; }

/* ---------- סיפורי הצלחה (בלי צילומי מסך) ---------- */
.project-metric {
  aspect-ratio: 16 / 11; border-radius: 18px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 20px; background: var(--brand); color: #fff;
}
.project-metric strong { font-family: var(--ui); font-weight: 800; letter-spacing: -.03em; font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: .95; direction: ltr; }
.project-metric span { font-family: var(--ui); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 13em; line-height: 1.25; }

/* ---------- לוגואים של לקוחות ---------- */
.clients { padding: 80px 0 40px; text-align: center; overflow: hidden; }
.logo-marquee {
  overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track { display: flex; gap: 18px; width: max-content; animation: logos 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-50%); } }
.client {
  flex: none; width: 200px; height: 104px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2);
  display: grid; place-items: center; padding: 18px; transition: border-color .3s, background .3s;
}
.client img { max-width: 100%; max-height: 64px; object-fit: contain; transition: transform .3s; }
.client:hover { border-color: var(--violet); }
.client:hover img { transform: scale(1.06); }
.client-name { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--muted); direction: rtl; }

@media (max-width: 760px) {
  .demo-counters { grid-template-columns: 1fr 1fr; }
  .dc { padding: 14px; }
  .drow { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .drow-track { grid-column: 1 / -1; grid-row: 2; }
  .footer-brand { flex-direction: column; text-align: center; }
  .client { width: 150px; height: 84px; }
}
.drow-how { font-family: "Assistant", sans-serif; font-weight: 400; opacity: 0; max-height: 0; transition: opacity .35s, max-height .35s; }
.drow.done .drow-how { opacity: 1; max-height: 3em; color: var(--lime); }
/* במסך נעוץ הכול צריך להיכנס לגובה אחד */
html.demo-pin .demo-stage { padding-top: 84px; padding-bottom: 16px; }
html.demo-pin .demo-head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: .2em; }
html.demo-pin .demo-counters { margin: 4px 0 18px; }
html.demo-pin .dc { padding: 12px 20px; }
html.demo-pin .dc strong { font-size: clamp(2.6rem, 5vw, 4rem); }
html.demo-pin .demo-rows { gap: 8px; }
html.demo-pin .demo-note { margin-top: 14px; }

/* ---------- לוגו מונפש ---------- */
.brand-mark .gear { transform-origin: 50px 50px; animation: gearSpin 14s linear infinite; }
.brand-mark:hover .gear { animation-duration: 2.5s; }
.brand-mark .dot { transform-origin: 50px 50px; animation: dotPulse 2s ease-in-out infinite; }
@keyframes gearSpin { to { transform: rotate(360deg); } }
@keyframes dotPulse { 50% { transform: scale(1.5); } }
.brand .wordmark { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
