/* ============================================================
   bnb'n'kosher — design system
   Palette: deep forest / parchment cream / muted gold
   Type: Fraunces (display) · Inter (text) · Frank Ruhl Libre (Hebrew)
   ============================================================ */

:root {
  --ink: #14211a;
  --pine: #1e3327;
  --moss: #3d5c47;
  --sage: #7d9484;
  --cream: #f6f1e6;
  --parchment: #efe7d6;
  --sand: #e3d8c2;
  --gold: #c19a3f;
  --gold-soft: #d9bc74;
  --clay: #b0562f;
  --white: #fdfbf6;

  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Inter", system-ui, sans-serif;
  --font-heb: "Frank Ruhl Libre", serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -20px rgba(20, 33, 26, 0.25);
  --shadow-card: 0 10px 40px -12px rgba(20, 33, 26, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* Grain overlay for texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Typography helpers ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 em, h1 em { font-style: italic; color: var(--moss); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--gold-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__sub { margin-top: 20px; color: rgba(20, 33, 26, 0.72); font-size: 1.06rem; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.link-btn {
  background: none; border: none; color: var(--moss);
  font-weight: 600; text-decoration: underline; font-size: inherit;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(193, 154, 63, 0.6); }
.btn--dark { background: var(--pine); color: var(--cream); }
.btn--dark:hover { background: var(--moss); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink);
  display: grid; place-items: center;
}
.loader__mark { text-align: center; }
.loader__word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: var(--cream);
  overflow: hidden;
}
.loader__word em { font-style: italic; color: var(--gold); }
.loader__sub {
  display: block; margin-top: 14px;
  font-family: var(--font-heb);
  color: var(--sage);
  font-size: 1rem;
  letter-spacing: 0.08em;
  opacity: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  background: rgba(246, 241, 230, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(20, 33, 26, 0.08);
  padding: 12px 0;
}
.nav__inner {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.4s;
}
.nav__logo em { font-style: italic; color: var(--gold); }
.nav__logo-mark { width: 30px; height: 30px; color: currentColor; }
.nav.is-scrolled .nav__logo { color: var(--ink); }

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  color: rgba(246, 241, 230, 0.85);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled .nav__links a { color: rgba(20, 33, 26, 0.78); }

.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__host-link {
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  color: rgba(246, 241, 230, 0.85); transition: color 0.3s;
}
.nav.is-scrolled .nav__host-link { color: rgba(20, 33, 26, 0.78); }

.nav__burger {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); transition: all 0.3s;
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--pine);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--cream); text-decoration: none;
  padding: 10px 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 33, 26, 0.55) 0%, rgba(20, 33, 26, 0.25) 40%, rgba(20, 33, 26, 0.78) 100%),
    radial-gradient(120% 90% at 50% 110%, rgba(20, 33, 26, 0.7), transparent 60%);
}
.hero__fireflies { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__content {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  padding: 140px 0 110px;
  position: relative;
}

.hero__zmanim {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 100px;
  background: rgba(246, 241, 230, 0.1);
  border: 1px solid rgba(246, 241, 230, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.86rem;
  margin-bottom: 34px;
}
.zmanim__flame { filter: drop-shadow(0 0 6px rgba(217, 188, 116, 0.8)); }

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 450;
  max-width: 14ch;
}
.hero__title em { color: var(--gold-soft); }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; }

.hero__sub {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(246, 241, 230, 0.85);
}

/* ---------- Search pill ---------- */
.search {
  margin-top: 44px;
  display: flex; align-items: stretch;
  background: var(--white);
  border-radius: 100px;
  padding: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  max-width: 860px;
  color: var(--ink);
}
.search__field {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 22px;
  display: flex; flex-direction: column; gap: 2px;
  border-radius: 100px;
  transition: background 0.25s;
}
.search__field:hover, .search__field:focus-within { background: var(--parchment); }
.search__field label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss);
}
.search__field input, .search__field select {
  border: none; background: none; outline: none;
  font-size: 0.95rem; font-weight: 500;
  color: var(--ink);
  width: 100%;
}
.search__field--guests { flex: 0.6 1 0; }
.search__divider {
  width: 1px; margin: 10px 0;
  background: rgba(20, 33, 26, 0.12);
}
.search__btn {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 9px;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700; font-size: 0.95rem;
  padding: 0 30px;
  border-radius: 100px;
  transition: background 0.25s, transform 0.3s var(--ease-out);
}
.search__btn:hover { background: var(--gold-soft); transform: scale(1.03); }
.search__btn svg { width: 18px; height: 18px; }

