@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Oswald:wght@700&display=swap');

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: #000; }
img { display: block; max-width: 100%; }

/* ── Shared ───────────────────────────────────────────────────── */
.container-992 {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ══════════════════════════════════════════════════════════════
   DARK WRAPPER
   ══════════════════════════════════════════════════════════════ */
.dark-wrapper {
  background: #000;
  position: relative;
  overflow: hidden;
}
/* Background image covers ALL dark sections (hero → consequence), matching Figma node 13:2 */
.dark-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/hero-bg.png') center top / cover no-repeat;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}
/* Gradient: transparent at top → 80% black at bottom, exactly as in Figma */
.dark-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding-top: 47px;
  z-index: 2; /* above the dark-wrapper pseudo-element backgrounds */
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 992px;
  margin: 0 auto;
  padding: 87px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  text-align: center;
}

.hero-title-img {
  width: 100%;
  max-width: 600px;
}
.hero-title-img img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-subtitle {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  direction: rtl;
}
.hero-subtitle strong {
  font-weight: 700;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 23px;
  border: 1px solid #000;
  border-radius: 13px;
  background: #f3d301;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(0,0,0,0.5));
  background-blend-mode: overlay;
  text-decoration: none;
  color: #171717;
  font-size: 26px;
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.hero-cta:hover { opacity: 0.9; transform: scale(1.02); }

/* ══════════════════════════════════════════════════════════════
   SECTION LABEL (badge with texture bg)
   ══════════════════════════════════════════════════════════════ */
.section-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 291px;
  height: 65px;
  flex-shrink: 0;
}
.section-label--center {
  margin: 0 auto;
}
.section-label .label-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.section-label span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   STRUCTURE — TWO ARMS
   ══════════════════════════════════════════════════════════════ */
.structure-section {
  padding: 20px 0 40px;
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.structure-cols {
  position: relative;
  display: flex;
  align-items: flex-start;
  direction: ltr; /* preserve Figma's LTR column order: operative LEFT, political RIGHT */
}

.structure-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 114px;
}
.structure-col:last-child {
  padding-left: 130px;
  padding-right: 130px;
}

/* Photos cluster: operative arm (3 photos) */
.photos-cluster {
  position: relative;
  height: 264px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
}

.photo-item img {
  width: 148px;
  height: 154px;
  object-fit: cover;
  display: block;
}

/* Operative: 3 photos with overlaps */
.photos-cluster--operative .photo-item--back {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-5.51deg);
  z-index: 1;
}
.photos-cluster--operative .photo-item--left {
  position: relative;
  transform: rotate(-13.8deg);
  margin-right: -52px;
  z-index: 2;
}
.photos-cluster--operative .photo-item--right {
  position: relative;
  transform: rotate(13.36deg);
  z-index: 2;
}

/* Political: 2 photos */
.photos-cluster--political {
  align-items: center;
}
.photos-cluster--political .photo-item img {
  width: 166px;
  height: 173px;
}
.photos-cluster--political .photo-item--pol-left {
  position: relative;
  transform: rotate(-13.8deg);
  margin-right: -74px;
  z-index: 1;
}
.photos-cluster--political .photo-item--pol-right {
  position: relative;
  transform: rotate(13.36deg);
  z-index: 2;
}

.structure-text {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  direction: rtl;
  width: 100%;
}

/* Arrow between columns */
.structure-arrow {
  position: absolute;
  left: 50%;
  top: 149px;
  transform: translateX(-50%) rotate(172.25deg) scaleY(-1);
  width: 220px;
  pointer-events: none;
  z-index: 10;
}
.structure-arrow img { width: 100%; }

/* Target row */
.target-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.target-text {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  direction: rtl;
}
.target-text strong { font-weight: 800; }

/* ══════════════════════════════════════════════════════════════
   FUNDS
   ══════════════════════════════════════════════════════════════ */
