/* ============================================================
   עכשיו, אני! · קהילת הנשים הפצועות של ארגון נכי צה"ל
   פלטה מתוך הלוגו: נייבי, תכלת, חול
   ============================================================ */

@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #1C2B4D;
  --navy-deep: #131F3A;
  --teal: #63AEBB;
  --teal-ink: #2A7280;
  --sand: #E5A45C;
  --sand-ink: #9C6117;
  --sky: #C9E2EE;
  --cream: #FAF7F1;
  --white: #FFFFFF;
  --ink: #1C2B4D;
  --ink-soft: #47536E;
  --line: rgba(28, 43, 77, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 40px rgba(28, 43, 77, 0.10);
  --shadow-soft: 0 4px 18px rgba(28, 43, 77, 0.07);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
}

body {
  font-family: "Heebo", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; font-weight: 600; }

a { color: var(--teal-ink); }

.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- Header: שקוף מעל ההירו, קפסולה צפה בגלילה ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    border-radius 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    height 0.35s var(--ease),
    margin 0.35s var(--ease),
    max-width 0.35s var(--ease),
    padding 0.35s var(--ease);
}

.site-header.scrolled .header-inner {
  max-width: min(980px, calc(100% - 28px));
  height: 58px;
  margin-top: 12px;
  padding: 0 12px;
  background: rgba(250, 247, 241, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-color: var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(19, 31, 58, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-height: 44px;
}
.brand-logo {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
  transition: box-shadow 0.35s;
}
.site-header.scrolled .brand-logo { box-shadow: 0 0 0 2px rgba(28, 43, 77, 0.1); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(19, 31, 58, 0.4);
  transition: color 0.25s, background 0.25s;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.main-nav a[aria-current="true"] { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.site-header.scrolled .main-nav a { color: var(--ink-soft); text-shadow: none; }
.site-header.scrolled .main-nav a:hover { color: var(--navy); background: rgba(28, 43, 77, 0.06); }
.site-header.scrolled .main-nav a[aria-current="true"] { color: var(--navy); background: rgba(28, 43, 77, 0.08); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.header-cta {
  margin-inline-start: auto;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(19, 31, 58, 0.25);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(19, 31, 58, 0.32); }
.site-header.scrolled .header-cta {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(19, 31, 58, 0.22);
}
.site-header.scrolled .header-cta:hover { background: var(--navy-deep); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.scrolled .menu-toggle:hover { background: rgba(28, 43, 77, 0.06); }
.menu-bar {
  display: block;
  height: 2.4px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(19, 31, 58, 0.3);
  transition: transform 0.3s var(--ease), background 0.35s, opacity 0.3s;
}
.site-header.scrolled .menu-bar { background: var(--navy); box-shadow: none; }
.menu-toggle[aria-expanded="true"] .menu-bar:first-child { transform: translateY(4.2px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:last-child { transform: translateY(-4.2px) rotate(-45deg); }

.mobile-menu {
  display: none;
  margin: 10px 14px 0;
  background: rgba(250, 247, 241, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(19, 31, 58, 0.2);
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
}
.mobile-menu ul { list-style: none; padding: 12px 18px 18px; }
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 12px;
}
.mobile-menu a:hover { background: rgba(28, 43, 77, 0.06); }
.mobile-menu .nav-cta {
  justify-content: center;
  margin-top: 10px;
  background: var(--navy);
  color: var(--white);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(28, 43, 77, 0.25);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(28, 43, 77, 0.3); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(28, 43, 77, 0.25);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(28, 43, 77, 0.04); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }

.btn-wide { width: 100%; }

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

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  animation: hero-zoom 24s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(19, 31, 58, 0.94) 0%, rgba(19, 31, 58, 0.62) 34%, rgba(19, 31, 58, 0.34) 64%, rgba(19, 31, 58, 0.4) 100%),
    linear-gradient(250deg, rgba(19, 31, 58, 0.78) 0%, rgba(19, 31, 58, 0.28) 48%, rgba(19, 31, 58, 0) 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(130px, 16vw, 180px) 24px clamp(130px, 15vw, 175px);
}

.hero-text { max-width: 700px; }

.eyebrow {
  display: inline-block;
  background: rgba(19, 31, 58, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3.4rem, 2.1rem + 6.5vw, 7rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 10px rgba(19, 31, 58, 0.5), 0 6px 40px rgba(19, 31, 58, 0.55);
}
.hero h1 em {
  font-style: normal;
  color: var(--sand);
  text-shadow: 0 2px 8px rgba(19, 31, 58, 0.6), 0 6px 40px rgba(19, 31, 58, 0.6);
}

.hero-sub {
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 38ch;
  margin-bottom: 34px;
  text-shadow: 0 1px 6px rgba(19, 31, 58, 0.55), 0 2px 18px rgba(19, 31, 58, 0.45);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }

.btn-hero-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38); }

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.75); transform: translateY(-2px); }

.hero-note {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
}

.dunes {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.dunes svg { width: 100%; height: clamp(60px, 9vw, 120px); display: block; }

/* ---------- Stats ---------- */

.stats { background: var(--navy); color: var(--white); }
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat { display: grid; gap: 4px; }
.stat-num {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 800;
  color: var(--sand);
  line-height: 1.15;
}
.stat-label { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; }

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

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--white); }
.program {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.program::after {
  content: "";
  position: absolute;
  bottom: -140px;
  inset-inline-start: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 164, 92, 0.16) 0%, transparent 68%);
  pointer-events: none;
}
.program .section-inner { position: relative; z-index: 1; }

::selection { background: var(--sand); color: var(--navy-deep); }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sand-ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--sand);
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.story-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
.story-photo img { width: 100%; height: auto; }
.story-photo figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(0deg, rgba(19, 31, 58, 0.78) 0%, transparent 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 1.02rem;
}

.story-text p { margin-bottom: 1em; color: var(--ink-soft); max-width: 58ch; }
.story-text p:last-child { margin-bottom: 0; }

/* ---------- Program: חפיסת כרטיסים נגללת ---------- */

.track-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
}
.track-head h2 { margin-bottom: 0; }

