/* ===== צבעים וגופנים: לפי business/brand.md ===== */
:root {
  --cream: #FFF7EC;
  --blue: #D3DDE6;
  --olive: #56673F;
  --green: #5B7F37;
  --green-hover: #4C6C2D;
  --sage: #A9B293;
  --dark-green: #24704A;
  --peach: #FFC794;
  --brown: #8B6B4E;
  --text: #4F5A3C;
  --link: #3D84C6;
  --radius: 32px;
  --font: "Assistant", "Lexend", system-ui, sans-serif;
}
html[lang="en"] { --font: "Lexend", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { color: var(--olive); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 6.5vw, 46px); font-weight: 800; }
h2 { font-size: clamp(26px, 5.5vw, 38px); font-weight: 800; text-align: center; }
h3 { font-size: 22px; font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 600; }
strong { color: var(--olive); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
.center { text-align: center; }
.lead { font-size: 1.1em; color: var(--brown); }

/* ===== כפתורים ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 30px;
  border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 19px; text-decoration: none;
  cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(91,127,55,.25); }
.btn-main:hover { background: var(--green-hover); }
.btn-wa { background: #fff; color: var(--olive); border: 2px solid var(--green); }
.btn-wa svg { width: 22px; height: 22px; fill: #25D366; }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btns .btn { flex: 1 1 260px; max-width: 340px; }

/* ===== פס עליון ===== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,247,236,.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(139,107,78,.15);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--olive); font-weight: 700; white-space: nowrap; font-size: 16px; }
.topbar .btn-small { white-space: nowrap; font-size: 15px; padding: 8px 16px; }
.brand img { height: 40px; width: auto; }
.topbar nav { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--brown); text-decoration: none; font-size: 15px; font-family: "Lexend", "Assistant", sans-serif; }
.lang:hover { text-decoration: underline; }

/* ===== פתיחה ===== */
.hero { background: var(--blue); padding: 32px 0 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 8px; align-items: center; position: relative; }
.hero-text { text-align: center; }
.hero-logo { width: min(340px, 86vw); margin: 4px auto 22px; mix-blend-mode: multiply; }
.hero p.lead { max-width: 560px; margin: 0 auto; }
.hero-tree { justify-self: center; width: 100%; height: auto; max-width: 380px; mix-blend-mode: multiply; margin-top: 20px; }
.hero-logo, .about-photo img, .talks img { height: auto; }
.hero-arrow { position: absolute; inset-inline-start: -40px; top: 40px; width: 520px; opacity: .55; pointer-events: none; }

/* ===== למי זה מתאים ===== */
/* רשימה פשוטה עם נקודות, בלי מלבנים. רק המסר בסוף במלבן */
.pains { list-style: none; padding: 0; margin: 24px auto 0; max-width: 600px; display: grid; gap: 10px; }
.pains li { display: flex; gap: 14px; align-items: flex-start; }
.pains li::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 9px;
  border-radius: 50%; background: var(--peach);
}
.note-box {
  background: var(--blue); border-radius: var(--radius);
  padding: 24px; margin: 28px auto 0; max-width: 520px; text-align: center;
}
/* מקור לנתון (הכתבה ב-ynet) */
.note-box .source { display: block; margin-top: 12px; font-size: 15px; line-height: 1.4; }

