/* ==========================================================================
   מתחילים מפרק ב׳ - עיצוב האתר
   פלטה זהה לדפי הנחיתה הקיימים (טורקיז / קורל / סגול)
   ========================================================================== */

:root {
  --teal: #5EC8B4;
  --teal-dark: #4AB0A0;
  --teal-pale: #EAF8F5;
  --coral: #E8856A;
  --coral-dark: #D4735A;
  --coral-pale: #FDEFEA;
  --purple: #9B8EC4;
  --purple-pale: #F1EFF9;

  --bg: #FBF8F8;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --muted: #6B7280;
  --border: #ECE5E5;

  --shadow-sm: 0 2px 10px rgba(45, 45, 45, 0.05);
  --shadow: 0 6px 28px rgba(45, 45, 45, 0.09);
  --shadow-lg: 0 16px 48px rgba(45, 45, 45, 0.13);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── כפתורים ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }

.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 20px rgba(232,133,106,.32); }
.btn-coral:hover { background: var(--coral-dark); box-shadow: 0 10px 26px rgba(232,133,106,.40); }

.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 20px rgba(94,200,180,.32); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 10px 26px rgba(94,200,180,.40); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-sm { padding: 10px 22px; font-size: 15px; }

/* ── כותרת עליונה ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 248, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.logo img { height: 46px; width: auto; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 8px 13px; border-radius: 10px; color: var(--text);
  transition: background .15s ease, color .15s ease; white-space: nowrap;
}
.nav a:hover { background: var(--teal-pale); color: var(--teal-dark); }
.nav a.active { color: var(--teal-dark); font-weight: 700; }
.nav .btn { margin-inline-start: 8px; }

.nav-toggle {
  display: none; margin-inline-start: auto;
  background: none; border: none; font-size: 26px; cursor: pointer;
  color: var(--text); padding: 6px 10px; line-height: 1;
}

/* ── מבנה כללי של קטעים ──────────────────────────────────── */
section { padding: 76px 0; }
section.tight { padding: 52px 0; }
.section-white { background: var(--white); }
.section-teal { background: var(--teal-pale); }
.section-coral { background: var(--coral-pale); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 12px;
}
h1 { font-size: clamp(30px, 5.2vw, 50px); font-weight: 900; line-height: 1.18; letter-spacing: -.5px; }
h2 { font-size: clamp(25px, 3.6vw, 35px); font-weight: 800; line-height: 1.28; letter-spacing: -.3px; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.4; }
.lead { font-size: 19px; color: var(--muted); line-height: 1.8; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }

/* ── הירו ────────────────────────────────────────────────── */
.hero { padding: 84px 0 72px; background: linear-gradient(170deg, var(--teal-pale) 0%, var(--bg) 68%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--coral); }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 15px; color: var(--muted); margin-top: 18px; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1; object-fit: cover;
}
.hero-photo::after {
  content: ''; position: absolute; inset: auto -16px -16px auto;
  width: 140px; height: 140px; border-radius: 26px;
  background: var(--coral); opacity: .12; z-index: -1;
}

/* ── כרטיסים ─────────────────────────────────────────────── */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .card-foot { margin-top: auto; padding-top: 20px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 25px;
  background: var(--teal-pale);
}
a.card { text-decoration: none; }

/* ── מוצרים ──────────────────────────────────────────────── */
.product {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-top {
  padding: 30px 28px 0; background: linear-gradient(160deg, var(--teal-pale), transparent);
}
.product-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .07em;
  background: var(--coral); color: #fff; padding: 5px 13px; border-radius: 999px;
  margin-bottom: 14px;
}
.product-badge.soon { background: var(--purple); }
.product-badge.free { background: var(--teal); }
.product-body { padding: 22px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 8px; font-size: 23px; }
.product-body > p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.product-list { list-style: none; margin-bottom: 22px; }
.product-list li {
  font-size: 15.5px; padding: 6px 26px 6px 0; position: relative;
  color: var(--text);
}
.product-list li::before {
  content: '✓'; color: var(--teal-dark); font-weight: 800;
  position: absolute; right: 0; top: 6px;
}
.product-foot { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.price { font-size: 27px; font-weight: 900; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-was { font-size: 17px; color: var(--muted); text-decoration: line-through; font-weight: 500; }

/* ── רשימת מאמרים ────────────────────────────────────────── */
.article-card { text-decoration: none; display: flex; flex-direction: column; }
.article-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-card .article-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 19px; margin-bottom: 8px; }
.article-card p { color: var(--muted); font-size: 15.5px; }
.article-meta { font-size: 13.5px; color: var(--muted); margin-top: auto; padding-top: 16px; }
.article-more { color: var(--coral); font-weight: 700; font-size: 15.5px; margin-top: 14px; }

/* ── גוף מאמר ────────────────────────────────────────────── */
.article-body-text { font-size: 18px; }
.article-body-text p { margin-bottom: 22px; }
.article-body-text h2 { margin: 40px 0 16px; }
.article-body-text h3 { margin: 30px 0 12px; }
.article-body-text ul, .article-body-text ol { margin: 0 22px 24px 0; }
.article-body-text li { margin-bottom: 9px; }
.article-body-text blockquote {
  border-inline-start: 4px solid var(--teal);
  background: var(--teal-pale); padding: 18px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 24px;
  font-size: 18px;
}

/* ── עדויות ─────────────────────────────────────────────── */
.testimonial {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.testimonial-quote { padding: 26px 26px 16px; font-size: 17.5px; font-weight: 700; line-height: 1.6; }
.testimonial-quote.big { font-size: 20px; font-weight: 900; }
.testimonial-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--coral); margin-bottom: 10px; }
.testimonial img {
  width: calc(100% - 36px); margin: 0 18px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

/* ── עמודים משפטיים ─────────────────────────────────────── */
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 12px; }
.legal a { color: var(--teal-dark); font-weight: 700; }
.legal .product-list li { font-size: 17px; }

