/* ============================================================
   Plantica — גיליון עיצוב
   ✏️ צבעי המותג מרוכזים כאן — שינוי אחד משפיע על כל האתר:
   ============================================================ */
:root {
  --green-dark:  #2D5A3D;   /* ירוק בוטני כהה — כותרות וכפתורים */
  --green-fresh: #7FB069;   /* ירוק עלים — הדגשות */
  --beige:       #F5F0E6;   /* בז' חם — רקעי סקשנים */
  --off-white:   #FDFCF9;   /* רקע ראשי */
  --text:        #2B2B2B;   /* טקסט רץ */
  --whatsapp:    #25D366;   /* ירוק וואטסאפ */
  --radius: 14px;
  --shadow: 0 4px 18px rgba(45, 90, 61, 0.10);
}

/* ---------- בסיס ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.06rem;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- נגישות: מסגרת מיקוד למשתמשי מקלדת ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--green-fresh);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- נגישות: קישור "דלג לתוכן" ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 200;
  background: var(--green-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container.narrow { max-width: 720px; }

h1, h2, h3 { color: var(--green-dark); line-height: 1.25; }
h2 { font-size: 1.7rem; text-align: center; margin-bottom: 0.8em; }
h3 { font-size: 1.15rem; margin-bottom: 0.3em; }

.section { padding: 56px 0; }
.section-beige { background: var(--beige); }
.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2em;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-primary  { background: var(--green-dark); color: #fff; }
.btn-outline  {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-small { padding: 9px 18px; font-size: 0.95rem; }
.btn-big   { padding: 18px 36px; font-size: 1.15rem; }

.wa-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
}
.header-actions { display: flex; align-items: center; gap: 10px; }

/* כפתור אינסטגרם עגול בכותרת */
.ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ig-btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.ig-icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  /* ✏️ תמונת הרקע של ה-Hero — להחלפה: שמרו תמונה בשם images/hero.jpg.
     להסרת התמונה (חזרה לרקע בהיר): מחקו את שתי שורות ה-background הראשונות
     והחזירו את צבעי הטקסט לירוק כהה. */
  background: linear-gradient(rgba(33, 60, 43, 0.62), rgba(45, 90, 61, 0.55)),
              url("images/hero.jpg") center/cover;
  padding: 80px 0 70px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.4em;
  color: #fff;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 1.8em;
  color: #fff;
}
/* כפתור המסגרת בתוך ה-Hero — לבן על רקע התמונה */
.hero .btn-outline { color: #fff; border-color: #fff; }
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---------- כרטיסים ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: var(--off-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.section:not(.section-beige) .card { background: var(--beige); box-shadow: none; }
.card-icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.card-product { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.card-product p { flex-grow: 1; }

/* ---------- יתרונות ---------- */
.benefits-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 680px;
  margin-inline: auto;
}
.benefits-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--beige);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 500;
}
.benefit-icon { font-size: 1.4rem; }

/* ---------- שלבים ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  counter-reset: step;
}
.steps li {
  background: var(--off-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-fresh);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ---------- גלריה ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- המלצות ---------- */
/* כששתי המלצות בלבד — שתי עמודות ממורכזות */
@media (min-width: 700px) {
  .cards-3.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
}
.testimonial { text-align: right; }
.testimonial p { font-style: italic; margin-bottom: 0.8em; }
.testimonial footer { font-weight: 700; color: var(--green-dark); }

/* ---------- שאלות נפוצות ---------- */
.faq details {
  background: var(--beige);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--green-dark);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--green-fresh);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 16px; }

/* ---------- קריאה לפעולה + טופס ---------- */
.section-cta {
  background: linear-gradient(170deg, var(--green-dark), #234A31);
  text-align: center;
}
.section-cta h2, .section-cta .section-lead { color: #fff; }

.form-divider { color: rgba(255,255,255,0.85); margin: 2em 0 1em; }

.lead-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-inline: auto;
  text-align: right;
}
.lead-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-weight: 500;
}
.lead-form input,
.lead-form select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: var(--off-white);
  color: var(--text);
}
.lead-form .btn-primary {
  background: var(--whatsapp);
  margin-top: 6px;
}
.form-note { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ---------- כותרת תחתונה ---------- */
.site-footer {
  background: var(--beige);
  text-align: center;
  padding: 36px 0;
  font-size: 0.95rem;
}
.site-footer a { color: var(--green-dark); font-weight: 700; text-decoration: none; }
.site-footer .copyright { margin-top: 12px; opacity: 0.7; }
.footer-links { margin-top: 14px; }
.footer-links a { margin: 0 4px; }

/* ---------- עמודים משפטיים (נגישות / פרטיות / תקנון) ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: 44px 20px 64px;
}
.legal h1 { font-size: 1.9rem; margin-bottom: 0.5em; }
.legal h2 {
  font-size: 1.2rem;
  text-align: right;
  margin: 1.5em 0 0.4em;
}
.legal p, .legal li { margin-bottom: 0.7em; }
.legal ul { padding-right: 1.2em; margin-bottom: 0.7em; }
.legal a { color: var(--green-dark); font-weight: 600; }
.legal .updated {
  color: #6b7a6b;
  font-size: 0.92rem;
  margin-bottom: 2em;
}
.legal .back-home {
  display: inline-block;
  margin-top: 2.5em;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
}
.legal .back-home:hover { text-decoration: underline; }

/* ---------- כפתור וואטסאפ צף ---------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;          /* בעמוד RTL — הפינה ה"פנויה" היא שמאל */
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .wa-icon { width: 30px; height: 30px; }

/* ---------- אנימציית הופעה עדינה בגלילה ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* משתמשים שמעדיפים פחות תנועה */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero: עטיפת CTA משני + הערת זמן ---------- */
.hero-secondary-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-cta-note {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.82rem;
  margin: 0;
}

/* ---------- Hero: רמז תומך (מתלבטים?) ---------- */
.hero-hint {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.95rem;
  margin: -4px 0 20px;
  line-height: 1.6;
}

/* ---------- Hero: אינדיקטורי אמון ---------- */
.hero-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}
.hero-trust li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-check {
  color: var(--green-fresh);
  font-weight: 800;
}

/* ============================================================
   מסכים רחבים — טאבלט ומחשב
   ============================================================ */
@media (min-width: 700px) {
  h2 { font-size: 2.1rem; }
  .section { padding: 80px 0; }
  .hero { padding: 110px 0 100px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-3.cards-4 { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 960px) {
  .cards-3.cards-4 { grid-template-columns: repeat(4, 1fr); }
}
