:root {
  --blue: #03628a;
  --teal: #09ac9f;
  --red: #e53d24;
  --yellow: #f5b216;
  --ink: #17303d;
  --muted: #5b6f7a;
  --bg: #f4f7f9;
  --card: #ffffff;
  --line: #e3eaee;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(3, 98, 138, .10), 0 2px 6px rgba(3, 98, 138, .06);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: 520px; margin: 0 auto; padding: 0 16px 48px; position: relative; }

/* רקע עם כתמי צבע רכים */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.blobs .b1 { width: 340px; height: 340px; background: var(--teal); top: -120px; right: -100px; }
.blobs .b2 { width: 280px; height: 280px; background: var(--yellow); top: 40%; left: -140px; opacity: .25; }
.blobs .b3 { width: 260px; height: 260px; background: var(--blue); bottom: -120px; right: -80px; opacity: .18; }

/* ---------- דף הבית ---------- */
.hero {
  margin-top: 20px;
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}
.hero-band {
  height: 120px;
  background:
    radial-gradient(circle at 90% 18%, rgba(245, 178, 22, .9) 0 34px, transparent 35px),
    radial-gradient(circle at 74% 88%, rgba(229, 61, 36, .85) 0 16px, transparent 17px),
    linear-gradient(120deg, var(--blue), var(--teal));
  position: relative;
}
.hero-band .logo {
  position: absolute; top: 14px; left: 14px;
  width: 64px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 6px;
}
.avatar {
  width: 136px; height: 136px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%;
  border: 5px solid #fff;
  margin: -70px auto 0; position: relative;
  box-shadow: 0 8px 22px rgba(3, 98, 138, .25);
}
.hero h1 { font-size: 30px; font-weight: 800; margin-top: 10px; letter-spacing: -.3px; }
.hero .role { color: var(--muted); font-size: 15px; padding: 2px 20px 0; }

.actions {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 20px 16px 22px;
}
.action { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.action .ic {
  width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center; color: #fff;
  transition: transform .15s ease;
}
.action:active .ic { transform: scale(.94); }
.action svg { width: 24px; height: 24px; }
.ic.wa { background: var(--teal); }
.ic.call { background: var(--blue); }
.ic.mail { background: var(--red); }
.ic.save { background: var(--yellow); color: var(--ink); }

.tiles { display: grid; gap: 12px; margin-top: 18px; }
.tile {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .15s ease;
}
.tile:active { transform: scale(.985); }
.tile .badge {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800;
}
.tile .badge svg { width: 26px; height: 26px; }
.tile h2 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.tile p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.tile .go { margin-inline-start: auto; color: var(--muted); flex: none; }
.tile .go svg { width: 20px; height: 20px; }

.about {
  margin-top: 18px; background: var(--card); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--teal); }
.about h2 { font-size: 22px; font-weight: 800; margin: 2px 0 12px; }
.about p { margin-bottom: 12px; font-size: 16px; }
.about p:first-of-type { font-size: 18px; font-weight: 500; color: var(--blue); }
.community {
  margin-top: 16px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(9,172,159,.12), rgba(245,178,22,.14));
}
.community strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.community p { margin: 0; font-size: 15px; }

/* ---------- כותרת עמודים פנימיים ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 6px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; color: var(--blue); }
.back svg { width: 18px; height: 18px; }
.topbar .logo { width: 52px; }

.page-head { padding: 18px 4px 8px; }
.page-head h1 { font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.4px; }
.page-head p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
}

.list { display: grid; gap: 12px; margin-top: 18px; }
.item {
  display: block; background: var(--card); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: var(--shadow);
  border-inline-start: 6px solid var(--accent);
  transition: transform .15s ease;
}
.item:active { transform: scale(.985); }
.item h2 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.item p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.item .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.item .more svg { width: 16px; height: 16px; }

.item.custom {
  --accent: var(--teal); --accent-ink: #07877c;
  background: linear-gradient(135deg, rgba(9,172,159,.10), rgba(245,178,22,.14));
  border: 2px dashed var(--teal); box-shadow: none;
}

/* צבע לכל נושא */
.c-red    { --accent: var(--red);    --accent-ink: var(--red);  --accent-soft: rgba(229,61,36,.10); }
.c-blue   { --accent: var(--blue);   --accent-ink: var(--blue); --accent-soft: rgba(3,98,138,.10); }
.c-teal   { --accent: var(--teal);   --accent-ink: #07877c;     --accent-soft: rgba(9,172,159,.12); }
.c-yellow { --accent: var(--yellow); --accent-ink: #a87200;     --accent-soft: rgba(245,178,22,.16); }

/* ---------- דף סדנה / הרצאה ---------- */
.detail-hero {
  margin-top: 8px; border-radius: 28px; padding: 26px 22px 24px;
  background: var(--accent); color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.c-yellow .detail-hero { color: var(--ink); }
.detail-hero::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.16); left: -60px; bottom: -70px;
}
.detail-hero .kind { font-size: 14px; font-weight: 700; opacity: .9; }
.detail-hero h1 { font-size: 30px; font-weight: 800; line-height: 1.15; margin-top: 4px; position: relative; z-index: 1; }
.detail-hero p { font-size: 17px; margin-top: 10px; opacity: .95; position: relative; z-index: 1; }
.detail-hero .chips { position: relative; z-index: 1; }
.detail-hero .chip { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); color: inherit; }
.c-yellow .detail-hero .chip { background: rgba(255,255,255,.45); border-color: rgba(23,48,61,.12); }

