/* בראבו · האתר הראשי, מערכת הקורסים ודפי המשדרים
   כיוון: חם וחווייתי בגרסה כהה ויוקרתית, בצבעי הלוגו של בראבו.
   ארבעת צבעי הבסיס משתנים מאזור הניהול. כל השאר נגזר מהם. */
:root {
  --ink: #0D241E;      /* רקע עמוק: הירוק הכהה של בראבו */
  --blue: #164034;     /* משטח: כרטיסים ואזורים */
  --yellow: #C9AE6B;   /* הדגשה ראשית: זהב */
  --teal: #125D49;     /* הדגשה משנית: ירוק בקבוק */

  --bg: var(--ink);
  --bg-2: color-mix(in srgb, var(--ink) 82%, #000);
  --surface: color-mix(in srgb, var(--blue) 88%, var(--ink));
  --surface-2: color-mix(in srgb, var(--blue) 70%, #fff 4%);
  --line: color-mix(in srgb, var(--yellow) 22%, transparent);
  --line-soft: color-mix(in srgb, #fff 10%, transparent);
  --text: #FFFFFF;
  --muted: color-mix(in srgb, #fff 72%, var(--ink));
  --gold: var(--yellow);
  --gold-l: color-mix(in srgb, var(--yellow) 62%, #fff);
  --gold-d: color-mix(in srgb, var(--yellow) 70%, var(--ink));
  --green-l: color-mix(in srgb, var(--teal) 70%, #fff 30%);
  --ok: #3FBF7F;

  --font-head: 'Rubik', system-ui, sans-serif;
  --font-body: 'Heebo', system-ui, sans-serif;
  --shadow-card: 0 30px 70px color-mix(in srgb, #000 45%, transparent);
  --shadow-pop: 0 18px 40px color-mix(in srgb, #000 55%, transparent);
  --shadow-gold: 0 14px 34px color-mix(in srgb, var(--yellow) 32%, transparent);
  --r: 26px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; color-scheme: dark; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ico { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- טיפוגרפיה של ה-DNA ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--gold); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.title { font-weight: 800; font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -.7px; margin-top: 12px; }
.lead-p { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 640px; margin-top: 14px; }
.head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(34px, 5vw, 56px); }
.head .lead-p { margin-inline: auto; }
/* הדגשה: המילה בתוך גלולה זהב */
.pill-em { font-style: normal; display: inline-block; padding: .02em .38em .08em; margin-inline: .06em; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: var(--ink); box-shadow: var(--shadow-gold); transform: rotate(-1.5deg); }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px;
  border-radius: 999px; font-weight: 800; font-size: 17px; line-height: 1.2; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-l), var(--gold) 55%, var(--gold-d)); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { box-shadow: 0 18px 40px color-mix(in srgb, var(--yellow) 45%, transparent); }
.btn--ghost { border: 2px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .1); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); }
.btn--line { border: 2px solid var(--line); color: var(--gold-l); }
.btn--line:hover { border-color: var(--gold); background: color-mix(in srgb, var(--yellow) 10%, transparent); }
.btn--wa { background: #25D366; color: #06331b; box-shadow: 0 10px 26px rgb(37 211 102 / .3); }
.btn--ink { background: var(--ink); color: var(--gold-l); }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 14px 32px; font-size: 18px; }
.btn--block { width: 100%; }

/* ---------- תפריט צף ---------- */
.nav-wrap { position: fixed; inset: 12px 0 auto; z-index: 50; transition: inset .3s; }
.nav { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; padding-inline-start: 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-pop); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { height: 46px; width: auto; }
.logo__img { height: 46px; width: auto; border-radius: 12px; }
.logo--has-img .logo__mark { display: none; }
.logo__txt { display: grid; line-height: 1.15; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--gold-l); }
.logo__tag { font-size: 12.5px; color: var(--muted); max-width: 200px; }
.nav__links { display: none; gap: 4px; margin-inline-start: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; background: rgb(255 255 255 / .07); }
.nav__cta { display: flex; gap: 8px; margin-inline-start: auto; }
.nav__links + .nav__cta { margin-inline-start: 0; }
.nav__cta .btn { min-height: 44px; padding: 9px 16px; font-size: 15px; }
.nav__wa span { display: none; }
@media (min-width: 640px) { .nav__wa span { display: inline; } }
@media (min-width: 1020px) { .nav__links { display: flex; } }
@media (max-width: 520px) { .logo__tag { display: none; } .nav__cta .btn--line span { display: none; } .nav__cta .btn--line { padding: 9px 12px; } }

/* ---------- וואטסאפ צף ---------- */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #3be27d, #1faa52); color: #fff; box-shadow: 0 14px 30px rgb(0 0 0 / .4); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #3be27d; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- עיטורים ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.glow--gold { background: color-mix(in srgb, var(--yellow) 55%, transparent); }
.glow--green { background: color-mix(in srgb, var(--teal) 90%, transparent); }
@keyframes float { to { transform: translate(30px, -24px) scale(1.08); } }
.rings { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--yellow) 28%, transparent); }
.rings::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--yellow) 18%, transparent); }
.rings--spin { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* גלי קול: האיור של התחום */
.wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.wave i { width: 4px; border-radius: 4px; background: linear-gradient(var(--gold-l), var(--gold)); height: 30%; animation: eq 1.1s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-duration: .8s; }
.wave i:nth-child(3n) { animation-duration: 1.4s; }
.wave i:nth-child(4n+1) { animation-delay: -.4s; }
.wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes eq { 0% { height: 18%; } 50% { height: 90%; } 100% { height: 40%; } }

/* מסגרת הפינות מהלוגו של בראבו: פינה ירוקה, קו זהב עליון, וצד לבן שיורד למטה */
.bframe { position: relative; }
.bframe::before { content: ""; position: absolute; inset: var(--bf-gap, -16px); pointer-events: none; z-index: 2;
  --t: var(--bf-w, 7px);
  background:
    linear-gradient(var(--teal), var(--teal)) left top / 30% var(--t) no-repeat,
    linear-gradient(var(--teal), var(--teal)) left top / var(--t) 36% no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) right top / 70% var(--t) no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) right top / var(--t) 25% no-repeat,
    linear-gradient(#fff, #fff) right bottom / var(--t) 75% no-repeat,
    linear-gradient(#fff, #fff) right bottom / 13% var(--t) no-repeat; }
.bframe--sm { --bf-gap: -10px; --bf-w: 5px; }

/* מעבר אלכסוני בין מקטעים */
.slant { position: relative; }
.slant::before { content: ""; position: absolute; inset: -60px 0 auto; height: 61px; background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 101%, 0 101%); z-index: 1; }

/* כניסה עדינה בגלילה */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- תגיות ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.tag .ico { width: 16px; height: 16px; }
.tag--gold { background: color-mix(in srgb, var(--yellow) 18%, transparent); color: var(--gold-l); border: 1px solid var(--line); }
.tag--green { background: color-mix(in srgb, var(--teal) 55%, transparent); color: #d9f3e8; }
.tag--hot { background: linear-gradient(135deg, #ff8a5c, #e0483b); color: #fff; box-shadow: 0 8px 20px rgb(224 72 59 / .35); }
.tag--hot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- טופס פניות ---------- */
.lead { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.lead__title { font-size: 26px; font-weight: 800; }
.lead__sub { color: var(--muted); margin-top: -6px; }
.lead__field { display: grid; gap: 6px; font-weight: 600; font-size: 15.5px; color: var(--muted); }
.lead__field input, .lead__field select, .lead__field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--line-soft);
  background: var(--bg-2); color: #fff; font-size: 16px; transition: border-color .2s; }
.lead__field textarea { min-height: 96px; resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus { outline: none; border-color: var(--gold); }
.lead__trap { position: absolute; left: -9999px; }
.lead__msg { min-height: 1.4em; font-size: 15px; color: var(--gold-l); }
.lead__msg--bad { color: #ff9b8a; }
.lead__done { padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--ok) 18%, transparent); color: #c9f5dc; font-weight: 700; text-align: center; }

/* ---------- כותרת תחתונה ---------- */
.foot { background: var(--bg-2); padding: 70px 0 110px; position: relative; overflow: hidden; }
.foot__grid { position: relative; }
.foot__grid { display: grid; gap: 34px; }
.foot__brand p { color: var(--muted); margin-top: 12px; max-width: 340px; }
.foot__slogan { font-family: var(--font-head); font-weight: 800; color: var(--gold-l) !important; font-size: 20px; }
.foot h4 { font-size: 17px; color: var(--gold); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot ul a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.foot ul a:hover { color: #fff; }
.foot__social { display: flex; gap: 10px; margin-top: 16px; }
.foot__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-l); transition: background .2s; }
.foot__social a:hover { background: color-mix(in srgb, var(--yellow) 16%, transparent); }
.foot__lifrotz { width: min(260px, 100%); margin-bottom: 14px; }
.foot__anim { width: 150px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--ink); }
.foot__anim video, .foot__anim img { width: 100%; height: 100%; object-fit: cover; }
.foot__yt { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); margin-top: 18px; }
.foot__yt-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #e62117; color: #fff; flex: none; }
.foot__yt img { width: 116px; flex: none; }
.foot__yt strong { display: block; font-family: var(--font-head); font-size: 18px; }
.foot__yt span { font-size: 15px; color: var(--muted); }
.foot__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); }
.foot__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }

/* אזור הניהול פתוח במחשב */
@media (min-width: 1100px) {
  .adm-open .nav-wrap { left: 600px; }
  .adm-open .nav__links, .adm-open .wa-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
