/* ===== Colors & basics (change colors here) ===== */
:root {
  --sea: #13a8a5;
  --sea-dark: #0b6f73;
  --coral: #ff7a59;
  --coral-dark: #e85a37;
  --sun: #ffc547;
  --grape: #6c5ce7;
  --sand: #fff7ec;
  --sand-2: #ffeed6;
  --ink: #1d2b3a;
  --muted: #5d6b7a;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(29, 43, 58, 0.1);
  --font-head: "Fredoka", "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sea-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--coral-dark);
  background: #ffe3d9;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 6px 0 var(--coral-dark);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--coral-dark); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--coral-dark); }
.btn-sea { background: var(--sea); box-shadow: 0 6px 0 var(--sea-dark); }
.btn-sea:hover { box-shadow: 0 8px 0 var(--sea-dark); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 6px 0 #e6d9c6; }
.btn-ghost:hover { box-shadow: 0 8px 0 #e6d9c6; }
.btn-small { padding: 8px 18px; font-size: 0.95rem; box-shadow: 0 4px 0 var(--coral-dark); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ===== Header ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 43, 58, 0.06);
}
.nav-wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  margin-inline-end: auto;
}
.brand-logo { height: 46px; width: auto; }
.brand-emblem {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  font-size: 1.3rem;
  transform: rotate(-6deg);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn):not(.icon-btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav a:not(.btn):not(.icon-btn)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav a:not(.btn):not(.icon-btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.lang-btn {
  font-family: var(--font-head);
  font-weight: 600;
  border: 2px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 0.95rem;
}
.lang-btn:hover { background: var(--sun); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 3px; margin: 4px 0; background: var(--ink); border-radius: 3px; transition: 0.2s; }

@media (max-width: 860px) {
  .brand span:last-child { font-size: 1.05rem; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffe8b8 0%, #ffd2b8 45%, #bfeee9 100%);
  padding: clamp(48px, 8vw, 100px) 0 140px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--coral-dark); }
.hero p { font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.sun {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe27a 0 55%, rgba(255, 197, 71, 0.45) 56% 70%, transparent 71%);
  top: 30px;
  inset-inline-end: 6%;
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}
.palm {
  position: absolute;
  bottom: 60px;
  inset-inline-start: -30px;
  font-size: 140px;
  opacity: 0.18;
  transform: rotate(-8deg);
  pointer-events: none;
}
@keyframes float { 50% { transform: translateY(-14px); } }

/* Animated ocean waves */
.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; }
.waves div {
  position: absolute; left: 0; bottom: 0;
  width: 200%; height: 100%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  animation: wave 14s linear infinite;
}
.waves .w1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 110' preserveAspectRatio='none'%3E%3Cpath d='M0 60 Q100 20 200 60 T400 60 T600 60 T800 60 V110 H0Z' fill='%2313a8a5' fill-opacity='.45'/%3E%3C/svg%3E"); animation-duration: 18s; }
.waves .w2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 110' preserveAspectRatio='none'%3E%3Cpath d='M0 75 Q100 40 200 75 T400 75 T600 75 T800 75 V110 H0Z' fill='%2313a8a5' fill-opacity='.7'/%3E%3C/svg%3E"); animation-duration: 12s; animation-direction: reverse; }
.waves .w3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 110' preserveAspectRatio='none'%3E%3Cpath d='M0 90 Q100 65 200 90 T400 90 T600 90 T800 90 V110 H0Z' fill='%23fff7ec'/%3E%3C/svg%3E"); animation-duration: 9s; }
@keyframes wave { to { transform: translateX(-50%); } }

.page-hero { padding-bottom: 130px; }
.page-hero .container { max-width: 760px; text-align: center; }
.page-hero p { margin-inline: auto; }

/* ===== Shabbat card ===== */
.shabbat-card {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(29, 43, 58, 0.3);
  position: relative;
  transform: rotate(1.5deg);
  transition: transform 0.3s;
}
.shabbat-card:hover { transform: rotate(0) scale(1.02); }
[dir="rtl"] .shabbat-card { transform: rotate(-1.5deg); }
[dir="rtl"] .shabbat-card:hover { transform: rotate(0) scale(1.02); }
.shabbat-card h3 { color: var(--sun); margin-bottom: 4px; }
.shabbat-card .date { color: #b9c6d3; font-size: 0.95rem; margin-bottom: 18px; }
.candles-deco { position: absolute; top: -22px; inset-inline-end: 22px; font-size: 2.6rem; animation: flicker 2.2s ease-in-out infinite; }
@keyframes flicker { 50% { transform: rotate(6deg) scale(1.06); } }
.time-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.time-row b { font-family: var(--font-head); font-size: 1.25rem; color: #fff; text-align: end; }
.time-row span { color: #cfd8e2; }
.countdown { margin-top: 14px; }
.countdown-label { margin: 0 0 8px; color: #cfd8e2; font-size: 0.9rem; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown-grid div { background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 8px 4px; text-align: center; }
.countdown-grid b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--sun); line-height: 1.1; }
.countdown-grid span { font-size: 0.75rem; color: #cfd8e2; }
.countdown-now { font-family: var(--font-head); font-size: 1.3rem; color: var(--sun); margin: 0; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 36px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 40px rgba(29, 43, 58, 0.14); }
.card .icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.card p { color: var(--muted); margin: 0; }
.bg-sun { background: #fff0c4; }
.bg-coral { background: #ffe0d6; }
.bg-sea { background: #d3f4f2; }
.bg-grape { background: #e6e2ff; }

/* ===== Holidays ===== */
.holidays { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.holiday { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); }
.holiday-date {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sea), var(--sea-dark));
  color: #fff;
  display: grid; place-content: center;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.1;
}
.holiday-date b { font-family: var(--font-head); font-size: 1.4rem; }
.holiday-name { font-weight: 500; display: flex; flex-direction: column; }
.holiday-name small { color: var(--muted); font-weight: 400; }

/* ===== Donate banner ===== */
.banner {
  background: linear-gradient(120deg, var(--grape), #a46cf0 60%, var(--coral));
  color: #fff;
  border-radius: 32px;
  padding: clamp(32px, 6vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.banner::after { content: "💛"; position: absolute; font-size: 160px; opacity: 0.12; inset-inline-end: -20px; bottom: -50px; }
.banner p { max-width: 540px; margin: 0; opacity: 0.92; }
.banner .btn { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 #d49b18; }

/* ===== Sign-up form ===== */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid #eadfcd;
  background: var(--sand);
  transition: border-color 0.15s, background 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); background: #fff; }
textarea { min-height: 84px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid #eadfcd;
  cursor: pointer;
  transition: 0.15s;
  user-select: none;
}
.chip input:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); }
.stepper { display: flex; align-items: center; border: 2px solid #eadfcd; border-radius: 14px; overflow: hidden; background: var(--sand); }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--sea-dark); }
.stepper button:hover { background: var(--sand-2); }
.stepper input { width: 100%; text-align: center; border: 0; background: none; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.field small { color: var(--muted); }
.total-box {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  margin: 8px 0 12px;
}
.total-box b { font-family: var(--font-head); font-size: 1.8rem; color: var(--sun); }
.pay-note { font-size: 0.9rem; color: var(--muted); }
.form-card .btn { width: 100%; justify-content: center; }
.signup-status { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.signup-status.ok { background: #d3f4f2; color: var(--sea-dark); }
.signup-status.warn { background: #ffe0d6; color: var(--coral-dark); }
.hidden-field { display: none; }

.confetti {
  position: fixed; top: -12px;
  width: 10px; height: 14px;
  border-radius: 3px;
  z-index: 100;
  animation: fall 2.6s ease-in forwards;
  pointer-events: none;
}
@keyframes fall { to { top: 105vh; transform: rotate(720deg); } }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  text-align: center;
  font-size: 3.5rem;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo small { display: block; font-size: 1rem; opacity: 0.9; }
.offer-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.offer-list li { background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-weight: 500; }
.offer-list li span { font-size: 1.5rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.gallery .photo { aspect-ratio: 1; font-size: 2.6rem; transform: none; transition: transform 0.25s; }
.gallery .photo:nth-child(odd) { transform: rotate(-1.5deg); }
.gallery .photo:nth-child(even) { transform: rotate(1.5deg); }
.gallery .photo:hover { transform: scale(1.04) rotate(0); }
.gallery .g2 { background: linear-gradient(135deg, var(--sea), var(--grape)); }
.gallery .g3 { background: linear-gradient(135deg, var(--coral), var(--grape)); }
.gallery .g4 { background: linear-gradient(135deg, #8fd694, var(--sea)); }

/* ===== Donate page ===== */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.amounts .chip span { display: block; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; padding: 14px 8px; border-radius: 16px; }
.amounts .chip input:checked + span { background: var(--coral); border-color: var(--coral); }
.custom-amount { display: none; margin-bottom: 16px; }
.custom-amount.show { display: block; }
.chai { background: #fff0c4; border-radius: 16px; padding: 14px 18px; font-size: 0.95rem; }

/* ===== Footer ===== */
#site-footer { position: relative; background: var(--ink); color: #dfe6ee; margin-top: 60px; padding: 40px 0 24px; }
.wave-top {
  position: absolute; top: -40px; left: 0; right: 0; height: 41px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q100 0 200 20 T400 20 T600 20 T800 20 V40 H0Z' fill='%231d2b3a'/%3E%3C/svg%3E") repeat-x;
  background-size: 800px 41px;
}
.footer-inner { width: min(1120px, 100% - 32px); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.brand-footer { color: #fff; margin-bottom: 10px; }
#site-footer .muted { color: #9fb0c2; }
.footer-private { max-width: 340px; font-size: 0.92rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--sun); text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }
.footer-made { text-align: center; color: #9fb0c2; font-size: 0.9rem; margin: 30px 0 0; }

.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.1) rotate(-8deg); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Phones & tablets ===== */
@media (max-width: 860px) {
  .hero-grid, .split, .about-grid { grid-template-columns: 1fr; }
  .shabbat-card, [dir="rtl"] .shabbat-card { transform: none; }
  .sun { width: 140px; height: 140px; top: 10px; }
  .photo { max-width: 360px; margin-inline: auto; width: 100%; }
}
@media (max-width: 480px) {
  .row-2 { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===== Menu bar: social buttons, and switch to the phone menu a little earlier ===== */
.nav { gap: 18px; }
.nav a:not(.btn):not(.icon-btn) { white-space: nowrap; font-size: 0.98rem; }
.nav-social { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s;
}
.icon-btn::after { display: none; }
.icon-btn:hover { transform: scale(1.12) rotate(-6deg); }
.icon-btn.wa { background: #25d366; }
.icon-btn.ig { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #8a3ab9); }
.icon-btn.fb { background: #1877f2; }
.footer-links .nav-social { margin-top: 6px; }

@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand);
    padding: 8px 16px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.25s;
    z-index: -1;
  }
  .nav a:not(.btn):not(.icon-btn) { padding: 14px 4px; border-bottom: 1px solid var(--sand-2); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav .nav-social { justify-content: center; margin-top: 16px; gap: 14px; }
  .menu-open .nav { transform: none; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Home: video behind the top section ===== */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-video::before { content: ""; position: absolute; inset: 0; background: rgba(255, 247, 236, 0.72); z-index: 1; }
.hero.has-video .sun, .hero.has-video .palm { display: none; }
.hero .container, .hero .waves { position: relative; z-index: 2; }
.hero .waves { position: absolute; }

/* ===== Home: numbers that count up ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.stat { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: #cfd8e2; }

/* ===== Home: Instagram ===== */
.insta-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.insta-head h2 { margin: 0; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.insta-grid .photo { aspect-ratio: 1; font-size: 2.6rem; transform: none; }
.insta-grid .g2 { background: linear-gradient(135deg, var(--sea), var(--grape)); }
.insta-grid .g3 { background: linear-gradient(135deg, var(--coral), var(--grape)); }
.insta-grid .g4 { background: linear-gradient(135deg, #8fd694, var(--sea)); }
.insta-grid.live { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.insta-grid.live .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }

/* ===== Catering: numbered steps ===== */
.steps { counter-reset: step; }
.steps .card { counter-increment: step; }
.steps .card .icon::before { content: counter(step); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ===== Donate: choosing where to give ===== */
.give-from { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 22px; }
.give-from .chip span { display: block; text-align: center; border-radius: 16px; padding: 14px 8px; font-weight: 500; }
.give-from .chip small { display: block; color: inherit; opacity: 0.75; font-weight: 400; }
.pay-btn { margin-top: 14px; }

/* ===== Card payment window (Stripe), opens on top of the page ===== */
.pay-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(12px, 4vh, 48px) 12px;
  background: rgba(29, 43, 58, 0.55);
  overflow-y: auto;
}
.pay-box {
  position: relative;
  width: 100%; max-width: 560px;
  background: #fff; border-radius: 28px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}
.pay-box h3 { margin: 0 44px 14px 0; }
[dir="rtl"] .pay-box h3 { margin: 0 0 14px 44px; }
.pay-close {
  position: absolute; top: 16px; inset-inline-end: 16px;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--sand-2); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.pay-close:hover { background: var(--sun); }
.pay-box .signup-status { margin-top: 0; }
.pay-secure { margin: 14px 0 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
body.pay-open { overflow: hidden; }

/* Anything marked hidden stays hidden; links to a section stop below the menu bar */
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 90px; }

/* ===== Menu bar: Donate button always showing, on phones too ===== */
.nav-donate { flex: none; }
@media (max-width: 520px) {
  .nav-wrap { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand span:last-child { font-size: 0.92rem; line-height: 1.1; }
  .brand-emblem { width: 36px; height: 36px; font-size: 1.1rem; flex: none; }
  .nav-donate { padding: 7px 13px; font-size: 0.88rem; }
  .lang-btn { padding: 4px 10px; font-size: 0.88rem; }
  .menu-btn { padding: 6px 2px; }
}

/* ===== Home: next holiday box (slideshow + Register button) ===== */
.hero-side { display: grid; gap: 36px; min-width: 0; }
.spotlight {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(29, 43, 58, 0.22);
  transform: rotate(-1.2deg);
  transition: transform 0.3s;
}
.spotlight.reveal.in { transform: rotate(-1.2deg); }
.spotlight.reveal.in:hover { transform: rotate(0) scale(1.02); }
.spot-slides { position: relative; aspect-ratio: 16 / 10; background: var(--ink); }
.spot-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s; }
.spot-slide.on { opacity: 1; }
.spot-slide img { width: 100%; height: 100%; object-fit: cover; }
.spot-slide.flyer img { object-fit: contain; }
.spot-slide.ph { display: grid; place-content: center; text-align: center; color: #fff; font-family: var(--font-head); font-size: 3.4rem; line-height: 1.2; background: linear-gradient(135deg, var(--grape), var(--coral)); }
.spot-slide.ph.g2 { background: linear-gradient(135deg, var(--sea), var(--grape)); }
.spot-slide.ph.g3 { background: linear-gradient(135deg, var(--sun), var(--coral)); }
.spot-slide.ph small { display: block; font-size: 1rem; opacity: 0.9; }
.spot-kicker {
  position: absolute; top: 14px; inset-inline-start: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  background: var(--sun); color: var(--ink);
  padding: 4px 14px; border-radius: 999px;
}
.spot-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.spot-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: 0.2s; }
.spot-dots button.on { background: #fff; width: 22px; border-radius: 9px; }
.spot-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 20px 20px; }
.spot-info h3 { margin: 0 0 2px; }
.hero .spot-info p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.spot-info p b { color: var(--coral-dark); font-weight: 600; }
@media (max-width: 860px) {
  .spotlight, .spotlight.reveal.in { transform: none; }
}
.hero-grid { align-items: start; }
@media (min-width: 861px) {
  .hero-grid > .reveal:first-child { padding-top: 28px; }
}
/* On phones the holiday box comes first, so people see it right away */
@media (max-width: 860px) {
  .hero-side { display: contents; }
  .spotlight { order: -1; }
  .hero-grid { gap: 30px; }
}