.hero__hints {
  margin-top: 22px;
  font-size: 0.86rem;
  color: rgba(246, 241, 230, 0.62);
}
.hero__hints strong { color: rgba(246, 241, 230, 0.92); font-weight: 600; }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(246, 241, 230, 0.4);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--gold-soft);
  transform: translateX(-50%);
  animation: scrollHint 2s var(--ease-out) infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--pine);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 34px;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.02em;
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 0.7rem; }

/* ============================================================
   PROMISE
   ============================================================ */
.promise { padding: clamp(80px, 12vw, 150px) 0; }
.promise__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.promise__card {
  background: var(--white);
  border: 1px solid rgba(20, 33, 26, 0.07);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.promise__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.promise__icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(193, 154, 63, 0.16), rgba(61, 92, 71, 0.12));
  display: grid; place-items: center;
  color: var(--moss);
  margin-bottom: 22px;
}
.promise__icon svg { width: 26px; height: 26px; }
.promise__card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.promise__card p { font-size: 0.93rem; color: rgba(20, 33, 26, 0.7); flex: 1; }
.promise__card a { color: var(--moss); font-weight: 600; }
.promise__tag {
  margin-top: 20px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   STAYS
   ============================================================ */
.stays {
  padding: clamp(80px, 12vw, 150px) 0;
  background: var(--parchment);
  border-block: 1px solid rgba(20, 33, 26, 0.06);
}
.stays__result-note { font-size: 0.9rem; color: rgba(20, 33, 26, 0.55); }
.stays__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}
.stays__empty {
  text-align: center;
  padding: 60px 0 20px;
  color: rgba(20, 33, 26, 0.65);
}

.stay-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 33, 26, 0.06);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  display: flex; flex-direction: column;
  text-align: left;
  padding: 0;
}
.stay-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }

.stay-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pine);
}
.stay-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), opacity 0.6s;
}
.stay-card__media img.alt { opacity: 0; }
.stay-card:hover .stay-card__media img { transform: scale(1.06); }
.stay-card:hover .stay-card__media img.alt { opacity: 1; }

.stay-card__flag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.stay-card__rating {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  background: rgba(20, 33, 26, 0.55);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 11px;
  border-radius: 100px;
}
.stay-card__rating svg { width: 12px; height: 12px; fill: var(--gold-soft); }

.stay-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stay-card__loc {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--moss);
  display: flex; align-items: center; gap: 6px;
}
.stay-card__loc svg { width: 13px; height: 13px; }
.stay-card__name { font-size: 1.45rem; font-weight: 500; }
.stay-card__meta {
  font-size: 0.87rem;
  color: rgba(20, 33, 26, 0.6);
}
.stay-card__badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.stay-card__badge {
  font-size: 0.72rem; font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(61, 92, 71, 0.1);
  color: var(--moss);
  border: 1px solid rgba(61, 92, 71, 0.14);
}
.stay-card__badge--gold { background: rgba(193, 154, 63, 0.13); color: #8a6d24; border-color: rgba(193, 154, 63, 0.25); }
.stay-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(20, 33, 26, 0.12);
  display: flex; align-items: baseline; justify-content: space-between;
}
.stay-card__price { font-family: var(--font-display); font-size: 1.4rem; }
.stay-card__price span { font-family: var(--font-text); font-size: 0.82rem; color: rgba(20, 33, 26, 0.55); }
.stay-card__shul {
  font-size: 0.8rem; font-weight: 600; color: var(--moss);
  display: flex; align-items: center; gap: 5px;
}

