/*
  N.M.A שידוכים - עיצוב האתר
  צבעים: שמנת וזהב מהלוגו, דיו כחול-עמוק לטקסט. במצב לילה: שחור-כחלחל וזהב (כמו תמונת הקבוצה).
  צורות: תמונות בקשת (כמו קשת אבן ירושלמית / חופה), כרטיסים 18px, כפתורים עגולים לגמרי.
*/

:root {
  --bg: #FBF5E6;
  --bg-deep: #F4E9CC;
  --surface: #FFFCF4;
  --ink: #1B2033;
  --ink-soft: #4B5063;
  --line: rgba(27, 32, 51, .12);
  --gold: #A97E2C;
  --gold-text: #7A5A1A;
  --gold-light: #E3C478;
  --gold-grad: linear-gradient(120deg, #8C6420 0%, #D9B45E 45%, #A97E2C 70%, #8C6420 100%);
  --on-gold: #1B2033;
  --shadow: 0 18px 50px -24px rgba(122, 90, 26, .45);
  --radius: 18px;
  --serif: "Frank Ruhl Libre", "David Libre", serif;
  --sans: "Assistant", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1118;
    --bg-deep: #151824;
    --surface: #181B27;
    --ink: #F3EAD3;
    --ink-soft: #B9B3A2;
    --line: rgba(227, 196, 120, .16);
    --gold: #D9B45E;
    --gold-text: #E3C478;
    --gold-light: #E3C478;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip (not hidden) so the sticky header keeps working */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 17px/1 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn i { font-size: 21px; }
.btn:active { transform: scale(.98); }
.btn-gold {
  background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0;
  color: var(--on-gold);
  box-shadow: 0 10px 24px -12px rgba(140, 100, 32, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-text); }
.btn-outline { color: var(--gold-text); border-color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--on-gold); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-sm i { font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; border-radius: 50%; box-shadow: 0 4px 12px -6px rgba(122, 90, 26, .6); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 19px; }
.brand-text small { color: var(--ink-soft); font-size: 14px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-soft); position: relative; padding-block: 6px; }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.bsd { font-family: var(--serif); font-size: 14px; color: var(--ink-soft); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer;
}
.mobile-menu { display: grid; padding: 8px 20px 20px; gap: 2px; border-top: 1px solid var(--line); }
.mobile-menu a { padding: 12px 4px; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }

/* ---------- ראש העמוד ---------- */
.hero { padding: 48px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, color-mix(in srgb, var(--gold-light) 28%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, color-mix(in srgb, var(--gold-light) 16%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; min-height: calc(100dvh - 76px - 160px); }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--gold-text); margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); font-weight: 900; line-height: 1.08; padding-bottom: 6px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 34ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-visual { position: relative; justify-self: start; width: 100%; max-width: 520px; }
.arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden;
  box-shadow: var(--shadow);
  outline: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: 10px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); }
.seal {
  position: absolute; inset-inline-end: -40px; bottom: -34px; width: 196px; aspect-ratio: 1;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 20px 44px -18px rgba(122, 90, 26, .7);
}
.seal img { width: 100%; height: auto; }

/* כניסה של ראש העמוד */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .arch { animation: arch-in 1.3s var(--ease) both .1s; }
  .arch img { animation: settle 2.4s var(--ease) both .1s; }
  .seal { animation: seal-in 1s var(--ease) both .7s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes arch-in { from { opacity: 0; transform: translateY(24px); clip-path: inset(30% 0 0 0 round 999px 999px 18px 18px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1.06); } }
@keyframes seal-in { from { opacity: 0; transform: scale(.7) rotate(-20deg); } to { opacity: 1; transform: none; } }

/* ---------- עובדות ---------- */
.facts { padding: 26px 0; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg-deep) 55%, transparent); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { display: flex; align-items: center; gap: 14px; }
.fact strong { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--gold-text); line-height: 1; direction: ltr; white-space: nowrap; }
.fact i { font-size: 34px; color: var(--gold); }
.fact span { font-size: 16px; color: var(--ink-soft); line-height: 1.35; max-width: 16ch; }

/* ---------- אודות ---------- */
.about { padding: 120px 0 100px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); border-radius: var(--radius);
}
.about-copy h2 { font-size: clamp(36px, 4.4vw, 58px); }
.about-lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.5; margin-top: 18px; color: var(--ink); }
.about-copy > p:not(.about-lead) { margin-top: 18px; color: var(--ink-soft); max-width: 58ch; }
.roles { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.roles li {
  padding: 8px 18px; border-radius: 999px; font-size: 16px; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); color: var(--gold-text);
  background: color-mix(in srgb, var(--gold-light) 10%, transparent);
}
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--ink); font-weight: 600; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.text-link i { color: var(--gold); font-size: 20px; }

/* ---------- כותרות סקשן ---------- */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 19px; }

