/* =========================================================================
   שכבת התנועה (24.11.2026): מה שהדר אהבה ב-magier.com וב-plancraft.com, בשפה של האתר.
   הדגמות מוצר בשירותים, "נשמע מוכר?", המלצות בנטו, קרוסלת סיפורים, חתימת הפוטר.
   הטוקנים מ-site.css. הסקריפט ב-assets/js/motion.js.
   ========================================================================= */

/* ---------- תיבת בחירה של כלי עיצוב, קשקוש עט ---------- */
.ht-sel { position: relative; display: inline-block; padding: .1em .16em .02em; margin-inline: .06em; line-height: .9; outline: 2px solid var(--pink); }
.ht-sel > i { position: absolute; width: 11px; height: 11px; background: var(--page); border: 2px solid var(--pink); border-radius: 2px; }
.ht-sel > i:nth-of-type(1) { top: -6px; right: -6px; }
.ht-sel > i:nth-of-type(2) { top: -6px; left: -6px; }
.ht-sel > i:nth-of-type(3) { bottom: -6px; right: -6px; }
.ht-sel > i:nth-of-type(4) { bottom: -6px; left: -6px; }
.ht-sel--white { outline-color: #fff; }
.ht-sel--white > i { border-color: #fff; background: var(--pink); }

.ht-sq { display: none; position: absolute; z-index: 0; pointer-events: none; width: clamp(150px, 15vw, 230px); }
.ht-sq svg { display: block; width: 100%; height: auto; overflow: visible; }
.ht-sq path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ht-sq .p { stroke: var(--pink); stroke-width: 15; }
.ht-sq .g { stroke: #ffc2d8; stroke-width: 15; transform: translate(5px, 4px); }
.ht-sq .p, .ht-sq .g { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s var(--ease); }
.ht-sq .h { stroke: #b9bdd0; stroke-width: 1.5; }
.ht-sq .c { fill: #fff; stroke: #b9bdd0; stroke-width: 1.5; }
.ht-sq .s { fill: #d6d9ea; }
.ht-sq .h, .ht-sq .c, .ht-sq .s { opacity: 0; transition: opacity .6s .9s; }
.ht-sq.is-in .p, .ht-sq.is-in .g { stroke-dashoffset: 0; }
.ht-sq.is-in .h, .ht-sq.is-in .c, .ht-sq.is-in .s { opacity: 1; }
@media (min-width: 1100px) { .ht-sq { display: block; } }

/* ---------- הדגמות מוצר ---------- */
.pua-cur { position: absolute; top: 0; left: 0; z-index: 20; width: 26px; pointer-events: none; transition: transform .8s var(--ease); }
.pua-cur svg { display: block; width: 26px; filter: drop-shadow(0 3px 4px rgba(18, 22, 47, .3)); transition: transform .2s; }
.pua-cur path { fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.pua-cur::after { content: ''; position: absolute; left: -10px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--pink); opacity: 0; }
.pua-cur.is-click svg { transform: scale(.82); }
.pua-cur.is-click::after { animation: pua-ripple .5s var(--ease); }
@keyframes pua-ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
.pua:not([data-s]) .pua-cur, html:not(.js) .pua-pause { display: none; }
/* אזור הנגיעה 44, העיגול שרואים 32 */
.pua-pause { position: absolute; z-index: 30; bottom: 2px; inset-inline-start: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.pua-pause::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px var(--line); transition: background-color .4s var(--ease); }
.pua-pause svg { position: relative; width: 14px; height: 14px; fill: currentColor; }
.pua-pause .is-play, .pua-pause[aria-pressed="true"] .is-pause { display: none; }
.pua-pause[aria-pressed="true"] .is-play { display: block; }
.pua-pause[hidden] { display: none; }
.ht-demo--funnel .pua-pause { inset-inline: auto 2px; }
@media (hover: hover) { .pua-pause:hover::before { background: #fff; } }

.ht-kcard__media--demo { aspect-ratio: 16 / 14; overflow: hidden; }
@media (min-width: 900px) { .ht-kcard__media--demo { aspect-ratio: 16 / 12; } }
@media (orientation: landscape) and (max-height: 500px) { .ht-kcard__media--demo { aspect-ratio: 16 / 13; } }
.ht-kcard--1 .ht-kcard__media--demo { background: #e2f4f5; }
.ht-kcard--4 .ht-kcard__media--demo { background: #ffe6ef; }
.ht-demo { position: absolute; inset: 0; container-type: size; }
.ht-demo__in { position: absolute; inset: 0; font-size: clamp(13px, 2.5cqw, 16px); line-height: 1.3; color: var(--ink); }
.ht-demo b { font-weight: var(--bold); }
.ht-demo small { font-size: max(12px, .86em); color: var(--ink-2); }
.ht-demo em, .ht-demo u { font-style: normal; text-decoration: none; }
.ht-demo .d-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(18, 22, 47, .07), 0 34px 50px -30px rgba(18, 22, 47, .45); }
.ht-demo .d-title { font-family: var(--display); font-size: 1.2em; line-height: 1.1; }
.ht-demo .d-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ht-demo .d-node > i.is-wa, .ht-demo .d-toast i.is-wa { background: #1fae5b; color: #fff; }
.ht-demo .d-toast i.is-pink { background: var(--pink); color: #fff; }
.ht-demo .d-node > i.is-ink { background: var(--ink); color: #fff; }
.ht-demo .d-toast { position: absolute; z-index: 8; inset-inline-end: 5%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 22px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(18, 22, 47, .07), 0 26px 40px -18px rgba(18, 22, 47, .5); opacity: 0; translate: 0 26px; transition: opacity .5s, translate .7s var(--ease); }
.ht-demo .d-toast i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.ht-demo .d-toast img { flex: none; width: 52px; height: 58px; margin-block: -14px -12px; object-fit: contain; object-position: bottom; }
.ht-demo .d-toast span { display: grid; }
.ht-demo[data-s="lead"] .d-toast, .ht-demo[data-s="order"] .d-toast, .ht-demo[data-s="ok"] .d-toast, .ht-demo:not([data-s]) .d-toast { opacity: 1; translate: 0 0; }

/* משפכי שיווק: טופס ← וואטסאפ ← מייל ← תזכורת */
.ht-demo .d-form { inset-block: 9%; inset-inline-start: 5%; width: 44%; display: flex; flex-direction: column; justify-content: center; gap: 3.2cqh; padding: 4cqh 4.4cqw; }
.ht-demo .d-field { display: grid; align-content: center; min-height: min(13cqh, 58px); padding: 1cqh 12px; border-radius: 12px; border: 1.5px solid var(--line); }
.ht-demo .d-field small { font-size: 12px; line-height: 1.2; }
.ht-demo .d-field > span { min-height: 1.3em; white-space: nowrap; overflow: hidden; }
.ht-demo .d-send { display: grid; place-items: center; min-height: min(12cqh, 50px); border-radius: 99px; background: var(--pink); color: #fff; font-weight: var(--bold); }
.ht-demo .d-consent { display: flex; align-items: center; gap: 8px; }
.ht-demo .d-consent i { flex: none; width: 12px; height: 12px; border: 1.5px solid #c8cbdb; border-radius: 3px; }
.ht-demo .d-consent em { width: 64%; height: 7px; border-radius: 4px; background: #e9ebf3; }
.ht-demo .d-thanks { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; border-radius: inherit; background: #fff; opacity: 0; scale: .96; transition: opacity .5s, scale .6s var(--ease); }
.ht-demo .d-thanks i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: var(--surface); color: var(--pink); }
.ht-demo .d-thanks svg { width: 28px; }
.ht-demo .d-thanks b { font-family: var(--display); font-size: 1.4em; }
.ht-demo--funnel:not([data-s="start"]) .d-thanks { opacity: 1; scale: 1; }
.ht-demo .d-flow { position: absolute; inset-block: 9%; inset-inline: 53% 5%; display: grid; align-content: space-evenly; }
.ht-demo .d-flow::before { content: ''; position: absolute; inset-block: 16%; inset-inline-start: 34px; width: 2px; background: repeating-linear-gradient(rgba(18, 22, 47, .28) 0 5px, transparent 5px 11px); }
.ht-demo .d-node { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #f1fafa; box-shadow: inset 0 0 0 1px rgba(18, 22, 47, .05); scale: .95; transition: background-color .5s, scale .6s var(--ease), box-shadow .6s; }
.ht-demo .d-node > i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--pink); color: #fff; transition: filter .5s; }
.ht-demo .d-node > i, .ht-demo .d-node > span { filter: grayscale(1) opacity(.45); }
.ht-demo .d-node > span { display: grid; min-width: 0; }
.ht-demo .d-node > u { margin-inline-start: auto; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #1b8a4b; color: #fff; scale: 0; transition: scale .5s var(--ease) .15s; }
.ht-demo .d-node > u svg { width: 14px; }
.ht-demo:is([data-s="n1"], [data-s="n2"], [data-s="n3"]) .d-n1, .ht-demo:is([data-s="n2"], [data-s="n3"]) .d-n2, .ht-demo[data-s="n3"] .d-n3, .ht-demo:not([data-s]) .d-node { background: #fff; scale: 1; box-shadow: inset 0 0 0 1px rgba(18, 22, 47, .07), 0 24px 34px -22px rgba(18, 22, 47, .5); }
.ht-demo:is([data-s="n1"], [data-s="n2"], [data-s="n3"]) .d-n1 > :not(u), .ht-demo:is([data-s="n2"], [data-s="n3"]) .d-n2 > :not(u), .ht-demo[data-s="n3"] .d-n3 > :not(u), .ht-demo:not([data-s]) .d-node > :not(u) { filter: none; }
.ht-demo:is([data-s="n1"], [data-s="n2"], [data-s="n3"]) .d-n1 u, .ht-demo:is([data-s="n2"], [data-s="n3"]) .d-n2 u, .ht-demo[data-s="n3"] .d-n3 u, .ht-demo:not([data-s]) .d-node u { scale: 1; }
@container (max-width: 420px) {
	.ht-demo .d-form { padding-inline: 12px; width: 45%; }
	.ht-demo .d-flow { inset-inline: 53% 3%; }
	.ht-demo .d-flow::before { inset-inline-start: 22px; }
	.ht-demo .d-node { gap: 8px; padding: 8px; }
	.ht-demo .d-node > i { width: 30px; height: 30px; border-radius: 9px; }
	.ht-demo .d-node > i svg { width: 16px; height: 16px; }
	.ht-demo .d-node b { font-size: 12px; line-height: 1.15; }
	.ht-demo .d-node small { display: none; }
	.ht-demo .d-node > u { position: absolute; inset-inline-end: -6px; top: -6px; width: 20px; height: 20px; }
	.ht-demo .d-form .d-title { font-size: 1.1em; }
	.ht-demo .d-field { padding-inline: 9px; }
	.ht-demo .d-field > span { font-size: 12px; }
}

/* קידום: חיפוש, והאתר שעולה */
.ht-demo .d-serp { inset-block: 8% 12%; inset-inline: 7%; padding: 4cqh 4cqw; display: flex; flex-direction: column; gap: 2.4cqh; }
.ht-demo .d-q { flex: none; display: flex; align-items: center; gap: 10px; height: min(14cqh, 54px); padding-inline: 18px; border-radius: 99px; border: 1.5px solid var(--line); color: var(--ink-2); }
.ht-demo .d-qt { color: var(--ink); white-space: nowrap; }
.ht-demo .d-res { position: relative; flex: 1; }
.ht-demo .d-r { position: absolute; inset-inline: 0; top: calc(var(--i) * 25%); height: 24%; display: flex; align-items: center; gap: 12px; padding-inline: 10px; border-radius: 12px; transition: top 1.1s var(--ease), opacity .5s, background-color .6s; }
.ht-demo .d-r > i { flex: none; width: 9cqh; height: 9cqh; border-radius: 50%; background: #e7e9f2; }
.ht-demo .d-r > span { display: grid; gap: 1.6cqh; flex: 1; min-width: 0; }
.ht-demo .d-r em { width: 62%; height: 2.2cqh; border-radius: 5px; background: #dfe2ee; }
.ht-demo .d-r em + em { width: 42%; background: #eceef5; }
.ht-demo .d-us > i { background: var(--sun, var(--pink)); }
.ht-demo .d-us > span { gap: 0; }
.ht-demo .d-us small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-demo .d-us u { flex: none; padding: 4px 11px 5px; border-radius: var(--r-tag); background: var(--pink); color: #fff; font-weight: var(--bold); font-size: 13px; rotate: var(--tilt); opacity: 0; scale: .6; transition: opacity .4s .5s, scale .5s var(--ease) .5s; }
.ht-demo .d-o1 { --i: 0; } .ht-demo .d-o2 { --i: 1; } .ht-demo .d-o3 { --i: 2; } .ht-demo .d-us { --i: 3; }
.ht-demo--search[data-s="start"] .d-r { opacity: .28; }
.ht-demo--search[data-s="start"] .d-us { opacity: 0; }
.ht-demo--search:is([data-s="top"], [data-s="lead"], :not([data-s])) .d-us { --i: 0; background: var(--surface); }
.ht-demo--search:is([data-s="top"], [data-s="lead"], :not([data-s])) .d-us u { opacity: 1; scale: 1; }
.ht-demo--search:is([data-s="top"], [data-s="lead"], :not([data-s])) .d-o1 { --i: 1; }
.ht-demo--search:is([data-s="top"], [data-s="lead"], :not([data-s])) .d-o2 { --i: 2; }
.ht-demo--search:is([data-s="top"], [data-s="lead"], :not([data-s])) .d-o3 { --i: 3; }
@container (max-width: 420px) { .ht-demo .d-us small { display: none; } .ht-demo .d-qt { font-size: 14px; } }

/* חנות: מלאי שמסתנכרן */
.ht-demo .d-stock, .ht-demo .d-check { inset-block: 9% 14%; inset-inline: 8%; padding: 4.6cqh 4.6cqw; display: flex; flex-direction: column; justify-content: space-between; }
.ht-demo .d-sync, .ht-demo .d-run { display: inline-flex; align-items: center; gap: 8px; min-height: min(11cqh, 44px); padding-inline: 16px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: var(--bold); font-size: max(12.5px, .92em); white-space: nowrap; }
.ht-demo .d-bar { height: 6px; border-radius: 4px; background: #eceef5; overflow: hidden; }
.ht-demo .d-bar i { display: block; height: 100%; border-radius: inherit; background: var(--pink); transform: scaleX(0); transform-origin: 100% 50%; }
.ht-demo--store:is([data-s="sync"], [data-s="done"], [data-s="order"], :not([data-s])) .d-bar i { transform: none; transition: transform 1.4s var(--ease); }
.ht-demo--store[data-s="sync"] .d-sync svg { animation: d-spin 1s linear infinite; }
@keyframes d-spin { to { rotate: 360deg; } }
.ht-demo .d-row { position: relative; display: flex; align-items: center; gap: 14px; }
.ht-demo .d-row > i { flex: none; width: 13cqh; height: 13cqh; border-radius: 12px; }
.ht-demo .d-row em { position: absolute; inset-inline-end: 0; padding: 4px 13px 5px; border-radius: 99px; font-weight: var(--bold); font-size: max(12.5px, .88em); transition: opacity .4s, scale .5s var(--ease); }
.ht-demo .d-off { background: #eceef5; color: var(--ink-2); }
.ht-demo .d-on { background: #dcf5e6; color: #11663a; opacity: 0; scale: .7; }
.ht-demo--store:is([data-s="done"], [data-s="order"], :not([data-s])) .d-off { opacity: 0; }
.ht-demo--store:is([data-s="done"], [data-s="order"], :not([data-s])) .d-on { opacity: 1; scale: 1; }
.ht-demo .d-row:nth-of-type(3) em { transition-delay: .15s; } .ht-demo .d-row:nth-of-type(4) em { transition-delay: .3s; }

/* תחזוקה: בדיקה שמסמנת וי */
.ht-demo .d-run { background: var(--pink); }
.ht-demo .d-item { display: flex; align-items: center; gap: 14px; }
.ht-demo .d-item > i { flex: none; display: grid; place-items: center; width: 8.6cqh; height: 8.6cqh; min-width: 24px; min-height: 24px; border-radius: 50%; border: 2px solid #d3d6e3; color: transparent; transition: background-color .4s, border-color .4s, color .4s, scale .5s var(--ease); }
.ht-demo .d-item svg { width: 60%; }
.ht-demo .d-item em { flex: 1; height: 6px; border-radius: 4px; background: #eceef5; }
.ht-demo:is([data-s="c1"], [data-s="c2"], [data-s="c3"], [data-s="c4"], [data-s="ok"]) .d-i1 > i, .ht-demo:is([data-s="c2"], [data-s="c3"], [data-s="c4"], [data-s="ok"]) .d-i2 > i, .ht-demo:is([data-s="c3"], [data-s="c4"], [data-s="ok"]) .d-i3 > i, .ht-demo:is([data-s="c4"], [data-s="ok"]) .d-i4 > i, .ht-demo:not([data-s]) .d-item > i { background: #1b8a4b; border-color: #1b8a4b; color: #fff; scale: 1.06; }
@container (max-width: 420px) { .ht-demo .d-sync, .ht-demo .d-run { padding-inline: 12px; } .ht-demo .d-sync svg { display: none; } }

/* ---------- "נשמע מוכר?" ---------- */
.ht-fam { position: relative; overflow-x: clip; }
.ht-fam__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ht-fam__tabs { display: grid; gap: 10px; align-content: center; }
.ht-fam__tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 84px; padding: 14px 16px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); text-align: start; cursor: pointer; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.ht-fam__tab[aria-selected="true"] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.ht-fam__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--surface); color: var(--ink-2); transition: background-color .5s, color .5s, rotate .6s var(--ease); }
.ht-fam__ic svg { width: 26px; }
.ht-fam__tab[aria-selected="true"] .ht-fam__ic { background: var(--pink); color: #fff; rotate: calc(var(--tilt) * -1); }
.ht-fam__tx { display: grid; gap: 2px; font-size: 16px; line-height: 1.4; color: var(--ink-2); text-wrap: balance; }
.ht-fam__tx strong { font-family: var(--display); font-size: 21px; line-height: 1.15; color: var(--ink); }
.ht-fam__bar { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: transparent; }
.ht-fam__bar b { display: block; height: 100%; background: var(--pink); transform: scaleX(0); transform-origin: 100% 50%; }
.ht-fam__stage { position: relative; min-height: 310px; border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.ht-fam__story { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.ht-fam__story.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.ht-fam__scene { position: absolute; inset: 0; }
.ht-fam__scene * { animation-duration: 7s; animation-iteration-count: infinite; animation-timing-function: var(--ease); }
.ht-fam__grid.is-still .ht-fam__scene *, .ht-fam__story:not(.is-on) .ht-fam__scene * { animation-play-state: paused; }
/* האתר הישן מתפרק */
.ht-fam__site { position: absolute; inset: 14% 13%; padding: 46px 22px 22px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.ht-fam__dots { position: absolute; top: 0; inset-inline: 0; display: flex; gap: 6px; padding: 12px 16px; background: var(--ink); }
.ht-fam__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.ht-fam__site em { position: absolute; border-radius: 8px; background: #dfe2ee; }
.ht-fam__site .l1 { top: 62px; inset-inline-start: 22px; width: 56%; height: 24px; background: #c6cadd; animation-name: fam-a; }
.ht-fam__site .l2 { top: 100px; inset-inline-start: 22px; width: 38%; height: 12px; animation-name: fam-b; }
.ht-fam__site .l3 { top: 62px; bottom: 22px; inset-inline-end: 22px; width: 28%; background: linear-gradient(150deg, #e9ebf4, #cfd4e6); animation-name: fam-c; }
.ht-fam__site .l4 { bottom: 24px; inset-inline-start: 22px; width: 120px; height: 36px; border-radius: 99px; background: #b4b9d0; animation-name: fam-d; }
@keyframes fam-a { 0%, 22% { transform: none; } 44%, 96% { transform: rotate(-5deg) translate(-8px, 8px); } 100% { transform: none; } }
@keyframes fam-b { 0%, 28% { transform: none; } 50%, 96% { transform: rotate(6deg) translate(10px, 22px); } 100% { transform: none; } }
@keyframes fam-c { 0%, 32% { transform: none; } 56%, 96% { transform: rotate(9deg) translate(6px, 34px); } 100% { transform: none; } }
@keyframes fam-d { 0%, 38% { transform: none; } 62%, 96% { transform: rotate(-13deg) translate(-16px, 10px); } 100% { transform: none; } }
.ht-fam__stamp { position: absolute; top: 46%; inset-inline-start: 20%; padding: 9px 18px 10px; border-radius: var(--r-tag); background: var(--pink); color: #fff; font-weight: var(--bold); font-size: 17px; rotate: var(--tilt); box-shadow: var(--shadow); animation-name: fam-stamp; }
@keyframes fam-stamp { 0%, 54% { opacity: 0; scale: 1.5; } 62%, 95% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
/* מגיעים לטופס ויוצאים */
.ht-fam__form { position: absolute; inset-block: 15%; inset-inline: 27%; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); text-align: center; }
.ht-fam__form b { font-family: var(--display); font-size: 20px; line-height: 1.15; }
.ht-fam__form em { height: 38px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ht-fam__form u { display: grid; place-items: center; height: 42px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: var(--bold); font-size: 16px; text-decoration: none; }
.ht-fam__guest { position: absolute; top: calc(28% + var(--g) * 12%); left: 0; width: 100%; animation-name: fam-guest; animation-delay: calc(var(--g) * .85s); animation-fill-mode: backwards; }
.ht-fam__guest svg { width: 26px; filter: drop-shadow(0 3px 4px rgba(18, 22, 47, .25)); }
.ht-fam__guest path { fill: var(--ink); stroke: #fff; stroke-width: 1.4; }
.ht-fam__guest:nth-of-type(2n) path { fill: var(--pink); }
@keyframes fam-guest { 0% { transform: translateX(-30px); opacity: 0; } 14% { transform: translateX(34%); opacity: 1; } 24% { transform: translateX(46%); } 30% { transform: translateX(46%); } 48% { transform: translate(101%, 40px); opacity: 1; } 49%, 100% { transform: translate(101%, 40px); opacity: 0; } }
.ht-fam__inbox { position: absolute; top: 7%; inset-inline-end: 6%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-size: 15px; animation-name: fam-inbox; }
.ht-fam__inbox b { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--pink); }
@keyframes fam-inbox { 0%, 70%, 82%, 100% { transform: none; } 73% { transform: rotate(3deg); } 76% { transform: rotate(-3deg); } 79% { transform: rotate(2deg); } }
/* המשימות נערמות */
.ht-fam__todo { position: absolute; inset-inline-start: calc(9% + mod(var(--g), 2) * 26%); top: calc(70% - var(--g) * 11.5%); display: flex; align-items: center; gap: 12px; width: 56%; min-height: 54px; padding: 10px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 18px 28px -18px rgba(18, 22, 47, .45); font-size: 16px; font-weight: var(--bold); line-height: 1.2; rotate: calc((mod(var(--g), 3) - 1) * 5deg); animation-name: fam-todo; animation-delay: calc(var(--g) * .62s); animation-fill-mode: backwards; }
.ht-fam__todo i { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #c8cbdb; }
@keyframes fam-todo { 0% { opacity: 0; translate: 0 -160px; } 9%, 88% { opacity: 1; translate: 0 0; } 94%, 100% { opacity: 0; translate: 0 18px; } }
.ht-fam__end { margin-top: 34px; }
@media (min-width: 900px) {
	.ht-fam__grid { grid-template-columns: 5fr 7fr; gap: 26px; }
	.ht-fam__stage { min-height: 470px; }
	.ht-fam__tab { min-height: 124px; padding: 22px 26px; gap: 22px; }
	.ht-fam__ic { width: 68px; height: 68px; border-radius: 18px; }
	.ht-fam__ic svg { width: 32px; }
	.ht-fam__tx { font-size: 18px; }
	.ht-fam__tx strong { font-size: 27px; }
	.ht-fam__form { inset-inline: 31%; }
	.ht-fam__todo { min-height: 64px; font-size: 18px; width: 50%; }
}

/* ---------- המלצות בנטו ---------- */
.ht-bento { overflow-x: clip; }
.ht-bento .ht-head { margin-bottom: 34px; }
.ht-bento__wrap { position: relative; }
.ht-bento__grid { position: relative; z-index: 1; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--side); margin-inline: calc(var(--side) * -1); padding: 12px var(--side) 30px; scrollbar-width: none; }
.ht-bento__grid::-webkit-scrollbar { display: none; }
.ht-bento__col { display: contents; }
.ht-bento__card { flex: 0 0 82%; max-width: 360px; margin: 0; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ht-bento__card blockquote { margin: 0; display: grid; gap: 8px; }
.ht-bento__title { font-family: var(--display); font-weight: var(--bold); font-size: 23px; line-height: 1.15; text-wrap: balance; }
.ht-bento__one, .ht-bento__card details p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.ht-bento__stars { color: #b3003f; letter-spacing: 3px; font-size: 18px; line-height: 1; }
.ht-bento__card details[open] { display: grid; gap: 10px; }
.ht-bento__card:has(details[open]) .ht-bento__one { display: none; }
.ht-bento__card summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--bold); font-size: 16px; cursor: pointer; list-style: none; width: fit-content; transition: color .4s var(--ease); }
.ht-bento__card summary::-webkit-details-marker { display: none; }
.ht-bento__card summary span { border-bottom: 2px solid var(--pink); }
.ht-bento__card details:not([open]) .is-less, .ht-bento__card details[open] .is-more { display: none; }
@media (hover: hover) { .ht-bento__card summary:hover { color: var(--pink-hot); } }
.ht-bento__card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.3; }
.ht-bento__card figcaption > span:last-child { display: grid; color: var(--ink-2); }
.ht-bento__card figcaption strong { color: var(--ink); }
.ht-bento__ava { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--pink-hot); font-family: var(--display); font-weight: var(--bold); font-size: 19px; }
.ht-bento__rate { justify-content: center; gap: 22px; background: var(--pink); color: #fff; box-shadow: none; }
.ht-bento__rate .ht-sel { width: fit-content; margin: 8px 8px 0; font-family: var(--display); font-weight: var(--bold); font-size: clamp(96px, 8vw, 124px); line-height: .84; }
.ht-bento__rate p { font-family: var(--display); font-weight: var(--bold); font-size: 24px; line-height: 1.15; text-wrap: balance; }
.ht-bento__rate a { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--bold); text-underline-offset: 5px; }
/* כרטיס תמונה: האתר של אותו לקוח למעלה, בצלחת מעוגלת, והציטוט מתחתיו */
.ht-bento__pic { padding-top: 10px; color: #fff; background: var(--ink); box-shadow: none; }
.ht-bento__pic > img { width: calc(100% + 28px); max-width: none; margin-inline: -14px; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top; border-radius: 19px; }
.ht-bento__pic .ht-bento__one, .ht-bento__pic details p, .ht-bento__pic figcaption > span:last-child { color: rgba(255, 255, 255, .86); }
.ht-bento__pic figcaption { border-color: rgba(255, 255, 255, .25); }
.ht-bento__pic figcaption strong { color: #fff; }
@media (hover: hover) { .ht-bento__pic summary:hover { color: #ffd6e7; } }
.ht-bento__card.is-tilt { rotate: -2deg; box-shadow: inset 0 0 0 1px var(--line), 0 50px 50px rgba(18, 22, 47, .08); }
@media (min-width: 900px) {
	.ht-bento__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; overflow: visible; margin: 0; padding: 0; }
	.ht-bento__col { display: grid; gap: 18px; }
	.ht-bento__card { max-width: none; padding: 28px; }
	.ht-bento__pic { padding-top: 10px; }
	.ht-bento__pic > img { width: calc(100% + 36px); margin-inline: -18px; }
	.ht-bento__title { font-size: 25px; }
	.ht-bento__rate { min-height: 320px; }
	.ht-bento__card.is-tilt { z-index: 2; rotate: -3.5deg; transition: rotate .7s var(--ease); }
	.ht-bento__card.is-tilt:focus-within, .ht-bento__card.is-tilt:has(details[open]) { rotate: 0deg; }
}
@media (min-width: 900px) and (hover: hover) { .ht-bento__card.is-tilt:hover { rotate: 0deg; } }
/* טלפון וטאבלט (שורה לצד): נפתח בכרטיס עם תמונה, וכל הכרטיסים בגובה דומה */
@media (max-width: 899px) {
	.ht-bento__pic { order: -1; }
	.ht-bento__pic > img { aspect-ratio: 16 / 8.4; }
	.ht-bento__one:has(+ details) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
	.ht-bento__say .ht-bento__title { font-size: 26px; }
	.ht-bento__rate { flex-basis: 66%; max-width: 280px; }
	.ht-bento__card.is-tilt { rotate: -1.6deg; }
}
.ht-sq--bento { inset-inline-start: calc(33% - 130px); top: 40%; rotate: -14deg; }

/* ---------- קרוסלת סיפורי לקוחות ---------- */
.ht-stories { position: relative; overflow-x: clip; padding-top: 0; }
.ht-stories__in { position: relative; }
.ht-stories__head { position: relative; z-index: 1; margin-bottom: 30px; }
.ht-stories__head > div:first-child { display: grid; gap: 16px; justify-items: center; text-align: center; width: 100%; }
.ht-stories__nav { display: none; gap: 10px; }
.ht-stories__nav .ht-round:disabled { opacity: .3; cursor: default; }
.ht-stories__rail { position: relative; z-index: 1; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--side); margin-inline: calc(var(--side) * -1); padding: 6px var(--side) 26px; scrollbar-width: none; }
.ht-stories__rail::-webkit-scrollbar { display: none; }
.ht-stories__rail.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.ht-stories__rail li { flex: 0 0 84%; max-width: 470px; scroll-snap-align: start; display: flex; }
/* צלחת: כרטיס לבן, 10 פיקסלים ריפוד ותמונה מעוגלת בפנים */
.ht-story { display: flex; flex-direction: column; width: 100%; padding: 10px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .6s var(--ease); }
.ht-story__im { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 19px; background: var(--surface); }
.ht-story__im img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.ht-story__bd { flex: 1; display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 12px; padding: 18px 14px 12px; }
.ht-story__type { padding: 4px 13px 5px; border-radius: 99px; background: var(--surface); color: #b3003f; font-size: 15px; font-weight: var(--bold); }
.ht-story strong { font-family: var(--display); font-size: 22px; line-height: 1.18; text-wrap: balance; }
.ht-story__go { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--bold); transition: color .4s var(--ease); }
@media (hover: hover) { .ht-story:hover .ht-story__im img { scale: 1.04; } .ht-story:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); } .ht-story:hover .ht-story__go { color: var(--pink-hot); } }
.ht-stories__all { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 10px; position: relative; z-index: 1; }
@media (min-width: 900px) {
	.ht-stories__head { margin-bottom: 26px; }
	.ht-stories__nav:not([hidden]) { display: flex; }
	/* מקצה ימין של המסך עד קצה שמאל (הדר, 25.11.2026: "למה הקרוסלה לא מתחילה מצד ימין") */
	.ht-stories__rail { width: 100vw; gap: 18px; margin-inline: calc(50% - 50vw); padding-inline: 32px; scroll-padding-inline: 32px; }
	.ht-stories__rail li { flex-basis: clamp(300px, 27vw, 430px); max-width: none; }
	.ht-story__im { aspect-ratio: 16 / 9; }
	.ht-story__bd { padding: 14px 12px 6px; gap: 8px; }
	.ht-story strong { font-size: 21px; }
}
.ht-sq--stories { inset-inline-start: 1%; top: -14px; width: 150px; rotate: 8deg; }
@media (min-width: 900px) { .ht-stories .ht-h2 .ht-thin { display: inline; } }

/* ---------- חתימת הפוטר: "הדרה" ענק בתיבת בחירה ושני סמנים ---------- */
.ht-sign { position: relative; z-index: 1; display: grid; justify-items: center; margin: 40px auto 46px; width: fit-content; max-width: 100%; }
.ht-sign__word { padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px); line-height: 0; outline-color: rgba(255, 255, 255, .85); }
.ht-sign__word img { display: block; width: clamp(260px, 25vw, 360px); height: auto; }
.ht-sign__word:focus-visible { outline: 4px solid #fff; outline-offset: 2px; }
.ht-footer__brand { grid-template-columns: 1fr; justify-items: center; } /* הלוגו עלה לחתימה, נשארו הרשתות באמצע */
.ht-footer__brand .ht-footer__social { justify-self: center; }
.ht-sign__word > i { background: var(--ink); border-color: #fff; }
.ht-sign__cur { position: absolute; display: flex; direction: ltr; align-items: flex-start; animation: ht-sign-drift 10s ease-in-out infinite; }
.ht-sign__cur svg { flex: none; width: 24px; }
.ht-sign__cur path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.ht-sign__cur b { margin: 17px 0 0 -3px; padding: 4px 13px 5px; border-radius: 99px; direction: rtl; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.ht-sign__cur--a { top: -58px; left: 9%; } /* מעל המסגרת: ליד התגית הוורודה של הלוגו התווית נבלעת */
.ht-sign__cur--a path { fill: var(--pink); } .ht-sign__cur--a b { background: var(--pink); color: #fff; }
.ht-sign__cur--b { bottom: -40px; inset-inline-end: 4%; animation-delay: -4s; animation-duration: 12s; }
.ht-sign__cur--b path { fill: var(--ink); } .ht-sign__cur--b b { background: #fff; color: var(--ink); }
@keyframes ht-sign-drift { 0%, 100% { translate: 0 0; } 25% { translate: 14px -10px; } 50% { translate: -8px 8px; } 75% { translate: 10px 10px; } }
@media (max-width: 767px) { .ht-sign { margin-block: 44px 56px; } .ht-sign__word img { width: min(54vw, 260px); } .ht-sign__cur--a { top: -60px; left: 4px; } .ht-sign__cur--b { bottom: -42px; inset-inline-end: 0; } }

@media (prefers-reduced-motion: reduce) {
	.ht-fam__scene *, .ht-sign__cur { animation: none !important; }
	.ht-sq .p, .ht-sq .g { transition: none; stroke-dashoffset: 0; }
	.ht-sq .h, .ht-sq .c, .ht-sq .s { opacity: 1; }
	.ht-demo *, .ht-bento__card, .ht-story__im img { transition: none !important; }
}