/* ============================================================
   SPARTA STORY
   ============================================================ */
.sparta {
  padding: clamp(90px, 13vw, 170px) 0;
  background: var(--pine);
  color: var(--cream);
  overflow: hidden;
}
.sparta h2 em { color: var(--gold-soft); }
.sparta__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.sparta__media { position: relative; }
.sparta__img { border-radius: var(--radius-lg); overflow: hidden; }
.sparta__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.sparta__img--main { aspect-ratio: 3 / 4; }
.sparta__img--float {
  position: absolute; bottom: -50px; right: -40px;
  width: 55%; aspect-ratio: 1;
  border: 6px solid var(--pine);
  box-shadow: var(--shadow-soft);
}
.sparta__stamp {
  position: absolute; top: -44px; right: 8%;
  width: 118px; height: 118px;
}
.sparta__stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.sparta__stamp text { font-size: 10.2px; letter-spacing: 0.22em; fill: var(--gold-soft); font-weight: 600; font-family: var(--font-text); }
.sparta__stamp span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.sparta__text > p { color: rgba(246, 241, 230, 0.78); margin-top: 20px; max-width: 56ch; }
.sparta__text a { color: var(--gold-soft); font-weight: 600; }

.sparta__modes {
  margin-top: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.sparta__mode {
  border: 1px solid rgba(246, 241, 230, 0.16);
  border-radius: var(--radius-md);
  padding: 22px;
  background: rgba(246, 241, 230, 0.04);
}
.sparta__mode--alt { background: rgba(193, 154, 63, 0.08); border-color: rgba(193, 154, 63, 0.28); }
.sparta__mode h4 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 8px; font-weight: 500; }
.sparta__mode p { font-size: 0.86rem; color: rgba(246, 241, 230, 0.68); }

.sparta__stats {
  margin-top: 40px;
  display: flex; gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.sparta__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-soft);
  font-weight: 500;
  line-height: 1;
}
.sparta__stats span { font-size: 0.82rem; color: rgba(246, 241, 230, 0.6); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: clamp(80px, 12vw, 150px) 0; }
.how__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}
.how__step {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(20, 33, 26, 0.07);
}
.how__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: rgba(193, 154, 63, 0.55);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.how__step h3 { font-size: 1.35rem; margin-bottom: 12px; }
.how__step p { font-size: 0.92rem; color: rgba(20, 33, 26, 0.7); }

/* ============================================================
   VOICES
   ============================================================ */
.voices {
  padding: clamp(80px, 12vw, 150px) 0;
  background: var(--parchment);
  border-block: 1px solid rgba(20, 33, 26, 0.06);
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.voice {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1px solid rgba(20, 33, 26, 0.07);
  display: flex; flex-direction: column; gap: 22px;
}
.voice p {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(20, 33, 26, 0.85);
  flex: 1;
}
.voice footer { display: flex; flex-direction: column; font-size: 0.85rem; }
.voice footer strong { color: var(--ink); }
.voice footer span { color: rgba(20, 33, 26, 0.55); }

/* ============================================================
   HOST CTA
   ============================================================ */
.host { padding: clamp(70px, 10vw, 130px) 0; }
.host__inner {
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(193, 154, 63, 0.22), transparent 55%),
    var(--pine);
  color: var(--cream);
  border-radius: calc(var(--radius-lg) + 8px);
  padding: clamp(40px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.host__text { max-width: 560px; }
.host__text h2 { margin-bottom: 16px; }
.host__text h2 em { color: var(--gold-soft); }
.host__text p { color: rgba(246, 241, 230, 0.75); }
.host__form {
  display: flex; gap: 10px;
  background: rgba(246, 241, 230, 0.08);
  border: 1px solid rgba(246, 241, 230, 0.2);
  padding: 8px;
  border-radius: 100px;
  flex: 1 1 340px;
  max-width: 460px;
}
.host__form input {
  flex: 1; min-width: 0;
  background: none; border: none; outline: none;
  color: var(--cream);
  padding: 0 18px;
  font-size: 0.95rem;
}
.host__form input::placeholder { color: rgba(246, 241, 230, 0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(246, 241, 230, 0.7);
  padding: clamp(60px, 8vw, 90px) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--cream);
}
.footer__logo em { font-style: italic; color: var(--gold); }
.footer__heb {
  font-family: var(--font-heb);
  color: var(--gold-soft);
  font-size: 1.2rem;
  margin: 12px 0 14px;
}
.footer__brand p:last-child { font-size: 0.9rem; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer__col a { text-decoration: none; font-size: 0.92rem; transition: color 0.25s; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(246, 241, 230, 0.1);
  padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem;
  color: rgba(246, 241, 230, 0.45);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 1000; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 33, 26, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: absolute; inset: 24px;
  margin: auto;
  max-width: 1160px;
  max-height: 92vh;
  background: var(--cream);
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.6);
}
.modal__close {
  position: absolute; top: 18px; right: 18px; z-index: 20;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease-out);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { overflow-y: auto; overscroll-behavior: contain; }

/* ---- gallery ---- */
.pd__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
  padding: 8px;
}
.pd__gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: filter 0.3s;
}
.pd__gallery img:hover { filter: brightness(1.08); }
.pd__gallery img:first-child { grid-row: span 2; }