/* ---------- הדרך לחופה ---------- */
.path { padding: 110px 0; background: var(--bg-deep); position: relative; overflow: hidden; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 31px; inset-inline: 32px; height: 1px;
  background: linear-gradient(to left, var(--gold), color-mix(in srgb, var(--gold) 20%, transparent));
}
.timeline li { position: relative; }
.node {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--gold-text); font-size: 28px; position: relative; z-index: 1;
  transition: transform .4s var(--ease), background .3s;
}
.timeline li:hover .node { transform: translateY(-4px); }
.node-gold { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; }
.timeline h3 { font-size: 24px; margin-top: 22px; }
.timeline p { margin-top: 10px; font-size: 16.5px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- פס ציטוט ---------- */
.quote-band { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.quote-band > img { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); max-width: none; object-fit: cover; z-index: -2; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(10, 11, 16, .25), rgba(10, 11, 16, .78)); }
.quote-inner { text-align: center; padding: 60px 20px; color: #F6EDD6; text-shadow: 0 2px 18px rgba(0, 0, 0, .75), 0 1px 3px rgba(0, 0, 0, .6); }
.quote-inner blockquote { margin: 0; }
.quote-inner blockquote p { font-family: var(--serif); font-size: clamp(34px, 5vw, 66px); font-weight: 500; line-height: 1.2; }
.quote-inner cite { display: inline-block; margin-top: 20px; font-style: normal; font-size: 17px; color: #E3C478; letter-spacing: .04em; }

/* ---------- צוות ---------- */
.team { padding: 120px 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 22px; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.member:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 50%, transparent); box-shadow: var(--shadow); }
.member-lead {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
  background:
    radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--gold-light) 22%, transparent), transparent 60%),
    var(--surface);
}
.monogram {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold-text);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--gold-light) 12%, var(--surface));
  margin-bottom: 20px;
}
.member-lead .monogram { width: 120px; height: 120px; font-size: 36px; margin: 0; background: var(--gold-grad); color: var(--on-gold); border: 0; }
.member h3 { font-size: 25px; }
.member-lead h3 { font-size: clamp(28px, 3vw, 36px); }
.role { color: var(--gold-text); font-weight: 600; font-size: 16px; margin-top: 4px; }
.member p:not(.role) { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; }

/* ---------- מסלולים ---------- */
.tracks { padding: 110px 0; background: var(--bg-deep); }
.tracks .section-head { margin-bottom: 44px; }
.tracks-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.track {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column;
}
.track-featured {
  background: #161A28; color: #F3EAD3; border-color: rgba(227, 196, 120, .35);
  --ink-soft: #BDB6A3; --gold-text: #E3C478; --gold: #D9B45E;
  box-shadow: 0 30px 70px -36px rgba(15, 17, 24, .9);
  position: relative; overflow: hidden;
}
.track-featured::before {
  content: ""; position: absolute; width: 420px; height: 420px; inset-inline-start: -160px; top: -200px;
  background: radial-gradient(circle, rgba(217, 180, 94, .22), transparent 65%); pointer-events: none;
}
.track-icon { font-size: 40px; color: var(--gold); }
.track h3 { font-size: 32px; margin-top: 18px; }
.track-price { font-weight: 600; color: var(--gold-text); margin-top: 6px; }
.track > p:not(.track-price) { margin-top: 16px; color: var(--ink-soft); }
.rules { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.rules li { display: flex; align-items: flex-start; gap: 10px; font-size: 16.5px; }
.rules i { color: var(--gold); font-size: 18px; margin-top: 5px; }
.track-actions { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.channels { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.channels a { color: var(--gold-text); font-weight: 600; text-underline-offset: 4px; }

/* ---------- שאלות ---------- */
.faq { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(34px, 4vw, 52px); }
.faq-head img { margin-top: 32px; width: 100%; max-width: 340px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--gold); font-size: 22px; flex-shrink: 0; transition: transform .35s var(--ease); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 62ch; }
.faq-list details a { color: var(--gold-text); font-weight: 600; }

/* ---------- יצירת קשר ---------- */
.contact { padding: 110px 0 130px; background: var(--bg-deep); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: clamp(38px, 4.6vw, 60px); }
.contact-info > p { margin-top: 16px; color: var(--ink-soft); max-width: 44ch; }
.info-list { margin: 36px 0 0; display: grid; gap: 22px; }
.info-list div { display: grid; gap: 2px; }
.info-list dt { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 15px; }
.info-list dt i { color: var(--gold); font-size: 19px; }
.info-list dd { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.info-list dd a { text-decoration: none; }
.info-list dd a:hover { color: var(--gold-text); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: grid; gap: 18px; box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 12px; padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent);
}
.field input[aria-invalid="true"] { border-color: #B3261E; }
.error { color: #B3261E; font-size: 14.5px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .error { color: #F2A29C; } .field input[aria-invalid="true"] { border-color: #F2A29C; } }
.form-note { font-size: 14.5px; color: var(--ink-soft); text-align: center; }

/* ---------- תחתית ---------- */
.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 120px; height: auto; border-radius: 50%; }
.footer-brand p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--gold-text); }
.footer-contact { display: grid; gap: 10px; align-content: start; color: var(--ink-soft); font-size: 16px; }
.footer-contact i { color: var(--gold); margin-inline-end: 6px; }
.footer-contact a { text-decoration: none; color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }

/* כפתור וואטסאפ צף, בנייד בלבד */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--gold-grad); color: var(--on-gold); font-size: 30px; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(140, 100, 32, .9);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ---------- הופעה בגלילה ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .timeline li.reveal:nth-child(2) { transition-delay: .08s; }
  .js .timeline li.reveal:nth-child(3) { transition-delay: .16s; }
  .js .timeline li.reveal:nth-child(4) { transition-delay: .24s; }
  .js .timeline li.reveal:nth-child(5) { transition-delay: .32s; }
  .js .team-grid .reveal:nth-child(3) { transition-delay: .08s; }
  .js .team-grid .reveal:nth-child(4) { transition-delay: .16s; }
  .js .quote-band.in-view > img { transform: scale(1); }
  .quote-band > img { transform: scale(1.08); transition: transform 2.4s var(--ease); }
}

