/* כיוון: חם וחווייתי + ה-DNA, בצבעי המותג של גנזי המלך (זהב על כחול לילה).
   מתכון: פתיחה ג' · עיטור ה' (טבעות מקווקוות) · מעברים ב' (קצה אלכסוני) · הדגשה ד' (גלולה) · כרטיסים א' (טבעת זוהרת) · איור: ירח וכוכבים */
:root {
  --ink: #141B2D;
  --blue: #F3EBDA;
  --yellow: #C4AE7E;
  --teal: #9C7F3C;
  --night: var(--ink);
  --night-2: color-mix(in srgb, var(--ink) 84%, #3a4a78);
  --night-3: color-mix(in srgb, var(--ink) 72%, #000);
  --cream: var(--blue);
  --gold: var(--yellow);
  --gold-l: color-mix(in srgb, var(--yellow) 55%, #fff6dc);
  --gold-d: var(--teal);
  --muted: color-mix(in srgb, var(--blue) 70%, var(--ink));
  --line: color-mix(in srgb, var(--yellow) 32%, transparent);
  --wa: #25D366;
  --font-head: 'Frank Ruhl Libre', serif;
  --font-body: 'Assistant', sans-serif;
  --max: 1120px;
  --shadow-card: 0 30px 70px color-mix(in srgb, #000 42%, transparent);
  --shadow-pop: 0 18px 40px color-mix(in srgb, var(--teal) 35%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: var(--cream); background: var(--night); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* כותרות */
.eyebrow { display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: .05em; color: var(--gold); margin-bottom: 12px; }
.title { font-weight: 900; font-size: clamp(34px, 5vw, 58px); color: var(--cream); }
.title--md { font-size: clamp(32px, 4vw, 48px); }
/* הדגשה ד': המילה בתוך גלולה */
.title em, .hero__title em, .cta__title em { font-style: normal; display: inline-block; padding: 0 .38em .06em; border-radius: 999px; color: var(--night); background: linear-gradient(135deg, var(--gold-l), var(--gold)); box-shadow: 0 10px 30px color-mix(in srgb, var(--gold) 30%, transparent); }
.head { max-width: 680px; margin-bottom: 48px; }
.head--center { margin-inline: auto; text-align: center; }
.head__sub { margin-top: 14px; color: var(--muted); font-size: 19px; }

/* כפתורים */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-family: var(--font-body); font-weight: 800; font-size: 18px; line-height: 1.2; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 16px; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 19px; }
.btn--gold { color: var(--night); background: linear-gradient(135deg, var(--gold-l), var(--gold)); box-shadow: 0 10px 26px color-mix(in srgb, var(--gold) 40%, transparent), inset 0 1px 0 rgb(255 255 255 / .5); }
.btn--ghost { color: var(--cream); background: rgb(255 255 255 / .08); border: 2px solid rgb(243 235 218 / .4); }
.btn--outline { color: var(--gold-l); border: 2px solid var(--gold); background: transparent; }

/* תפריט צף */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: 14px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100%, var(--max)); margin-inline: auto; padding: 8px 10px 8px 18px; border-radius: 999px; background: color-mix(in srgb, var(--night) 84%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 14px 40px rgb(0 0 0 / .35); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { width: 46px; height: 46px; object-fit: contain; }
.logo__text { font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1; color: var(--gold-l); display: flex; flex-direction: column; }
.logo__text small { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.nav__links { display: none; gap: 26px; font-weight: 700; font-size: 16px; }
.nav__links a:hover { color: var(--gold); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__wa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--wa); }
.nav__wa svg { width: 22px; height: 22px; }

/* פתיחה */
.hero { position: relative; padding: 150px 0 0; text-align: center; overflow: hidden; background: radial-gradient(900px 520px at 50% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%), var(--night); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 70px)); padding-bottom: 120px; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.moon { position: absolute; top: 96px; left: 7%; width: 92px; filter: drop-shadow(0 0 28px rgb(242 220 164 / .55)); }
.star { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 10px var(--gold-l); animation: twinkle 3.4s ease-in-out var(--d) infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.ring { position: absolute; border-radius: 50%; border: 2px dashed var(--line); }
.ring--1 { width: 640px; height: 640px; left: 50%; top: 52%; margin-left: -320px; }
.ring--2 { width: 900px; height: 900px; left: 50%; top: 42%; margin-left: -450px; opacity: .6; }
.hero__inner { position: relative; z-index: 2; }
.pill-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--gold-l); background: rgb(255 255 255 / .05); border: 1px solid var(--line); }
.pill-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 28%, transparent); }
.hero__title { margin: 22px auto 0; max-width: 900px; font-weight: 900; font-size: clamp(42px, 7vw, 88px); line-height: 1.12; color: var(--cream); }
.hero__sub { margin: 22px auto 0; max-width: 640px; font-size: clamp(18px, 2vw, 21px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.trio { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-top: 60px; }
.trio__item { margin: 0; overflow: hidden; border-radius: 999px 999px 32px 32px; border: 3px solid var(--line); box-shadow: var(--shadow-card); }
.trio__item img { width: 100%; height: 100%; object-fit: cover; }
.trio__item--main { width: 300px; height: 400px; }
.trio__item--side { width: 220px; height: 320px; }
.trio__item--low { height: 280px; }

/* מקטעים */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 40px 0 110px; }

/* פעילויות קודש: כרטיסים עם מסגרת, והנבחר עם טבעת זוהרת */
.tiers { display: grid; gap: 22px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 30px; border-radius: 28px; background: var(--night-2); border: 2px solid var(--line); box-shadow: var(--shadow-card); }
.tier h3 { font-size: 28px; color: var(--cream); }
.tier p { color: var(--muted); }
.tier__price { margin-top: auto !important; padding-top: 14px; font-family: var(--font-head); font-weight: 900; font-size: 56px; line-height: 1; color: var(--gold-l) !important; }
.tier__price small { font-size: .5em; margin-inline-start: 4px; }
.tier .btn { margin-top: 18px; }
.tier--hot { border-color: var(--gold); box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 18%, transparent), var(--shadow-card); }
.tier__tag { position: absolute; top: -15px; right: 26px; padding: 4px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--night); background: linear-gradient(135deg, var(--gold-l), var(--gold)); }
.month { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 22px; padding: 22px 30px; border-radius: 999px; border: 2px dashed var(--line); color: var(--muted); transition: border-color .2s; }
.month:hover { border-color: var(--gold); }
.month b { font-family: var(--font-head); font-size: 24px; color: var(--cream); margin-inline-end: 8px; }
.month__price { font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--gold-l); white-space: nowrap; }