/* ---- detail layout ---- */
.pd__layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 4vw, 44px);
  align-items: start;
}

.pd__loc {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 8px;
}
.pd__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.pd__stats {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 0.9rem;
  color: rgba(20, 33, 26, 0.65);
  margin-bottom: 22px;
}
.pd__stats .pd__star { color: var(--gold); font-weight: 600; }
.pd__desc { color: rgba(20, 33, 26, 0.78); margin-bottom: 30px; }

.pd__group { margin-bottom: 26px; }
.pd__group h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.pd__group h4 .pd__group-icon { font-size: 1.05rem; }
.pd__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
}
.pd__list li {
  font-size: 0.88rem;
  color: rgba(20, 33, 26, 0.75);
  display: flex; align-items: baseline; gap: 9px;
}
.pd__list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex: 0 0 auto;
}

.pd__zmanim {
  background: rgba(193, 154, 63, 0.1);
  border: 1px solid rgba(193, 154, 63, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.88rem;
  display: flex; gap: 12px; align-items: center;
}

/* ---- booking card ---- */
.book {
  position: sticky; top: 0;
  background: var(--white);
  border: 1px solid rgba(20, 33, 26, 0.09);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.book__price { font-family: var(--font-display); font-size: 1.7rem; }
.book__price span { font-family: var(--font-text); font-size: 0.85rem; color: rgba(20, 33, 26, 0.55); }
.book__hint { font-size: 0.8rem; color: rgba(20, 33, 26, 0.55); margin: 4px 0 18px; }

/* calendar */
.cal { user-select: none; }
.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.cal__head strong { font-size: 0.95rem; }
.cal__nav {
  width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid rgba(20, 33, 26, 0.15);
  background: none;
  display: grid; place-items: center;
  transition: background 0.2s;
}
.cal__nav:hover:not(:disabled) { background: var(--parchment); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__nav svg { width: 14px; height: 14px; }
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal__dow {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(20, 33, 26, 0.45);
  padding: 6px 0;
}
.cal__day {
  position: relative;
  aspect-ratio: 1;
  border: none; background: none;
  border-radius: 50%;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink);
  display: grid; place-items: center;
  transition: background 0.15s, color 0.15s;
}
.cal__day:hover:not(:disabled):not(.is-selected) { background: var(--parchment); }
.cal__day:disabled { color: rgba(20, 33, 26, 0.25); text-decoration: line-through; cursor: default; }
.cal__day.is-shabbos::after {
  content: "";
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}
.cal__day.is-in-range { background: rgba(193, 154, 63, 0.16); border-radius: 0; }
.cal__day.is-selected { background: var(--pine); color: var(--cream); }
.cal__day.is-selected.is-shabbos::after { background: var(--gold-soft); }
.cal__legend {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.74rem;
  color: rgba(20, 33, 26, 0.55);
  margin-top: 10px;
}
.cal__legend i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}

.book__friday-note {
  margin-top: 12px;
  font-size: 0.78rem;
  background: rgba(193, 154, 63, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #6e5620;
  display: none;
}
.book__friday-note.is-visible { display: block; }

.book__guests {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0;
  padding: 12px 16px;
  border: 1px solid rgba(20, 33, 26, 0.13);
  border-radius: var(--radius-md);
}
.book__guests span { font-size: 0.9rem; font-weight: 500; }
.book__stepper { display: flex; align-items: center; gap: 14px; }
.book__stepper button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(20, 33, 26, 0.2);
  background: none;
  font-size: 1rem; line-height: 1;
  transition: background 0.2s;
}
.book__stepper button:hover:not(:disabled) { background: var(--parchment); }
.book__stepper button:disabled { opacity: 0.3; cursor: default; }
.book__stepper output { font-weight: 600; min-width: 20px; text-align: center; font-size: 0.95rem; }

.book__breakdown { margin: 16px 0; display: none; }
.book__breakdown.is-visible { display: block; }
.book__row {
  display: flex; justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(20, 33, 26, 0.7);
  padding: 5px 0;
}
.book__row--total {
  border-top: 1px solid rgba(20, 33, 26, 0.12);
  margin-top: 8px; padding-top: 12px;
  font-weight: 700; color: var(--ink);
  font-size: 0.98rem;
}
.book__cta { width: 100%; margin-top: 6px; }
.book__note { text-align: center; font-size: 0.76rem; color: rgba(20, 33, 26, 0.5); margin-top: 12px; }

/* booking form step */
.book__form { display: flex; flex-direction: column; gap: 12px; }
.book__form label { font-size: 0.78rem; font-weight: 600; color: var(--moss); }
.book__form input, .book__form textarea {
  width: 100%;
  border: 1px solid rgba(20, 33, 26, 0.15);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.92rem;
  background: var(--cream);
  outline: none;
  resize: vertical;
}
.book__form input:focus, .book__form textarea:focus { border-color: var(--gold); }
.book__back {
  background: none; border: none;
  font-size: 0.84rem; font-weight: 600;
  color: var(--moss);
  text-align: left;
  padding: 0;
  margin-bottom: 4px;
}

/* success step */
.book__success { text-align: center; padding: 18px 0; }
.book__success-icon {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(193, 154, 63, 0.15);
  display: grid; place-items: center;
  font-size: 2rem;
}
.book__success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.book__success p { font-size: 0.9rem; color: rgba(20, 33, 26, 0.65); }
.book__success .book__dates { font-weight: 600; color: var(--ink); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 140%);
  background: var(--pine);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-soft);
  z-index: 1100;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ============================================================
   REVEAL DEFAULTS (pre-GSAP state set in JS to avoid FOUC w/o JS)
   ============================================================ */
.gsap-ready [data-reveal] { opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .sparta__layout { grid-template-columns: 1fr; }
  .sparta__img--main { aspect-ratio: 4 / 3; max-height: 480px; width: 100%; }
  .sparta__img--float { right: 0; bottom: -30px; width: 44%; }
  .sparta__media { margin-bottom: 40px; }
  .pd__layout { grid-template-columns: 1fr; }
  .book { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .search {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 4px;
  }
  .search__field { border-radius: var(--radius-sm); padding: 10px 16px; }
  .search__divider { display: none; }
  .search__btn { justify-content: center; padding: 15px; border-radius: var(--radius-sm); }

  .hero__content { padding: 120px 0 90px; }
  .hero__scroll { display: none; }

  .sparta__modes { grid-template-columns: 1fr; }
  .pd__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
  }
  .pd__gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .pd__gallery img:nth-child(n+4) { display: none; }
  .pd__list { grid-template-columns: 1fr; }
  .modal__panel { inset: 10px; max-height: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
