:root {
  --bg: #fbf3ea;
  --bg-soft: #f3e8db;
  --surface: #fffaf3;
  --text: #332a24;
  --text-strong: #211915;
  --muted: #74665d;
  --green: #d7a08a;
  --green-dark: #8b695c;
  --coral: #d59b8a;
  --teal: #6f9486;
  --gold: #c59a64;
  --border: rgba(74, 58, 47, 0.14);
  --shadow: 0 24px 70px rgba(82, 62, 49, 0.15);
  font-family:
    "Arial Hebrew",
    "Noto Sans Hebrew",
    "Rubik",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(184, 127, 106, 0.58);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.72rem clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.97), rgba(250, 238, 229, 0.94)),
    rgba(251, 243, 234, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(31, 41, 55, 0.07);
  backdrop-filter: blur(18px);
}

.brand,
.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  min-width: 0;
  color: var(--text-strong);
  font-weight: 800;
  text-decoration: none;
}

.brand-image-frame {
  display: grid;
  width: clamp(3.15rem, 4.6vw, 4.25rem);
  height: clamp(3.15rem, 4.6vw, 4.25rem);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 12px 28px rgba(31, 41, 55, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.brand-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.brand-title {
  color: var(--text-strong);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  font-weight: 920;
  line-height: 1.15;
}

.brand-subtitle {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.15;
}

.fb-icon-link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: #555;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.fb-icon-link:hover {
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.18);
}

.button-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: none;
  white-space: nowrap;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-facebook:hover {
  background: rgba(24, 119, 242, 0.85);
  border-color: rgba(24, 119, 242, 0.9);
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.35);
  transform: translateY(-2px);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-strong);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.06);
  unicode-bidi: isolate;
}

.phone-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(18, 140, 126, 0.3);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 1.7rem),
    linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  box-shadow:
    0 18px 40px rgba(37, 211, 102, 0.28),
    0 0 0 5px rgba(37, 211, 102, 0.15);
}

.button-primary:hover {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.3), transparent 1.7rem),
    linear-gradient(135deg, #2de070, #15a08e);
  box-shadow:
    0 22px 50px rgba(37, 211, 102, 0.38),
    0 0 0 7px rgba(37, 211, 102, 0.22);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-strong);
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
  white-space: nowrap;
}

.button-secondary.light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: none;
}

.button-small {
  min-height: 2.55rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  font-size: 0.92rem;
}

.header-cta {
  min-height: 2.75rem;
  padding-inline: 1.08rem;
  box-shadow: 0 12px 24px rgba(184, 127, 106, 0.18);
}

.button-icon {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: transparent;
  font-size: 0.8rem;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15);
}

.primary-cta {
  min-height: 3rem;
  padding: 0.5rem 0.75rem 0.5rem 0.6rem;
  gap: 0.6rem;
}

.primary-cta::after {
  position: absolute;
  inset: 0.22rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  content: "";
}

.cta-copy {
  display: grid;
  gap: 0.12rem;
  line-height: 1.05;
}

.cta-main {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 950;
}

.cta-sub {
  font-size: 0.78rem;
  font-weight: 850;
  opacity: 0.76;
}

.cta-cue {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
}

.compact-cta {
  min-height: 2.9rem;
  padding-block: 0.54rem;
}

.compact-cta .cta-cue {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.84rem;
}

.hero-primary {
  min-width: min(100%, 21rem);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: calc(100svh - 5.2rem);
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 5vw, 5rem) clamp(3.25rem, 6vw, 6rem);
  background: var(--bg);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 243, 234, 0.98) 0%, rgba(251, 243, 234, 0.89) 36%, rgba(251, 243, 234, 0.42) 64%, rgba(251, 243, 234, 0.12) 100%);
  content: "";
  pointer-events: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  justify-self: end;
}

.community-line {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.98rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  color: var(--text-strong);
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 950;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0.9rem;
  color: var(--text-strong);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 920;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--text-strong);
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 39rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.trust-note {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-band,
.support-section,
.dignity-section,
.final-cta {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-band {
  background: linear-gradient(135deg, rgba(244, 233, 222, 0.94), rgba(255, 250, 243, 0.88));
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.section-copy,
.section-heading {
  max-width: 54rem;
}

.section-copy p,
.section-heading p,
.dignity-card p,
.final-cta p {
  color: var(--muted);
  font-size: 1.1rem;
}

.quote-panel {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(111, 148, 134, 0.26);
  border-radius: 1rem;
  background: #fffaf3;
  box-shadow: 0 18px 46px rgba(111, 148, 134, 0.12);
}

.quote-panel strong {
  color: var(--teal);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.quote-panel span {
  color: var(--muted);
  font-weight: 700;
}

.support-section {
  background: #fffaf3;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.support-item,
.participation-list article {
  min-height: 13rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}

.support-item {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.07);
}

.support-visual {
  margin: 0;
  overflow: hidden;
  background: #f6eadf;
  aspect-ratio: 4 / 3;
}

.support-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.support-item:hover .support-visual img {
  transform: scale(1.025);
}

.support-content,
.participation-list article {
  padding: 1.4rem;
}

.support-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--coral);
  font-size: 1.4rem;
}

.support-item p,
.participation-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.participation-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.participation-list article {
  min-height: 0;
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  align-items: center;
}

.dignity-section {
  display: grid;
  gap: 1rem;
  justify-items: center;
  background: #fffaf3;
  text-align: center;
}

.dignity-card {
  max-width: 54rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(238, 125, 115, 0.25);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.94), rgba(247, 226, 218, 0.9)),
    #fffaf3;
}