/* על הכולל: רצועה עם קצה אלכסוני */
.about { position: relative; padding: 140px 0; background: var(--night-3); clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%); }
.about__grid { display: grid; gap: 44px; align-items: center; }
.about__img { position: relative; margin: 0 auto; width: min(100%, 380px); }
.about__img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-card); }
.about__img::before { content: ""; position: absolute; inset: -16px; border-radius: 42px; border: 2px dashed var(--line); }
.about__p { margin-top: 18px; color: var(--muted); font-size: 19px; }

/* האירוע הקרוב */
.event { display: block; text-align: center; padding: 50px 28px; border-radius: 32px; background: radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 70%), var(--night-2); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .2s; }
.event:hover { transform: translateY(-3px); }
.event__title { font-weight: 900; font-size: clamp(30px, 4.4vw, 50px); color: var(--gold-l); }
.event__meta { margin: 14px 0 26px; font-size: 19px; color: var(--cream); }

/* יצירת קשר */
.cta { position: relative; padding: 110px 0 120px; background: var(--night-3); clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); }
.cta__grid { display: grid; gap: 40px; align-items: center; }
.cta__title { font-weight: 900; font-size: clamp(36px, 5vw, 60px); color: var(--cream); }
.cta__sub { margin-top: 16px; max-width: 500px; font-size: 19px; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta__tel { direction: ltr; }
.cta__addr { margin-top: 18px; color: var(--muted); }

.lead { display: grid; gap: 14px; padding: 30px 26px; border-radius: 28px; color: var(--night); background: var(--cream); box-shadow: 0 30px 70px rgb(0 0 0 / .45); }
.lead__title { font-size: 28px; color: var(--night); margin-bottom: 4px; }
.lead__field { display: grid; gap: 6px; font-size: 16px; font-weight: 700; color: color-mix(in srgb, var(--night) 75%, var(--cream)); }
.lead__field input, .lead__field select, .lead__field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px; border: 2px solid color-mix(in srgb, var(--gold) 45%, #fff); background: #fff; font: inherit; font-weight: 600; font-size: 17px; color: var(--night); }
.lead__field textarea { min-height: 90px; resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus { outline: none; border-color: var(--gold-d); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent); }
.lead__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead__submit { width: 100%; margin-top: 4px; }
.lead__submit:disabled { opacity: .6; }
.lead__msg { min-height: 1.4em; font-size: 16px; font-weight: 700; color: var(--gold-d); }
.lead__msg--bad { color: #B42318; }
.lead__done { padding: 28px 10px; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--night); }
[hidden] { display: none !important; }

/* כותרת תחתונה */
.footer { padding: 40px 0 110px; color: var(--muted); background: var(--night-3); border-top: 1px solid rgb(255 255 255 / .06); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer__line { margin-top: 12px; font-size: 16px; }
.footer__phone { font-family: var(--font-head); font-weight: 900; font-size: 30px; color: var(--gold-l); direction: ltr; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .08); font-size: 15px; }
.footer__admin { opacity: .6; }
.footer__admin:hover { opacity: 1; }

/* כפתור תרומה צף */
.give-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 17px; color: var(--night); background: linear-gradient(135deg, var(--gold-l), var(--gold)); box-shadow: 0 12px 30px color-mix(in srgb, var(--gold) 45%, transparent); }
.give-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--gold); opacity: .4; animation: pulse 2.6s ease-out infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(1); opacity: .4; } to { transform: scale(1.35); opacity: 0; } }

@media (min-width: 1100px) {
  .adm-open .nav-wrap { left: 600px; }
  .adm-open .nav__links, .adm-open .give-float { display: none; }
}

.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tier--hot { transform: translateY(-14px); }
}
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .about__grid { grid-template-columns: 380px 1fr; gap: 80px; }
  .cta__grid { grid-template-columns: 1.1fr .9fr; gap: 70px; }
  .lead { padding: 36px 34px; }
}
@media (max-width: 759px) {
  .hero { padding-top: 130px; padding-bottom: 90px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px)); }
  .ring--1 { width: 420px; height: 420px; margin-left: -210px; top: 58%; opacity: .6; }
  .ring--2 { display: none; }
  .tier--hot { order: -1; margin-top: 12px; }
  .moon { width: 60px; top: 90px; left: 4%; }
  .trio { gap: 10px; margin-top: 44px; }
  .trio__item--main { width: 46%; height: 260px; }
  .trio__item--side { width: 27%; height: 200px; }
  .trio__item--low { height: 180px; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 64px 0 80px; }
  .section--tight { padding: 20px 0 80px; }
  .about { padding: 100px 0; }
  .head { margin-bottom: 34px; }
  .month { border-radius: 26px; }
  .cta__actions .btn { width: 100%; }
}
@media (max-width: 559px) {
  .nav .btn--sm { display: none; }
  .logo__text { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .star, .give-float::before { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}