/* ===== המלצות ===== */
.testimonials { background: #fff; }
/* קרוסלה: עובדת עם כל מספר של המלצות */
.carousel { position: relative; margin-top: 24px; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 8px 16px 16px; margin: 0 -16px;
  scroll-padding-inline: 16px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > :first-child { margin-inline-start: auto; }
.carousel-track > :last-child { margin-inline-end: auto; }
.carousel-btn {
  display: none; position: absolute; top: 38%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 2px solid var(--green); color: var(--green);
  font: 700 26px/1 system-ui, sans-serif; place-items: center; padding: 0 0 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.carousel.has-overflow .carousel-btn { display: grid; }
.carousel-btn.prev { inset-inline-start: -6px; }
.carousel-btn.next { inset-inline-end: -6px; }
.carousel-btn:disabled { opacity: .3; cursor: default; }
/* בנייד: כרטיס רחב, כך שמהסרטון הבא מציץ רק קצה בלי טקסט חתוך */
.video-card { flex: 0 0 80%; max-width: 290px; scroll-snap-align: start; }
/* בנייד מחליקים עם האצבע, אז החיצים לא מכסים את הקאברים */
@media (max-width: 799px) {
  .carousel.has-overflow .carousel-btn { display: none; }
}
.video-card video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 24px; background: var(--blue);
}
.video-card p { margin: 10px 4px 0; font-size: 16px; }
.video-card b { color: var(--olive); }
.messages-carousel { margin-top: 36px; }
.message-card {
  flex: 0 0 78%; max-width: 290px; scroll-snap-align: start;
  margin: 0; background: var(--cream); border-radius: 24px; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.message-card img { border-radius: 14px; width: 100%; height: auto; }
.message-card blockquote { margin: 4px 4px 0; font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--olive); }
.message-card figcaption { margin: auto 4px 2px; color: var(--brown); font-size: 14px; }
.swipe-hint { display: none; text-align: center; color: var(--brown); font-size: 14px; margin: 0; }
.carousel.has-overflow + .swipe-hint { display: block; }

/* ===== התהליך ===== */
/* רקע תכלת, כדי שיהיה שונה מ"קצת עליי". הכרטיסים בקרם */
#process { background: var(--blue); }
.steps { display: grid; gap: 40px; margin-top: 44px; counter-reset: step; }
.step {
  position: relative; background: var(--cream); color: var(--text);
  border-radius: var(--radius); padding: 40px 24px 26px; text-align: center;
  box-shadow: 0 4px 16px rgba(79,90,60,.08);
}
.step h3 { color: var(--olive); }
.step p { margin: 0; }
.step .num {
  position: absolute; top: -26px; inset-inline-start: 50%; transform: translateX(50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark-green); color: #fff; font-size: 28px; font-weight: 800;
  display: grid; place-items: center;
  outline: 2px dashed #fff; outline-offset: -7px;
}
html[dir="ltr"] .step .num { transform: translateX(-50%); }

/* ===== קצת עליי ===== */
.about { display: grid; gap: 48px; align-items: start; }
.about-photo { text-align: center; }
.about-photo img { width: 290px; height: 290px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; }
.about-card { background: var(--blue); border-radius: var(--radius); padding: 30px 24px; position: relative; }
.about-card .tag {
  position: absolute; top: -22px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--sage); color: #fff; font-weight: 800; font-size: 24px;
  padding: 4px 28px; border-radius: 40px 50px 44px 56px; white-space: nowrap;
}
html[dir="ltr"] .about-card .tag { transform: translateX(-50%); }
.about-card p { margin: 0 0 12px; }

/* ===== הרצאות ===== */
.talks { background: var(--blue); }
.talks-grid { display: grid; gap: 28px; align-items: center; }
.talks img { border-radius: var(--radius); width: 100%; max-width: 420px; margin: 0 auto; }
.topics { padding: 0; list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.topics li { background: rgba(255,255,255,.65); border-radius: 16px; padding: 12px 16px; }
.topics b { color: var(--olive); }

/* ===== סיום ===== */
.closing { display: grid; gap: 28px; align-items: center; }
.closing p { margin: 0 0 14px; }
.closing-cta { display: flex; flex-direction: column; align-items: center; }
.bubble {
  background: var(--sage); color: #fff; font-weight: 800; font-size: 24px; line-height: 1.3;
  text-align: center; padding: 36px 28px; width: 230px; aspect-ratio: 1;
  display: grid; place-items: center; margin: 0 auto;
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
}
/* החץ מהבועה לכפתור */
.cta-arrow { width: 112px; height: auto; margin: -6px 0 0; }
.closing-cta .btns { flex-direction: column; align-items: center; width: 100%; margin-top: 6px; }
.closing-cta .btns .btn { flex: none; width: 100%; max-width: 320px; }

/* ===== תחתית ===== */
footer { background: var(--olive); color: #E9EDDF; padding: 40px 0 100px; text-align: center; font-size: 16px; }
footer a { color: #fff; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 12px 0; }

/* ===== וואטסאפ צף ===== */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.wa-float svg { width: 34px; height: 34px; fill: #fff; }

/* ===== מקום שמור (נמחק כשהתוכן מגיע) ===== */
.placeholder-note {
  border: 2px dashed var(--brown); border-radius: 16px; padding: 10px 14px;
  color: var(--brown); font-size: 14px; text-align: center; margin-top: 16px;
}

/* ===== מסך רחב ===== */
@media (min-width: 800px) {
  section { padding: 90px 0; }
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr 1.1fr; gap: 24px; }
  .hero-text { padding-bottom: 56px; }
  .hero-logo { width: 380px; }
  .hero h1 { font-size: clamp(30px, 3.3vw, 42px); }
  html[lang="en"] .hero h1 { font-size: clamp(28px, 2.8vw, 36px); }
  /* העץ גדול, מהתחתית כמעט עד למעלה, בצד של הדף */
  .hero-tree {
    position: absolute; bottom: 0; inset-inline-end: -60px;
    width: 58%; height: calc(100% - 24px); max-width: none;
    object-fit: contain; object-position: bottom; margin: 0;
  }
  .video-card { flex: 0 0 calc((100% - 32px) / 3); max-width: none; }
  .message-card { flex-basis: 300px; }
  .carousel-btn.prev { inset-inline-start: -22px; }
  .carousel-btn.next { inset-inline-end: -22px; }
  .carousel.has-overflow + .swipe-hint { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .about { grid-template-columns: 360px 1fr; align-items: center; }
  .about-photo img { width: 340px; height: 340px; }
  /* שורות קצרות יותר, ויותר מקום לתמונה */
  .talks-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .talks-text { max-width: 480px; }
  .closing { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}
