/* =========================================================
   BizExperts — אייל פאר, ייעוץ עסקי ופיננסי
   גיליון סגנון ראשי
   -----------------------------------------------------------------
   הערות תחזוקה חשובות:
   1. אין כאן שום כלל שמסתיר תוכן. אנימציות ה-CSS שנשארו הן
      דקורטיביות בלבד (הילות רקע, ברק, רצועת לוגואים, קווי זהב),
      וגם אם הן קופאות — שום דבר לא נעלם מהעמוד.
   2. כל אנימציה שמשפיעה על נראות תוכן מונעת ב-JS דרך טיימר, כי
      כשצינור הרינדור קופא שעון האנימציות של הדפדפן נעצר על אפס
      וכל keyframes או transition נתקע במצב ההתחלתי. הפירוט
      בראש js/main.js.
   3. גדלי טקסט ברם (rem) בלבד — כך כפתור הנגישות יכול להגדיל
      את כל האתר בשליטה על font-size של html.
   ========================================================= */

/* ---------- 1. משתנים ----------
   הפלטה נדגמה ישירות מקובצי הלוגו: הענבר החי מהלוגו התלת־ממדי,
   הזהב הרך מהלוגו השטוח, והתכלת־אפורה הקרירה שמשמשת בו כרקע.
   הניטרלים קרירים בכוונה — זה מה שנותן את המראה המקצועי — והענבר
   הרווי הוא מה שנותן את החיות. */
:root {
  --paper:     #FFFFFF;
  --bone:      #F4F7FB;
  --sand:      #E7EDF6;
  --ink:       #0E1116;
  --ink-2:     #171B22;
  --ink-3:     #242A34;
  --text:      #1F2530;
  --muted:     #5C6675;
  --line:      #DFE6F0;
  --line-soft: #EDF1F7;

  --gold:      #F5B01C;
  --gold-deep: #96620A;
  --gold-lite: #F8D661;
  --gold-pale: #FEF5E0;
  --amber:     #E08A00;

  --wrap: 1200px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --sh-sm: 0 2px 10px rgba(16, 24, 40, .04);
  --sh-md: 0 16px 44px rgba(16, 24, 40, .08);
  --sh-lg: 0 30px 80px rgba(16, 24, 40, .12);

  --serif: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --sans:  "Assistant", "Segoe UI", Arial, sans-serif;

  --ease: cubic-bezier(.22, .68, .28, 1);
}

/* ---------- 2. איפוס ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* בכוונה ללא scroll-behavior:smooth — הגלילה החלקה מנוהלת ב-JS */
  -webkit-text-size-adjust: 100%;
  font-size: 100%;            /* כפתור הנגישות משנה את הערך הזה */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.22;
  margin: 0 0 .55em;
  color: var(--ink);
  letter-spacing: -.2px;
}

h2 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--ink); }

ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold-lite); color: var(--ink); }

.skip-link {
  position: absolute;
  right: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 400;
  border-radius: 0 0 0 8px;
}
.skip-link:focus { right: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 860px; }

/* ---------- 3. אלמנטים משותפים ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: var(--gold-deep);
  margin: 0 0 16px;
}

/* גרסה למשפט שלם — פחות ריווח אותיות, כדי שיישאר קריא ולא ישתרע */
.kicker--line {
  align-items: flex-start;
  letter-spacing: .4px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 46ch;
  text-align: start;
}
.kicker--line .kicker__dot { margin-top: .55em; }

.kicker__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 176, 28, .55);
  animation: ping 2.6s ease-out infinite;
}

@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(245, 176, 28, .6); }
  70%  { box-shadow: 0 0 0 12px rgba(245, 176, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 176, 28, 0); }
}

.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--tint { background: var(--bone); overflow: hidden; }

/* אשכול משושים דהוי ברקע המקטע — אותה צורה של הלוגו, בגדול.
   דקורציה בלבד: גם אם האנימציה קופאת, זה פשוט עומד במקום. */