.funds-section {
  padding: 10px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.funds-inner {
  max-width: 914px;
  margin: 0 auto;
  padding: 40px 0 87px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  position: relative;
}

.funds-above {
  color: #f3d301;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.72px;
  direction: rtl;
  text-align: center;
}

.funds-number {
  color: #f3d301;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -5.12px;
  direction: ltr;
}
.funds-shekel {
  font-size: 48px;
  letter-spacing: -1.92px;
  vertical-align: bottom;
  display: inline-block;
}
.funds-digits {
  font-size: 128px;
}

.funds-desc {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  direction: rtl;
}
.funds-desc strong { font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   CONSEQUENCE
   ══════════════════════════════════════════════════════════════ */
.consequence-section {
  display: flex;
  align-items: stretch;
  direction: ltr; /* preserve Figma's LTR order: photos LEFT, text RIGHT */
  position: relative;
  z-index: 2;
  padding-left: 40px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Photos side */
.consequence-photos {
  position: relative;
  width: 663px;
  flex-shrink: 0;
  min-height: 650px;
  padding: 10px 130px;
}

.framed-photo {
  position: absolute;
  border: 4px solid #fbfbfb;
  box-shadow: 0 4px 40px 0 #000;
}
.framed-photo img {
  width: 412px;
  height: 274px;
  object-fit: cover;
  display: block;
}
.framed-photo--1 {
  left: 177px;
  top: 42px;
  transform: rotate(-5.75deg);
}
.framed-photo--2 {
  left: 33px;
  top: 286px;
  transform: rotate(5.69deg);
}

/* Text side */
.consequence-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 29px;
  justify-content: center;
  padding: 84px 130px 84px 30px;
}

.consequence-label {
  display: inline-block;
  background: #d00100;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  padding: 2px 5px;
  direction: rtl;
  white-space: nowrap;
  align-self: flex-end; /* RIGHT side in LTR column flex = outer edge of text column */
}

.consequence-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  direction: rtl;
}
.consequence-body p {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 39px;
  text-align: right;
}
.consequence-body strong {
  font-weight: 800;
}

/* ══════════════════════════════════════════════════════════════
   RED CTA
   ══════════════════════════════════════════════════════════════ */
.red-section {
  background: #d00100;
  padding: 10px;
}
.red-inner {
  max-width: 992px;
  margin: 0 auto;
  padding: 40px 0 87px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.red-silence {
  font-size: 48px;
  line-height: 1.1;
  color: #000;
  text-align: center;
  direction: rtl;
}
.red-silence strong { font-weight: 800; }

.red-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  width: 100%;
}
.red-underline {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 970px;
  pointer-events: none;
}
.red-underline img { width: 100%; }

.red-terror {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  direction: rtl;
}

.red-call {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  direction: rtl;
}

.red-section--small .red-inner {
  padding: 20px 0 40px;
  gap: 12px;
}
.red-section--small .red-silence {
  font-size: 24px;
}
.red-section--small .red-call {
  font-size: 24px;
}
.red-section--small .red-terror {
  font-size: 32px;
}
.red-section--small .red-underline {
  width: 480px;
}

/* ══════════════════════════════════════════════════════════════
   JOIN SECTION
   ══════════════════════════════════════════════════════════════ */
.join-section {
  background: #f3d301;
  padding: 80px 20px;
}

.join-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.form-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.join-header {
  font-size: 56px;
  font-weight: 800;
  color: #000;
  text-align: center;
  line-height: 1.15;
  direction: rtl;
}

.join-subtitle {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  text-align: center;
  direction: rtl;
  margin-top: -12px;
}

.join-desc {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: center;
  direction: rtl;
  margin-top: -8px;
}

.form-error-msg {
  font-size: 18px;
  font-weight: 600;
  color: #d00100;
  text-align: center;
  direction: rtl;
}

.join-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Text input row */
.form-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.form-field-text {
  flex: 1 0 0;
  min-width: 0;
  border-bottom: 3px solid #000;
  height: 60px;
  display: flex;
  align-items: center;
}

.form-field-text input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  text-align: right;
  direction: rtl;
}
.form-field-text input::placeholder { color: rgba(0,0,0,0.55); opacity: 1; }

