:root {
  --black: #141414;
  --panel: #171A18;
  --chip: #1B1F1C;
  --line: #2E3430;
  --faint: #1F2421;
  --text: #E9ECEA;
  --mist: #9AA19C;
  --green: #22C55E;
  --green-ink: #0F1A13;
  --orange: #E5532B;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: 'Rubik', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
a:hover { color: #4ADE80; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--green); color: var(--green-ink); padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

/* קווי רקע */
.bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page { position: relative; overflow: hidden; }

/* כותרת עליונה */
.top { position: relative; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 24px; }
.logo { direction: ltr; text-decoration: none; color: var(--text); font-family: 'Syne', sans-serif; line-height: .9; }
.logo:hover { color: var(--text); }
.logo small { display: block; font-weight: 500; font-size: 13px; }
.logo b { display: block; font-weight: 800; font-size: 30px; letter-spacing: -.04em; }
.dot { color: var(--orange); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 15px; }
.nav a { color: var(--mist); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .wa-small { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--green); color: var(--green); font-weight: 500; }
.nav .wa-small:hover { background: var(--green); color: var(--green-ink); }

/* כפתורים */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: var(--radius); font-size: 18px; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.btn svg { width: 20px; height: 20px; }
.btn-main { background: var(--green); color: var(--green-ink); font-weight: 700; box-shadow: 0 0 0 6px rgba(34,197,94,.12); }
.btn-main:hover { background: #4ADE80; color: var(--green-ink); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--mist); color: var(--text); }

/* ראש הדף */
.hero { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px 120px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.04; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 20px; line-height: 1.65; color: var(--mist); max-width: 30em; }
.hero-art { flex: 1 1 440px; min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; }
.trace { stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 1.4s cubic-bezier(.6,0,.2,1) forwards; }
.t2 { animation-delay: .9s; } .t3 { animation-delay: 1.05s; } .t4 { animation-delay: 1.2s; }
.node { opacity: 0; animation: lit .5s ease-out forwards; }
.n2 { animation-delay: 1.9s; } .n3 { animation-delay: 2.05s; } .n4 { animation-delay: 2.2s; }
.pulse { opacity: 0; animation: run 3.6s linear infinite; }
.p1 { offset-path: path('M600 260 H380'); animation-delay: 2.4s; }
.p2 { offset-path: path('M220 230 H170 L120 180 V110 H78'); animation-delay: 2.9s; }
.p3 { offset-path: path('M220 260 H78'); animation-delay: 3.3s; }
.p4 { offset-path: path('M220 290 H170 L120 340 V410 H78'); animation-delay: 3.7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lit { to { opacity: 1; } }
@keyframes run { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* מקטעים */
.section { position: relative; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.section h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 34em; }
.section-head p { color: var(--mist); font-size: 18px; }
.muted { color: var(--mist); }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: 28px; overflow: hidden; }
.service { background: var(--panel); padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.service h3 { font-size: 26px; }
.service p { color: var(--mist); line-height: 1.65; }

.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.work { background: rgba(233,236,234,.05); border: 1px solid rgba(233,236,234,.12); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 16px; }
.work-shot { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.work-info { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.work-info div { display: flex; gap: 8px; align-items: center; }
.work-info h3 { font-size: 19px; }
.tag { border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 1px 10px; font-size: 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { border-top: 2px solid var(--green); padding: 28px 0 32px 32px; display: flex; flex-direction: column; gap: 10px; }
.steps span { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 40px; line-height: 1; color: var(--green); }
.steps h3 { font-size: 22px; }

.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 48px 40px; }
.about-mark { flex: 0 0 auto; width: 140px; height: 140px; border-radius: 32px; background: var(--chip); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; direction: ltr; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 44px; letter-spacing: -.04em; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about-text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.about-text p { color: var(--mist); font-size: 18px; max-width: 36em; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 20px; font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: 0 0 auto; width: 12px; height: 12px; border-inline-start: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--mist); padding-bottom: 24px; max-width: 40em; }

.cta { position: relative; overflow: hidden; border-radius: 32px; background: rgba(233,236,234,.06); border: 1px solid rgba(233,236,234,.14); padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.cta-text { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.15; }
.cta-title span { color: var(--orange); }
.cta img { position: relative; width: 100%; max-width: 380px; height: auto; border-radius: 18px; transform: rotate(-5deg); box-shadow: 0 30px 60px rgba(0,0,0,.45); }

.foot { position: relative; border-top: 1px solid #232825; }
.foot .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; color: #8A918C; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: #8A918C; }
.foot a:hover { color: var(--text); }

/* דפי טקסט (נגישות, פרטיות) */
.doc { max-width: 760px; padding-block: 48px 96px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin-top: 20px; }
.doc p, .doc li { color: #C4CAC6; }
.doc ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 640px) {
  .nav a:not(.wa-small) { display: none; }
  .hero { padding-block: 40px 80px; }
  .service { padding: 32px 24px; min-height: 0; }
  .about, .cta { padding: 40px 24px; }
  .steps li { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trace { animation: none; stroke-dashoffset: 0; }
  .node { animation: none; opacity: 1; }
  .pulse { display: none; }
  .btn, .faq summary::after { transition: none; }
}
