/* ============================================================
   נועם מימוני · סדנאות קלוד Cowork לעסקים
   Apple-inspired design language · Mobile-first · RTL
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #1d1d1f;
  --text: #1d1d1f;
  --text-inverse: #f5f5f7;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --grad-a: #2563eb;
  --grad-b: #7c3aed;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --radius-sm: 14px;
  --nav-h: 52px;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 20px 50px rgba(0, 0, 0, 0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 22px;
}

.narrow { max-width: 720px; }

/* ---------- Typography ---------- */

h1, h2, h3 { margin: 0; letter-spacing: -0.015em; line-height: 1.12; font-weight: 700; }

.display {
  font-size: clamp(2.5rem, 9vw, 4.6rem);
  font-weight: 800;
  line-height: 1.06;
}

h2.section-title {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  font-weight: 800;
}

.section-sub {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--muted);
  margin: 18px 0 0;
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.grad-text {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
  /* iOS Safari: מכריח שכבת קומפוזיציה נפרדת — מונע "הידבקות" של התפריט באמצע העמוד בגלילה */
  transform: translateZ(0);
}

.nav.scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.85); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 22px;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  overflow: visible;
}

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.25s;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); text-decoration: none; transform: scale(1.03); }

/* ---------- Mobile menu (hamburger) ---------- */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.25s;
}

.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  display: grid;
  padding: 6px 22px 12px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}

.nav.menu-open .mobile-menu {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mobile-menu a {
  padding: 13px 2px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.25s, box-shadow 0.3s var(--ease);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.45);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover { text-decoration: none; transform: translateX(-4px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(60px, 14vw, 130px)) 0 clamp(70px, 12vw, 130px);
  text-align: center;
  overflow: hidden;
}

/* ---------- Scroll-driven background orbs ---------- */

.scroll-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform, opacity, filter;
}
.orb-1 { width: 460px; height: 460px; background: #a5c9ff; top: -40px; inset-inline-start: -60px; }
.orb-2 { width: 400px; height: 400px; background: #d8c6ff; top: 25%; inset-inline-end: -60px; }
.orb-3 { width: 340px; height: 340px; background: #bfe3ff; bottom: -40px; inset-inline-start: 35%; }

main { position: relative; z-index: 1; }

.hero .container { position: relative; }

.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--muted);
  max-width: 640px;
  margin: 24px auto 0;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-trust {
  margin-top: 34px;
  font-size: 0.92rem;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust .dot { color: #34c759; font-size: 1.1rem; line-height: 1; }

/* ---------- Sections ---------- */

.section { padding: clamp(70px, 12vw, 130px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-inverse); }
.section-head { text-align: center; max-width: 760px; margin-inline: auto; }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(36px, 6vw, 56px);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.section:not(.section-alt) .card { background: var(--bg-alt); box-shadow: none; }

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  margin-bottom: 18px;
}

.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Workshop Timeline ---------- */

.workshop-timeline {
  position: relative;
  margin: clamp(36px, 6vw, 56px) auto 0;
  max-width: 640px;
  padding-inline-start: 48px;
}

.tl-track {
  position: absolute;
  inset-inline-start: 13px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--grad-a), var(--grad-b) 65%, rgba(124, 58, 237, 0.15));
  border-radius: 3px;
}

.tl-group-label {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grad-a);
  margin-bottom: 24px;
  padding-inline-start: 8px;
}
.tl-group-result {
  margin-top: 40px;
  color: var(--grad-b);
}

.tl-item {
  position: relative;
  margin-bottom: 14px;
  cursor: pointer;
}

.tl-dot {
  position: absolute;
  inset-inline-start: -43px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--grad-a);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  z-index: 1;
}

.tl-item:hover .tl-dot,
.tl-item.tl-active .tl-dot {
  border-color: var(--grad-a);
  background: var(--grad-a);
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15), 0 0 18px rgba(37, 99, 235, 0.25);
}

.tl-dot-result {
  border-color: var(--grad-b);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}
.tl-item.tl-result:hover .tl-dot,
.tl-item.tl-result.tl-active .tl-dot {
  border-color: var(--grad-b);
  background: var(--grad-b);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.15), 0 0 18px rgba(124, 58, 237, 0.25);
}

