:root {
  --navy: #0b0f3d;
  --navy-2: #2c3060;
  --navy-3: #262a58;
  --aqua: #6ff5e8;
  --aqua-soft: #c9fbf6;
  --bg: #ffffff;
  --bg-soft: #f5f5fa;
  --text: #0b0f3d;
  --muted: #555a7a;
  --ph: #e8e8ef;
  --ph-border: #c9c9d6;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(11, 15, 61, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Rubik", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 15, 61, .18); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: var(--aqua); }
.btn-accent { background: var(--aqua); color: var(--navy); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-whatsapp { gap: 8px; }
.btn-whatsapp svg { width: 20px; height: 20px; color: #25d366; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececf3;
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--aqua);
  display: grid; place-items: center;
}
.brand-logo svg { width: 24px; height: 24px; }
.brand-text strong { display: block; font-size: 20px; font-weight: 800; }
.brand-text small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }

.main-nav { display: flex; gap: 32px; margin-inline-start: 24px; }
.main-nav a { font-weight: 500; font-size: 15px; color: var(--navy); }
.main-nav a:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 6px; }
.header-cta { margin-inline-start: auto; }

.menu-toggle {
  display: none; margin-inline-start: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Placeholders ---------- */
.placeholder {
  display: grid; place-items: center; text-align: center;
  border: 1.5px dashed var(--ph-border);
  background: var(--ph); color: var(--muted);
  border-radius: var(--radius); font-size: 13px; padding: 16px;
}
.placeholder-dark {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  color: #e6e8ff;
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; padding: 56px 0 112px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--aqua); font-weight: 500; margin: 0 0 12px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 800; letter-spacing: -.5px; }
.lead { font-size: 18px; color: #dfe1f5; margin: 20px 0 28px; max-width: 34em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { aspect-ratio: 1 / .87; gap: 12px; align-content: center; }
.hero-inner .hero-photo { width: 100%; height: auto; aspect-ratio: auto; border-radius: var(--radius); }
.ph-icon { width: 40px; height: 40px; color: var(--aqua); margin-inline: auto; }

/* ---------- Quick form ---------- */
.quick-form {
  position: relative; z-index: 2;
  margin: -72px auto 0; width: min(1000px, 100%);
  background: var(--aqua-soft); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow);
}
.quick-form h2 { font-size: 18px; margin-bottom: 8px; }
.quick-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }

label span { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; }
input {
  width: 100%; font: inherit; font-size: 15px;
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid #d5d7e6; background: #fff; color: var(--text);
}
input:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: transparent; }
input[dir="ltr"] { text-align: right; }

.form-msg { margin: 12px 0 0; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-title { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section-sub { color: var(--muted); margin: 0 0 40px; }
.center { text-align: center; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.narrow-start .about-text, .narrow-start .shlomi-text { max-width: 780px; }
.about-text p { color: var(--muted); margin: 0 0 16px; }
.about-text .btn { margin-top: 8px; }

.video-box { aspect-ratio: 16 / 11; position: relative; }
.play-btn {
  width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 26px; height: 26px; }
.ph-caption { position: absolute; bottom: 16px; inset-inline: 0; }

/* About Shlomi */
.shlomi { background: var(--navy-2); color: #fff; }
.shlomi-text p { color: #dfe1f5; margin: 0 0 16px; }
.shlomi-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--navy-3); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.fact {
  background: var(--navy-3); border-radius: 18px;
  padding: 24px 28px;
}
.fact strong { display: block; font-size: 32px; font-weight: 800; color: var(--aqua); line-height: 1.2; }
.fact span { color: #dfe1f5; font-size: 14px; }

/* Quote */
.quote-section { background: var(--bg-soft); }
.quote-inner { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; max-width: 900px; }
.rabbi-photo { aspect-ratio: 3 / 4; }
blockquote { margin: 0; }
.quote-mark { display: block; font-size: 80px; line-height: .6; color: var(--aqua); font-weight: 800; height: 40px; }
blockquote p { font-size: 22px; font-weight: 700; margin: 0 0 20px; }
blockquote footer strong { display: block; }
blockquote footer span { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { background: var(--bg); }
.faq-item {
  background: #fff; border-radius: 18px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(11, 15, 61, .05);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 24px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 2px; background: #fff; transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { margin: 0; padding: 0 24px 20px; color: var(--muted); }

/* Join */
.join { background: var(--navy); color: #fff; }
.join h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.join-text p { color: #cfd2ee; }
.join-form { display: grid; gap: 14px; }
.join-form label span { color: #dfe1f5; }
.join-form input { border: 0; }
.join-form .btn { width: 100%; margin-top: 6px; }

/* Footer */
.site-footer { padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.footer-brand p { color: var(--muted); margin: 0 0 16px; }
.site-footer h4 { font-size: 15px; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.footer-links li { margin-bottom: 6px; }
.footer-links a:hover { color: var(--navy); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
}
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #ececf3; margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    display: none; position: absolute; top: 76px; inset-inline: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid #ececf3; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid #f0f0f5; }

  .hero { padding: 40px 0 104px; }
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: 2; aspect-ratio: 16 / 11; }
  .quick-fields { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .quote-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .rabbi-photo { width: 180px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1; }
  .facts { grid-template-columns: 1fr; margin-top: 32px; }
  .quick-form { padding: 20px; }
}