.group-picture-link {
  color: var(--coral);
  font-weight: 850;
}

/* ── Registration form ────────────────────────────── */

.register-section {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.register-form {
  display: grid;
  gap: 2rem;
  max-width: 58rem;
}

.form-group {
  margin: 0;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(82, 62, 49, 0.08);
}

.form-group legend {
  padding: 0 0.5rem;
  color: var(--text-strong);
  font-size: 1.12rem;
  font-weight: 920;
}

.legend-note {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
  margin-top: 1.2rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.field-label {
  color: var(--text-strong);
  font-size: 0.93rem;
  font-weight: 850;
}

.field-label span {
  color: var(--coral);
}

.form-field input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(74, 58, 47, 0.22);
  border-radius: 0.55rem;
  background: var(--bg);
  color: var(--text-strong);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(111, 148, 134, 0.2);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.4rem;
  margin-top: 1.2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  color: var(--text);
  font-size: 0.97rem;
}

.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid rgba(74, 58, 47, 0.3);
  border-radius: 0.28rem;
  background: var(--bg);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.check-item input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 65%;
}

.check-item--other {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.other-input {
  flex: 1 1 12rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(74, 58, 47, 0.22);
  border-radius: 0.45rem;
  background: var(--bg);
  color: var(--text-strong);
  font-family: inherit;
  font-size: 0.95rem;
}

.other-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(111, 148, 134, 0.2);
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-submit {
  align-self: flex-start;
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.82;
}

.form-submit.is-loading .button-icon {
  background: transparent;
  box-shadow: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-submit.is-loading .cta-cue {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-success,
.form-error {
  padding: 1.2rem 1.4rem;
  border-radius: 0.75rem;
}

.form-success {
  background: rgba(111, 148, 134, 0.12);
  border: 1px solid rgba(111, 148, 134, 0.3);
}

.form-success p,
.form-error p {
  margin: 0;
  color: var(--text-strong);
  font-size: 1rem;
}

.form-success-title {
  font-size: 1.2rem !important;
  font-weight: 900;
  margin-bottom: 0.3rem !important;
}

.form-error {
  background: rgba(213, 155, 138, 0.12);
  border: 1px solid rgba(213, 155, 138, 0.3);
}

@media (max-width: 660px) {
  .form-fields,
  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* ── End registration form ────────────────────────── */

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(72, 58, 49, 0.97), rgba(96, 121, 104, 0.94)),
    var(--text-strong);
  color: #ffffff;
}

.final-cta h2,
.final-cta .community-line {
  color: #ffffff;
}

.final-cta p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
  background: #2b221d;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-end {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-fb:hover {
  color: #5a9ff5;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.85rem;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "phone fb"
      "cta   cta";
    gap: 0.7rem;
  }

  .phone-link  { grid-area: phone; }
  .fb-icon-link { grid-area: fb; align-self: center; justify-self: end; }
  .header-cta  { grid-area: cta; }

  .hero,
  .intro-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(251, 243, 234, 0.95) 0%, rgba(251, 243, 234, 0.88) 48%, rgba(251, 243, 234, 0.22) 100%);
  }

  .hero-background {
    object-position: 68% bottom;
  }

  .hero-copy {
    justify-self: stretch;
  }

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

  .participation-list article {
    grid-template-columns: 1fr;
  }

  .final-cta {
    text-align: right;
  }
}

@media (max-width: 760px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .phone-link {
    width: 100%;
  }

}

@media (max-width: 560px) {

  .site-header {
    padding: 0.75rem 1rem 0.95rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-image-frame {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
  }

  .brand-copy {
    max-width: calc(100vw - 6rem);
  }

  .brand-title,
  .brand-subtitle {
    overflow-wrap: anywhere;
  }

  .top-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-cta {
    min-height: 3.7rem;
    padding-inline: 0.85rem 0.7rem;
  }

  .header-cta {
    min-height: 3.2rem;
  }

  .phone-link {
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - 8rem);
    padding-top: 1.35rem;
  }

  .hero-background {
    object-position: 71% bottom;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .support-item,
  .participation-list article,
  .quote-panel,
  .dignity-card {
    border-radius: 0.65rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-primary {
    animation: cta-breathe 2.8s ease-in-out infinite;
  }

  .cta-cue {
    animation: cta-nudge 1.9s ease-in-out infinite;
  }
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow:
      0 18px 40px rgba(184, 127, 106, 0.24),
      0 0 0 5px rgba(215, 160, 138, 0.18);
  }
  50% {
    box-shadow:
      0 24px 54px rgba(184, 127, 106, 0.31),
      0 0 0 9px rgba(215, 160, 138, 0.22);
  }
}

@keyframes cta-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-0.2rem);
  }
}