/* Giant demand submit button */
.submit-btn,
.submit-btn--demand {
  width: 100%;
  background: #d00100;
  border: none;
  border-radius: 8px;
  padding: 24px 20px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  direction: rtl;
  transition: background 0.2s, transform 0.1s;
}
.submit-btn:hover,
.submit-btn--demand:hover { background: #b00100; }
.submit-btn:active,
.submit-btn--demand:active { transform: scale(0.98); }

/* Counter */
.join-counter {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: center;
  direction: rtl;
}
.join-counter strong { font-weight: 800; }

/* Donation link */
.donation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 3px solid #000;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  direction: rtl;
  transition: background 0.2s, color 0.2s;
}
.donation-btn:hover { background: #000; color: #f3d301; }

.action-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.donation-btn--more {
  background: transparent;
  border-color: #000;
  color: #000;
}
.donation-btn--more:hover { background: #000; color: #f3d301; }

/* Opt-in checkbox */
.optin-label {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
  cursor: pointer;
  user-select: none;
}
.optin-label input[type="checkbox"] { display: none; }

.optin-box {
  width: 22px;
  height: 22px;
  border: 2px solid #000;
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.optin-label input:checked + .optin-box { background: #000; }
.optin-label input:checked + .optin-box::after {
  content: '✓';
  color: #f3d301;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.optin-text {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  direction: rtl;
}

/* Extra cards row */
.join-extras {
  display: flex;
  gap: 20px;
  width: 100%;
}

.join-extra-card {
  flex: 1 0 0;
  min-width: 0;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.extra-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  direction: rtl;
}

.extra-btn {
  background: #000;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f3d301;
  text-align: center;
  direction: rtl;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.extra-btn:hover { background: #222; }
.extra-btn:active { transform: scale(0.97); }

/* Share section */
.share-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.share-label {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  direction: rtl;
}

.share-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.share-btn:hover { opacity: 0.88; }
.share-btn:active { transform: scale(0.97); }

.share-btn--wa { background: #25d366; }
.share-btn--fb { background: #1877f2; }
.share-btn--tw { background: #000; }

/* Thank-you state */
.thankyou-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
}
.thankyou-block[hidden],
.form-block[hidden] { display: none; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤1100px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .structure-col { padding: 10px 60px; }
  .structure-col:last-child { padding-left: 60px; padding-right: 60px; }

  .consequence-photos { width: 480px; min-height: 600px; }
  .framed-photo img { width: 300px; height: 200px; }
  .framed-photo--1 { left: 100px; top: 30px; }
  .framed-photo--2 { left: 20px; top: 250px; }

  .consequence-text { padding: 60px 80px 60px 20px; } /* top right(outer) bottom left(near photos) */

  .red-terror { font-size: 48px; }
  .red-underline { width: 700px; }

  .funds-digits { font-size: 96px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤768px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .hero-section { padding-top: 30px; }
  .hero-inner { padding: 50px 16px; gap: 28px; }
  .hero-subtitle { font-size: 20px; }
  .hero-cta { font-size: 20px; padding: 12px 20px; }

  /* Structure: stack columns */
  .structure-cols { flex-direction: column; }
  .structure-col,
  .structure-col:last-child { padding: 24px 24px 10px; width: 100%; }

  .structure-arrow { display: none; }

  .photos-cluster { height: 200px; }
  .photo-item img { width: 110px; height: 115px; }
  .photos-cluster--political .photo-item img { width: 124px; height: 130px; }
  .photos-cluster--operative .photo-item--back { top: 0; }
  .photos-cluster--operative .photo-item--left { margin-right: -36px; }
  .photos-cluster--political .photo-item--pol-left { margin-right: -50px; }

  .structure-text { font-size: 20px; }
  .section-label span { font-size: 22px; }

  .target-text { font-size: 20px; }

  /* Funds */
  .funds-above { font-size: 18px; }
  .funds-number { letter-spacing: 0; }
  .funds-digits { font-size: 80px; }
  .funds-shekel { font-size: 36px; letter-spacing: 0; padding-top: 6px; }
  .funds-desc { font-size: 20px; }
  .funds-inner { gap: 24px; padding: 32px 0 60px; }

  /* Consequence: stack — text first, photos below */
  .consequence-section { flex-direction: column; }
  .consequence-text { order: 1; }
  .consequence-photos {
    order: 2;
    width: 100%;
    min-height: 400px;
    padding: 16px;
    position: relative;
  }
  .framed-photo img { width: 240px; height: 160px; }
  .framed-photo--1 { left: 50%; top: 20px; transform: translateX(-20%) rotate(-5.75deg); }
  .framed-photo--2 { left: 16px; top: 180px; transform: rotate(5.69deg); }

  .consequence-text {
    padding: 32px 16px;
    gap: 20px;
  }
  .consequence-label { font-size: 20px; white-space: normal; }
  .consequence-body p { font-size: 20px; line-height: 1.5; }

  /* Red section */
  .red-silence { font-size: 28px; }
  .red-terror { font-size: 26px; white-space: normal; }
  .red-underline { width: 100%; left: 0; top: 50%; transform: translateY(-50%); }
  .red-main { flex-direction: column; }
  .red-call { font-size: 26px; }
  .red-inner { gap: 20px; padding: 32px 16px 60px; }

  /* Join section */
  .join-section { padding: 50px 16px; }
  .join-header { font-size: 34px; }
  .join-subtitle { font-size: 20px; }
  .join-desc { font-size: 17px; }
  .join-form { gap: 24px; }

  .form-row { flex-direction: column; gap: 0; }
  .form-field-text { height: auto; min-height: 56px; padding: 10px 0; }
  .form-field-text input { font-size: 18px; }

  .submit-btn,
  .submit-btn--demand { font-size: 22px; padding: 20px 16px; }

  .join-extras { flex-direction: column; gap: 16px; }
  .extra-title { font-size: 18px; }
  .extra-btn { font-size: 16px; white-space: normal; }

  .donation-btn { font-size: 17px; padding: 12px 20px; text-align: center; }

  .share-btn { font-size: 15px; padding: 10px 16px; }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

/* ── Stamp (hero title on load) ──────────────────────────────── */
@keyframes stamp {
  0%   { opacity: 0; transform: scale(1.18) rotate(-1deg); }
  60%  { opacity: 1; transform: scale(0.97) rotate(0deg); }
  100% { opacity: 1; transform: scale(1); }
}
.hero-title-img {
  animation: stamp 0.55s ease-out both;
  animation-delay: 0.1s;
}

/* ── Polaroid drop + settle (photo items & framed photos) ──── */
@keyframes polaroid-back {
  0%   { opacity: 0; transform: translateX(-50%) rotate(-5.51deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: translateX(-50%) rotate(-5.51deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: translateX(-50%) rotate(-5.51deg) translateY(0)     scale(1); }
}
@keyframes polaroid-neg14 {
  0%   { opacity: 0; transform: rotate(-13.8deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(-13.8deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: rotate(-13.8deg) translateY(0)     scale(1); }
}
@keyframes polaroid-pos13 {
  0%   { opacity: 0; transform: rotate(13.36deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(13.36deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: rotate(13.36deg) translateY(0)     scale(1); }
}
@keyframes polaroid-frame1 {
  0%   { opacity: 0; transform: rotate(-5.75deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(-5.75deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: rotate(-5.75deg) translateY(0)     scale(1); }
}
@keyframes polaroid-frame2 {
  0%   { opacity: 0; transform: rotate(5.69deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(5.69deg) translateY(3px)    scale(1.02); }
  100% { opacity: 1; transform: rotate(5.69deg) translateY(0)      scale(1); }
}

/* Hidden until JS fires snap-in */
.photo-item--back,
.photo-item--left,
.photo-item--right,
.photo-item--pol-left,
.photo-item--pol-right,
.framed-photo--1,
.framed-photo--2 { opacity: 0; }

.photo-item--back.snap-in     { animation: polaroid-back   0.55s ease-out both; }
.photo-item--left.snap-in     { animation: polaroid-neg14  0.55s ease-out both; }
.photo-item--right.snap-in    { animation: polaroid-pos13  0.55s ease-out both; }
.photo-item--pol-left.snap-in { animation: polaroid-neg14  0.55s ease-out both; }
.photo-item--pol-right.snap-in{ animation: polaroid-pos13  0.55s ease-out both; }
.framed-photo--1.snap-in      { animation: polaroid-frame1 0.55s ease-out both; }
.framed-photo--2.snap-in      { animation: polaroid-frame2 0.55s ease-out both; }

@media (max-width: 480px) {
  .hero-subtitle { font-size: 17px; }
  .funds-digits { font-size: 60px; }
  .funds-shekel { font-size: 28px; }
  .red-silence { font-size: 22px; }
  .red-terror { font-size: 21px; }
  .red-call { font-size: 21px; }
  .join-header { font-size: 26px; }
  .submit-btn, .submit-btn--demand { font-size: 19px; }
  .form-field-text input { font-size: 16px; }
}

/* ── Logos footer ─────────────────────────────────────────────── */
.logos-footer {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 32px 24px;
}

.logos-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 52px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}

/* Horizontal logos: wide box */
.logo-wrap--h img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Square / near-square logos: tighter box */
.logo-wrap--sq img {
  height: 72px;
  width: 72px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .logos-footer-inner { gap: 24px 36px; }
  .logo-wrap { height: 52px; }
  .logo-wrap--h img  { height: 52px; max-width: 160px; }
  .logo-wrap--sq img { height: 52px; width: 52px; }
}

/* Disclaimer bar */
.disclaimer-bar {
  background: #1a1a1a;
  padding: 12px 24px;
  text-align: center;
}
.disclaimer-text {
  color: #aaa;
  font-size: 0.8rem;
  margin: 0;
  direction: rtl;
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY TOOLBAR  (סרגל נגישות)
   ═══════════════════════════════════════════════════════════════ */
.a11y-toggle {
  position: fixed;
  inset-inline-start: 16px;     /* left in RTL */
  bottom: 16px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #1456b8;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}
.a11y-toggle:hover { background: #1a66d6; transform: scale(1.06); }
.a11y-toggle:focus-visible { outline: 3px solid #f3d301; outline-offset: 3px; }

.a11y-panel {
  position: fixed;
  inset-inline-start: 16px;
  bottom: 80px;
  z-index: 9999;
  width: 290px;
  max-width: calc(100vw - 32px);
  background: #fff;
  color: #171717;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.5);
  padding: 16px;
  direction: rtl;
  font-family: 'Open Sans', sans-serif;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
}
.a11y-panel-title { font-size: 1.05rem; font-weight: 800; margin: 0; }
.a11y-close {
  border: none;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  color: #555;
  cursor: pointer;
  padding: 0 4px;
}
.a11y-close:hover { color: #000; }

.a11y-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f7f7f7;
  color: #171717;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.a11y-opt:hover { background: #eef3fb; border-color: #1456b8; }
.a11y-opt:focus-visible { outline: 3px solid #1456b8; outline-offset: 2px; }
.a11y-opt.is-active { background: #1456b8; color: #fff; border-color: #1456b8; }
.a11y-ico { font-size: 1.2rem; line-height: 1; font-weight: 800; }

.a11y-reset {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #d00100;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.a11y-reset:hover { background: #b00100; }
.a11y-reset:focus-visible { outline: 3px solid #f3d301; outline-offset: 2px; }

/* ── Accessibility states applied to <html> ── */
html.a11y-contrast,
html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast,
html.a11y-contrast * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast img,
html.a11y-contrast svg { filter: none !important; }
html.a11y-contrast a,
html.a11y-contrast a * { color: #f3d301 !important; }

html.a11y-grayscale { filter: grayscale(100%); }

html.a11y-links a {
  text-decoration: underline !important;
  outline: 2px dashed #f3d301 !important;
  outline-offset: 2px;
}

html.a11y-readable,
html.a11y-readable body,
html.a11y-readable * {
  font-family: Arial, 'Open Sans', sans-serif !important;
  letter-spacing: 0.3px;
}

html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1.2' d='M5 3l14 7-6 1.5L10 19z'/%3E%3C/svg%3E") 4 4, auto !important;
}

html.a11y-stop-motion *,
html.a11y-stop-motion *::before,
html.a11y-stop-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* keep the a11y UI itself unaffected by contrast/readable overrides */
html.a11y-contrast .a11y-panel,
html.a11y-contrast .a11y-panel * { background-color: #fff !important; color: #171717 !important; }
html.a11y-contrast .a11y-opt.is-active,
html.a11y-contrast .a11y-reset { background-color: #1456b8 !important; }

@media (max-width: 600px) {
  .a11y-toggle { width: 46px; height: 46px; }
  .a11y-panel { bottom: 72px; }
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER  (באנר עוגיות)
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9998;
  background: #171717;
  color: #fff;
  border-top: 3px solid #f3d301;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  direction: rtl;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 720px;
}
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.12s ease, background 0.12s ease;
}
.cookie-btn:focus-visible { outline: 3px solid #f3d301; outline-offset: 2px; }
.cookie-btn--accept { background: #f3d301; color: #171717; }
.cookie-btn--accept:hover { background: #ffe21a; }
.cookie-btn--decline { background: transparent; color: #fff; border: 1px solid #888; }
.cookie-btn--decline:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 600px) {
  .cookie-banner { padding: 14px 16px; gap: 12px; }
  .cookie-text { font-size: 0.82rem; }
  .cookie-actions { width: 100%; justify-content: center; }
}

/* ── Accessibility statement link (in panel + footer) ── */
.a11y-statement-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1456b8;
  text-decoration: underline;
}
.a11y-statement-link:hover { color: #1a66d6; }
.disclaimer-link { color: #aaa; text-decoration: underline; }
.disclaimer-link:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY STATEMENT PAGE  (עמוד הצהרת נגישות)
   ═══════════════════════════════════════════════════════════════ */
.a11y-statement {
  background: #fff;
  color: #171717;
  min-height: 100vh;
  padding: 48px 24px 80px;
  direction: rtl;
  font-family: 'Open Sans', sans-serif;
}
.a11y-statement-inner {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}
.a11y-statement-back {
  display: inline-block;
  margin-bottom: 24px;
  color: #1456b8;
  font-weight: 700;
  text-decoration: none;
}
.a11y-statement-back:hover { text-decoration: underline; }
.a11y-statement h1 {
  font-size: 2rem;
  margin: 0 0 24px;
  border-bottom: 3px solid #f3d301;
  padding-bottom: 10px;
}
.a11y-statement h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}
.a11y-statement p { margin: 0 0 16px; }
.a11y-statement ul { margin: 0 0 16px; padding-inline-start: 22px; }
.a11y-statement li { margin-bottom: 6px; }
.a11y-statement a { color: #1456b8; }
.a11y-statement-contact { list-style: none; padding-inline-start: 0; }
.a11y-statement-date { margin-top: 32px; font-size: 0.85rem; color: #666; }
