:root {
  --ink: #111827;
  --muted: #536173;
  --soft: #eef6ff;
  --paper: #fffdfa;
  --blue: #0057c8;
  --blue-deep: #003f99;
  --teal: #00a58f;
  --gold: #d89b18;
  --rose: #d84a78;
  --coral: #ff7a59;
  --violet: #7657d6;
  --line: rgba(17, 24, 39, 0.13);
  --shadow: 0 24px 70px rgba(0, 87, 200, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdfa 0%, #f5fbff 42%, #fff8e7 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  position: relative;
  padding-bottom: 4px;
}

.brand strong::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
  content: "";
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta,
.primary-btn {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white;
  box-shadow: 0 14px 28px rgba(0, 87, 200, 0.24);
}

.secondary-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(0, 87, 200, 0.02), rgba(216, 155, 24, 0.12)),
    url("assets/jerusalem-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 253, 248, 0) 50%, var(--paper) 100%);
}

.jerusalem-window {
  position: absolute;
  right: 12%;
  bottom: 9%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  opacity: 0.9;
}

.arch {
  width: 74px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  background: rgba(255, 253, 248, 0.16);
  backdrop-filter: blur(4px);
}

.arch-one {
  height: 170px;
}

.arch-two {
  height: 230px;
}

.arch-three {
  height: 145px;
}

.sun {
  position: absolute;
  top: 30px;
  right: 56px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 214, 134, 0.86);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 112px) clamp(22px, 6vw, 92px);
  background:
    linear-gradient(135deg, rgba(0, 87, 200, 0.06), transparent 28%),
    linear-gradient(315deg, rgba(216, 74, 120, 0.08), transparent 34%),
    var(--paper);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.israel-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 13px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.israel-badge img {
  width: 58px;
  height: 38px;
  border: 1px solid rgba(0, 87, 200, 0.18);
  background: #ffffff;
  object-fit: contain;
}

.israel-badge span {
  max-width: 150px;
  line-height: 1.15;
}

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.8vw, 76px);
}

h2 {
  font-size: clamp(31px, 4vw, 52px);
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 44px 0 0;
}

.trust-strip div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trust-strip dt {
  color: var(--blue-deep);
  font-size: 25px;
  font-weight: 800;
}

.trust-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.intro {
  background:
    linear-gradient(90deg, rgba(255, 122, 89, 0.12), transparent 36%),
    var(--paper);
}

.two-column,
.section-heading,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.rich-text {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.signature {
  display: block;
  width: min(320px, 100%);
  margin-top: 28px;
  mix-blend-mode: multiply;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold), var(--rose));
}

.values article {
  min-height: 250px;
  padding: 42px;
  background: linear-gradient(180deg, #ffffff, #f2f8ff 58%, #fff7df);
}

.values span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 800;
}

.values p,
.section-heading p,
.service-card p,
.rabbinic p,
.contact p,
.contact-panel span {
  color: var(--muted);
}

.services {
  background: #ffffff;
}

.seo-content {
  background:
    linear-gradient(120deg, rgba(216, 155, 24, 0.14), rgba(0, 87, 200, 0.08)),
    #fffdfa;
}

.video-section {
  background:
    linear-gradient(135deg, rgba(0, 87, 200, 0.11), rgba(0, 165, 143, 0.1), rgba(216, 74, 120, 0.1)),
    #ffffff;
}

.process {
  background:
    linear-gradient(120deg, rgba(0, 87, 200, 0.11), rgba(216, 155, 24, 0.16)),
    #fffdfa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-grid article {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(0, 87, 200, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(0, 87, 200, 0.1);
}

.process-grid article::before {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  content: "";
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 980px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 87, 200, 0.18);
  background: #111827;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-heading {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 440px;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, #fffdfa),
    var(--paper);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.service-card::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 26px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
  content: "";
}

.rabbinic {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 165, 143, 0.2), transparent 28%),
    linear-gradient(135deg, #eef6ff 0%, #fff7df 100%);
}

.rabbinic-content p {
  max-width: 680px;
  margin-top: 20px;
  font-size: 18px;
}

.rabbi-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rabbi-card {
  display: grid;
  justify-items: center;
  min-height: 190px;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 200, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(0, 87, 200, 0.12);
  padding-top: 18px;
}

.rabbi-card img {
  width: 94px;
  height: 94px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.16);
}

.rabbi-card div {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 16px 14px 18px;
  text-align: center;
}

.rabbi-card strong {
  font-size: 17px;
  line-height: 1.2;
}

.rabbi-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.testimonials {
  background:
    linear-gradient(135deg, rgba(0, 87, 200, 0.1), rgba(0, 165, 143, 0.08), rgba(255, 122, 89, 0.14)),
    #fffdfa;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.testimonial-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(0, 87, 200, 0.16);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.testimonial-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 87, 200, 0.16);
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 1px;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 15px;
}

.testimonial-card strong {
  align-self: end;
  color: var(--blue-deep);
  font-size: 16px;
}

.contact {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 165, 143, 0.12), rgba(0, 87, 200, 0.1), rgba(216, 155, 24, 0.15)),
    var(--paper);
}

.contact h2 {
  max-width: 700px;
}

.contact p {
  max-width: 600px;
  margin-top: 20px;
  font-size: 18px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-panel strong {
  font-size: 24px;
}

.full {
  width: 100%;
  margin-top: 10px;
}

.phone-link {
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #24d366, #0b8f4d);
  color: white;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(31, 174, 96, 0.35);
}

footer {
  padding: 28px 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .two-column,
  .section-heading,
  .rabbinic,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
    order: 2;
  }

  .hero-content {
    order: 1;
    padding-top: 46px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, var(--paper), rgba(255, 253, 248, 0) 22%);
  }

  .values,
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .rabbi-list {
    grid-template-columns: 1fr;
  }

  .values article {
    min-height: auto;
  }

  .testimonial-card {
    min-height: auto;
  }

  .rabbi-card {
    grid-template-columns: 82px 1fr;
    justify-items: start;
    min-height: 98px;
    align-items: center;
    padding: 12px;
  }

  .rabbi-card img {
    width: 72px;
    height: 72px;
  }

  .rabbi-card div {
    padding: 0 0 0 14px;
    border-top: 0;
    border-left: 5px solid var(--blue);
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand strong {
    max-width: 160px;
    font-size: 14px;
    line-height: 1.15;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions a,
  .secondary-btn,
  .primary-btn {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 310px;
  }

  .israel-badge {
    top: 16px;
    left: 16px;
    gap: 8px;
    padding: 6px 9px 6px 6px;
    font-size: 12px;
  }

  .israel-badge img {
    width: 46px;
    height: 30px;
  }

  .arch {
    width: 48px;
  }

  .arch-one {
    height: 112px;
  }

  .arch-two {
    height: 152px;
  }

  .arch-three {
    height: 96px;
  }

  .sun {
    width: 52px;
    height: 52px;
  }

  .values article,
  .service-card,
  .contact-panel {
    padding: 24px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 18px;
  }
}
