/* ===== RISE DIGITAL — Landing Page =====
   צבעים: מתוך ערכת המותג בלבד (brand.md) */
:root {
  --brand-primary: #054A60;
  --brand-secondary: #3897A1;
  --brand-accent: #DEB86F;
  /* גרסאות כהות לטקסט קטן על רקע בהיר — WCAG AA (4.5:1). לא לשימוש דקורטיבי */
  --brand-accent-text: #8A6420;
  --brand-secondary-text: #2A727B;
  --brand-ink: #0A2A33;
  --brand-surface: #FFFFFF;
  --brand-gradient: linear-gradient(160deg, #013A4E 0%, #054A60 45%, #3897A1 100%);
  --brand-gold-gradient: linear-gradient(135deg, #C9994E 0%, #DEB86F 55%, #F0D9A0 100%);
  --surface-soft: #F4F8F9;
  --line: rgba(5, 74, 96, 0.12);
  --shadow: 0 10px 40px rgba(5, 74, 96, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* hidden חייב לגבור על display שמגיע ממחלקה — אחרת אלמנט שהוסתר ב-JS ימשיך להופיע */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  color: var(--brand-ink);
  background: var(--surface-soft);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ===== טיפוגרפיה ===== */
h1 { font-size: clamp(2.35rem, 5.6vw, 3.7rem); font-weight: 800; line-height: 1.28; color: var(--brand-primary); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.25; color: var(--brand-primary); margin-bottom: 1.2rem; }
h2.light { color: #fff; }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--brand-primary); }
.teal { color: var(--brand-secondary); }

.kicker {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
  color: var(--brand-secondary-text); text-transform: uppercase;
  margin-bottom: 0.9rem; position: relative; padding-inline-start: 42px;
}
.kicker::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%;
  width: 30px; height: 2px; background: var(--brand-gold-gradient); border-radius: 2px;
}
.kicker.light { color: #A9DDE2; }

/* ===== כפתורים ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 12px 28px; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: none; transition: all .25s ease;
}
.btn-primary {
  background: var(--brand-primary); color: #fff;
  box-shadow: 0 6px 20px rgba(5, 74, 96, 0.28);
}
.btn-primary:hover { background: #076A88; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(5, 74, 96, 0.35); }
.btn-primary svg { transition: transform .25s ease; }
.btn-primary:hover svg { transform: translateX(-4px); }
.btn-lg { padding: 15px 38px; font-size: 1.1rem; }
.btn-gold {
  background: var(--brand-accent); color: var(--brand-primary);
  box-shadow: 0 6px 20px rgba(201, 153, 78, 0.35);
}
.btn-gold:hover { background: #E8C888; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201, 153, 78, 0.45); }
.btn-gold svg { transition: transform .25s ease; }
.btn-gold:hover svg { transform: translateX(-4px); }
.btn-block { width: 100%; justify-content: center; }
.btn-outline {
  border: 1.5px solid var(--brand-primary); color: var(--brand-primary);
  background: transparent; padding: 9px 22px;
}
.btn-outline:hover { background: var(--brand-primary); color: #fff; }

/* מצב פוקוס אחיד לכל מה שאפשר להגיע אליו במקלדת — לא רק לרכיבי ההדגמות */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero a:focus-visible, .process a:focus-visible, .capability a:focus-visible,
.site-footer a:focus-visible, .booking-view:focus-visible {
  outline-color: #F0D9A0;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 56px; width: auto; }
.header-inner picture { display: inline-flex; }

/* ===== Hero — גרדיאנט עמוק בצבעי המותג ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #012B3A 0%, #054A60 52%, #16697C 82%, #3897A1 115%);
  padding: 42px 0 76px;
  text-align: center;
}
.hero h1 { color: #fff; }

/* תג הלוגו בפתיח — שביט זהב שמקיף את הלוגו */
.hero-badge {
  position: relative;
  width: 210px; height: 210px; margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge picture { width: 74%; height: 74%; display: block; }
.hero-badge img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 0 1.5px rgba(255,255,255,0.85)) drop-shadow(0 0 10px rgba(255,255,255,0.28)) drop-shadow(0 6px 18px rgba(0,0,0,0.4)); }
/* השביט — בגודל קבוע, לא גדל עם הלוגו */
.hero-badge::before {
  content: ''; position: absolute; width: 182px; height: 182px;
  top: calc(50% - 91px); inset-inline-start: calc(50% - 91px);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 235deg,
    rgba(201,153,78,0.0) 240deg, rgba(201,153,78,0.7) 285deg,
    #DEB86F 330deg, #F0D9A0 355deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  animation: orbit 3.6s linear infinite;
}
.hero-badge::after {
  content: ''; position: absolute; width: 182px; height: 182px;
  top: calc(50% - 91px); inset-inline-start: calc(50% - 91px);
  border-radius: 50%;
  background: radial-gradient(circle 6px at 50% 3.5px, #FFF6E0 0%, #F0D9A0 45%, transparent 75%);
  filter: drop-shadow(0 0 6px #F0D9A0);
  animation: orbit 3.6s linear infinite;
}
@keyframes orbit { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge::before, .hero-badge::after { animation: none; } }
@media (max-width: 560px) {
  /* שים לב: הריפוד של .hero במובייל מוגדר בבלוק max-width:560 המאוחר יותר בקובץ — הוא זה שגובר */
  .hero-badge { width: 120px; height: 120px; margin-bottom: 14px; }
  .hero-badge::before, .hero-badge::after { width: 106px; height: 106px; top: calc(50% - 53px); inset-inline-start: calc(50% - 53px); }
  .hero-sub { font-size: 1.22rem; margin-top: 1.1rem; }
  .hero-text { margin: 1rem auto 1.5rem; font-size: 1.05rem; line-height: 1.85; }
}
.hero .hero-sub { color: #8FD4DC; }
.hero .hero-text { color: #C6DEE3; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-lines { width: 100%; height: 100%; }

.hero-inner { position: relative; }
.hero-logo { height: 150px; width: auto; margin-bottom: 28px; }
.hero-sub {
  font-size: 1.4rem; font-weight: 500; color: var(--brand-secondary);
  margin-top: 1.4rem;
}
.hero-punch {
  max-width: 760px; margin: 1.4rem auto 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 600; line-height: 1.6;
  color: #fff;
}
.hero .hero-punch { color: #fff; }
.hero-text { max-width: 720px; margin: 1.2rem auto 2rem; font-size: 1.12rem; line-height: 2; color: #3A5560; }

.accent-underline { position: relative; white-space: nowrap; }
.accent-underline::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 4px;
  height: 12px; background: var(--brand-gold-gradient);
  opacity: 0.35; border-radius: 6px; z-index: -1;
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.container.narrow-mid { max-width: 820px; text-align: center; }

/* ===== הכאב — הזדהות לפני הגישה ===== */
.pain { background: #fff; padding: 76px 0; }
.pain-lead {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem); font-weight: 600;
  color: var(--brand-primary); line-height: 1.6; margin-bottom: 1.4rem;
}
.pain-turn {
  font-size: 1.15rem; font-weight: 500; color: var(--brand-secondary-text);
  margin-bottom: 1.6rem;
}
.pain-punch {
  display: inline-block;
  font-size: 1.08rem; font-weight: 600; color: var(--brand-primary);
  background: #fff; border-radius: 999px; padding: 14px 30px;
  border: 1.5px solid rgba(222, 184, 111, 0.6);
  box-shadow: 0 8px 24px rgba(5, 74, 96, 0.08);
}


/* ===== דרך העבודה (פס כהה) ===== */
.process { background: var(--brand-gradient); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 48px;
  position: relative; align-items: end;
}
/* מדרגות עולות (RTL: מימין למעלה-שמאלה) + חץ הזהב שעובר ביניהן */
@media (min-width: 901px) {
  .step { min-height: 225px; }
  .step:nth-of-type(2) { margin-bottom: 30px; }
  .step:nth-of-type(3) { margin-bottom: 60px; }
  .step:nth-of-type(4) { margin-bottom: 90px; }
  .steps { padding-top: 56px; }
}
#stepsArrow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.step { position: relative; z-index: 1; }
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(2px);
  border-radius: 18px; padding: 30px 24px 26px;
  transition: transform .3s ease, background .3s ease;
}
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.11); }
.step-num {
  position: absolute; top: 18px; inset-inline-end: 20px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1px;
  color: var(--brand-accent); opacity: 0.85;
}
.step-icon { width: 56px; height: 56px; margin-bottom: 16px; }
.step-icon svg { width: 100%; height: 100%; }
.step h3 { color: #fff; margin-bottom: 6px; }
.step p { color: #C7E3E7; font-size: 0.98rem; line-height: 1.6; }


/* ===== יצירת קשר ===== */
.contact { background: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
}
.contact-copy p { margin-bottom: 0.9rem; font-size: 1.06rem; color: #2C4954; }
.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.1rem; font-weight: 600; color: var(--brand-primary);
  text-decoration: none; transition: color .2s;
  width: fit-content;
}
.contact-line:hover { color: var(--brand-secondary); }
.contact-ic {
  display: inline-flex; width: 42px; height: 42px; padding: 9px;
  border-radius: 12px; background: var(--surface-soft);
  border: 1px solid var(--line); color: var(--brand-secondary);
}
.contact-ic svg { width: 100%; height: 100%; }

/* ===== טופס ===== */
.lead-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.lead-form::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px;
  background: var(--brand-gold-gradient);
  border-radius: 20px 20px 0 0;
}
.lead-form h3 { margin-bottom: 20px; font-size: 1.35rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-size: 0.92rem; font-weight: 600;
  color: var(--brand-primary); margin-bottom: 6px;
}
.req { color: var(--brand-accent-text); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem;
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #FBFDFD;
  color: var(--brand-ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(56, 151, 161, 0.15);
}
.field textarea { resize: vertical; }
.field input[dir="ltr"] { text-align: left; }

.hp-field { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { margin-top: 12px; font-size: 0.82rem; color: #6B8791; text-align: center; }
.form-status { margin-top: 10px; font-size: 0.95rem; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #1C7C54; }
.form-status.err { color: #B3403A; }

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-primary);
  padding: 48px 0 32px; text-align: center;
}
/* ===== כפתור WhatsApp צף =====
   בצבעי המותג ולא בירוק וואטסאפ, כדי לא לשבור את השפה. הצורה מזוהה מיד גם ככה. */
.wa-float {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--brand-primary); color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(5, 74, 96, 0.32);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.wa-float:hover { background: #076A88; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(5, 74, 96, 0.4); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float-label { font-size: 0.98rem; font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
@media (max-width: 560px) {
  /* במובייל רק העיגול, כדי לא לכסות תוכן */
  .wa-float { inset-block-end: 16px; inset-inline-end: 16px; padding: 14px; }
  .wa-float-label { display: none; }
}

/* logo-mark.png = הלוגו בלי השוליים השקופים של logo.png, כדי שימלא את הריבוע הלבן */
.footer-logo { height: 64px; width: auto; background: #fff; border-radius: 14px; padding: 10px 16px; }
.footer-tag { color: #C7E3E7; margin-top: 14px; font-size: 1rem; }
.footer-contact { margin-top: 8px; }
.footer-contact a { color: var(--brand-accent); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin-top: 18px; }

/* ===== אנימציות ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== רספונסיביות ===== */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero { padding: 26px 0 56px; }
  .hero-logo { height: 110px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .header-logo { height: 46px; }
}

/* ===== הדגמות ===== */
.demos { background: var(--surface-soft); }
.demos > .container { text-align: center; }
.demos-note { max-width: 640px; margin: 4px auto 0; color: #5A6B72; font-size: 0.98rem; line-height: 1.6; }
/* ===== מה אני בונה (פותח, מערכות מובילות — רקע כהה) ===== */
.capability { background: var(--brand-gradient); }
.capability > .container { text-align: center; }
.capability .kicker { color: #A9DDE2; }
.capability h2 { color: #fff; }
.capability .teal { color: #8FD4DC; }
.capability-lead { max-width: 620px; margin: 0 auto 26px; color: #C6DEE3; font-size: 1.08rem; line-height: 1.7; }
/* תחומי העבודה ככרטיסים — כל אחד דרך התוצאה העסקית, לא דרך שם הטכנולוגיה.
   שפה ויזואלית זהה למדרגות "דרך העבודה" (.step) על אותו רקע כהה. */
/* תחומי העבודה — רשימה ערוכה עם קווי שער, בלי כרטיסים.
   הכרטיסים כבר משמשים במדרגות ובהדגמות; כאן הטיפוגרפיה והאוויר עושים את העבודה. */
.cap-list {
  max-width: 1000px; margin: 40px auto 0; text-align: start;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px;
}
.cap-row {
  display: block; padding: 17px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: background .3s ease;
}
.cap-row:hover { background: rgba(255, 255, 255, 0.04); }
.cap-area {
  display: block; margin-bottom: 3px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
  color: var(--brand-accent);
}
.cap-row h3 { color: #fff; font-size: 1.08rem; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .cap-row { transition: none; } }
@media (max-width: 700px) {
  .cap-list { grid-template-columns: 1fr; }
  .cap-row { padding: 15px 2px; }
}
.demos-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 48px; text-align: start;
}
.demo-card {
  /* פריט ברשת מקבל min-width:auto כברירת מחדל ולכן לא מתכווץ מתחת לרוחב התוכן שלו.
     בלי זה הכרטיס מותח את הדף ויוצר גלילה אופקית במובייל. */
  min-width: 0;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 30px 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.demo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(5, 74, 96, 0.14); }
/* הכרטיס האינטראקטיבי תופס רוחב מלא */
.demo-card.is-interactive { grid-column: 1 / -1; }
/* כרטיס אחרון שנשאר לבד בשורה — ממורכז במקום צמוד לצד אחד.
   הכרטיס הראשון תופס שורה שלמה, ולכן מספר זוגי של כרטיסים = יתום בסוף. */
@media (min-width: 901px) {
  .demos-grid > .demo-card:last-child:nth-child(even) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin-inline: auto;
  }
}
/* בדסקטופ: הטקסט בעמודה אחת וחלון הצ'אט לצידו לגובה מלא — בלי שטח ריק */
@media (min-width: 901px) {
  .demo-card.is-interactive {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: 36px;
  }
  .demo-card.is-interactive > .chat-window { grid-column: 2; grid-row: 1 / -1; margin-bottom: 0; }
}

.demo-scenario {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  color: var(--brand-secondary-text);
  padding-inline-start: 34px; position: relative; margin-bottom: 14px;
}
.demo-scenario::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%;
  width: 24px; height: 2px; background: var(--brand-gold-gradient); border-radius: 2px;
}
.demo-title { font-size: 1.3rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 8px; }
.demo-outcome {
  font-size: 1.02rem; font-weight: 600; color: var(--brand-secondary-text);
  line-height: 1.5; margin-bottom: 20px;
}

/* לפני / אחרי */

.demo-cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto;
  font-size: 1rem; font-weight: 600; color: var(--brand-primary);
  text-decoration: none; transition: gap .25s ease, color .25s ease;
}
.demo-cta svg { transition: transform .25s ease; }
.demo-cta:hover { color: var(--brand-secondary); }
.demo-cta:hover svg { transform: translateX(-4px); }

/* אזור הדגמה לכרטיסים סטטיים (רמז חזותי) */
.demo-media {
  margin-bottom: 22px; border-radius: 14px;
  background: linear-gradient(160deg, #F4F8F9 0%, #EAF2F3 100%);
  border: 1px solid var(--line);
  min-height: 132px; display: flex; align-items: center; justify-content: center;
  color: var(--brand-secondary);
}
.demo-media svg { width: 52px; height: 52px; opacity: 0.9; }

/* ===== חלון הצ'אט (מתוסרט) ===== */
.chat-window {
  margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #EDF3F4; max-width: 460px;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--brand-gradient); color: #fff;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg { width: 20px; height: 20px; }
.chat-header-info { display: flex; flex-direction: column; line-height: 1.2; }
.chat-header-name { font-weight: 600; font-size: 0.98rem; }
.chat-header-status { font-size: 0.75rem; color: #A9DDE2; display: flex; align-items: center; gap: 6px; }
.chat-header-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6FD08C;
}
.chat-demo-badge {
  margin-inline-start: auto; font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  background: rgba(255,255,255,0.16); color: #fff; padding: 3px 10px; border-radius: 999px;
}
.chat-body {
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  min-height: 240px; max-height: 340px; overflow-y: auto;
}
.chat-row { display: flex; }
.chat-row.user { justify-content: flex-end; }
.chat-row.bot { justify-content: flex-start; }
.chat-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 16px;
  font-size: 0.96rem; line-height: 1.5; box-shadow: 0 2px 8px rgba(5, 74, 96, 0.06);
  animation: chatIn .28s ease both;
}
.chat-row.bot .chat-bubble {
  background: var(--brand-secondary); color: #fff; border-end-start-radius: 5px;
}
.chat-row.user .chat-bubble {
  background: #fff; color: var(--brand-ink); border-end-end-radius: 5px;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.9);
  animation: typingDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-footer {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: #fff; border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1; border: none; background: var(--surface-soft); border-radius: 999px;
  padding: 10px 16px; font-family: inherit; font-size: 0.95rem; color: var(--brand-ink);
}
.chat-input:disabled { color: #93A7AE; }
.chat-start {
  border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.95rem;
  background: var(--brand-accent); color: var(--brand-primary);
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  transition: background .25s ease, transform .25s ease;
}
.chat-start:hover { background: #E8C888; transform: translateY(-1px); }
.chat-start:disabled { opacity: .55; cursor: default; transform: none; }

/* ===== הדגמת קביעת תור ===== */
.booking {
  margin-bottom: 22px; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: #fff; max-width: 460px;
}
.booking-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--brand-gradient); color: #fff;
}
.booking-ic { width: 34px; height: 34px; flex-shrink: 0; color: #fff; }
.booking-ic svg { width: 100%; height: 100%; }
.booking-head-info { display: flex; flex-direction: column; line-height: 1.2; }
.booking-head-title { font-weight: 600; font-size: 0.98rem; }
.booking-head-day { font-size: 0.75rem; color: #A9DDE2; }
.booking-tabs { display: flex; gap: 6px; padding: 14px 16px 0; }
.booking-tab {
  flex: 1; padding: 8px 6px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-family: inherit; font-weight: 600; font-size: 0.88rem;
  color: var(--brand-secondary-text); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.booking-tab.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.booking-tab:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }
.booking-body { padding: 14px 16px 18px; }
.booking-hint { font-size: 0.85rem; color: #5A6B72; margin-bottom: 12px; line-height: 1.5; }
.booking-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.booking-slot {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); background: var(--surface-soft); border-radius: 10px;
  padding: 12px 4px; cursor: pointer; font-family: inherit;
  color: #7A8C93; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.booking-time { font-size: 0.98rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-slot:hover { border-color: var(--brand-secondary); transform: translateY(-2px); }
.booking-slot:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }
/* בעל העסק: שעה פתוחה */
.booking-slot.open { border-color: var(--brand-secondary); background: rgba(56,151,161,0.10); color: var(--brand-primary); }
/* לקוח: שעה שאפשר לקבוע */
.booking-slot.bookable { background: #fff; color: var(--brand-primary); border-color: var(--line); }
.booking-slot.bookable:hover { border-color: var(--brand-secondary); background: var(--surface-soft); }
.booking-count { font-size: 0.82rem; font-weight: 600; color: var(--brand-secondary-text); text-align: center; margin-top: 14px; }
.booking-empty { font-size: 0.9rem; color: #5A6B72; text-align: center; padding: 18px 8px; }
.booking-confirm { padding: 26px 18px 24px; text-align: center; }
.booking-check { display: inline-block; width: 44px; height: 44px; color: var(--brand-secondary); margin-bottom: 10px; }
.booking-check svg { width: 100%; height: 100%; }
.booking-confirm-title { font-size: 1.05rem; font-weight: 600; color: var(--brand-primary); }
.booking-picked { font-variant-numeric: tabular-nums; }
.booking-confirm-sub { font-size: 0.9rem; color: #5A6B72; margin-top: 6px; }
/* ההודעות האוטומטיות שהלקוח מקבל */
.booking-msgs { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 4px; text-align: start; }
.booking-msg { display: flex; flex-direction: column; gap: 6px; }
.booking-msg-tag { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2px; color: var(--brand-secondary-text); }
.msg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-secondary); flex-shrink: 0; }
.msg-dot.gold { background: var(--brand-accent); }
.booking-msg.reminder .booking-msg-tag { color: #B08640; }
.booking-msg-bubble {
  align-self: flex-start; max-width: 92%;
  background: var(--brand-secondary); color: #fff;
  border-radius: 14px; border-end-start-radius: 5px; padding: 10px 14px;
  font-size: 0.92rem; line-height: 1.55; box-shadow: 0 2px 8px rgba(5, 74, 96, 0.06);
  animation: chatIn .3s ease both;
}
.booking-msg .msg-time { font-variant-numeric: tabular-nums; }
.booking-reset {
  margin-top: 18px; border: 1.5px solid var(--brand-primary); background: transparent;
  color: var(--brand-primary); font-family: inherit; font-weight: 600; font-size: 0.92rem;
  padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: background .25s ease, color .25s ease;
}
.booking-reset:hover { background: var(--brand-primary); color: #fff; }
.booking-reset:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .chat-bubble, .booking-msg-bubble { animation: none; }
  .chat-typing span { animation: none; }
  .demo-card, .booking-slot, .faq-chip { transition: none; }
}

/* ===== הדגמת לידים ===== */
.leadform {
  margin-bottom: 22px; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; background: #fff; max-width: 460px;
}
.leadform-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.lf-input {
  width: 100%; border: 1.5px solid var(--line); background: var(--surface-soft);
  border-radius: 12px; padding: 11px 14px; font-family: inherit; font-size: 0.95rem; color: var(--brand-ink);
}
.lf-input:focus { outline: 2px solid var(--brand-accent); outline-offset: 1px; border-color: var(--brand-secondary); }
.lf-err { color: #B3403A; font-size: 0.85rem; }
.lf-submit {
  border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.98rem;
  background: var(--brand-accent); color: var(--brand-primary);
  padding: 12px; border-radius: 999px; transition: background .25s ease, transform .2s ease;
}
.lf-submit:hover { background: #E8C888; transform: translateY(-1px); }
.lf-submit:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.leadform-result { padding: 16px; }
.lf-card {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; background: var(--surface-soft); text-align: start;
}
.lf-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lf-card-name { font-weight: 700; color: var(--brand-primary); }
.lf-status { font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--brand-secondary); padding: 3px 12px; border-radius: 999px; }
.lf-card-line { display: flex; gap: 10px; font-size: 0.92rem; margin-top: 6px; }
.lf-lbl { color: #93A7AE; min-width: 44px; }
.lf-card-phone, .lf-card-need { color: var(--brand-primary); }
.lf-card-meta { color: #93A7AE; font-size: 0.78rem; margin-top: 10px; }
.lf-reset { margin-top: 16px; }

/* ===== הדגמת עוזר AI (FAQ) — יורש את חלון הצ'אט ===== */
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
.faq-chip {
  border: 1.5px solid var(--line); background: var(--surface-soft); color: var(--brand-primary);
  font-family: inherit; font-size: 0.86rem; font-weight: 500; padding: 8px 14px;
  border-radius: 999px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.faq-chip:hover { border-color: var(--brand-secondary); background: #fff; }
.faq-chip:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }
.faq-chip.used { color: #93A7AE; }

/* CTA חוזר באמצע הדף — כדי שלא צריך לגלול חזרה למעלה */
.section-cta { text-align: center; margin-top: 44px; }

/* שורת החלופה בוואטסאפ בטופס */
.form-alt { margin-top: 14px; font-size: 0.95rem; color: #5A6B72; text-align: center; }
.form-alt a { color: var(--brand-secondary-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.form-alt a:hover { text-decoration: underline; }

/* ===== עבודות (תיק עבודות) ===== */
.works { background: #fff; }
.works > .container { text-align: center; }
/* מקרה לקוח יחיד — פריסת case-study אופקית (צילום לצד סיפור) */
.works-grid { display: block; max-width: 960px; margin: 44px auto 0; text-align: start; }
.work-card {
  display: flex; flex-direction: row; align-items: stretch; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); transition: box-shadow .3s ease;
}
.work-card:hover { box-shadow: 0 16px 48px rgba(5, 74, 96, 0.14); }
.work-thumb { width: 46%; flex-shrink: 0; overflow: hidden; position: relative; border-inline-end: 1px solid var(--line); }
.work-thumb img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { flex: 1; display: flex; flex-direction: column; padding: 34px 32px; }
.work-tag {
  align-self: flex-start; font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  color: var(--brand-secondary-text); padding-inline-start: 34px; position: relative; margin-bottom: 14px;
}
.work-tag::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%;
  width: 24px; height: 2px; background: var(--brand-gold-gradient); border-radius: 2px;
}
.work-title { font-size: 1.3rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 8px; }
.work-summary { font-size: 1rem; color: #2C4954; line-height: 1.6; margin-bottom: 14px; }
.work-result {
  align-self: flex-start; font-size: 0.95rem; font-weight: 600; color: var(--brand-primary);
  background: rgba(56,151,161,0.10); border-radius: 999px; padding: 8px 18px; margin-bottom: 4px;
}
.work-quote {
  margin: 16px 0 4px; padding: 14px 16px; background: var(--surface-soft);
  border-inline-start: 3px solid var(--brand-accent); border-radius: 10px;
  color: #2C4954; font-size: 0.95rem; line-height: 1.6; font-style: italic;
}
.work-quote cite {
  display: block; margin-top: 8px; font-style: normal; font-weight: 600;
  color: var(--brand-primary); font-size: 0.88rem;
}
.work-card .demo-cta { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .work-card { transition: none; } }

@media (max-width: 900px) {
  .demos-grid { grid-template-columns: 1fr; }
  .work-card { flex-direction: column; }
  .work-thumb { width: 100%; height: 200px; border-inline-end: none; border-bottom: 1px solid var(--line); }
  .work-body { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .demo-card { padding: 26px 22px 24px; }
  .chat-window, .booking { max-width: 100%; }
}
