/* כיוון: חם וחווייתי (library/directions/warm-experience.md) + ה-DNA (library/directions/_dna.md)
   ארבעת צבעי הבסיס נערכים מאזור הניהול. השמות הם של רכיב הניהול:
   --ink = דיו, --blue = כחול ים (משני), --yellow = אלמוג (הדגשה ראשית), --teal = טורקיז (הדגשה משנית) */
:root {
  --ink: #142E3F;
  --blue: #0089A5;
  --yellow: #ED7473;
  --teal: #21ADAD;
  /* נגזרים */
  --coral: var(--yellow);
  --coral-l: color-mix(in srgb, var(--yellow) 72%, #fff);
  --coral-d: color-mix(in srgb, var(--yellow) 70%, #5a0f10);
  --teal-d: color-mix(in srgb, var(--teal) 70%, #000);
  --muted: color-mix(in srgb, var(--ink) 72%, #9aa6ad);
  --bg: #FEFAF0;
  --surface: #F6EFE3;
  --pastel-1: #F0E3F1;
  --pastel-2: #FEE6EB;
  --pastel-3: #F8E9D2;
  --line: color-mix(in srgb, var(--ink) 14%, var(--bg));
  --on-dark: color-mix(in srgb, var(--teal) 14%, #fff);
  --wa: #25D366;
  --font-head: 'Rubik', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --font-brand: 'Archivo Black', sans-serif;
  --max: 1180px;
  --shadow-card: 0 18px 45px -22px color-mix(in srgb, var(--blue) 45%, rgb(0 70 100 / .45));
  --shadow-main: 0 30px 60px -24px color-mix(in srgb, var(--ink) 60%, transparent);
  --shadow-pop: 0 18px 40px color-mix(in srgb, var(--ink) 30%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  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; letter-spacing: -.5px; }
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; }
.section { position: relative; padding: 96px 0; }
.section--tight { padding-top: 24px; }

/* ---------- כותרות ---------- */
.head { max-width: 660px; margin-bottom: 44px; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--teal-d); margin-bottom: 10px; }
.eyebrow--ink { color: var(--ink); }
.title { font-size: clamp(34px, 5.2vw, 56px); color: var(--ink); }
.title--md { font-size: clamp(30px, 4.2vw, 46px); }
/* הדגשה: צבע אלמוג מלא, וקו מעוגל מתחת */
.title em, .hero__title em { font-style: normal; color: var(--coral); }
.head__sub { margin-top: 14px; font-size: 19px; color: var(--muted); }
.head--light .title { color: #fff; }
.head--light .title em { color: var(--coral-l); }
.head--light .eyebrow { color: var(--teal); }
.underline { width: min(400px, 78%); height: 18px; margin-top: 6px; }
.underline path { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-body); font-size: 17px; font-weight: 800; line-height: 1.2; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 18px; }
.btn--xl { min-height: 68px; padding: 18px 36px; font-size: clamp(19px, 2.4vw, 24px); }
.btn--coral { color: var(--ink); background: linear-gradient(135deg, var(--coral-l), var(--coral)); box-shadow: 0 10px 24px color-mix(in srgb, var(--coral) 45%, transparent); }
.btn--glass { color: #fff; background: rgb(255 255 255 / .12); border: 2px solid rgb(255 255 255 / .35); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgb(255 255 255 / .2); }
.btn--ink { color: #fff; background: var(--ink); box-shadow: 0 16px 34px color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--outline-ink { color: var(--ink); border: 2px solid var(--ink); direction: ltr; }
.btn--outline-ink:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn--wa { color: #fff; background: var(--wa); }

/* ---------- תפריט צף ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 14px; }
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px; padding-inline-start: 14px;
  border-radius: 999px;
  border: 1.5px solid rgb(255 255 255 / .3);
  background: rgb(20 46 63 / .18);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s, border-color .3s;
}
.nav--solid { background: var(--surface); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-card); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.logo__mark svg { width: 22px; height: 22px; }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--font-body); font-size: 12px; font-weight: 700; opacity: .8; margin-top: 4px; }
.logo__img { height: 42px; width: auto; max-width: 170px; object-fit: contain; }
.logo--has-img .logo__mark, .logo--has-img .logo__text { display: none; }
.logo--light .logo__img { height: 52px; }
.nav__links { display: none; gap: 26px; font-size: 16px; font-weight: 700; }
.nav__links a:hover { color: var(--coral); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__phone { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-weight: 800; direction: ltr; }
.nav__phone svg { width: 20px; height: 20px; }

/* ---------- פתיחה ---------- */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 170px; color: #fff; background: var(--blue); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 46 63 / .35) 0%, rgb(20 46 63 / .1) 30%, rgb(20 46 63 / .55) 62%, rgb(20 46 63 / .85) 100%); }
.hero__brand { position: absolute; top: 15%; left: 50%; transform: translateX(-50%); font-family: var(--font-brand); font-size: clamp(56px, 18vw, 280px); line-height: 1; letter-spacing: -2px; color: rgb(255 255 255 / .7); mix-blend-mode: soft-light; white-space: nowrap; direction: ltr; pointer-events: none; }
.hero__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__path path { fill: none; stroke: var(--coral-l); stroke-width: 2.5; stroke-dasharray: 10 12; opacity: .7; }
.hero__inner { position: relative; width: 100%; }
.hero__text { max-width: 720px; }
.pill-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .12); backdrop-filter: blur(6px); font-size: 15px; font-weight: 700; }
.pill-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 30%, transparent); }
.hero__title { margin-top: 20px; font-size: clamp(40px, 6.6vw, 76px); line-height: 1.05; color: #fff; text-shadow: 0 4px 30px rgb(20 46 63 / .35); }
.hero__title em { color: var(--coral-l); }
.hero__sub { margin-top: 18px; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; color: #fff; max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 16px; font-weight: 700; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks li::before { content: ""; width: 18px; height: 18px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6A3A2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.hero__scroll { position: absolute; z-index: 3; bottom: 104px; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.hero__scroll i { width: 24px; height: 38px; border-radius: 999px; border: 2px solid rgb(255 255 255 / .7); 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: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- גלים ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 90px; z-index: 2; }
.wave--hero { bottom: -1px; }
.wave--hero path { fill: var(--bg); }

/* ---------- רצועה רצה ---------- */
.ticker-wrap { overflow: hidden; padding: 28px 0 8px; }
.ticker { margin-inline: -3%; background: linear-gradient(90deg, var(--teal), var(--blue)); transform: rotate(-1.4deg); box-shadow: var(--shadow-card); }
.ticker__track { display: flex; width: max-content; animation: tick 36s linear infinite; }
.ticker__track span { display: flex; align-items: center; gap: 22px; padding: 16px 0; padding-inline-start: 22px; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral-l); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- עיטור: נקודות צבעוניות וקו מקווקו ---------- */
.deco-dots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco-dots::before, .deco-dots::after { content: ""; position: absolute; border-radius: 50%; }
.deco-dots::before { width: 14px; height: 14px; top: 120px; left: 8%; background: var(--coral); box-shadow: 60px 40px 0 -3px var(--teal), -20px 90px 0 -5px var(--pastel-3); }
.deco-dots::after { width: 260px; height: 260px; top: 60px; left: -90px; border: 2px dashed color-mix(in srgb, var(--teal) 45%, transparent); }

/* ---------- שירותים: כרטיסי פסטל ---------- */
.services { display: grid; gap: 22px; }
.service { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-main); }
.service--a { background: var(--pastel-2); }
.service--b { background: var(--pastel-1); }
.service--c { background: var(--pastel-3); }
.service__img { aspect-ratio: 3 / 2; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.service__tag { position: absolute; top: -17px; right: 22px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--ink); background: linear-gradient(135deg, var(--coral-l), var(--coral)); }
.service h3 { font-size: 28px; }
.service p { margin-top: 8px; color: var(--muted); }
.service__link { margin-top: auto; padding-top: 18px; font-weight: 800; color: var(--coral-d); }
.service__link:hover { color: var(--ink); }

/* ---------- איך זה עובד ---------- */
.process { position: relative; padding: 150px 0 160px; color: #fff; background: linear-gradient(160deg, var(--ink) 0%, color-mix(in srgb, var(--blue) 55%, var(--ink)) 100%); }
.wave--top { top: -1px; }
.wave--top path, .wave--bottom path { fill: var(--bg); }
.wave--bottom { bottom: -1px; }
.flight { position: relative; height: 120px; margin: 0 0 30px; }
.flight svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flight__line { fill: none; stroke: rgb(255 255 255 / .45); stroke-width: 2.5; stroke-dasharray: 9 11; vector-effect: non-scaling-stroke; }
.flight__dot { fill: var(--coral); }
.flight__dot--end { fill: var(--teal); }
.flight__plane g { fill: #fff; }
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 26px; padding: 32px 30px; border-radius: 28px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(60px, 8vw, 100px); line-height: .9; color: var(--coral); }
.step h3 { font-size: clamp(24px, 3vw, 34px); color: #fff; }
.step p { margin-top: 8px; font-size: 18px; color: var(--on-dark); }

/* ---------- למה איתי ---------- */
.why { display: grid; gap: 56px; align-items: center; }
.why__visual { position: relative; width: min(100%, 440px); margin: 0 auto; aspect-ratio: 1; }
.why__ring { position: absolute; inset: -7%; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--coral) 60%, transparent); }
.why__visual::before { content: ""; position: absolute; inset: 6% -6% -4% 8%; border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%; background: var(--pastel-2); transform: rotate(-6deg); }
.why__photo { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-main); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; z-index: 3; box-shadow: var(--shadow-pop); }
.float--tag { bottom: 8%; left: -4%; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.why__list { display: grid; gap: 18px; margin-top: 28px; }
.why__list li { display: flex; align-items: center; gap: 16px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.why__list b { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.why__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--teal); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--coral-l); }
.why__icon svg { width: 24px; height: 24px; }

/* ---------- שאלות נפוצות ---------- */
.faq { max-width: 820px; }
.faq details { margin-top: 12px; padding: 20px 26px; border-radius: 22px; background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-head); font-size: 28px; line-height: 1; color: var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- יצירת קשר ---------- */
.cta { position: relative; overflow: hidden; margin-top: 64px; padding: 150px 0 160px; background: linear-gradient(135deg, var(--coral-l), var(--coral)); }
.wave--cta { top: -1px; }
.wave--cta path { fill: var(--bg); }
.cta__outline { position: absolute; top: 52%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-brand); font-size: clamp(90px, 17vw, 250px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--ink) 13%, transparent); direction: ltr; pointer-events: none; }
.cta__grid { position: relative; display: grid; gap: 36px; align-items: center; }
.cta__title { font-size: clamp(42px, 6.6vw, 80px); color: var(--ink); }
.cta__mark { display: inline-block; padding: 0 .25em; border-radius: 999px; background: var(--ink); color: var(--coral-l); }
.cta__sub { margin-top: 18px; font-size: 20px; font-weight: 500; color: var(--ink); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* טופס פניות */
.lead { display: grid; gap: 14px; padding: 30px 26px; border-radius: 28px; background: var(--bg); box-shadow: 0 30px 70px color-mix(in srgb, var(--ink) 25%, transparent); }
.lead__title { font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.lead__field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--muted); }
.lead__field input, .lead__field select, .lead__field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); }
.lead__field textarea { min-height: 76px; resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 25%, transparent); }
.lead__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead__submit { width: 100%; margin-top: 4px; }
.lead__submit:disabled { opacity: .6; }
.lead__msg { min-height: 1.4em; font-size: 15px; font-weight: 700; color: var(--teal-d); }
.lead__msg--bad { color: #B42318; }
.lead__done { padding: 28px 10px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--ink); }
[hidden] { display: none !important; }

