/* כיוון: חם וחווייתי (library/directions/warm-experience.md) + ה-DNA (library/directions/_dna.md)
   בצבעי הלוגו של מאיר, עם נגיעת זהב מהפוסטים שלו. */
:root {
  /* ארבעת צבעי הבסיס. אפשר לשנות אותם מאזור הניהול, וכל השאר נגזר מהם */
  --ink: #0F1F4B;     /* נייבי: כותרות, טקסט ורקעים כהים */
  --blue: #1F5AA8;    /* כחול מלכותי: הכפתור הראשי */
  --yellow: #C9A35B;  /* זהב: המילה המודגשת, תוויות ופרטים */
  --teal: #6BB6EC;    /* תכלת: הדגשה משנית ועיגולים זוהרים */
  /* נגזרים */
  --blue-l: color-mix(in srgb, var(--blue) 70%, #fff);
  --blue-d: color-mix(in srgb, var(--blue) 70%, var(--ink));
  --gold-l: color-mix(in srgb, var(--yellow) 55%, #fff);
  --gold-d: color-mix(in srgb, var(--yellow) 72%, #000);
  --muted: color-mix(in srgb, var(--ink) 68%, #fff);
  --cream: #FEFAF0;
  --cream-2: #F6EFE3;
  --pastel-a: color-mix(in srgb, var(--teal) 16%, #fff);
  --pastel-b: color-mix(in srgb, var(--yellow) 18%, #fff);
  --pastel-c: color-mix(in srgb, var(--blue) 11%, #fff);
  --wa: #25D366;
  --font-head: 'Rubik', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --max: 1180px;
  --shadow-card: 0 18px 45px -22px color-mix(in srgb, var(--ink) 55%, transparent);
  --shadow-pop: 0 30px 60px -24px color-mix(in srgb, var(--ink) 65%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; }
.section { padding: 100px 0; position: relative; overflow-x: clip; }
.section--surface { background: var(--cream-2); }

/* ---------- כותרות ---------- */
.head { max-width: 660px; margin-bottom: 48px; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--gold-d); margin-bottom: 12px; }
.eyebrow--light { color: var(--gold-l); }
.title { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.5px; }
.title em, .hero__title em, .cta__title em, .statement__text em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-d), var(--yellow) 45%, var(--gold-l));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.head__sub { margin-top: 14px; font-size: 19px; color: var(--muted); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-body); font-size: 17px; font-weight: 700;
  border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 18px; }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--blue-l), var(--blue) 55%, var(--blue-d)); box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 45%, transparent), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn--gold { color: var(--ink); background: linear-gradient(135deg, var(--gold-l), var(--yellow)); box-shadow: 0 10px 24px color-mix(in srgb, var(--yellow) 45%, transparent); width: 100%; }
.btn--glass { color: #fff; background: rgb(255 255 255 / .12); border: 2px solid rgb(255 255 255 / .38); backdrop-filter: blur(6px); }
.btn--glass span { direction: ltr; }

/* ---------- תפריט צף ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 14px; transition: left .3s; }
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 8px; padding-inline-start: 10px;
  background: rgb(254 250 240 / .92); backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: var(--shadow-card);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { height: 46px; width: 46px; object-fit: cover; border-radius: 50%; background: #fff; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.1; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); }
.nav__links { display: none; gap: 28px; font-weight: 500; }
.nav__links a:hover { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.nav__icon svg { width: 20px; height: 20px; }

/* ---------- פתיחה ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 120px 0 150px;
  color: #fff;
  background: linear-gradient(170deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 75%, var(--blue)) 55%, color-mix(in srgb, var(--blue) 50%, #E9B48C) 130%);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 30%, color-mix(in srgb, var(--ink) 55%, transparent) 62%, color-mix(in srgb, var(--ink) 10%, transparent));
}
.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.glow--gold { width: 380px; height: 380px; background: var(--yellow); bottom: -120px; right: -80px; opacity: .35; }
.glow--sky { width: 300px; height: 300px; background: var(--teal); top: 10%; left: -120px; opacity: .3; animation-delay: -6s; }
@keyframes float { to { transform: translate(30px, -24px) scale(1.08); } }
.hero__word {
  position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%);
  font-family: 'Archivo Black', sans-serif; font-size: clamp(90px, 22vw, 300px); line-height: .8;
  color: rgb(255 255 255 / .1); white-space: nowrap; pointer-events: none; letter-spacing: -2px;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__text { max-width: 620px; }
.hero__title { font-size: clamp(40px, 7vw, 76px); letter-spacing: -.7px; margin-bottom: 18px; }
.hero__sub { font-size: 19px; color: rgb(255 255 255 / .86); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 16px; color: rgb(255 255 255 / .85); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1F4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hero__scroll { position: absolute; z-index: 2; bottom: 92px; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 15px; color: rgb(255 255 255 / .75); }
.hero__scroll i { width: 26px; height: 40px; border: 2px solid rgb(255 255 255 / .55); border-radius: 999px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 50% { transform: translateY(10px); opacity: .3; } }

/* גלים */
.wave { position: absolute; left: 0; width: 100%; height: 70px; pointer-events: none; }
.wave--hero { bottom: -1px; z-index: 3; fill: var(--cream); }
.wave--cta { top: -1px; fill: var(--cream-2); }

/* ---------- כרטיסים ---------- */
.glow--section { width: 420px; height: 420px; background: var(--teal); top: 40px; left: -200px; opacity: .2; }
.cards { display: grid; gap: 22px; }
.card {
  position: relative; padding: 32px 28px 28px; border-radius: 26px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card--a { background: var(--pastel-a); }
.card--b { background: var(--pastel-b); }
.card--c { background: var(--pastel-c); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--blue) 60%, transparent); }
.card__icon svg { width: 26px; height: 26px; }
.card__tag { position: absolute; top: 28px; left: 26px; padding: 4px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--gold-d); }
.card h3 { font-size: 26px; margin-top: 6px; }
.card p { color: color-mix(in srgb, var(--ink) 78%, #fff); }
.card__link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue); }
.card__link:hover { color: var(--ink); }