.tl-content {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.35s var(--ease);
}
.tl-item:hover .tl-content,
.tl-item.tl-active .tl-content {
  background: rgba(37, 99, 235, 0.04);
}

.tl-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

/* ברירת מחדל: התיאור גלוי תמיד (progressive enhancement —
   גם אם JS לא רץ, התוכן לעולם לא נעלם) */
.tl-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* קיפול אינטראקטיבי — רק כשה-JS פעיל (html.js) */
.js .tl-desc {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}

.tl-item:hover .tl-desc,
.tl-item.tl-active .tl-desc {
  max-height: 140px;
  opacity: 1;
  margin-top: 8px;
}

/* ---------- Value strip (workshop highlights) ---------- */

.value-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 24px;
  margin-top: 22px;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.vs-sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  flex-shrink: 0;
}

/* ---------- Testimonials carousel ----------
   קרוסלה אינסופית בשליטת המשתמש — בלי אוטו-פליי.
   מובייל: כרטיס אחד · טאבלט: 2 · דסקטופ: 3 */

.testimonials { margin-top: clamp(44px, 8vw, 72px); }

.tst-viewport { overflow: hidden; }

.tst-track {
  display: flex;
  align-items: stretch;
  will-change: transform;
}

.tst-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-inline: 9px;
  display: flex;
}

.tst-card {
  margin: 0;
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tst-card blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}

.tst-card figcaption { font-style: italic; }
.tst-name { display: block; font-weight: 700; font-size: 0.98rem; }
.tst-biz { display: block; color: var(--muted); font-size: 0.9rem; }

.tst-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.tst-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tst-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.tst-btn:active { transform: scale(0.94); }
.tst-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Scroll progress line ---------- */

.scroll-progress {
  position: fixed;
  inset-inline-end: 0;
  top: var(--nav-h);
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, var(--grad-a), var(--grad-b));
  z-index: 99;
  border-radius: 0 0 4px 4px;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4), 0 0 4px rgba(124, 58, 237, 0.3);
}

/* Orb morphing driven by JS requestAnimationFrame */

/* ---------- Butterflai — פרפר מלווה גלילה ----------
   ממוקם ב-fixed ומוזז ב-transform בלבד (קומפוזיטור, בלי layout).
   pointer-events:none — לעולם לא חוסם קריאה או הקלקה. */

.bfly {
  position: fixed;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  will-change: transform;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.25));
}
.bfly.on { opacity: 1; }

.bfly svg { width: 100%; height: 100%; overflow: visible; display: block; }

.bfly .wing {
  transform-box: fill-box;
  animation: bfly-idle 3.4s ease-in-out infinite;
}
.bfly .wing-far { transform-origin: right center; }
.bfly .wing-near { transform-origin: left center; }

.bfly.flying .wing { animation: bfly-flap 0.22s ease-in-out infinite; }

@keyframes bfly-flap {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.3); }
}
@keyframes bfly-idle {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.93); }
}

@media (max-width: 767px) {
  .bfly { width: 32px; height: 32px; }
}

/* ---------- Video placeholder ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(18px, 4vw, 32px);
  background: radial-gradient(120% 160% at 50% 0%, #3a3a3f 0%, #131316 60%);
  margin-top: clamp(36px, 6vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #d5d5da;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.play-btn svg { width: 26px; height: 26px; fill: #fff; transform: translateX(-2px); }

.video-frame .label { font-size: 0.95rem; letter-spacing: 0.04em; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(36px, 6vw, 56px);
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.step .num {
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: clamp(36px, 6vw, 56px);
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-inline: auto;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 18px 44px rgba(80, 70, 230, 0.35);
}

.about-text { text-align: center; }
.about-text h3 { font-size: 1.4rem; margin-bottom: 12px; }
.about-text p { color: var(--muted); margin: 0 0 14px; }
.about-text .cred { font-weight: 600; color: var(--text); }

/* ---------- Guarantee (dark) ---------- */

.guarantee { text-align: center; }
.guarantee h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 800;
  max-width: 720px;
  margin-inline: auto;
}
.guarantee p { color: var(--muted-2); font-size: clamp(1rem, 2.6vw, 1.25rem); margin: 18px auto 0; max-width: 560px; }
.guarantee .shield { font-size: 2.6rem; display: block; margin-bottom: 18px; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: clamp(32px, 5vw, 48px); display: grid; gap: 12px; }

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary .plus { transform: rotate(45deg); }

