/* ============================================================
   Recovery TLV — global.css  v1.0  (2026-04-07)
   Shared styles for all Hebrew condition pages.
   Page-specific CSS (unique component, gsap-preflight) stays inline.
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === VARIABLES === */
:root {
  --bg:     #060B18;
  --blue:   #195AFE;
  --cyan:   #00D9FF;
  --amber:  #F59E0B;
  --orange: #F97316;
  --t1:     #FFFFFF;
  --t2:     rgba(255,255,255,0.55);
  --t3:     rgba(255,255,255,0.35);
  --card:   rgba(255,255,255,0.034);
  --border: rgba(255,255,255,0.07);
  --fh:     'Rubik','DM Sans',sans-serif;
  --fb:     'Rubik','IBM Plex Sans',sans-serif;
  --max:    1100px;
}

/* === PAGE TRANSITIONS === */
@view-transition { navigation: auto; }

@keyframes vt-fade-in  { from { opacity: 0; transform: translateY(6px); } }
@keyframes vt-fade-out { to   { opacity: 0; transform: translateY(-6px); } }

::view-transition-old(root) {
  animation: 220ms ease vt-fade-out both;
}
::view-transition-new(root) {
  animation: 280ms ease vt-fade-in both;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

/* === BASE === */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--t1); font-family: var(--fb); font-size: 1.0625rem; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === NOISE TEXTURE === */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* === ACCESSIBILITY === */
:focus-visible { outline: 3px solid #00D9FF; outline-offset: 3px; }
.skip-link {
  position: absolute; top: -40px; right: 8px; z-index: 9999;
  background: var(--blue); color: #fff; padding: 8px 16px;
  border-radius: 6px; font-size: .875rem; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* === ANNOUNCE BAR === */
.ann {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  background: linear-gradient(89.84deg, #195AFE 0.13%, #3A56E8 37.72%, #B4528C 72.54%, #FF6D03 88.92%, #FF9603 99.86%);
  text-align: center; padding: 9px 20px;
  font-family: var(--fb); font-size: .8125rem; font-weight: 500; color: #fff;
}
.ann a { text-decoration: underline; opacity: .9; }
.ann a:hover { opacity: 1; }
.pdot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; margin-left: 8px; vertical-align: middle;
  animation: pdot 2s ease-in-out infinite;
}
@keyframes pdot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .pdot { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === NAV === */
nav {
  position: sticky; top: 0; z-index: 90;
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  background: rgba(6,11,24,.8); border-bottom: 1px solid var(--border);
}
.nav-i {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 66px; display: flex; align-items: center; gap: 28px;
}
.logo { font-family: var(--fh); font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; white-space: nowrap; transition: opacity .2s; }
.logo span { color: var(--cyan); }
.logo:hover { opacity: .85; }
.nl { display: flex; align-items: center; gap: 24px; list-style: none; flex: 1; }
.nl a { font-size: .875rem; font-weight: 500; color: var(--t2); transition: color .2s; }
.nl a:hover { color: var(--t1); }
.nc { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav-tel { font-size: .8125rem; font-weight: 500; color: var(--t3); letter-spacing: .01em; transition: color .2s; }
.nav-tel:hover { color: var(--t1); }
.bg { padding: 8px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: .875rem; font-weight: 500; color: var(--t1); transition: border-color .2s; }
.bg:hover { border-color: rgba(255,255,255,.45); }
.ba { padding: 9px 20px; background: var(--amber); border-radius: 8px; font-size: .875rem; font-weight: 700; color: #000; transition: opacity .2s, transform .15s; display: inline-block; }
.ba:hover { opacity: .9; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--t1); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE NAV === */
.mobile-nav {
  position: fixed; top: 66px; right: 0; bottom: 0; width: min(360px,100%);
  background: rgba(6,11,24,.98); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); z-index: 88;
  padding: 2rem 1.5rem; transform: translateX(100%);
  transition: transform .35s ease; border-right: 1px solid var(--border);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-nav ul a { display: block; padding: 1rem 0; font-size: 1.125rem; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--t1); }
.mob-ctas { display: flex; gap: .75rem; margin-top: 2rem; }
.mob-ctas .bg, .mob-ctas .ba { flex: 1; text-align: center; }

/* === LAYOUT === */
.wrap { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.grid { display: grid; grid-template-columns: 1fr 340px; gap: 3.5rem; align-items: start; }

/* === BREADCRUMB === */
.breadcrumb, .page-crumb { font-size: .8125rem; color: var(--t3); margin-bottom: 1.75rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a, .page-crumb a { color: var(--t3); transition: color .2s; }
.breadcrumb a:hover, .page-crumb a:hover { color: var(--cyan); }
.breadcrumb span, .page-crumb span { color: var(--t3); }

/* === HERO === */
.tag-chip { display: inline-block; background: rgba(0,217,255,.1); color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 1.1rem; }
h1.ht { font-size: clamp(2rem,5vw,3rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.1rem; }
h1.ht span { color: var(--cyan); }
.hsub { font-size: 1.15rem; color: var(--t2); max-width: 680px; margin-bottom: 2rem; line-height: 1.75; }

/* === PROOF BAR === */
.proof-bar { display: flex; flex-wrap: wrap; gap: 20px 28px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 24px; margin-bottom: 3rem; font-size: .875rem; color: var(--t2); }
.proof-bar strong { color: var(--t1); }
.proof-bar .pb-star { color: var(--amber); }

/* === ARTICLE BODY === */
.body h2 { font-size: 1.6rem; font-weight: 700; margin: 3rem 0 1rem; border-right: 4px solid var(--cyan); padding-right: 16px; line-height: 1.3; }
.body h3 { font-size: 1.15rem; font-weight: 600; margin: 2rem 0 .8rem; color: var(--cyan); }
.body p { color: var(--t2); margin-bottom: 1.15rem; font-size: 1.0625rem; }
.body ul, .body ol { color: var(--t2); padding-right: 1.4rem; margin-bottom: 1.25rem; }
.body li { margin-bottom: .55rem; line-height: 1.7; }
.body strong { color: var(--t1); }

/* === CALLOUT BOXES === */
.highlight { background: rgba(0,217,255,.04); border: 1px solid rgba(0,217,255,.2); border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.highlight p { margin-bottom: .5rem; }
.highlight p:last-child { margin-bottom: 0; }
.highlight strong { color: var(--cyan); }
.warn-box { background: rgba(245,158,11,.05); border: 1px solid rgba(245,158,11,.25); border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.warn-box h4 { color: var(--amber); font-size: 1rem; font-weight: 700; margin-bottom: .9rem; }
.warn-box ul { color: var(--t2); padding-right: 1.4rem; }
.warn-box li { margin-bottom: .5rem; }

/* === CTA BLOCKS === */
.cta-mid {
  background: rgba(25,90,254,.06); border: 1px solid rgba(25,90,254,.25);
  border-radius: 14px; padding: 1.75rem 2rem; margin: 2.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-mid p { color: var(--t2); font-size: .975rem; margin: 0; flex: 1; min-width: 200px; }
.cta-mid-btns { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.cta-final {
  background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.25);
  border-radius: 14px; padding: 2.5rem; text-align: center; margin: 3rem 0;
}
.cta-final h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .8rem; border-right: none; padding-right: 0; }
.cta-final p { color: var(--t2); margin-bottom: 1.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-amber { display: inline-block; background: var(--amber); color: #000; padding: .85rem 2rem; border-radius: 8px; font-weight: 700; font-size: .95rem; transition: opacity .2s; }
.btn-amber:hover { opacity: .9; }
.btn-ghost { display: inline-block; border: 1px solid rgba(255,255,255,.25); color: var(--t1); padding: .85rem 2rem; border-radius: 8px; font-weight: 500; font-size: .95rem; transition: border-color .2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); }

/* === FAQ === */
.faq-section { margin: 3rem 0; }
.faq-section h2 { border-right: 4px solid var(--cyan); padding-right: 16px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-q { font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::before { content: '+'; color: var(--cyan); font-size: 1.3rem; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q::before { content: '\2212'; }
.faq-a { display: none; padding-top: .9rem; color: var(--t2); font-size: .95rem; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* === SEE ALSO === */
.see-also { margin: 3rem 0; }
.see-also h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.25rem; border-right: 4px solid var(--cyan); padding-right: 16px; }
.see-also-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: .85rem; }
.see-also-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; font-size: .9rem; font-weight: 500; color: var(--t2); transition: border-color .2s, color .2s; }
.see-also-card:hover { border-color: rgba(0,217,255,.35); color: var(--cyan); }

/* === SIDEBAR === */
.sidebar { position: sticky; top: 90px; }
.sidebar-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; margin-bottom: 1.5rem; }
.sidebar-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-card p { font-size: .88rem; color: var(--t2); margin-bottom: 1.2rem; line-height: 1.7; }
.btn-primary { display: block; background: var(--blue); color: #fff; padding: .85rem 1.2rem; border-radius: 8px; font-weight: 700; font-size: .95rem; text-align: center; margin-bottom: .8rem; transition: background .2s; }
.btn-primary:hover { background: #1047d4; }
.btn-wa { display: block; background: #25D366; color: #fff; padding: .75rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: .9rem; text-align: center; transition: background .2s; }
.btn-wa:hover { background: #1db354; }
.sidebar-meta { font-size: .8rem; color: var(--t3); line-height: 1.7; margin-top: .8rem; }
.stars { color: var(--amber); font-size: .85rem; margin-bottom: .4rem; }

/* === FOOTER === */
footer { background: rgba(255,255,255,.02); border-top: 1px solid var(--border); padding: 3.5rem 1.5rem 2rem; }
.footer-i { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.fb-logo { font-family: var(--fh); font-weight: 700; font-size: 1.25rem; margin-bottom: .75rem; }
.fb-logo span { color: var(--cyan); }
.fb-bio { font-size: .85rem; color: var(--t3); line-height: 1.7; margin-bottom: .75rem; }
.fb-rating { font-size: .82rem; color: var(--amber); margin-bottom: 1rem; }
.fsoc { display: flex; gap: .6rem; }
.fsb { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; color: var(--t3); transition: color .2s, border-color .2s; }
.fsb:hover { color: var(--t1); border-color: rgba(255,255,255,.3); }
.fch { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--t3); margin-bottom: 1rem; }
.fc ul { list-style: none; }
.fc ul li { margin-bottom: .6rem; font-size: .875rem; color: var(--t3); }
.fc ul a { color: var(--t3); transition: color .2s; }
.fc ul a:hover { color: var(--t1); }
.footer-bot { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--t3); }
.flegal { display: flex; gap: 1.5rem; }
.flegal a { color: var(--t3); transition: color .2s; }
.flegal a:hover { color: var(--t1); }
.fdisclaimer { max-width: 1100px; margin: 1.25rem auto 0; font-size: .75rem; color: var(--t3); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 1rem; }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  max-width: 360px; background: rgba(10,16,30,.97);
  border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.6rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.4); display: none;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-inner p { font-size: .875rem; color: var(--t2); margin-bottom: 1rem; line-height: 1.6; }
.cookie-inner a { color: var(--cyan); text-decoration: underline; }
.cookie-btns { display: flex; gap: .75rem; }
.cookie-btns .btn-amber { padding: .6rem 1.2rem; font-size: .875rem; }
.cookie-btns .btn-ghost { padding: .6rem 1.2rem; font-size: .875rem; }

/* === MOBILE ACTION BAR === */
.mob-bar {
  display: none; position: fixed; bottom: 0; right: 0; left: 0; z-index: 80;
  background: rgba(6,11,24,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border); padding: .75rem 1.25rem; gap: .75rem;
}
.mb-wa { flex: 1; background: #25D366; color: #fff; text-align: center; padding: .75rem; border-radius: 8px; font-weight: 700; font-size: .9rem; }
.mb-book { flex: 1; background: var(--amber); color: #000; text-align: center; padding: .75rem; border-radius: 8px; font-weight: 700; font-size: .9rem; }

/* === RESPONSIVE === */
@media(max-width:900px) {
  .nl { display: none; }
  .hamburger { display: flex; }
  .nc { display: none; }
  .grid { grid-template-columns: 1fr; }
}
@media(max-width:860px) { .footer-i { grid-template-columns: 1fr 1fr; } }
@media(max-width:720px) {
  .ann { font-size: .75rem; padding: 7px 14px; }
  .cookie-banner { bottom: 80px; right: .75rem; left: .75rem; max-width: 100%; }
  .sidebar { display: none; }
  .mob-bar { display: flex; }
  body { padding-bottom: 72px; }
  .cta-actions, .cta-mid-btns, .hctas { flex-direction: column; width: 100%; }
  .btn-amber, .btn-ghost, .ba, .bg { display: block; text-align: center; width: 100%; box-sizing: border-box; }
  .proof-bar { gap: 10px 16px; padding: 12px 14px; font-size: .8rem; }
  .body h2 { font-size: 1.35rem; }
  .wrap { padding: 1.5rem 1rem 4rem; }
}
@media(max-width:560px) { .footer-i { grid-template-columns: 1fr; } }
@media(max-width:480px) { h1.ht, h1 { font-size: 1.75rem !important; } }