/* ---------- המסר ---------- */
.statement { position: relative; padding: 110px 0; overflow: hidden; color: #fff; background: var(--ink); text-align: center; }
.statement__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.statement::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 40%, transparent) 50%, var(--ink)); z-index: 1; }
.statement__inner { z-index: 2; }
.statement__quote { display: block; font-family: var(--font-head); font-weight: 800; font-size: 120px; line-height: .6; color: var(--yellow); height: 50px; }
.statement__text { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 5.4vw, 62px); line-height: 1.15; letter-spacing: -.5px; text-wrap: balance; }
.statement__sign { display: inline-block; margin-top: 22px; font-size: 17px; color: rgb(255 255 255 / .75); }
.statement__sign::before { content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 2px; background: var(--yellow); margin-inline-end: 12px; }

/* ---------- איך אני עובד ---------- */
.rail { position: relative; height: 70px; margin: 0 0 18px; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; border-top: 3px dashed color-mix(in srgb, var(--blue) 35%, transparent); }
.tram { position: absolute; bottom: 4px; width: 130px; height: auto; animation: ride 14s linear infinite; }
.tram__body { fill: var(--blue); }
.tram__win { fill: var(--pastel-a); }
.tram__stripe { fill: var(--yellow); }
.tram__wheel { fill: var(--ink); }
.tram__wire { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
@keyframes ride { from { right: -140px; } to { right: 100%; } }
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: 26px; padding: 30px 28px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.step__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; margin-bottom: 10px; background: linear-gradient(135deg, var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- שאלות ---------- */
.faq { max-width: 820px; }
.faq details { background: #fff; border-radius: 22px; margin-bottom: 12px; box-shadow: 0 12px 30px -22px color-mix(in srgb, var(--ink) 60%, transparent); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 26px; font-family: var(--font-head); font-weight: 700; font-size: 19px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pastel-a); color: var(--blue); font-size: 22px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; color: var(--muted); }

/* ---------- יצירת קשר ---------- */
.cta { position: relative; overflow: hidden; padding: 140px 0 100px; color: #fff; background: linear-gradient(160deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--blue))); }
.cta__outline {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-family: 'Archivo Black', sans-serif; font-size: clamp(70px, 14vw, 200px); line-height: 1; white-space: nowrap; direction: ltr;
  color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .1); pointer-events: none;
}
.cta__grid { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta__title { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -.5px; }
.cta__sub { margin-top: 16px; font-size: 19px; color: rgb(255 255 255 / .82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.cta__mail { display: flex; width: fit-content; align-items: center; gap: 10px; margin-top: 10px; color: rgb(255 255 255 / .85); min-height: 44px; }
.cta__mail svg { width: 22px; height: 22px; color: var(--gold-l); }
.cta__mail:hover { color: #fff; }

.lead { background: var(--cream); color: var(--ink); border-radius: 28px; padding: 30px 26px; box-shadow: var(--shadow-pop); display: grid; gap: 14px; }
.lead__title { font-size: 24px; margin-bottom: 4px; }
.lead__field { display: grid; gap: 6px; font-weight: 500; font-size: 16px; }
.lead__field input, .lead__field select, .lead__field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 12px 18px; min-height: 50px; border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--ink) 12%, transparent); background: #fff;
}
.lead__field textarea { resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.lead__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead__msg { font-size: 15px; min-height: 1em; }
.lead__msg--bad { color: #B3261E; }
.lead__done { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--blue); padding: 20px 0; }

/* ---------- כותרת תחתונה ---------- */
.footer { background: color-mix(in srgb, var(--ink) 88%, #000); color: rgb(255 255 255 / .82); padding: 50px 0 24px; }
.footer__grid { display: grid; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__logo { flex: none; width: 74px; height: 74px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; }
.footer__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.footer__brand b { font-family: var(--font-head); font-size: 22px; color: #fff; }
.footer__line { font-size: 16px; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.footer__contact a { color: #fff; min-height: 32px; }
.footer__contact a:hover { color: var(--gold-l); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 15px; }
.footer__admin { color: rgb(255 255 255 / .55); }
.footer__admin:hover { color: #fff; }

/* ---------- וואטסאפ צף ---------- */
.wa-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #3be27a, var(--wa));
  box-shadow: 0 14px 30px -8px rgb(37 211 102 / .6);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- הופעה בגלילה ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- מחשב ---------- */
@media (min-width: 900px) {
  .nav { padding-inline-start: 14px; }
  .nav__links { display: flex; }
  .hero { align-items: center; padding: 140px 0 170px; }
  .hero__media { inset: 0 auto 0 0; width: 50%; }
  .hero__media img { object-position: 50% 20%; -webkit-mask-image: linear-gradient(to right, #000 55%, transparent); mask-image: linear-gradient(to right, #000 55%, transparent); }
  .hero__media::after { background: linear-gradient(to top, color-mix(in srgb, var(--ink) 70%, transparent), transparent 40%); }
  .hero__word { bottom: 110px; left: 4%; transform: none; }
  .hero__scroll { display: flex; }
  .cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .card--b { transform: translateY(26px); }
  .card--b:hover { transform: translateY(22px) rotate(-.4deg); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta__grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .footer__grid { grid-template-columns: 1fr auto; align-items: center; }
  .wave { height: 90px; }
}

/* אזור הניהול פתוח במחשב: האתר זז הצידה */
@media (min-width: 1100px) {
  .adm-open .nav-wrap { left: 600px; }
  .adm-open .nav__links, .adm-open .wa-float { display: none; }
}

@media (max-width: 599px) {
  .logo { min-width: 0; }
  .logo__text { min-width: 0; }
  .nav .btn--primary { width: 44px; padding: 0; }
  .nav .btn--primary span { display: none; }
  .hero__word { bottom: 150px; }
}
@media (max-width: 420px) {
  .logo__text { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- בחירת שפה ---------- */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 12px; border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--ink) 15%, transparent);
  font-weight: 700; font-size: 15px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 19px; height: 19px; }
.lang[open] summary { border-color: var(--blue); color: var(--blue); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 70;
  display: grid; min-width: 160px; padding: 8px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-pop);
}
.lang__menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 14px; font-weight: 500; }
.lang__menu a:hover { background: var(--pastel-a); }
.lang__menu a[aria-current] { color: var(--blue); font-weight: 700; background: var(--pastel-c); }
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__langs a { color: rgb(255 255 255 / .7); }
.footer__langs a:hover { color: #fff; }

/* ---------- שפות משמאל לימין (אנגלית, צרפתית, רוסית) ---------- */
[dir="ltr"] .card__tag { left: auto; right: 26px; }
[dir="ltr"] .wa-float { left: auto; right: 18px; }
[dir="ltr"] .hero__title, [dir="ltr"] .title, [dir="ltr"] .cta__title, [dir="ltr"] .statement__text { letter-spacing: -1px; }
html:lang(ru) body { font-family: var(--font-head); }
@media (min-width: 900px) {
  [dir="ltr"] .hero__media { inset: 0 0 0 auto; }
  [dir="ltr"] .hero__media img { -webkit-mask-image: linear-gradient(to left, #000 55%, transparent); mask-image: linear-gradient(to left, #000 55%, transparent); }
  [dir="ltr"] .hero__word { left: auto; right: 4%; }
}
@media (min-width: 1100px) {
  [dir="ltr"].adm-open .nav-wrap, [dir="ltr"] .adm-open .nav-wrap { left: 600px; }
}
@media (max-width: 380px) {
  .lang__code { display: none; }
  .lang summary { width: 44px; padding: 0; justify-content: center; }
}
[dir="ltr"] .hero__title { font-size: clamp(38px, 5.6vw, 64px); }
[dir="ltr"] .hero__text { max-width: 640px; }
.nav__links a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1240px) { .nav__links { gap: 18px; font-size: 16px; } .logo__text small { display: none; } }
@media (max-width: 599px) { .logo__text small { display: none; } }