/* ---------- טאבלט ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 32px; bottom: 32px; inset-inline: auto; inset-inline-start: 31px; width: 1px; height: auto; background: linear-gradient(to bottom, var(--gold), color-mix(in srgb, var(--gold) 20%, transparent)); }
  .timeline li { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; padding-bottom: 34px; }
  .timeline li .node { grid-row: span 2; }
  .timeline h3 { margin-top: 14px; }
  .timeline p { grid-column: 2; max-width: 52ch; }
}

/* ---------- נייד ---------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .header-row { height: 66px; }
  .brand img { width: 46px; }
  .brand-text small { display: none; }
  .header-actions .btn-sm { display: none; }
  .hero { padding: 28px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-visual { max-width: 420px; justify-self: center; width: calc(100% - 30px); }
  .seal { width: 124px; inset-inline-end: -16px; bottom: -20px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .fact strong { font-size: 30px; }
  .fact i { font-size: 28px; }
  .fact span { font-size: 15px; }
  .about, .team, .faq { padding: 80px 0; }
  .about { padding-bottom: 44px; } /* פחות רווח בין האודות לבאנר המשרד */
  .path, .tracks, .contact { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { max-width: 380px; width: calc(100% - 18px); }
  .section-head { margin-bottom: 40px; }
  .quote-band { min-height: 400px; }
  .team-grid { grid-template-columns: 1fr; }
  .member-lead { grid-template-columns: 1fr; gap: 20px; }
  .member-lead .monogram { width: 88px; height: 88px; font-size: 28px; }
  .tracks-grid { grid-template-columns: 1fr; }
  .track { padding: 30px 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .faq-head img { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-bottom: 70px; }
  .wa-float { display: grid; }
}

/* ---------- הודעת שבת ---------- */
.shabbat-note {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 10px 16px; font-size: 15.5px; font-weight: 500;
  background: var(--gold-grad); color: var(--on-gold);
}
.shabbat-note[hidden] { display: none; }
.shabbat-note i { font-size: 20px; }

/* ---------- פרטיות ---------- */
.privacy { padding: 0 0 120px; }
.privacy-card {
  display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.privacy-media { position: relative; min-height: 100%; }
.privacy-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.privacy-copy { padding: 56px 56px 60px; }
.privacy-icon { font-size: 40px; color: var(--gold); }
.privacy-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 16px; }
.privacy-copy > p { margin-top: 14px; color: var(--ink-soft); max-width: 52ch; }
.promises { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.promises li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.promises strong { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.promises span { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

.hero-visual { max-width: min(520px, calc((100dvh - 190px) * .8)); }

@media (max-width: 820px) {
  .privacy { padding-bottom: 80px; }
  .privacy-card { grid-template-columns: 1fr; }
  .privacy-media { aspect-ratio: 16 / 9; }
  .privacy-copy { padding: 30px 22px 34px; }
  .promises { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { max-width: 420px; }
}

/* ---------- באנר המשרד ---------- */
.banner { padding: 0 0 110px; }
.banner-frame {
  margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  outline: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: 8px;
}
.banner-frame img { width: 100%; }
@media (max-width: 820px) {
  .banner { padding-bottom: 70px; }
  .banner .wrap { width: 100%; }
  .banner-frame { border-radius: 0; outline: 0; box-shadow: none; }
}

/* ======================================================================
   תנועה ואנימציות (motion.js)
   כל מה שמסתיר תוכן מופעל רק דרך מחלקות שה-JS מוסיף, כך שבלי JS או בלי
   הספרייה הכול גלוי. מי שביקש "בלי תנועה" לא מקבל אף אחת מהאנימציות.
   ====================================================================== */

/* בס"ד בפינה הימנית העליונה של הכותרת, קטן ודיסקרטי */
.site-header .bsd {
  position: absolute; top: 4px; inset-inline-start: 8px; z-index: 2;
  font-size: 12px; line-height: 1; letter-spacing: .02em; color: var(--ink-soft); opacity: .85;
  pointer-events: none;
}
@media (max-width: 820px) { .site-header .bsd { top: 3px; inset-inline-start: 4px; font-size: 11px; } }

/* כותרת עליונה: צל עדין והלוגו מתכווץ קצת אחרי שמתחילים לגלול (בלי לשנות גובה) */
.site-header { transition: border-color .3s, box-shadow .5s var(--ease), background-color .5s; }
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 14px 34px -24px rgba(122, 90, 26, .55);
}
.brand img { transition: transform .5s var(--ease); }
.site-header.scrolled .brand img { transform: scale(.86); }

/* פס התקדמות זהב, מתמלא מימין לשמאל */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; pointer-events: none;
  background: var(--gold-grad); transform-origin: 100% 50%; transform: scaleX(0);
}

/* עטיפות תמונה (נוספות ב-JS) */
.arch { position: relative; }
.arch-par { position: absolute; inset: -7% 0; }
.ph-mask { overflow: hidden; border-radius: var(--radius); }
.ph-mask img { border-radius: 0; }

/* ניצוצות בראש העמוד, מאחורי התוכן */
.hero-sparkles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; }
/* החותם מסתובב קצת בגלילה; בנייד הפינה שלו לא תיצור גלילה הצידה */
.hero { overflow-x: clip; }

/* ---------- פס נע של תחומי העיסוק ---------- */
.marquee {
  padding: 34px 0; overflow: hidden; overflow: clip;
  border-block: 1px solid var(--line); background: var(--bg);
}
.marquee-track { display: flex; width: max-content; }
.marquee-group {
  display: flex; align-items: center; justify-content: space-around; flex-shrink: 0;
  min-width: 100vw; list-style: none; margin: 0; padding: 0;
}
.marquee-group li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(32px, 5vw, 72px); font-weight: 700; line-height: 1.25;
}
.marquee-group li::after {
  content: ""; width: .2em; height: .2em; margin-inline: .7em; flex-shrink: 0;
  background: var(--gold); opacity: .75; transform: rotate(45deg);
}
.marquee-group li:nth-child(odd) span { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee-group li:nth-child(even) span {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 820px) { .marquee { padding: 22px 0; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-track { width: 100%; }
  .marquee-group { min-width: 0; width: 100%; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
  .marquee-group li { font-size: clamp(24px, 3.4vw, 40px); }
}

@media (prefers-reduced-motion: no-preference) {

  /* הפס הנע זז לכיוון ימין (מתאים לקריאה מימין לשמאל), נעצר במעבר עכבר ומחוץ למסך */
  .marquee-track { animation: marquee 55s linear infinite; }
  .marquee:hover .marquee-track, .marquee.is-off .marquee-track { animation-play-state: paused; }

  /* כותרות שמתפצלות למילים: כל מילה עולה מתוך חלון */
  .sw {
    display: inline-block; overflow: hidden; vertical-align: top;
    padding: .1em .03em .18em; margin: -.1em -.03em -.18em;
  }
  .sw-i { display: inline-block; }
  .hero h1.is-split { animation: none; opacity: 1; transform: none; }
  .hero h1.is-split .sw-i {
    transform: translateY(110%);
    animation: word-up 1.15s var(--ease) forwards;
    animation-delay: calc(.12s + var(--i) * .11s);
  }
  .js .reveal .is-split .sw-i {
    transform: translateY(110%);
    transition: transform 1.1s var(--ease);
    transition-delay: calc(.1s + var(--i) * .07s);
  }
  .js .reveal.in .is-split .sw-i { transform: none; }

  /* ראש העמוד: התמונה "נושמת" לאט, החותם מרחף */
  .motion .arch img { animation: settle 2.4s var(--ease) both .1s, breathe 18s ease-in-out 2.5s infinite alternate; }
  .motion .seal picture { display: block; animation: seal-float 9s ease-in-out 1.8s infinite; }

  /* ברק זהב שעובר מדי פעם על הכפתורים הזהובים (מאחורי הטקסט) */
  .btn-gold { position: relative; overflow: hidden; isolation: isolate; }
  .btn-gold::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 250, 232, .6), transparent);
    transform: translateX(260%) skewX(-20deg);
    animation: btn-shine 7s ease-in-out 3s infinite;
  }
  .btn-gold:hover::after { animation: btn-shine-now .9s var(--ease); }
  .magnetic { transition: box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; }

  /* כפתור הוואטסאפ הצף: טבעת שמתרחבת מדי פעם */
  .wa-float::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    border: 2px solid var(--gold); opacity: 0;
    animation: ring-out 3.4s ease-out 2s infinite;
  }

  /* הדרך לחופה: קו בסיס חיוור + קו זהב שמצייר את עצמו */
  .tl-motion .timeline::before { opacity: .3; }
  .tl-motion .timeline::after {
    content: ""; position: absolute; top: 30px; inset-inline: 32px; height: 2px; pointer-events: none;
    background: linear-gradient(to left, var(--gold), var(--gold-light) 60%, var(--gold));
    transform-origin: 100% 50%; transform: scaleX(var(--draw, 1));
  }
  @media (max-width: 1080px) {
    .tl-motion .timeline::after {
      top: 32px; bottom: 32px; inset-inline: auto; inset-inline-start: 30px; width: 2px; height: auto;
      background: linear-gradient(to bottom, var(--gold), var(--gold-light) 60%, var(--gold));
      transform-origin: 50% 0; transform: scaleY(var(--draw, 1));
    }
  }
  .tl-motion .timeline .node { transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .5s var(--ease), background .3s; }
  .tl-motion .timeline h3, .tl-motion .timeline p { transition: opacity .8s var(--ease) .12s, transform .8s var(--ease) .12s; }
  .tl-motion .timeline p { transition-delay: .22s; }
  .tl-motion .timeline li:not(.lit) .node { opacity: 0; transform: scale(.3); }
  .tl-motion .timeline li:not(.lit) h3,
  .tl-motion .timeline li:not(.lit) p { opacity: 0; transform: translateY(16px); }

  /* הלב בתחנה האחרונה פועם בעדינות */
  .motion .node-gold::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    border: 1px solid var(--gold); opacity: 0;
    animation: ring-out 2.8s ease-out infinite;
  }
  .motion .node-gold i { display: inline-block; animation: heart-beat 2.8s ease-in-out infinite; }

  /* פס הציטוט: התנועה עוברת ל-GSAP */
  .gsap-on .quote-band > img { transition: none; }

  /* מונוגרמות: טבעת זהב שמסתובבת לאט */
  .motion .monogram { position: relative; }
  .motion .monogram::before {
    content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0 45%, color-mix(in srgb, var(--gold) 90%, transparent) 78%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
    animation: spin 11s linear infinite;
  }

  /* פרטיות: זום איטי בתמונה כשהיא על המסך */
  .motion .privacy-media img {
    transform-origin: 60% 40%;
    animation: kenburns 24s ease-in-out infinite alternate; animation-play-state: paused;
  }
  .motion .privacy-media.kb-on img { animation-play-state: running; }

  /* שאלות נפוצות: התשובה נכנסת ברכות כשפותחים */
  .faq-list details[open] > p { animation: faq-open .55s var(--ease); }

  /* כרטיסים במחשב: הטיה עדינה וזרקור זהב שעוקב אחרי העכבר */
  .tilt { position: relative; isolation: isolate; transition: border-color .35s, box-shadow .35s; }
  .card-spot {
    position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    opacity: 0; transition: opacity .5s var(--ease);
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--gold-light) 20%, transparent), transparent 62%);
  }
  .tilt::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    opacity: 0; transition: opacity .5s var(--ease);
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), var(--gold-light), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .tilt.is-tap .card-spot, .tilt.is-tap::after { opacity: 1; transition-duration: .2s; }

  /* גל אור זהוב מנקודת הלחיצה על כפתור */
  .has-ripple { position: relative; overflow: hidden; isolation: isolate; }
  .btn-ripple {
    position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255, 246, 214, .7) 0%, rgba(227, 196, 120, .35) 40%, rgba(227, 196, 120, 0) 70%);
    transform: scale(0); opacity: 1;
    animation: ripple .75s var(--ease) forwards;
  }

  /* "אלפים" בעובדות: זהב עם ברק שעובר מדי פעם (בכל מכשיר) */
  .motion .fact strong.fact-word {
    background-image: linear-gradient(100deg, transparent 40%, rgba(255, 247, 222, .95) 50%, transparent 60%), var(--gold-grad);
    background-size: 260% 100%, 100% 100%; background-repeat: no-repeat;
    animation: gold-sheen 6.5s ease-in-out 1.6s infinite;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .tilt:hover .card-spot, .tilt:hover::after { opacity: 1; }
}