.program-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 26px max(24px, calc((100vw - 1180px) / 2 + 24px)) 28px;
  scrollbar-width: none;
  cursor: grab;
}
.program-track::-webkit-scrollbar { display: none; }
.program-track:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: -3px; }
.program-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.program-track.dragging .pcard { pointer-events: none; }

.pcard {
  position: relative;
  flex: 0 0 auto;
  width: min(80vw, 350px);
  scroll-snap-align: center;
  border-radius: 26px;
  padding: 24px 26px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.pcard-num {
  position: absolute;
  top: 18px;
  inset-inline-end: 22px;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  direction: ltr;
  color: transparent;
  -webkit-text-stroke: 2px rgba(28, 43, 77, 0.18);
}

.pcard-art { margin: 30px 0 18px; }
.pcard-art svg { width: 100%; height: 132px; display: block; }

.pcard h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pcard p { font-size: 1.02rem; }

.pcard-navy { background: linear-gradient(150deg, var(--navy) 0%, #24365E 100%); }
.pcard-navy h3 { color: var(--white); }
.pcard-navy p { color: rgba(255, 255, 255, 0.82); }
.pcard-navy .pcard-num { -webkit-text-stroke-color: rgba(229, 164, 92, 0.5); }

.pcard-cream { background: var(--cream); border: 1px solid var(--line); }
.pcard-cream h3 { color: var(--navy); }
.pcard-cream p { color: var(--ink-soft); }

.pcard-sky { background: #E4F0F7; }
.pcard-sky h3 { color: var(--navy); }
.pcard-sky p { color: var(--ink-soft); }
.pcard-sky .pcard-num { -webkit-text-stroke-color: rgba(42, 114, 128, 0.3); }

.pcard-sand { background: #FBEBD5; }
.pcard-sand h3 { color: var(--navy); }
.pcard-sand p { color: var(--ink-soft); }
.pcard-sand .pcard-num { -webkit-text-stroke-color: rgba(156, 97, 23, 0.32); }

.track-progress {
  height: 4px;
  max-width: 300px;
  background: rgba(28, 43, 77, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.track-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sand);
  border-radius: 999px;
  transform-origin: 100% 50%;
  transform: scaleX(0.15);
  transition: transform 0.15s linear;
}

/* ---------- Plus callout ---------- */

.plus-callout {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, #FDF3E4 0%, #FAE7CC 100%);
  border: 1px solid rgba(156, 97, 23, 0.18);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.plus-badge {
  flex-shrink: 0;
  background: var(--sand);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
}
.plus-callout h3 { color: var(--navy); margin-bottom: 4px; font-size: 1.35rem; }
.plus-callout p { color: var(--ink-soft); max-width: 52ch; }
.plus-callout .btn { flex-shrink: 0; margin-inline-start: auto; }

/* ---------- Gallery ---------- */

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.gallery-head h2 { margin-bottom: 0; }

.gallery-nav { display: flex; gap: 10px; }
.gal-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}
.gal-btn svg { width: 22px; height: 22px; }
.gal-btn:hover { border-color: var(--navy); transform: translateY(-2px); }
.gal-btn:disabled { opacity: 0.35; cursor: default; transform: none; border-color: var(--line); }

.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px max(24px, calc((100vw - 1180px) / 2 + 24px)) 26px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track { cursor: grab; }
.gallery-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-track.dragging .shot { pointer-events: none; }
.gallery-track:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: -3px; }

.shot {
  position: relative;
  flex: 0 0 auto;
  width: min(78vw, 340px);
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--navy);
}

.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.shot:hover img { transform: scale(1.04); }

.shot figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 56px 18px 14px;
  background: linear-gradient(0deg, rgba(19, 31, 58, 0.92) 0%, rgba(19, 31, 58, 0.4) 70%, transparent 100%);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
}

/* ---------- Trust ---------- */

.trust { border-top: 1px solid var(--line); }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.trust-item {
  border-inline-start: 3px solid var(--sand);
  padding-inline-start: 18px;
}
.trust-item h3 { color: var(--navy); margin-bottom: 6px; }
.trust-item p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Register ---------- */

.register {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.register::before {
  content: "";
  position: absolute;
  top: -100px;
  inset-inline-end: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 174, 187, 0.18) 0%, transparent 68%);
  pointer-events: none;
}
.register .section-inner { position: relative; z-index: 1; }

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.register-text p { color: var(--ink-soft); margin-bottom: 1em; max-width: 48ch; }

.mail-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--teal-ink);
  text-decoration: none;
  border-bottom: 2px solid rgba(42, 114, 128, 0.3);
  transition: border-color 0.2s;
}
.mail-link:hover { border-color: var(--teal-ink); }