.hexfield {
  position: absolute;
  top: -60px; left: -90px;
  width: min(560px, 60vw);
  pointer-events: none;
  opacity: .5;
  animation: hexdrift 26s ease-in-out infinite;
}
.hexfield svg { width: 100%; height: auto; stroke: var(--gold); opacity: .22; }
.hexfield--flip {
  top: auto; left: auto;
  bottom: -80px; right: -100px;
  transform: scaleX(-1);
  animation-duration: 32s;
}
@keyframes hexdrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(26px, -22px) rotate(4deg); }
}
.hexfield--flip { animation-name: hexdrift-flip; }
@keyframes hexdrift-flip {
  0%, 100% { transform: scaleX(-1) translate(0, 0) rotate(0deg); }
  50%      { transform: scaleX(-1) translate(30px, -18px) rotate(-4deg); }
}


.section__head {
  max-width: 700px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}
.section__head h2 { margin-bottom: .35em; }

.section__sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* קו זהב מתחת לכותרות מקטע */
.section__head h2::after {
  content: "";
  display: block;
  width: 76px; height: 2px;
  margin: 22px auto 0;
  /* צבע בסיס מתחת לגרדיאנט הנע — כך הקו נראה גם אם האנימציה עצורה */
  background-color: var(--gold-lite);
  background-image: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 220% 100%;
  animation: sweepline 4.5s linear infinite;
}
@keyframes sweepline {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold-deep);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(-5px); }

/* ---------- 4. כפתורים ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
}
.btn__ico { width: 19px; height: 19px; flex: none; }
.btn--sm { padding: 11px 22px; font-size: .95rem; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-lite) 0%, var(--gold) 48%, var(--amber) 100%);
  color: #1A1204;
  box-shadow: 0 12px 28px rgba(224, 138, 0, .28);
}
.btn--gold:hover {
  color: #1A1204;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(224, 138, 0, .38);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-3px);
}

/* ברק שעובר על הכפתור */
.btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 62%  { transform: translateX(-120%); }
  78%      { transform: translateX(120%); }
  100%     { transform: translateX(120%); }
}

/* ---------- מסך פתיחה — הכוורת ----------
   המצב ההתחלתי בלבד מוגדר כאן. כל התנועה מונעת ב-JS דרך טיימר,
   ואין כאן שום animation או transition — מסך שמכסה את העמוד
   לא יכול להיות תלוי בשעון האנימציות של הדפדפן. */
.intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.intro__glow {
  position: absolute;
  width: 720px; height: 720px;
  max-width: 150vw; max-height: 150vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,176,28,.26), rgba(245,176,28,0) 68%);
  pointer-events: none;
}

.intro__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro__logo {
  width: min(190px, 44vw);
  height: auto;
  overflow: visible;
}

.intro__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;                 /* ה-JS מכניס אותו פנימה */
}
.intro__name {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 5vw, 1.95rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: .2px;
}
.intro__biz {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2.6px;
  color: var(--gold-deep);
}

.intro__line {
  width: 96px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);       /* ה-JS פורש אותו */
}

/* ---------- 5. פס התקדמות גלילה ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-lite));
  box-shadow: 0 0 12px rgba(245, 176, 28, .6);
}

/* ---------- 6. ניווט ---------- */
.nav {
  position: fixed;
  inset: 3px 0 auto 0;
  z-index: 110;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 14px 0;
}
.nav.is-solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(16, 24, 40, .05);
  padding: 7px 0;
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand { display: flex; align-items: center; flex: none; }

/* הלוגו המקורי של BizExperts, ברוחב מלא */
.nav__logo {
  width: auto;
  height: 46px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav.is-solid .nav__logo { height: 40px; }
.nav__brand:hover .nav__logo { transform: scale(1.03); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 9px 13px;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  right: 13px; left: 13px; bottom: 4px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--gold-deep); }

.nav__cta {
  margin-right: 10px;
  background: var(--ink);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  transform: translateY(-2px);
}