/* ברק עדין על המילה הזהובה בכותרת הראשית, במחשב ובנייד */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero .gold-text {
    background-image: linear-gradient(100deg, transparent 42%, rgba(255, 247, 222, .95) 50%, transparent 58%), var(--gold-grad);
    background-size: 250% 100%, 100% 100%; background-repeat: no-repeat;
    animation: gold-sheen 8s ease-in-out 2.6s infinite;
  }
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- "אלפים" במקום מספר בעובדות ---------- */
.fact strong.fact-word {
  direction: rtl; font-weight: 900; letter-spacing: 0;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-block: .08em; /* שהזהב לא ייחתך בקצה האותיות */
}

@keyframes word-up { to { transform: none; } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes breathe { from { transform: scale(1.06); } to { transform: scale(1.13); } }
@keyframes seal-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-9px) rotate(3deg); }
}
@keyframes btn-shine {
  0%, 80% { transform: translateX(260%) skewX(-20deg); }
  100% { transform: translateX(-140%) skewX(-20deg); }
}
@keyframes btn-shine-now {
  from { transform: translateX(260%) skewX(-20deg); }
  to { transform: translateX(-140%) skewX(-20deg); }
}
@keyframes ring-out {
  0% { transform: scale(1); opacity: .75; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.16); }
  24% { transform: scale(1); }
  36% { transform: scale(1.1); }
  48% { transform: scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes gold-sheen {
  0%, 60% { background-position: 0% 0, 0 0; }
  100% { background-position: 100% 0, 0 0; }
}


/* ---------- תגית בסקשן יצירת קשר + מניעת גלילה לצדדים ---------- */
html { overflow-x: clip; }
.contact-tag { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  outline: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); outline-offset: 6px; max-width: 520px; }
.contact-tag img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 820px) { .contact-tag { max-width: none; margin-top: 32px; } }