.block {
  margin-top: 14px; background: var(--card); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.block h2 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.block p + p { margin-top: 10px; }
.block .who { margin-top: 14px; padding: 12px 14px; background: var(--accent-soft); border-radius: 14px; font-size: 15px; }
.block .who b { font-weight: 700; }

.parts { display: grid; gap: 16px; }
.part { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.part .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: 18px;
}
.part h3 { font-size: 17px; font-weight: 800; line-height: 1.3; }
.part p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.part .tag {
  display: inline-block; vertical-align: middle; margin-inline-start: 6px;
  font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.part ul { list-style: none; margin-top: 8px; display: grid; gap: 4px; }
.part li { font-size: 15px; padding-inline-start: 16px; position: relative; }
.part li::before { content: ""; position: absolute; right: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.takeaways { list-style: none; display: grid; gap: 10px; }
.takeaways li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; }
.takeaways .ok {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center;
}
.c-yellow .takeaways .ok { color: var(--ink); }
.takeaways .ok svg { width: 14px; height: 14px; }

.note { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); font-size: 15px; }

.quote {
  margin-top: 14px; padding: 22px 22px 20px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); position: relative;
}
.quote::before {
  content: "”"; position: absolute; top: -8px; right: 16px;
  font-size: 72px; line-height: 1; color: var(--accent); font-weight: 800;
}
.quote p { font-size: 17px; font-weight: 500; padding-top: 16px; }
.quote .by { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.quote .by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }

.crosslink {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 18px 20px; border-radius: var(--radius);
  border: 2px dashed var(--accent); color: var(--accent-ink); font-weight: 700;
}
.crosslink small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.crosslink svg { width: 20px; height: 20px; flex: none; }

/* פס תיאום קבוע בתחתית */
.spacer { height: 96px; }
.cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.cta-bar .in { max-width: 520px; margin: 0 auto; display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border-radius: 16px; font-weight: 700; font-size: 17px;
}
.btn svg { width: 22px; height: 22px; }
.btn.main { flex: 1; background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(9,172,159,.35); }
.btn.side { width: 52px; background: var(--blue); color: #fff; }

/* ---------- עוד ממני ---------- */
.more-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.more-card .badge { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.more-card .badge svg { width: 26px; height: 26px; }
.more-card h2 { font-size: 19px; font-weight: 800; line-height: 1.25; }
.more-card p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.more-card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--blue); }
.more-card .more svg { width: 16px; height: 16px; }
.more-card.club { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; }
.more-card.club p, .more-card.club .more { color: #fff; }
.more-card.club .badge { background: rgba(255,255,255,.2); }
.bg-fb { background: #1877f2; }
.bg-wa { background: #25a366; }
.bg-ig { background: linear-gradient(45deg, #f5b216, #e53d24 55%, #b02a8f); }

/* המלצות: שורה נגללת לרוחב */
.proof { margin-top: 26px; }
.proof h2 { font-size: 20px; font-weight: 800; padding: 0 4px 10px; }
.proof-row {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none;
}
.proof-row::-webkit-scrollbar { display: none; }
.proof-card {
  flex: none; width: 82%; scroll-snap-align: center;
  background: #efe7dd; border-radius: 20px; padding: 10px;
  box-shadow: var(--shadow); align-self: flex-start;
}
.proof-card img { width: 100%; border-radius: 12px; }
.proof-row:has(.proof-card:only-child) .proof-card { width: 100%; }

footer { text-align: center; margin-top: 30px; font-size: 13px; color: var(--muted); }
footer img { width: 70px; margin: 0 auto 6px; }
footer a { color: var(--blue); font-weight: 500; }

@media (min-width: 560px) {
  .hero h1 { font-size: 34px; }
  .page-head h1, .detail-hero h1 { font-size: 36px; }
}