.nav__toggle {
  display: none;
  width: 46px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__links.is-open ~ .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__links.is-open ~ .nav__toggle span:nth-child(2) { opacity: 0; }
.nav__links.is-open ~ .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  padding: clamp(130px, 17vw, 190px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
  background: var(--paper);
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* ההילות מצוירות כגרדיאנט רך בלבד, בלי filter: blur().
   בספארי של iOS הטשטוש נחתך על ידי ה-overflow של ההורה ומצויר
   כמלבן זהב עם קצה חד בראש העמוד — בדיוק מה שנראה בנייד. גרדיאנט
   עם נקודות עצירה רכות נותן את אותו מראה ומתנהג זהה בכל דפדפן. */
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: .85;
}
.orb--1 {
  width: 560px; height: 560px;
  top: -200px; right: -150px;
  background: radial-gradient(circle closest-side,
    rgba(245,176,28,.30) 0%, rgba(245,176,28,.16) 40%,
    rgba(245,176,28,.05) 68%, rgba(245,176,28,0) 100%);
  animation: float1 18s ease-in-out infinite;
}
.orb--2 {
  width: 480px; height: 480px;
  bottom: -220px; left: -160px;
  background: radial-gradient(circle closest-side,
    rgba(248,214,97,.32) 0%, rgba(248,214,97,.17) 40%,
    rgba(248,214,97,.05) 68%, rgba(248,214,97,0) 100%);
  animation: float2 22s ease-in-out infinite;
}
.orb--3 {
  width: 320px; height: 320px;
  top: 42%; left: 34%;
  background: radial-gradient(circle closest-side,
    rgba(18,18,21,.06) 0%, rgba(18,18,21,.03) 45%, rgba(18,18,21,0) 100%);
  animation: float3 26s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, 40px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -35px) scale(1.08); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(60px, -30px); }
  66%      { transform: translate(-30px, 30px); }
}

.hero__sheen {
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: translateX(-140%);
  animation: sheen 11s ease-in-out infinite;
}
@keyframes sheen {
  0%, 55%  { transform: translateX(-140%); }
  85%, 100%{ transform: translateX(340%); }
}

.hero__inner {
  --hero-gap: clamp(32px, 5vw, 68px);

  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--hero-gap);
  align-items: center;
}

/* הוורדמארק מיושר לימין, בקו אחד עם שאר הטקסט של ההירו */
.hero__title { margin: 0 0 14px; }
/* שם המותג בלטינית — גופן דק וגיאומטרי, קרוב לוורדמארק של הלוגו.
   האלמנט הוא dir="ltr" כדי שהאותיות הלטיניות יסודרו נכון, ולכן
   צריך יישור מפורש לימין — אחרת הוא נצמד לשמאל של העמודה. */
.hero__name {
  display: block;
  text-align: right;
  font-family: var(--sans);
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.5px;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, var(--gold-deep) 52%, var(--gold) 60%, var(--ink) 74%, var(--ink) 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldpass 9s ease-in-out infinite;
}
@keyframes goldpass {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}

.hero__rule {
  display: block;
  width: 120px; height: 2px;
  margin: 20px 0 0;
  background-color: var(--gold-lite);
  background-image: linear-gradient(90deg, var(--gold-deep), var(--gold), transparent);
  background-size: 220% 100%;
  animation: sweepline 4.5s linear infinite;
}