.family-note {
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  max-width: 46ch;
}
.family-note h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.1rem; }
.family-note p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0; }

.register-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
}

.seg-field { border: none; }
.seg-field legend {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.seg-option { position: relative; }
.seg-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.seg-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s, box-shadow 0.25s;
}
.seg-option input:checked + span {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(28, 43, 77, 0.25);
}
.seg-option input:focus-visible + span {
  outline: 2px solid var(--white);
  outline-offset: 0;
  box-shadow: 0 0 0 5px var(--teal-ink);
}

.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-height: 50px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-ink);
  background: var(--white);
}
.field input.invalid { border-color: #C0392B; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-error {
  color: #A93226;
  font-weight: 600;
  font-size: 0.98rem;
}

.form-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Support: קומפוזיציה א-סימטרית ---------- */

.support {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1E3055 55%, #2A4070 100%);
  color: var(--white);
  overflow: hidden;
}

.support-word {
  position: absolute;
  inset-inline-start: -3%;
  bottom: -0.22em;
  font-size: clamp(9rem, 26vw, 24rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(229, 164, 92, 0.2);
  pointer-events: none;
  user-select: none;
}

.support-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding-top: clamp(76px, 10vw, 130px);
  padding-bottom: clamp(76px, 10vw, 130px);
}