/* ======================================================================
   מכתבי תודה (נוסף 24/11/2026)
   סקשן כהה ויוקרתי: ציטוט מרכזי גדול + כרטיסי ציטוט.
   במחשב: פריסת לבנים בשלוש עמודות. בנייד: גלילה הצידה עם עצירה על כל כרטיס.
   המילים של האנשים במקור. בלי שמות, בלי טלפונים, בלי תמונות.
   ====================================================================== */
.thanks {
  --t-bg: #12151F; --t-card: #191D2A; --t-ink: #F3EAD3; --t-soft: #BDB6A3;
  --t-line: rgba(227, 196, 120, .18); --t-gold: #D9B45E; --t-gold-light: #E3C478;
  position: relative; padding: 120px 0 128px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 45% at 88% 0%, rgba(217, 180, 94, .16), transparent 70%),
    radial-gradient(45% 40% at 6% 100%, rgba(217, 180, 94, .10), transparent 70%),
    var(--t-bg);
  color: var(--t-ink);
  border-block: 1px solid var(--t-line);
}
.thanks::before { /* מסגרת זהב דקה פנימית, כמו בהזמנה לחתונה */
  content: ""; position: absolute; inset: 22px; z-index: -1; pointer-events: none;
  border: 1px solid rgba(227, 196, 120, .14); border-radius: 26px;
}
.thanks-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.thanks-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 600; letter-spacing: .14em; color: var(--t-gold-light);
}
.thanks-eyebrow::before, .thanks-eyebrow::after {
  content: ""; width: 42px; height: 1px; background: linear-gradient(to left, transparent, var(--t-gold));
}
.thanks-eyebrow::after { background: linear-gradient(to right, transparent, var(--t-gold)); }
.thanks-head h2 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 18px; color: var(--t-ink); }
.thanks-head h2 .gold-text { padding-bottom: .06em; }
.thanks-head p { margin: 18px auto 0; color: var(--t-soft); font-size: 19px; max-width: 56ch; }