.hero__role {
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 18px;
  min-height: 1.6em;
}
.hero__role-static { color: var(--muted); }
/* ההחלפה והפייד של המילה המתחלפת מנוהלים ב-JS (טיימר) */
.rotator {
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-block;
  border-bottom: 2px solid var(--gold-lite);
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 30px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* מדיה של ההירו */
.hero__media { position: relative; }

.hero__badge {
  position: absolute;
  bottom: 26px; right: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  animation: bob 5.5s ease-in-out infinite;
}
.hero__badge-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-lite);
  line-height: 1;
}
.hero__badge-txt { font-size: .78rem; line-height: 1.35; color: #C6CDD9; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero__scroll-line {
  width: 2px; height: 9px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrolldot 2s ease-in-out infinite;
}
@keyframes scrolldot {
  0%   { transform: translateY(0);   opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

/* ---------- 8. מסגרות תמונה ---------- */
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--sh-md);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__hint { display: none; }

/* מצב "אין עדיין תמונה" — מסגרת מקווקוות עם שם הקובץ */
.shot.is-empty {
  background:
    repeating-linear-gradient(135deg, #F7F9FC 0 12px, #EFF3F9 12px 24px);
  border: 1.5px dashed var(--gold-lite);
  box-shadow: none;
  display: grid;
  place-items: center;
  min-height: 220px;
}
.shot.is-empty img { display: none; }
.shot.is-empty::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px; right: 12px;
  font-size: .72rem;
  font-family: var(--sans);
  letter-spacing: .4px;
  color: var(--gold-deep);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--gold-lite);
  border-radius: 6px;
  padding: 3px 8px;
  direction: ltr;
}
.shot.is-empty .shot__hint {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}
.shot.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: emptyshine 3.4s linear infinite;
}
@keyframes emptyshine {
  0%   { background-position: 180% 0; }
  100% { background-position: -80% 0; }
}

.shot--portrait { aspect-ratio: 4 / 5; }
.shot--tall     { aspect-ratio: 2 / 3; }   /* צילום גוף מלא — בלי חיתוך */
.shot--wide     { aspect-ratio: 3 / 2; }

/* ---------- 9. אודות ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.about__media { position: relative; }
.about__frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--gold-lite);
  border-radius: var(--r-lg);
  z-index: -1;
  transition: inset .5s var(--ease);
}
.about__media:hover .about__frame { inset: 16px -16px -16px 16px; }

/* שורת הפתיחה לרשימת עקרונות העבודה */
.about__creed {
  margin: 26px 0 0;
  font-weight: 700;
  color: var(--ink);
}

.about__list { margin: 16px 0 30px; display: grid; gap: 11px; }
.about__list li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  font-size: 1rem;
  color: var(--text);
}
.about__list span { color: var(--gold); font-size: .8rem; }

/* ---------- 12. כרטיסי שירות ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  padding: 34px 30px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: var(--gold-lite);
}

/* הילת זהב שמתעוררת ב-hover */
.card__glow {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 210px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,176,28,.28), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover .card__glow { opacity: 1; }

.card__num {
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card__num { color: var(--gold-pale); transform: scale(1.08); }

.card__ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--gold-pale), #fff);
  border: 1px solid var(--gold-lite);
  color: var(--gold-deep);
  margin-bottom: 20px;
  transition: transform .45s var(--ease), background-color .45s var(--ease);
}
.card__ico svg { width: 27px; height: 27px; }
.card:hover .card__ico { transform: rotate(-6deg) scale(1.08); }

.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .99rem; margin-bottom: 18px; }

.card__list { display: grid; gap: 7px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.card__list li {
  position: relative;
  padding-right: 17px;
  font-size: .92rem;
  color: var(--text);
}
.card__list li::before {
  content: "";
  position: absolute;
  right: 0; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- אפקטים תלויי־סמן ----------
   כל מה שכאן הוא קישוט טהור: אור שעוקב אחרי הסמן, הטיה קלה של
   הכרטיס ומשיכה מגנטית של הכפתורים. ה-JS כותב רק משתני CSS
   (--mx / --my), אף פעם לא opacity או display, כך ששום תוכן לא
   תלוי בהם. אם הסמן לא קיים או שהאנימציות כבויות — פשוט לא קורה
   כלום, והאתר נשאר בדיוק כפי שהוא. */
.spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s var(--ease);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
              rgba(245, 176, 28, .18), rgba(245, 176, 28, .06) 40%, transparent 70%);
}
.card:hover .spot,
.tile:hover .spot { opacity: 1; }

.card--cta .spot {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(245, 176, 28, .28), rgba(245, 176, 28, .10) 40%, transparent 70%);
}