/* ── שורות זיהוי (מוצרים) ─────────────────────────────── */
.recognize { background: var(--teal-pale); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 26px; }
.recognize-lines { font-weight: 700; font-size: 17.5px; margin-bottom: 8px; line-height: 1.7; }
.recognize-answer { color: var(--muted); font-size: 16px; margin: 0; }

/* ── עמוד מאמר ──────────────────────────────────────────── */
.post-wrap { max-width: 760px; }
.post-head { padding: 56px 0 36px; background: linear-gradient(180deg, #EAF6F3 0%, var(--bg) 100%); }
.post-head h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.2; margin: 6px 0 14px; }
.post-head .eyebrow a { color: var(--coral); text-decoration: none; }
.post-meta-line { color: var(--muted); font-size: 15px; }
.post-body { font-size: 19px; line-height: 1.8; padding-block: 8px 24px; }
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-size: 25px; margin: 44px 0 14px; color: var(--teal-dark); }
.post-body ul { margin: 0 0 22px; padding-inline-start: 22px; }
.post-body li { margin-bottom: 10px; }
.post-body strong { color: var(--coral-dark); }
.post-body a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(74,176,160,.4); text-underline-offset: 3px; }
.post-body a.btn { text-decoration: none; color: #fff; font-weight: 700; font-size: 18px; padding: 18px 40px; }
.post-cta { text-align: center; margin: 40px 0 14px; }
.post-secondary { font-size: 16px; color: var(--muted); text-align: center; }
.post-disclaimer { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; margin-top: 36px; }
@media (max-width: 600px) { .post-body { font-size: 17.5px; } }

/* ── וידאו ──────────────────────────────────────────────── */
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── מי אני ─────────────────────────────────────────────── */
.about-strip { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.about-photo img {
  width: 100%; height: auto; border-radius: var(--radius); display: block;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}

/* ── הגישה ──────────────────────────────────────────────── */
.principle {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px;
}
.principle h3 { font-size: 19px; margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: 16px; }
.approach-quote {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.4; color: var(--teal-dark);
  border-inline-start: 5px solid var(--coral); padding-inline-start: 22px; margin: 0 0 22px;
}

/* ── שלבים ממוספרים ──────────────────────────────────────── */
.steps { display: grid; gap: 16px; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 26px; display: flex; gap: 20px; align-items: flex-start;
}
.step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 19px;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 16px; }

/* ── סדנאות / אירועים ────────────────────────────────────── */
.event {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.event-date {
  flex-shrink: 0; text-align: center; background: var(--coral-pale);
  border-radius: var(--radius-sm); padding: 12px 18px; min-width: 92px;
}
.event-date .d { font-size: 27px; font-weight: 900; color: var(--coral-dark); line-height: 1.1; }
.event-date .m { font-size: 14px; font-weight: 600; color: var(--coral-dark); }
.event-info { flex: 1; min-width: 220px; }
.event-info h3 { margin-bottom: 4px; }
.event-info p { color: var(--muted); font-size: 15.5px; }
.event .btn { flex-shrink: 0; }

/* ── טפסים ───────────────────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 34px; box-shadow: var(--shadow); max-width: 620px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); direction: rtl;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }

/* ── רצועת CTA ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { font-size: 19px; opacity: .93; max-width: 600px; margin: 0 auto 28px; }
.cta-band .btn-coral { box-shadow: 0 8px 26px rgba(0,0,0,.18); }

/* ── פוטר ────────────────────────────────────────────────── */
.site-footer { background: #2D2D2D; color: #D8D5D5; padding: 56px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.site-footer a { color: #D8D5D5; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--teal); }
.footer-about p { line-height: 1.7; opacity: .82; }
.footer-logo { height: 42px; width: auto; margin-bottom: 14px; filter: brightness(1.6); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.09);
  display: grid; place-items: center; font-size: 17px;
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-disclaimer { font-size: 13.5px; opacity: .6; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; opacity: .72;
}

/* ── רספונסיבי ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .about-strip { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 420px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
    box-shadow: var(--shadow); gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 320px; }
  .hero { padding: 52px 0 56px; }
  section { padding: 56px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 br, h2 br { display: none; }
  .wrap { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .card, .product-body, .product-top { padding-inline: 22px; }
  .form-card { padding: 26px 22px; }
  .event { padding: 20px 22px; gap: 18px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