/* שורת אמון קטנה מתחת לכותרת */
.thanks-stats {
  list-style: none; padding: 0; margin: 30px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.thanks-stats li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--t-line); background: rgba(227, 196, 120, .06);
  font-size: 15.5px; color: var(--t-ink);
}
.thanks-stats i { color: var(--t-gold); font-size: 18px; }

/* הציטוט המרכזי */
.thanks-feature {
  position: relative; margin: 0 auto 30px; max-width: 980px;
  padding: 64px 72px 50px; border-radius: 24px; text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(217, 180, 94, .14), transparent 65%),
    var(--t-card);
  border: 1px solid rgba(227, 196, 120, .32);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}
.thanks-feature .t-seal {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  color: #1B2033; font-size: 30px;
  background: var(--gold-grad); box-shadow: 0 14px 30px -12px rgba(140, 100, 32, .9);
}
.thanks-feature blockquote { margin: 0; }
.thanks-feature blockquote p {
  font-family: var(--serif); font-weight: 500; color: var(--t-ink);
  font-size: clamp(21px, 2.15vw, 28px); line-height: 1.62;
}
.thanks-feature blockquote p + p { margin-top: 14px; }
.thanks-feature figcaption { margin-top: 30px; display: grid; justify-items: center; gap: 10px; }

/* כרטיסים */
.thanks-wall { position: relative; }
.thanks-track {
  list-style: none; margin: 0; padding: 6px 2px 10px; display: flex; align-items: stretch; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.thanks-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 calc((100% - 48px) / 3); margin: 0; position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 28px 22px; border-radius: 20px;
  background: var(--t-card); border: 1px solid var(--t-line);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.t-card:hover { border-color: rgba(227, 196, 120, .45); box-shadow: 0 26px 60px -40px rgba(0, 0, 0, .95); }
.t-card blockquote { margin: 0; }
.t-card blockquote p { font-size: 17.5px; line-height: 1.75; color: var(--t-ink); }
.t-card blockquote p + p { margin-top: 10px; }
.t-mark { font: 700 60px/1 var(--serif); color: var(--t-gold); opacity: .6; height: 26px; overflow: hidden; display: block; }

/* תגית מזל טוב על כרטיסי הצלחה */
.t-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  color: #1B2033; background: var(--gold-grad);
}
.t-tag i { font-size: 15px; }
.thanks-feature .t-tag { align-self: center; }
.t-card.is-win {
  border-color: rgba(227, 196, 120, .38);
  background: radial-gradient(90% 60% at 100% 0%, rgba(217, 180, 94, .12), transparent 70%), var(--t-card);
}

