/* ויאלוג – עיצוב האתר. כיוון: חם וחווייתי, בצבעי ויאלוג. */
:root {
  /* ארבעת צבעי הבסיס (משתנים מממשק הניהול) */
  --ink: #1E3A2F;          /* דיו: כותרות וטקסט */
  --accent: #2E9E5B;       /* הדגשה ראשית: ירוק */
  --accent-2: #58A8EE;     /* הדגשה משנית: כחול בהיר */
  --bg: #FAF7F0;           /* רקע שמנת */

  --green-deep: color-mix(in srgb, var(--accent) 78%, #000);
  --mint: #A8D5BA;
  --lime: #8CC63F;
  --surface: #EEF5EF;
  --sky: #EAF4FD;
  --sand: #F4EEE1;
  --lime-soft: #F0F7E6;
  --text-2: #4A6457;
  --line: #DFEAE2;
  --white: #fff;
  --danger: #B3261E;

  --font-head: 'Rubik', 'Heebo', Arial, sans-serif;
  --font-body: 'Heebo', 'Rubik', Arial, sans-serif;

  --r-sm: 14px; --r: 24px; --r-lg: 32px;
  --shadow-card: 0 24px 60px -28px color-mix(in srgb, var(--ink) 45%, transparent);
  --shadow-pop: 0 18px 40px -18px color-mix(in srgb, var(--ink) 55%, transparent);
  --wrap: 1180px;
  --fs: 1;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: calc(17px * var(--fs)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 200; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.ico { display: inline-block; vertical-align: -.22em; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fill { background: #FFF3C4; outline: 2px dashed #D9B13B; padding: 0 4px; border-radius: 4px; }

/* ---------- שורת מצב עליונה ---------- */
.statusbar { background: var(--ink); color: #D7E8DD; font-size: .8rem; }
.statusbar .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 34px; }
.statusbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); display: inline-block; margin-inline-end: 6px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 25%, transparent); }
.statusbar a { text-decoration: none; }
.statusbar .sb-side { display: flex; gap: 18px; align-items: center; }

/* ---------- תפריט צף ---------- */
.nav { position: sticky; top: 10px; z-index: 50; margin-top: 10px; }
.nav__bar { display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, #fff 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 14px; box-shadow: var(--shadow-card); }
.nav__logo { display: flex; align-items: center; padding-inline-start: 6px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--surface); color: var(--green-deep); }
.nav__tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--mint); background: var(--surface); }
.badge { position: absolute; top: -4px; left: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.nav__menu { display: none; }
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: calc(100% + 8px); right: 0; left: 0; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow-pop); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 18px; }
  .nav .nav__menu { display: inline-grid; }
  .nav .nav__cta { display: none; }
  .statusbar .wrap { font-size: .75rem; gap: 10px; }
  .statusbar .sb-long { display: none; }
  .statusbar a { white-space: nowrap; }
  .nav__logo img { height: 32px; }
  .statusbar .sb-extra { display: none; }
}

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 88%, #000), color-mix(in srgb, var(--accent) 70%, #000)); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 22%, transparent); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--glass { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .4); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.link { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- כותרות ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: color-mix(in srgb, var(--accent-2) 70%, var(--ink)); letter-spacing: .02em; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.title { font-weight: 800; font-size: clamp(2rem, 5.2vw, 3.6rem); letter-spacing: -.5px; }
.title--xl { font-size: clamp(2.2rem, 6.4vw, 4.4rem); }
.title em, .grad { font-style: normal; background: linear-gradient(90deg, var(--accent-2), color-mix(in srgb, var(--accent) 85%, #000)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- מקטעים ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--surface { background: var(--surface); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .lead { color: #CFE2D6; }
.section-head { margin-bottom: 40px; }
.wave { display: block; width: 100%; height: 70px; color: var(--surface); margin-bottom: -1px; }
.wave--down { transform: scaleY(-1); margin-bottom: 0; margin-top: -1px; }
.deco-rings { position: absolute; pointer-events: none; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--mint) 70%, transparent); }

/* ---------- פתיחה ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; margin: 0; list-style: none; color: var(--text-2); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--accent); }
.hero__art { position: relative; aspect-ratio: 1; max-width: 560px; margin-inline: auto; width: 100%; }
.hero__circle { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 40%, color-mix(in srgb, var(--accent-2) 22%, #fff) 62%, color-mix(in srgb, var(--mint) 55%, #fff) 100%); box-shadow: var(--shadow-card); }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 40%, transparent); animation: spin 80s linear infinite; }
.hero__art svg.house { position: absolute; inset: 12%; width: 76%; height: 76%; }
.float-tag { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 10px 16px; box-shadow: var(--shadow-pop); font-weight: 600; font-size: .92rem; animation: bob 6s ease-in-out infinite; }
.float-tag .ico { color: var(--accent); width: 1.4em; height: 1.4em; }
.float-tag--1 { top: 8%; right: -2%; }
.float-tag--2 { bottom: 16%; left: -4%; animation-delay: -2s; }
.float-tag--3 { bottom: 0; right: 10%; animation-delay: -4s; }
.float-tag--4 { top: 2%; left: 4%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.flow { stroke-dasharray: 4 8; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; }
  .float-tag { font-size: .82rem; padding: 8px 12px; }
  .float-tag--1 { right: 0; } .float-tag--2 { left: 0; }
}

/* ---------- פס יתרונות ---------- */
.trustbar { position: relative; z-index: 2; margin-top: -48px; }
.trustbar__card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-card); }
.tb { display: flex; gap: 14px; align-items: center; padding: 8px 10px; }
.tb__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--green-deep); flex: none; }
.tb:nth-child(2) .tb__ic { background: var(--sky); color: #2F6FB3; }
.tb:nth-child(3) .tb__ic { background: var(--lime-soft); color: #4F7A1E; }
.tb:nth-child(4) .tb__ic { background: var(--sand); color: var(--ink); }
.tb b { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.tb span { color: var(--text-2); font-size: .9rem; line-height: 1.4; display: block; }
@media (max-width: 900px) { .trustbar__card { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trustbar__card { grid-template-columns: 1fr; padding: 14px; } }

/* ---------- כרטיסים ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-card); position: relative; }
.card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.card p { color: var(--text-2); margin: 0; }
.card__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: var(--green-deep); background: var(--surface); }
.card__ic .ico { width: 28px; height: 28px; }
.pastel > :nth-child(4n+1) { background: var(--surface); }
.pastel > :nth-child(4n+2) { background: var(--sky); }
.pastel > :nth-child(4n+3) { background: var(--lime-soft); }
.pastel > :nth-child(4n+4) { background: var(--sand); }
.pastel .card { box-shadow: none; }
.pastel .card__ic { background: #fff; }

/* ---------- בית בחתך ---------- */
.house-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: stretch; }
.house-svg { width: 100%; height: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 12px; }
.room { cursor: pointer; }
.room rect.room-bg { fill: var(--bg); stroke: var(--line); stroke-width: 2; transition: fill .25s; }
.room:hover rect.room-bg, .room:focus rect.room-bg { fill: var(--surface); }
.room[aria-pressed="true"] rect.room-bg { fill: color-mix(in srgb, var(--mint) 45%, #fff); stroke: var(--accent); }
.room text { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: var(--ink); }
.room:focus { outline: none; }
.room:focus-visible rect.room-bg { stroke: var(--accent-2); stroke-width: 4; }
.room-panel { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.room-panel h3 { font-size: 1.6rem; }
.room-panel ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.room-panel li { display: flex; gap: 12px; align-items: flex-start; color: #D7E8DD; }
.room-panel li .ico { color: var(--lime); margin-top: 4px; }
.room-panel .hint { margin-top: auto; padding-top: 18px; color: #9FC2AE; font-size: .9rem; }
@media (max-width: 900px) { .house-wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .room text { font-size: 26px; } .house-svg { padding: 4px; } }

/* ---------- מסך שליטה ---------- */
.screen-demo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.device { width: min(320px, 80vw); aspect-ratio: 1; margin-inline: auto; background: #fff; border-radius: 34px; padding: 22px; box-shadow: var(--shadow-card), inset 0 0 0 2px var(--line); }
.device__screen { width: 100%; height: 100%; border-radius: 20px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; overflow: hidden; }
.device__label { color: #CFE2D6; font-size: .95rem; }
.device__value { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.device__dots { display: flex; gap: 8px; margin-top: 10px; }
.device__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgb(255 255 255 / .3); cursor: pointer; }
.device__dots button[aria-current="true"] { background: var(--lime); }
.device__arrows { position: absolute; inset: auto 0 12px; display: flex; justify-content: space-between; padding: 0 12px; }
.device__arrows button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .ico { color: var(--accent); }
@media (max-width: 900px) { .screen-demo { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }

/* ---------- קהלים ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud { border-radius: var(--r-lg); padding: 30px; background: #fff; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--accent); }
.aud:nth-child(2) { border-top-color: var(--accent-2); }
.aud:nth-child(3) { border-top-color: var(--lime); }
.aud h3 { font-size: 1.4rem; margin: 6px 0 0; }
.aud p { color: var(--text-2); margin: 0; }
.aud .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .audience { grid-template-columns: 1fr; } }

/* ---------- השוואה (בתי כנסת) ---------- */
.compare { display: grid; gap: 14px; }
.compare__head, .cmp { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 14px; align-items: stretch; }
.compare__head span { font-family: var(--font-head); font-weight: 700; padding: 0 20px; color: var(--text-2); }
.compare__head span:last-child { color: var(--green-deep); }
.cmp h3 { font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: 10px; padding: 18px 0; }
.cmp h3 .ico { color: var(--accent); width: 1.5em; height: 1.5em; }
.cmp__old, .cmp__new { border-radius: var(--r); padding: 18px 20px; display: flex; gap: 10px; align-items: flex-start; }
.cmp__old { background: #F1EFEA; color: #5C6660; }
.cmp__old .ico { color: #9AA39D; margin-top: 3px; }
.cmp__new { background: #fff; box-shadow: var(--shadow-card); border: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.cmp__new .ico { color: var(--accent); margin-top: 3px; }
.cmp__label { display: none; font-size: .8rem; font-weight: 700; }
@media (max-width: 800px) {
  .compare__head { display: none; }
  .cmp { grid-template-columns: 1fr; gap: 8px; background: var(--surface); border-radius: var(--r); padding: 4px 14px 14px; }
  .cmp__label { display: block; }
}

/* ---------- שבת ---------- */
.shabbat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sh { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--r); padding: 24px; }
.sh h3 { font-size: 1.15rem; color: #fff; }
.sh p { color: #CFE2D6; margin: 0; }
.note-strip { margin-top: 26px; display: flex; gap: 14px; align-items: center; background: rgb(255 255 255 / .08); border-radius: 999px; padding: 14px 22px; color: #E4F0E8; }
.note-strip .ico { color: var(--lime); }
@media (max-width: 900px) { .shabbat-grid { grid-template-columns: 1fr; } .note-strip { border-radius: var(--r); } }

/* ---------- שלבים ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-card); }
.step__n { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; background: linear-gradient(135deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-2); margin: 0; }
.warranty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.w { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r); padding: 20px 24px; border: 2px solid var(--line); }
.w strong { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--green-deep); line-height: 1; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .warranty { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- שאלות נפוצות ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border-radius: var(--r); padding: 0 24px; box-shadow: 0 8px 24px -18px color-mix(in srgb, var(--ink) 40%, transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 20px; margin: 0; }

/* ---------- רצועת יצירת קשר ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 70px); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, #000), var(--ink)); color: #fff; }
.cta-band .title { color: #fff; }
.cta-band p { color: #D7E8DD; font-size: 1.1rem; }
.cta-band__bg { position: absolute; inset: auto -2% -12% auto; font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 14vw, 11rem); color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .16); direction: ltr; pointer-events: none; white-space: nowrap; line-height: 1; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; position: relative; }

/* ---------- כותרת תחתונה ---------- */
.footer { background: var(--ink); color: #CFE2D6; padding: 10px 0 30px; }
.footer__wave { color: var(--ink); display: block; width: 100%; height: 70px; margin: 80px 0 -1px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding: 30px 0; }
.footer img.flogo { height: 44px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .contact-line { display: flex; gap: 10px; align-items: center; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-bottom: 96px; } }

/* ---------- כפתורים צפים ---------- */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgb(37 211 102 / .6); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(37 211 102 / .5); animation: ring 2.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.a11y-btn { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-pop); }
.a11y-btn .ico { width: 28px; height: 28px; }
.a11y-panel { position: fixed; right: 18px; bottom: 84px; z-index: 61; width: min(320px, calc(100vw - 36px)); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-pop); padding: 20px; border: 1px solid var(--line); }
.a11y-panel h2 { font-size: 1.15rem; }
.a11y-panel .a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel button { min-height: 48px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 600; font-size: .9rem; padding: 6px; }
.a11y-panel button[aria-pressed="true"] { border-color: var(--accent); background: var(--surface); }
.a11y-panel .a11y-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: .9rem; }

/* מצבי נגישות */
html.a11y-contrast { --bg: #fff; --text-2: #1E3A2F; --line: #1E3A2F; --surface: #fff; --sky: #fff; --sand: #fff; --lime-soft: #fff; }
html.a11y-contrast body { color: #000; }
html.a11y-contrast .card, html.a11y-contrast .step, html.a11y-contrast .aud, html.a11y-contrast .w { border: 2px solid #000; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn) { background: #FFF3C4; color: #000 !important; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font .btn { font-family: Arial, sans-serif !important; letter-spacing: 0 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- כניסה עדינה ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- כותרת עמוד פנימי ---------- */
.page-head { padding: clamp(36px, 6vw, 70px) 0 30px; position: relative; overflow: hidden; }
.crumbs { font-size: .9rem; color: var(--text-2); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- קטלוג ---------- */
.cat-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search input { width: 100%; min-height: 52px; border-radius: 999px; border: 2px solid var(--line); background: #fff; padding: 0 50px 0 20px; }
.search .ico { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* סינון לפי תכונות */
.facets { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: -8px 0 14px; }
.facets:empty { display: none; }
.facet { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--text-2); min-width: 150px; }
.facet select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; border: 2px solid var(--line); border-radius: 14px; padding: 0 12px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); cursor: pointer; }
.facet select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.facet-clear { min-height: 44px; }
.result-count { color: var(--text-2); font-size: .95rem; margin: 0 0 18px; }
@media (max-width: 640px) { .facets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .facet { min-width: 0; } .facet-clear { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .cat-tools .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: none; }
  .cat-tools .chip { white-space: nowrap; flex: none; }
}
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-block { margin-bottom: 50px; }
.cat-block__head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.cat-block__head .card__ic { margin: 0; }
.cat-block__head h2 { font-size: 1.6rem; margin: 0; }
.cat-block__head p { margin: 0; color: var(--text-2); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; transition: transform .2s; }
.pcard:hover { transform: translateY(-4px); }
.pcard__img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--surface); color: var(--green-deep); position: relative; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pcard__img .ico { width: 64px; height: 64px; stroke-width: 1.4; }
.pcard__img::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 30%, transparent); pointer-events: none; }
.pcard__img:has(img)::after { display: none; }
.pcard:nth-child(4n+2) .pcard__img { background: var(--sky); }
.pcard:nth-child(4n+3) .pcard__img { background: var(--lime-soft); }
.pcard:nth-child(4n+4) .pcard__img { background: var(--sand); }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__body h3 { font-size: 1.1rem; margin: 0; }
.pcard__body h3 a { text-decoration: none; }
.pcard__body h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard__body p { color: var(--text-2); font-size: .95rem; margin: 0; }
.sku { color: var(--text-2); font-size: .85rem; margin: 0 0 6px; letter-spacing: .02em; }
.pcard__body .sku { font-size: .82rem; margin-top: 6px; }
.sku span { font-family: ui-monospace, Consolas, monospace; }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.pcard__foot .btn { position: relative; z-index: 2; }
.empty { text-align: center; padding: 50px 20px; color: var(--text-2); background: #fff; border-radius: var(--r); }

/* ---------- עמוד מוצר ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product__media { background: var(--surface); border-radius: var(--r-lg); aspect-ratio: 1; display: grid; place-items: center; color: var(--green-deep); overflow: hidden; position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.product__media .ico { width: 34%; height: 34%; stroke-width: 1.2; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product__thumbs button { width: 72px; height: 72px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.product__thumbs button[aria-current="true"] { border-color: var(--accent); }
.product__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty input { width: 52px; text-align: center; border: 0; background: none; min-height: 46px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.spec { width: 100%; border-collapse: collapse; margin-top: 10px; }
.spec th, .spec td { text-align: right; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec th { color: var(--text-2); font-weight: 500; width: 40%; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- טפסים ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border-radius: 16px; border: 2px solid var(--line); background: #fff; padding: 10px 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field small { color: var(--text-2); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.form-msg { min-height: 1.4em; font-weight: 600; }
.form-msg.bad { color: var(--danger); }
.done { background: var(--surface); border-radius: var(--r); padding: 28px; text-align: center; }
.done .big { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--green-deep); direction: ltr; }

/* ---------- צור קשר ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: start; }
.contact-side { display: grid; gap: 14px; }
.cline { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r); padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow-card); }
.cline .card__ic { margin: 0; width: 50px; height: 50px; }
.cline b { display: block; font-family: var(--font-head); }
.cline span { color: var(--text-2); direction: ltr; display: inline-block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- סל ---------- */
.cart-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-card); }
.citem__img { width: 72px; height: 72px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; color: var(--green-deep); overflow: hidden; }
.citem__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.citem h3 { font-size: 1.05rem; margin: 0 0 4px; }
.citem input.note { width: 100%; border: 1px dashed var(--line); border-radius: 10px; padding: 6px 10px; font-size: .9rem; background: var(--bg); min-height: 40px; }
.citem__side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.remove { border: 0; background: none; color: var(--text-2); cursor: pointer; text-decoration: underline; font-size: .88rem; min-height: 32px; }
.sticky { position: sticky; top: 100px; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } .sticky { position: static; } }
@media (max-width: 520px) { .citem { grid-template-columns: 56px 1fr; } .citem__img { width: 56px; height: 56px; } .citem__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- אזור אישי ---------- */
.auth-card { max-width: 480px; margin: 0 auto; }
.demo-code { background: #FFF3C4; border: 2px dashed #D9B13B; border-radius: 14px; padding: 12px 16px; font-size: .95rem; }
.demo-code b { font-size: 1.4rem; letter-spacing: 4px; direction: ltr; display: inline-block; }
.req-list { display: grid; gap: 18px; }
.req { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-card); overflow: hidden; }
.req__head { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.req__num { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; direction: ltr; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--surface); color: var(--green-deep); }
.pill--blue { background: var(--sky); color: #24578C; }
.pill--sand { background: var(--sand); color: var(--ink); }
.pill--red { background: #FBE9E7; color: var(--danger); }
.req__body { padding: 20px 24px; display: grid; gap: 20px; }
.track { display: flex; gap: 0; list-style: none; padding: 0; margin: 0; overflow-x: auto; }
.track li { flex: 1 0 90px; text-align: center; font-size: .78rem; color: var(--text-2); position: relative; padding-top: 30px; }
.track li::before { content: ""; position: absolute; top: 8px; right: 50%; width: 16px; height: 16px; margin-right: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; }
.track li::after { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li.done::before { background: var(--accent); border-color: var(--accent); }
.track li.done::after { background: var(--accent); }
.track li.now { color: var(--ink); font-weight: 700; }
.track li.now::before { border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.offer { background: var(--surface); border-radius: var(--r-sm); padding: 18px 20px; }
.offer pre { white-space: pre-wrap; font-family: inherit; margin: 0 0 10px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: .95rem; }
.timeline time { color: var(--text-2); font-size: .85rem; white-space: nowrap; }
.timeline .from-me { color: #24578C; }
.items-table { width: 100%; border-collapse: collapse; }
.items-table td, .items-table th { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: right; }
.items-table th { color: var(--text-2); font-weight: 500; font-size: .9rem; }

/* ---------- פרויקטים ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proj { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.proj__img { aspect-ratio: 16 / 10; background: var(--surface); display: grid; place-items: center; color: var(--green-deep); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; }
.proj__body { padding: 24px; }
.proj__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }

/* ---------- עמודים משפטיים ---------- */
.prose { max-width: 820px; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-card); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--text-2); font-size: .9rem; }

/* ---------- הודעה קופצת ---------- */
.toast { position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; z-index: 90; opacity: 0; transition: .3s; pointer-events: none; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-pop); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.toast a { color: var(--lime); font-weight: 700; }

@media print { .nav, .statusbar, .wa-float, .a11y-btn, .footer { display: none !important; } }