.faq-item .answer { padding: 0 22px 20px; color: var(--muted); font-size: 0.97rem; }
.faq-item .answer p { margin: 0; }

/* ---------- Form ---------- */

.form-wrap {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 44px);
  box-shadow: var(--shadow-lift);
  margin-top: clamp(36px, 6vw, 56px);
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-inline-end: 16px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}
.consent input { margin-top: 4px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }

.privacy-note { font-size: 0.8rem; color: var(--muted-2); margin: 0; }

.form-submit { text-align: center; margin-top: 6px; }
.form-submit .btn { width: 100%; }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-alt);
  padding: 48px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner { display: grid; gap: 18px; text-align: center; }
.footer .footer-brand { font-weight: 800; color: var(--text); font-size: 1.05rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer .contact-line { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.footer .legal { font-size: 0.8rem; color: var(--muted-2); }

/* ---------- Blog ---------- */

.blog-hero { padding: calc(var(--nav-h) + clamp(50px, 10vw, 100px)) 0 clamp(40px, 7vw, 70px); text-align: center; }

.post-cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin: clamp(30px, 5vw, 50px) 0 clamp(60px, 10vw, 100px); }

.post-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); text-decoration: none; }
.post-card .tag { font-size: 0.78rem; font-weight: 600; color: var(--accent); }
.post-card h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.post-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.post-card .read-more { font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.post-card.soon { opacity: 0.55; pointer-events: none; }

/* ---------- Article ---------- */

.article {
  padding: calc(var(--nav-h) + clamp(50px, 9vw, 90px)) 0 clamp(60px, 10vw, 110px);
}

.article-header { text-align: center; margin-bottom: clamp(36px, 6vw, 60px); }
.article-header h1 { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 800; max-width: 820px; margin-inline: auto; }
.article-meta { color: var(--muted-2); font-size: 0.88rem; margin-top: 16px; }

.article-body { max-width: 720px; margin-inline: auto; font-size: 1.06rem; }
.article-body h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin: 44px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { padding-inline-start: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; }
.article-body .callout {
  background: var(--bg-alt);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 26px 0;
  font-size: 0.98rem;
}

.article-cta {
  margin-top: clamp(44px, 7vw, 70px);
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  padding: clamp(30px, 6vw, 50px) 26px;
}
.article-cta h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); margin: 0 0 10px; }
.article-cta p { color: rgba(255, 255, 255, 0.85); margin: 0 0 22px; }
.article-cta .btn { background: #fff; color: var(--grad-a); box-shadow: none; }

/* ---------- Reveal animations ----------
   מוסתר רק כשה-JS פעיל (html.js) — בלי JS הכל גלוי מיד */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
  /* רשת ביטחון: אם ה-JS מתעכב ברשת איטית — התוכן נחשף לבד אחרי 1.8 שניות */
  animation: reveal-fallback 0.8s var(--ease) 1.8s forwards;
}
.reveal.in { opacity: 1; transform: none; }
.js .reveal.in { animation: none; }

@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

/* ---------- Thanks page ---------- */

.thanks-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-h);
}

/* ---------- Tablet ≥ 768px ---------- */

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tst-slide { flex-basis: 50%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .workshop-timeline { max-width: 680px; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
  .form-submit .btn { width: auto; min-width: 280px; }
  .about-grid { grid-template-columns: 220px 1fr; text-align: start; }
  .about-text { text-align: start; }
  .avatar { margin-inline: 0; }
  .post-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; text-align: start; align-items: center; }
  .footer .contact-line { justify-content: flex-end; }
  .footer .legal { grid-column: 1 / -1; }
}

/* ---------- Desktop ≥ 1080px ---------- */

@media (min-width: 1080px) {
  .cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .tst-slide { flex-basis: 33.3333%; }
  body { font-size: 18px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .card, .post-card, .btn, .orb { transition: none !important; }
  .scroll-orbs { display: none; }
  .scroll-progress { display: none; }
  .bfly { display: none; }
  .js .tl-desc { max-height: none; opacity: 1; margin-top: 8px; }
}