/* ---------- כותרת תחתונה ---------- */
.wave--footer { bottom: -1px; height: 80px; }
.wave--footer path { fill: var(--ink); }
.footer { padding: 32px 0 110px; color: var(--on-dark); background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--blue) 40%, var(--ink))); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.logo--light { color: #fff; }
.footer__line { margin-top: 12px; font-size: 16px; }
.footer__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__phone { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: #fff; direction: ltr; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; }
.footer__admin { opacity: .6; }
.footer__admin:hover { opacity: 1; }

/* ---------- וואטסאפ צף (טורקיז, לפי הכיוון) ---------- */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); box-shadow: 0 10px 26px color-mix(in srgb, var(--teal) 50%, transparent); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); opacity: .45; animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }

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

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

/* ---------- טאבלט ומחשב ---------- */
@media (min-width: 720px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .hero__scroll { display: flex; }
  .hero { padding-bottom: 200px; }
}
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__phone { display: inline-flex; }
  .step { padding: 38px 46px; gap: 44px; }
  .why { grid-template-columns: 1fr 1.15fr; gap: 80px; }
  .cta__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .footer { padding-bottom: 36px; }
}

/* ---------- טלפון ---------- */
@media (max-width: 719px) {
  .nav { padding: 6px 8px; padding-inline-start: 10px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text { font-size: 18px; }
  .hero { padding: 120px 0 130px; }
  .hero__brand { top: 17%; }
  .hero__actions .btn { width: 100%; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px; }
  .cta__actions .btn { width: 100%; }
  .btn--xl { white-space: normal; }
  .lead { padding: 24px 20px; }
  .flight { height: 80px; }
  .float--tag { left: 0; }
}

/* ---------- מי שביקש פחות תנועה ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .wa-float::before, .hero__scroll i::after { animation: none; }
  .flight__plane { display: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service:hover { transform: none; }
}
