:root {
  --bsf-bg: #0b2230;
  --bsf-bg-2: #0e2b3a;
  --bsf-text: #f3f7fa;
  --bsf-muted: #c8d2d8;
  --bsf-accent: #19c6ee;
  --bsf-line: rgba(131, 207, 226, .22);
  --bsf-card: rgba(255,255,255,.025);
}

.bsf-footer {
  direction: rtl;
  background:
    radial-gradient(circle at 100% 0, rgba(21,198,238,.08), transparent 28%),
    linear-gradient(180deg, var(--bsf-bg-2), var(--bsf-bg));
  color: var(--bsf-text);
  font-family: inherit;
  overflow: hidden;
}

.bsf-footer *, .bsf-footer *::before, .bsf-footer *::after { box-sizing: border-box; }
.bsf-footer a { color: inherit; text-decoration: none; }
.bsf-shell { max-width: 1600px; margin: 0 auto; padding: 48px 32px 0; }

.bsf-main-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) 2.1fr minmax(330px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.bsf-brand { min-width: 0; }
.bsf-logo { display:block; width:min(260px,100%); height:auto; margin:0 0 26px auto; }
.bsf-logo-fallback { display:flex; gap:14px; align-items:center; font-size:48px; line-height:.9; margin-bottom:24px; }
.bsf-logo-fallback small { display:block; font-size:17px; font-weight:400; color:#d6e0e5; margin-top:9px; }
.bsf-logo-mark { width:72px; height:72px; display:grid; place-items:center; border-radius:50%; background:var(--bsf-accent); color:#fff; font-size:44px; }

.bsf-intro { color:var(--bsf-text); font-size:20px; line-height:1.65; max-width:520px; }
.bsf-intro p { margin:0; }
.bsf-contact-link { display:inline-block; margin-top:18px; color:var(--bsf-accent)!important; font-weight:800; font-size:20px; border-bottom:2px solid var(--bsf-accent); padding-bottom:2px; }

.bsf-socials { display:flex; gap:12px; margin-top:24px; }
.bsf-social { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; }
.bsf-social svg { width:22px; height:22px; fill:#fff; }
.bsf-youtube { background:#ef242f; }
.bsf-instagram { background:linear-gradient(135deg,#c92bbf,#ed0a8f); }
.bsf-facebook { background:#3f64a9; }

.bsf-contact-details { margin-top:18px; padding-top:18px; border-top:1px solid var(--bsf-line); display:grid; gap:9px; color:#eef4f7; }
.bsf-contact-details a, .bsf-contact-details > span { display:flex; align-items:center; gap:11px; font-size:16px; direction:ltr; justify-content:flex-end; }
.bsf-contact-details span span, .bsf-contact-details a span { color:var(--bsf-accent); font-size:18px; }

.bsf-menus { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-inline:1px solid var(--bsf-line); }
.bsf-menu-section { padding:0 34px; min-width:0; }
.bsf-menu-section + .bsf-menu-section { border-right:1px solid var(--bsf-line); }
.bsf-menu-title { width:100%; padding:0 0 22px; background:none; border:0; color:var(--bsf-accent); font:inherit; font-size:21px; font-weight:800; cursor:default; text-align:right; }
.bsf-menu-title-main { display:flex; align-items:center; gap:10px; }
.bsf-menu-icon { display:none; }
.bsf-menu-icon svg { width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:1.8; }
.bsf-chevron { display:none; }
.bsf-menu-panel { display:block; }
.bsf-menu { list-style:none; margin:0; padding:0; display:grid; gap:15px; }
.bsf-menu li { margin:0; }
.bsf-menu a { color:#f3f7fa; font-size:16px; line-height:1.45; transition:.2s ease; }
.bsf-menu a::before { content:'‹'; color:var(--bsf-accent); margin-left:10px; font-weight:700; }
.bsf-menu a:hover, .bsf-menu a:focus { color:var(--bsf-accent); }

.bsf-newsletter { min-width:0; }
.bsf-newsletter > .elementor { width:100%; }
.bsf-admin-hint { border:1px dashed rgba(255,255,255,.35); padding:12px 14px; border-radius:8px; color:#fff; font-size:13px; background:rgba(0,0,0,.18); }

.bsf-legal-wrap { margin-top:36px; padding:28px 0 26px; border-top:1px solid var(--bsf-line); }
.bsf-legal { max-width:1500px; margin:auto; color:#d3dce1; font-size:14px; line-height:1.9; text-align:center; }
.bsf-legal p { margin:0; }

.bsf-bottom { min-height:108px; border-top:1px solid rgba(131,207,226,.14); display:grid; grid-template-columns:1fr auto 56px; gap:24px; align-items:center; }
.bsf-bottom-brand { display:flex; align-items:center; gap:22px; color:#f2f5f7; font-weight:600; }
.bsf-badge { width:98px; height:auto; }
.bsf-bottom-links { list-style:none; display:flex; align-items:center; gap:0; margin:0; padding:0; }
.bsf-bottom-links li + li::before { content:'|'; color:#9eb1ba; margin:0 22px; }
.bsf-bottom-links a { color:#e3eaee; font-size:14px; }

.bsf-to-top { width:52px; height:52px; border-radius:50%; border:0; background:var(--bsf-accent); cursor:pointer; position:relative; }
.bsf-to-top span::before, .bsf-to-top span::after { content:''; position:absolute; top:23px; width:15px; height:3px; background:#fff; border-radius:3px; }
.bsf-to-top span::before { right:12px; transform:rotate(-45deg); }
.bsf-to-top span::after { left:12px; transform:rotate(45deg); }

@media (max-width: 1100px) {
  .bsf-shell { padding-inline:24px; }
  .bsf-main-grid { grid-template-columns:1fr 1.45fr; }
  .bsf-newsletter { grid-column:1 / -1; order:3; }
  .bsf-brand { order:1; }
  .bsf-menus { order:2; }
}

@media (max-width: 767px) {
  .bsf-shell { padding:30px 18px 0; }
  .bsf-main-grid { display:flex; flex-direction:column; gap:0; }
  .bsf-brand { order:1; width:100%; text-align:center; }
  .bsf-newsletter { order:2; width:100%; padding:30px 0; border-top:1px solid var(--bsf-line); }
  .bsf-menus { order:3; width:100%; display:block; border:0; padding:0 0 12px; }
  .bsf-logo { width:min(220px,70vw); margin:0 auto 22px; }
  .bsf-logo-fallback { justify-content:center; font-size:42px; }
  .bsf-intro { font-size:18px; line-height:1.6; max-width:520px; margin:auto; }
  .bsf-contact-link { font-size:19px; margin-top:16px; }
  .bsf-socials { justify-content:center; margin-top:22px; }
  .bsf-contact-details { grid-template-columns:1fr; justify-items:center; padding-bottom:26px; }
  .bsf-contact-details a, .bsf-contact-details > span { justify-content:center; direction:ltr; }

  .bsf-menu-section { padding:0; border:0!important; margin-top:12px; }
  .bsf-menu-title { display:flex; justify-content:space-between; align-items:center; padding:18px 18px; border:1px solid rgba(131,207,226,.28); border-radius:12px; background:rgba(255,255,255,.02); color:#fff; font-size:18px; cursor:pointer; }
  .bsf-menu-title-main { flex-direction:row-reverse; }
  .bsf-menu-icon { display:inline-flex; color:var(--bsf-accent); }
  .bsf-chevron { display:block; width:14px; height:14px; border-left:3px solid var(--bsf-accent); border-bottom:3px solid var(--bsf-accent); transform:rotate(-45deg); transition:transform .2s ease; margin-left:5px; }
  .bsf-menu-title[aria-expanded="true"] .bsf-chevron { transform:rotate(135deg); }
  .bsf-menu-panel { display:grid; grid-template-rows:0fr; transition:grid-template-rows .25s ease; }
  .bsf-menu-section.is-open .bsf-menu-panel { grid-template-rows:1fr; }
  .bsf-menu-panel > * { overflow:hidden; }
  .bsf-menu { gap:0; padding:8px 8px 6px; }
  .bsf-menu li { border-bottom:1px solid rgba(255,255,255,.08); }
  .bsf-menu li:last-child { border-bottom:0; }
  .bsf-menu a { display:block; padding:12px 9px; font-size:15px; }

  .bsf-legal-wrap { margin-top:6px; padding:22px 4px; }
  .bsf-legal { font-size:13px; line-height:1.8; text-align:center; }

  .bsf-bottom { grid-template-columns:1fr 54px; gap:12px; padding:18px 0 24px; }
  .bsf-bottom-brand { grid-column:1 / -1; flex-direction:column; gap:10px; text-align:center; font-size:13px; }
  .bsf-badge { width:88px; }
  .bsf-bottom-menu { grid-column:1; }
  .bsf-bottom-links { justify-content:center; flex-wrap:wrap; row-gap:8px; }
  .bsf-bottom-links li + li::before { margin:0 10px; }
  .bsf-bottom-links a { font-size:12px; }
  .bsf-to-top { grid-column:2; grid-row:2; justify-self:end; width:50px; height:50px; }
}

/* ============ אנגלית (LTR) — היפוך הצדדים, אותו עיצוב ============ */
.bsf-footer.bsf-ltr {
  direction: ltr;
  background:
    radial-gradient(circle at 0 0, rgba(21,198,238,.08), transparent 28%),
    linear-gradient(180deg, var(--bsf-bg-2), var(--bsf-bg));
}
.bsf-ltr .bsf-logo { margin:0 auto 26px 0; }
.bsf-ltr .bsf-menu-section + .bsf-menu-section { border-right:0; border-left:1px solid var(--bsf-line); }
.bsf-ltr .bsf-menu-title { text-align:left; }
.bsf-ltr .bsf-menu a::before { content:'›'; margin-left:0; margin-right:10px; }
.bsf-ltr .bsf-contact-details a, .bsf-ltr .bsf-contact-details > span { justify-content:flex-start; }

@media (max-width: 767px) {
  .bsf-ltr .bsf-logo { margin:0 auto 22px; }
  .bsf-ltr .bsf-contact-details a, .bsf-ltr .bsf-contact-details > span { justify-content:center; }
  .bsf-ltr .bsf-chevron { margin-left:0; margin-right:5px; }
}