/* בזמן מעקב אחרי הסמן מבטלים את ה-transition, אחרת ההטיה נגררת */
.is-tilting { transition: box-shadow .4s var(--ease), border-color .4s var(--ease) !important; }

/* משיכה מגנטית — ה-JS מזיז את התוכן הפנימי, לא את הכפתור עצמו */
.btn__pull, .cbtn__pull { display: contents; }

.card--cta {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 100%);
  border-color: transparent;
  color: #D3DAE5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: #98A2B3; }
.card__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.card--cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.card--cta .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold); color: #fff; }

/* ---------- 12. אריחים ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lite));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.tile:hover::before { transform: scaleX(1); }
.tile h3 { font-size: 1.1rem; }
.tile p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- 15. יצירת קשר ---------- */
.contact { overflow: hidden; }
.contact__glow {
  position: absolute;
  width: 760px; height: 760px;
  top: -300px; left: -240px;
  background: radial-gradient(circle, rgba(245,176,28,.18), transparent 68%);
  animation: float3 28s ease-in-out infinite;
  pointer-events: none;
}
.contact__box {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(38px, 5vw, 62px) clamp(24px, 4vw, 54px);
  background: linear-gradient(160deg, #fff 0%, var(--bone) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.contact__box .kicker { justify-content: center; }
.contact__lead { color: var(--muted); max-width: 54ch; margin: 0 auto 32px; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cbtn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 100px;
  min-width: 260px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cbtn:hover { transform: translateY(-4px); }
.cbtn__ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  flex: none;
}
.cbtn__ico svg { width: 21px; height: 21px; }
.cbtn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.cbtn__label { font-size: .78rem; letter-spacing: 1px; opacity: .75; }
.cbtn__value { font-size: 1.12rem; font-weight: 700; }

.cbtn--gold {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold) 48%, var(--amber));
  color: #1A1204;
  box-shadow: 0 14px 32px rgba(224,138,0,.3);
}
.cbtn--gold:hover { color: #1A1204; box-shadow: 0 20px 44px rgba(224,138,0,.4); }
.cbtn--gold .cbtn__ico { background: rgba(255,255,255,.35); }

.cbtn--dark { background: var(--ink); color: #fff; box-shadow: 0 14px 32px rgba(18,18,21,.22); }
.cbtn--dark:hover { color: #fff; box-shadow: 0 20px 44px rgba(18,18,21,.3); }
.cbtn--dark .cbtn__ico { background: rgba(255,255,255,.12); color: var(--gold-lite); }

.contact__note { margin: 26px 0 0; font-size: .86rem; color: var(--muted); }

/* ---------- 19. פוטר ---------- */
.foot { background: var(--ink); color: #98A2B3; padding: 60px 0 0; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
}
.foot__col { display: flex; flex-direction: column; gap: 9px; }
.foot__mark {
  width: 74px;
  height: auto;
  margin-bottom: 12px;
}
.foot__name {
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: .3px;
  color: #fff;
}
.foot__biz {
  font-size: .88rem;
  color: var(--gold-lite);
  margin-bottom: 4px;
}
.foot__tag { font-size: .9rem; margin: 0; max-width: 46ch; }
.foot__head {
  font-size: .74rem;
  letter-spacing: 2px;
  color: var(--gold-lite);
  margin-bottom: 4px;
}
.foot__col a { color: #C6CDD9; font-size: .95rem; width: fit-content; }
.foot__col a:hover { color: var(--gold-lite); }

.foot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.foot__copy { font-size: .84rem; color: #79828F; }

/* קרדיט הבונה — מכוון להיות מאופק, כדי שלא יתחרה במיתוג של הלקוח.
   נדלק לירוק של וואטסאפ רק ב-hover. */
.credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: #79828F;
}
.credit__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  color: #98A2B3;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .02);
  transition: color .3s var(--ease), border-color .3s var(--ease),
              background-color .3s var(--ease), transform .3s var(--ease);
}
.credit__wa { width: 14px; height: 14px; flex: none; opacity: .7; transition: opacity .3s var(--ease); }
.credit__link:hover {
  color: #fff;
  border-color: rgba(37, 211, 102, .45);
  background: rgba(37, 211, 102, .12);
  transform: translateY(-2px);
}
.credit__link:hover .credit__wa { opacity: 1; color: #25D366; }

/* ---------- 20. כפתורים צפים ---------- */
.dock {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.dock__btn {
  position: relative;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
}
.dock__btn svg { width: 23px; height: 23px; position: relative; z-index: 1; }
.dock__btn:hover { transform: scale(1.08); box-shadow: var(--sh-lg); }

.dock__btn--call { background: linear-gradient(135deg, var(--gold-lite), var(--amber)); color: #1A1204; }
.dock__btn--mail { background: var(--ink); color: var(--gold-lite); }
/* הופעה/היעלמות מיידית בכוונה — בלי transition שעלול להיתקע */
.dock__btn--top {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  display: none;
}
.dock__btn--top.is-on { display: grid; }

.dock__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: dockpulse 2.8s ease-out infinite;
}
@keyframes dockpulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.dock__tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dock__btn:hover .dock__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- 21. נגישות ---------- */
.a11y { position: fixed; right: 20px; bottom: 20px; z-index: 140; }

.a11y__btn {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #14539A;          /* כחול נגישות מוכר */
  color: #fff;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.a11y__btn svg { width: 27px; height: 27px; }
.a11y__btn:hover { transform: scale(1.08) rotate(-6deg); box-shadow: var(--sh-lg); }

.a11y__panel {
  position: absolute;
  right: 0; bottom: 66px;
  width: 306px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 18px;
  transform-origin: bottom left;
}
/* אין כאן אנימציית פתיחה ב-CSS: תפריט הנגישות חייב להיפתח תמיד,
   גם כששעון האנימציות קפא. הפייד־אין הקטן מתבצע ב-JS. */
.a11y__panel[hidden] { display: none; }

.a11y__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.a11y__head h2 { font-size: 1.1rem; margin: 0; }
.a11y__close {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  line-height: 1;
}
.a11y__close:hover { background: var(--bone); }

.a11y__group { margin-bottom: 16px; }
.a11y__group-title {
  display: block;
  font-size: .74rem;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin-bottom: 8px;
}
.a11y__row { display: flex; align-items: center; gap: 8px; }
.a11y__step {
  flex: 1;
  padding: 9px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.a11y__step:hover { background: var(--gold-pale); border-color: var(--gold-lite); }
.a11y__value {
  min-width: 62px;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold-deep);
  direction: ltr;
}

.a11y__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opt {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: .85rem;
  text-align: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.a11y__opt:hover { background: var(--bone); }
.a11y__opt[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.a11y__reset {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--gold-lite);
  border-radius: 9px;
  background: var(--gold-pale);
  color: var(--gold-deep);
  font-weight: 700;
  cursor: pointer;
}
.a11y__reset:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.a11y__note {
  margin: 14px 0 0;
  font-size: .74rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 22. אנימציות כניסה ---------- */
/* .anim ו-.reveal הן נקודות אחיזה ל-JS בלבד — אין כאן שום כלל
   שמסתיר תוכן. הכניסה עצמה מונפשת ב-js/main.js דרך setInterval
   שכותב opacity/transform ישירות על האלמנט, ומנקה אותם בסוף.
   הסיבה: כאשר צינור הרינדור קופא, שעון האנימציות של הדפדפן נעצר
   על 0 — ואז כל keyframes או transition שמסתיר תוכן נתקע במצב
   ההתחלתי, כלומר שקוף. אנימציה מונעת־טיימר תמיד מגיעה לסוף. */

/* ---------- 23. הגדרות נגישות פעילות ---------- */
html.a11y-contrast body {
  --muted: #3A3833;
  --text: #000;
  --line: #6E6A66;
}
html.a11y-contrast body,
html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast .section__sub { color: #000; }
html.a11y-contrast .card,
html.a11y-contrast .tile { border-color: #4A463F; }
html.a11y-contrast .stat__label,
html.a11y-contrast .foot__tag,
html.a11y-contrast .foot__col a { color: #fff; }

html.a11y-invert { background: #0B0B0D; }
html.a11y-invert body { background: #0B0B0D; color: #EDE9E1; }
html.a11y-invert .section--tint,
html.a11y-invert .hero,
html.a11y-invert .section { background: #0B0B0D; }
html.a11y-invert h1, html.a11y-invert h2, html.a11y-invert h3 { color: #F7F9FC; }
html.a11y-invert .card,
html.a11y-invert .tile,
html.a11y-invert .contact__box {
  background: #16161A;
  border-color: #2E2E35;
  color: #DCD7CE;
}
html.a11y-invert .card p,
html.a11y-invert .tile p,
html.a11y-invert .section__sub,
html.a11y-invert .hero__lead,
html.a11y-invert .hero__name { background: none; -webkit-text-fill-color: #F7F9FC; color: #F7F9FC; }
html.a11y-invert .nav.is-solid { background: rgba(11,11,13,.94); border-bottom-color: #26262C; }
html.a11y-invert .nav__links a,
html.a11y-invert .nav__brand { color: #EDE9E1; }
html.a11y-invert .btn--ghost { color: #EDE9E1; border-color: #33333A; }

html.a11y-gray body { filter: grayscale(1); }

html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 700;
}
html.a11y-links a:focus-visible { outline-width: 3px; }

html.a11y-readable body,
html.a11y-readable h1,
html.a11y-readable h2,
html.a11y-readable h3,
html.a11y-readable .hero__role { font-family: Arial, "Segoe UI", sans-serif !important; }
html.a11y-readable .hero__name { letter-spacing: 0; }

html.a11y-spacing body { line-height: 2.1; letter-spacing: .6px; word-spacing: 2px; }
html.a11y-spacing p { margin-bottom: 1.4em; }

html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4l28 16-12 3-5 12z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important;
}

/* עצירת אנימציות — גם ידנית וגם לפי העדפת המערכת */
html.a11y-stop *,
html.a11y-stop *::before,
html.a11y-stop *::after {
  animation: none !important;
  transition: none !important;
}
html.a11y-stop .reveal,
html.a11y-stop .anim {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .anim { opacity: 1 !important; transform: none !important; }
}

/* ---------- 24. רספונסיביות ---------- */
@media (max-width: 1080px) {
  .cards, .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__toggle { display: grid; }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px; left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 12px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 14px; }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 6px 0 0; text-align: center; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__badge { left: -10px; right: auto; }
  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .about__frame { inset: 16px -16px -16px 16px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .stat + .stat::before { display: none; }

  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }

  .cards, .tiles { grid-template-columns: 1fr; }

  .hero { padding-top: 116px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__badge { padding: 11px 15px; bottom: 14px; }

  /* במסך צר הילה של 560 פיקסל צובעת חצי עמוד — כאן היא רק נגיעה */
  .orb--1 { width: 320px; height: 320px; top: -130px; right: -120px; }
  .orb--2 { width: 280px; height: 280px; bottom: -150px; left: -120px; }
  .orb--3, .hero__sheen { display: none; }

  .contact__actions { flex-direction: column; align-items: stretch; }
  .cbtn { min-width: 0; justify-content: center; }

  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
  .foot__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* יעד נוח לאצבע */
  .credit__link { min-height: 46px; padding-inline: 18px; }

  .dock { left: 12px; bottom: 12px; gap: 9px; }
  .dock__btn { width: 50px; height: 50px; }
  .a11y { right: 12px; bottom: 12px; }
  .a11y__btn { width: 50px; height: 50px; }
  .a11y__panel { width: calc(100vw - 24px); }
}

@media print {
  .nav, .dock, .a11y, .progress, .hero__bg, .hero__scroll { display: none !important; }
  body { color: #000; }
  html.js .reveal, html.js .anim { opacity: 1 !important; transform: none !important; }
}