.t-who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--t-line); }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid rgba(227, 196, 120, .45); color: var(--t-gold-light); font-size: 18px;
  background: rgba(227, 196, 120, .07);
}
.t-who strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--t-ink); line-height: 1.25; }
.t-who small { display: block; font-size: 14px; color: var(--t-soft); line-height: 1.4; }
.thanks-feature .t-who { border: 0; padding: 0; margin: 0; }

.thanks-note {
  margin: 30px auto 0; max-width: 680px; text-align: center; font-size: 15px; color: var(--t-soft);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.thanks-note i { color: var(--t-gold); font-size: 18px; flex-shrink: 0; }

/* כרטיס מכתב ההמלצה של הרב: גוון זהב בהיר יותר */
.t-card-rav {
  border-color: rgba(227, 196, 120, .4);
  background: linear-gradient(160deg, rgba(227, 196, 120, .13), rgba(227, 196, 120, .03) 55%), var(--t-card);
}
.t-card-rav blockquote p { font-family: var(--serif); font-size: 18.5px; line-height: 1.65; }

/* חיצים ומונה מתחת לכרטיסים */
.thanks-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.thanks-nav button {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(227, 196, 120, .45); background: transparent; color: var(--t-gold-light); font-size: 21px;
  transition: background .25s, color .25s, opacity .25s, transform .25s var(--ease);
}
.thanks-nav button:hover:not([disabled]) { background: var(--t-gold); color: #1B2033; }
.thanks-nav button:active:not([disabled]) { transform: scale(.94); }
.thanks-nav button[disabled] { opacity: .3; cursor: default; }
.thanks-count { min-width: 70px; text-align: center; font-family: var(--serif); font-size: 18px; color: var(--t-soft); direction: ltr; }
.thanks-count b { color: var(--t-gold-light); font-weight: 700; }

@media (max-width: 1080px) { .t-card { flex-basis: calc((100% - 24px) / 2); } }

@media (max-width: 820px) {
  .thanks { padding: 80px 0 84px; }
  .thanks::before { inset: 10px; border-radius: 20px; }
  .thanks-head { margin-bottom: 52px; }
  .thanks-head p { font-size: 17px; }
  .thanks-eyebrow::before, .thanks-eyebrow::after { width: 26px; }
  .thanks-stats li { font-size: 14.5px; padding: 7px 13px; }
  .thanks-feature { padding: 48px 22px 32px; margin-bottom: 26px; border-radius: 20px; }
  .thanks-feature .t-seal { width: 58px; height: 58px; top: -29px; font-size: 26px; }
  .thanks-feature blockquote p { font-size: 19.5px; line-height: 1.6; }

  /* כל כרטיס כמעט ברוחב המסך, והבא מציץ מהצד */
  .thanks-wall { margin-inline: -16px; }
  .thanks-track {
    gap: 14px; scroll-padding-inline: 16px; padding: 4px 16px 8px; align-items: flex-start;
    overflow-y: hidden; transition: height .45s var(--ease);
  }
  .t-card { flex: 0 0 86%; padding: 24px 22px 20px; }
  .t-who { margin-top: 4px; }
  .t-card blockquote p { font-size: 17px; }
  .thanks-nav { gap: 16px; margin-top: 22px; }
  .thanks-nav button { width: 46px; height: 46px; font-size: 20px; }
  .thanks-note { font-size: 14px; padding-inline: 6px; }
}

/* ===== הצילומים המקוריים: רשת תמונות ממוזערות + חלון הגדלה ===== */
.thanks-shots { margin-top: 72px; }
.shots-head { text-align: center; margin-bottom: 30px; }
.shots-head h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); color: var(--t-ink); }
.shots-head p { margin: 10px auto 0; color: var(--t-soft); font-size: 17px; max-width: 58ch; }
.shots-grid {
  list-style: none; padding: 4px 0 8px; margin: 0; display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.shots-grid::-webkit-scrollbar { display: none; }
.shots-grid li { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.shot {
  position: relative; width: 100%; height: 540px; padding: 0; overflow: hidden; cursor: zoom-in;
  border-radius: 16px; border: 1px solid var(--t-line); background: #0D0F16;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
/* כל צילום ברוחב מלא בלי חיתוך בצדדים: צילום קצר יושב באמצע, צילום ארוך מתחיל מלמעלה */
.shot { display: flex; flex-direction: column; justify-content: safe center; }
.shot img { width: 100%; height: auto; flex-shrink: 0; display: block; transition: transform .6s var(--ease); }
.shot-doc { background: #F4F1EA; }
.shot-doc img { padding: 12px 12px 52px; }
.shot span {
  position: absolute; inset-inline: 0; bottom: 0; padding: 34px 12px 11px; text-align: center;
  font-size: 16px; font-weight: 600; color: #F7EFD9; line-height: 1.3;
  background: linear-gradient(to top, rgba(10, 12, 18, .94) 35%, rgba(10, 12, 18, 0));
}
.shot:hover, .shot:focus-visible { transform: translateY(-4px); border-color: rgba(227, 196, 120, .55); box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .9); }
.shot:hover img { transform: scale(1.04); }
.shot:focus-visible { outline: 2px solid var(--t-gold-light); outline-offset: 3px; }

.shot-box {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible;
}
.shot-box::backdrop { background: rgba(8, 9, 14, .88); backdrop-filter: blur(4px); }
.shot-box img {
  display: block; max-width: min(92vw, 720px); max-height: 86vh; width: auto; height: auto; margin: 0 auto;
  border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); background: #fff;
}
.shot-box button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(227, 196, 120, .45); background: rgba(18, 21, 31, .92); color: #E3C478; font-size: 22px;
}
.shot-close { top: -18px; inset-inline-end: -18px; }
.shot-prev, .shot-next { top: 50%; transform: translateY(-50%); }
.shot-prev { inset-inline-start: -64px; }
.shot-next { inset-inline-end: -64px; }
.shot-box button:hover { background: #E3C478; color: #12151F; }

@media (max-width: 1080px) { .shots-grid li { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 820px) {
  .thanks-shots { margin-top: 56px; }
  .shots-head p { font-size: 15.5px; }
  /* בנייד: צילום אחד כמעט ברוחב המסך, והבא מציץ מהצד */
  .shots-grid { gap: 14px; margin-inline: -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px; }
  .shots-grid li { flex: 0 0 86%; }
  /* בנייד הגובה לפי הצילום עצמו (עד 470), בלי רווח ריק, והכיתוב מתחת לצילום */
  .shots-grid { align-items: flex-start; overflow-y: hidden; transition: height .45s var(--ease); }
  .shot { height: auto; max-height: 470px; padding-bottom: 42px; justify-content: flex-start; }
  .shot span { font-size: 15px; }
  .shot-box img { max-height: 80vh; }
  .shot-close { top: -58px; inset-inline-end: 0; }
  .shot-prev, .shot-next { top: auto; bottom: -62px; transform: none; }
  .shot-prev { inset-inline-start: calc(50% - 58px); }
  .shot-next { inset-inline-end: calc(50% - 58px); }
}


/* ===== תמונת ר' נתנאל (נוסף 24/11/2026) ===== */
/* כרטיס קטן עם הפנים והשם, בפינה העליונה של תמונת החתונה */
.host-card {
  position: absolute; top: 9%; inset-inline-start: -34px; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  box-shadow: 0 18px 40px -18px rgba(40, 28, 10, .45); color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.host-card:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -18px rgba(40, 28, 10, .55); }
.host-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--gold); }
.host-card strong { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.host-card small { display: block; font-size: 13.5px; color: var(--gold-text); font-weight: 600; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .host-card { animation: host-in 1s var(--ease) both .9s; }
}
@keyframes host-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* אודות: שם מתחת לתמונה */
.about-photo figcaption {
  position: absolute; inset-inline: 18px; bottom: 18px; padding: 14px 18px; border-radius: 14px;
  background: rgba(22, 19, 16, .62); backdrop-filter: blur(6px); color: #FBF5EA;
  display: flex; flex-direction: column; gap: 2px;
}
.about-photo figcaption strong { font-family: var(--serif); font-size: 21px; }
.about-photo figcaption span { font-size: 14.5px; color: #E3C478; }
.about-photo img { object-position: 50% 15%; }

/* הצוות: תמונה במקום ראשי תיבות */
.member-lead .member-photo { padding: 0; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--gold); }

@media (max-width: 820px) {
  .host-card { top: 6%; inset-inline-start: -12px; padding: 6px 14px 6px 6px; gap: 10px; }
  .host-card img { width: 44px; height: 44px; }
  .host-card strong { font-size: 15.5px; }
  .host-card small { font-size: 12px; }
  .about-photo figcaption { inset-inline: 12px; bottom: 12px; padding: 10px 14px; }
  .about-photo figcaption strong { font-size: 18px; }
}

/* קישור למדריכים בסוף השאלות הנפוצות (נוסף 24/11/2026) */
.faq-more { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 17px; color: var(--ink-soft); }
.faq-more i { color: var(--gold-text); font-size: 22px; flex-shrink: 0; }
.faq-more a { color: var(--gold-text); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