.support-text h2 { color: var(--white); }
.support-text > p {
  color: rgba(255, 255, 255, 0.87);
  max-width: 50ch;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.section-eyebrow-light { color: var(--sand); }
.section-eyebrow-light::before { background: var(--sand); }

.support-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-sand {
  background: var(--sand);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.btn-sand:hover { background: #EFB673; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36); }

.support-photos {
  position: relative;
  min-height: clamp(340px, 36vw, 500px);
}
.support-photos img {
  position: absolute;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid var(--white);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}
.sp-a {
  width: 54%;
  aspect-ratio: 3 / 4;
  top: 0;
  inset-inline-start: 4%;
  transform: rotate(-5deg);
  z-index: 1;
}
.sp-b {
  width: 64%;
  aspect-ratio: 4 / 3;
  bottom: 0;
  inset-inline-end: 0;
  transform: rotate(3deg);
  z-index: 2;
}
.sp-ring {
  position: absolute;
  top: -4%;
  inset-inline-end: 8%;
  width: clamp(80px, 9vw, 130px);
  height: clamp(80px, 9vw, 130px);
  border: 3px solid rgba(99, 174, 187, 0.55);
  border-radius: 50%;
}
.sp-dot {
  position: absolute;
  bottom: 6%;
  inset-inline-start: -2%;
  width: 26px;
  height: 26px;
  background: var(--sand);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

/* ---------- Contact ---------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.contact-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.contact-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(99, 174, 187, 0.16);
  color: var(--teal-ink);
  margin-bottom: 6px;
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-label { font-weight: 700; color: var(--navy); }
.contact-value { color: var(--ink-soft); font-size: 0.98rem; word-break: break-word; }
a.contact-card .contact-value { text-decoration: underline; text-underline-offset: 3px; }

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 50%; background: var(--white); }
.footer-name { font-weight: 700; font-size: 1.15rem; color: var(--white); }
.footer-tag { font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

.footer-legal {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-legal a { color: rgba(255, 255, 255, 0.8); }
.footer-legal a:hover { color: var(--white); }

/* ---------- Lightbox ---------- */

.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(12, 19, 36, 0.88); }

.lightbox figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(92vw, 980px);
}
.lightbox img {
  max-width: min(92vw, 980px);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption { color: var(--white); font-size: 1.02rem; min-height: 1.6em; }

.lb-close,
.lb-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover,
.lb-arrow:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { position: fixed; top: 20px; inset-inline-start: 20px; }
.lb-close svg, .lb-arrow svg { width: 22px; height: 22px; }

/* ---------- אנימציות תפריט ---------- */

@keyframes menu-reveal {
  from { clip-path: circle(26px at 52px 42px); }
  to { clip-path: circle(150% at 52px 42px); }
}
@keyframes menu-item {
  to { opacity: 1; transform: translateY(0); }
}

html.menu-locked,
html.menu-locked body { overflow: hidden; }

/* ---------- Scroll reveal (CSS only, always safe) ----------
   התוכן גלוי תמיד כברירת מחדל. רק בדפדפנים שתומכים
   ב-scroll-driven animations יש אנימציית כניסה, שנקבעת
   דטרמיניסטית לפי מיקום הגלילה. אין מצב של תוכן תקוע. */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal,
    .trust-item,
    .contact-card,
    .stat,
    .register-form,
    .register-text,
    .support-text {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes rise-in {
      from { opacity: 0.2; transform: translateY(26px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* פרלקסה עדינה בתמונת הסיפור */
    .story-photo img {
      animation: photo-parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes photo-parallax {
      from { transform: translateY(-16px) scale(1.08); }
      to { transform: translateY(16px) scale(1.08); }
    }

    /* המילה "יחד" נעה לאט עם הגלילה */
    .support-word {
      animation: word-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes word-drift {
      from { transform: translateX(4%); }
      to { transform: translateX(-4%); }
    }

    /* טקסט ההירו נמוג כלפי מעלה ביציאה, בסגנון אפל */
    .hero-text {
      animation: hero-exit linear both;
      animation-timeline: scroll();
      animation-range: 0px 520px;
    }
    @keyframes hero-exit {
      from { opacity: 1; transform: translateY(0); }
      to { opacity: 0; transform: translateY(-46px); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .mobile-menu.open { animation: none; }
  .mobile-menu a { opacity: 1; transform: none; animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Focus ----------
   אינדיקטור דו-שכבתי: קו לבן פנימי + טבעת כהה חיצונית,
   כך שהוא נראה גם על רקעים בהירים וגם על כהים. */

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 0;
  box-shadow: 0 0 0 5px var(--teal-ink);
}

/* ============================================================
   Responsive
   ============================================================ */

/* מסכים רחבים במיוחד: מיקוד גבוה יותר בתמונת ההירו */
@media (min-width: 2200px) {
  .hero-bg img { object-position: center 40%; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  /* שורת ההדר, כולל כפתור הסגירה, נשארת מעל התפריט הפתוח */
  .header-inner { position: relative; z-index: 96; }

  /* תפריט מובייל: מסך מלא, נפתח בגל מעגלי מכיוון ההמבורגר */
  .mobile-menu {
    position: fixed;
    inset: 0;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(160deg, #10192E 0%, var(--navy) 55%, #23375F 100%);
    z-index: 95;
    overflow: hidden;
  }
  .mobile-menu::before {
    content: "";
    position: absolute;
    bottom: -60px;
    inset-inline-start: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 164, 92, 0.28) 0%, transparent 68%);
    pointer-events: none;
  }
  .mobile-menu::after {
    content: "";
    position: absolute;
    top: 12%;
    inset-inline-end: -40px;
    width: 160px;
    height: 160px;
    border: 3px solid rgba(99, 174, 187, 0.35);
    border-radius: 50%;
    pointer-events: none;
  }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: menu-reveal 0.55s var(--ease) both;
  }
  .mobile-menu ul { padding: 0 34px; display: grid; gap: 4px; }
  .mobile-menu a {
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 700;
    min-height: 60px;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: menu-item 0.5s var(--ease) forwards;
  }
  .mobile-menu li:nth-child(1) a { animation-delay: 0.14s; }
  .mobile-menu li:nth-child(2) a { animation-delay: 0.2s; }
  .mobile-menu li:nth-child(3) a { animation-delay: 0.26s; }
  .mobile-menu li:nth-child(4) a { animation-delay: 0.32s; }
  .mobile-menu li:nth-child(5) a { animation-delay: 0.38s; }
  .mobile-menu li:nth-child(6) a { animation-delay: 0.44s; }
  .mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
  .mobile-menu .nav-cta {
    background: var(--sand);
    color: var(--navy-deep);
    justify-content: center;
    font-size: 1.2rem;
    min-height: 58px;
    margin-top: 20px;
  }
  .mobile-menu .nav-cta:hover { background: #EFB673; }

  /* מסכים נמוכים: הרשימה מתחילה מלמעלה ונגללת במקום לגלוש */
  @media (max-height: 560px) {
    .mobile-menu.open {
      justify-content: flex-start;
      padding-top: 90px;
      overflow-y: auto;
    }
  }

  /* בזמן שהתפריט פתוח: ההדר נטמע בו */
  .site-header.menu-open .header-inner {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header.menu-open .menu-bar { background: var(--white); box-shadow: none; }
  .site-header.menu-open .brand-logo { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
  .site-header.menu-open .header-cta { opacity: 0; pointer-events: none; }

  .header-cta { padding: 8px 16px; font-size: 0.98rem; }

  .support-grid { grid-template-columns: 1fr; }
  .support-photos { min-height: 300px; max-width: 440px; }
  .support-word { font-size: clamp(7rem, 34vw, 12rem); opacity: 0.7; }

  .hero { min-height: min(94svh, 780px); }
  .hero-inner {
    text-align: center;
    padding-top: clamp(70px, 16vw, 110px);
    padding-bottom: clamp(158px, 22vw, 195px);
  }
  .eyebrow {
    background: none;
    border: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(19, 31, 58, 0.65);
  }
  .hero-text {
    display: grid;
    justify-items: center;
    margin: 0 auto;
  }
  .hero-sub { max-width: 30ch; }
  .hero-actions {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-actions .btn {
    padding: 12px 18px;
    font-size: 1rem;
    white-space: nowrap;
  }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .story-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 480px; margin: 0 auto; }

  .register-grid { grid-template-columns: 1fr; }

  .plus-callout { flex-direction: column; align-items: flex-start; }
  .plus-callout .btn { margin-inline-start: 0; }

  .trust-inner { grid-template-columns: 1fr; gap: 22px; }

  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .shot img { height: 360px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; }
}

/* לייטבוקס במסכים צרים: חיצים צפים על התמונה */
@media (max-width: 700px) {
  .lightbox { gap: 0; }
  .lightbox img { max-width: calc(100vw - 24px); }
  .lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(19, 31, 58, 0.6);
  }
  .lb-prev { inset-inline-start: 10px; }
  .lb-next { inset-inline-end: 10px; }
}
