
:root{
  --privacy-ink:#103553;
  --privacy-blue:#145a86;
  --privacy-blue-soft:#2d6f96;
  --privacy-gold:#c9953e;
  --privacy-paper:#fffdf9;
  --privacy-cream:#f7f1e5;
  --privacy-line:rgba(16,53,83,.14);
  --privacy-soft:#efe7d9;
}
.privacy-page{
  background:#f8f5ee;
  color:var(--privacy-ink);
  font-family:"Heebo","Noto Sans Hebrew",Arial,sans-serif;
}
.privacy-page *{box-sizing:border-box}
.privacy-page button,.privacy-page input{font:inherit}

/* Hero — follows the approved mockup while reusing the user's historical image. */
.privacy-hero{
  position:relative;
  min-height:300px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(255,249,238,.94) 0%,rgba(255,249,238,.86) 44%,rgba(255,249,238,.30) 67%,rgba(20,48,65,.22) 100%),
    url("/nav-history/assets/img/breslov-historic.jpg") center 47%/cover no-repeat;
  border-bottom:1px solid rgba(16,53,83,.13);
}
.privacy-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(255,245,224,.09),transparent 42%),
    linear-gradient(to top,rgba(72,48,30,.10),transparent 45%);
  pointer-events:none;
}
.privacy-hero-shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 40%,rgba(201,149,62,.15),transparent 17rem);
}
.privacy-hero-inner{
  position:relative;
  z-index:2;
  min-height:300px;
  display:flex;
  align-items:center;
  padding-top:34px;
  padding-bottom:34px;
}
.privacy-hero-copy{
  width:min(720px,67%);
  text-align:center;
  margin-inline-start:0;
}
.privacy-kicker{
  display:inline-block;
  margin:0 0 9px;
  padding:5px 12px;
  border:1px solid rgba(16,53,83,.15);
  border-radius:999px;
  background:rgba(255,252,245,.74);
  color:#5b6e7b;
  font-weight:700;
  font-size:14px;
}
.privacy-hero h1{
  margin:0;
  font-size:clamp(48px,6.2vw,78px);
  line-height:1;
  color:var(--privacy-ink);
  letter-spacing:-.04em;
  text-shadow:0 2px 15px rgba(255,255,255,.75);
}
.privacy-hero-lead{
  display:inline-block;
  margin:20px auto 0;
  padding:7px 15px;
  border-radius:6px;
  background:rgba(255,252,246,.87);
  color:#1d4967;
  font-size:19px;
  font-weight:650;
  box-shadow:0 4px 14px rgba(20,42,55,.07);
}

/* Main two-column composition */
.privacy-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(255px,.62fr);
  gap:20px;
  align-items:start;
  padding-top:22px;
  padding-bottom:28px;
}
.panel{
  border:1px solid var(--privacy-line);
  border-radius:8px;
  background:rgba(255,255,255,.92);
  box-shadow:0 3px 12px rgba(16,53,83,.045);
  overflow:visible;
}
.privacy-main{
  padding:17px;
}
.privacy-intro{
  padding:4px 4px 17px;
}
.privacy-intro>p{
  margin:0;
  color:#264d67;
  font-size:17px;
  line-height:1.8;
  font-weight:560;
}
.privacy-en-note{
  margin-top:13px;
  padding:13px 16px;
  border:1px solid #e9dfcd;
  border-radius:7px;
  background:linear-gradient(90deg,#f6f0e4,#fbf8f1);
  color:#5e6870;
  line-height:1.65;
  font-size:14px;
}

.privacy-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.privacy-card{
  min-height:176px;
  padding:17px 13px 14px;
  border:1px solid rgba(16,53,83,.12);
  border-radius:7px;
  background:#fff;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.privacy-card:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 18px rgba(16,53,83,.08);
  border-color:rgba(20,90,134,.28);
}
.privacy-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin-bottom:10px;
  border-radius:50%;
  background:#eef4f7;
  color:var(--privacy-blue);
  font-size:29px;
  line-height:1;
}
.privacy-card:nth-child(2n) .privacy-icon{
  color:#b87518;
  background:#faf3e7;
}
.privacy-card h3{
  margin:0;
  font-size:18px;
  line-height:1.35;
}
.privacy-card p{
  margin:7px 0 0;
  color:#627886;
  font-size:13px;
  line-height:1.55;
}
.privacy-card a{
  display:inline-flex;
  margin-top:auto;
  padding:5px 11px;
  border-radius:5px;
  background:#f1e9dc;
  color:#375b72;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}

/* Detail section */
.panel-inner{
  margin-top:17px;
  border:1px solid rgba(16,53,83,.10);
  border-radius:7px;
  background:#fffdf9;
}
.section-heading{
  padding:13px 16px;
  border-bottom:1px solid rgba(16,53,83,.09);
}
.section-heading h2{
  margin:0;
  font-size:22px;
}
.privacy-detail-list{
  display:grid;
}
.privacy-detail-item{
  padding:17px 18px;
  border-bottom:1px solid rgba(16,53,83,.08);
  scroll-margin-top:20px;
}
.privacy-detail-item:last-child{border-bottom:0}
.privacy-detail-item h3{
  margin:0 0 8px;
  font-size:19px;
}
.privacy-detail-item p{
  margin:0;
  color:#4f6878;
  line-height:1.75;
}

/* Sidebar */
.privacy-side{
  display:grid;
  gap:16px;
  position:sticky;
  top:18px;
}
.side-heading{
  padding:13px 15px;
  border-bottom:1px solid rgba(16,53,83,.09);
}
.side-heading h2{
  margin:0;
  font-size:20px;
}
.privacy-toc nav{
  display:grid;
  padding:6px 0;
}
.privacy-toc a{
  padding:8px 14px;
  color:#18547a;
  text-decoration:none;
  font-weight:650;
  font-size:14px;
}
.privacy-toc a:hover{
  background:#f5f0e8;
}
.privacy-security{
  padding:17px;
  text-align:center;
  background:linear-gradient(#fffdf9,#f5eee1);
}
.security-lock{
  width:48px;
  height:48px;
  margin:0 auto 8px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f4ead8;
  font-size:24px;
}
.privacy-security h2{
  margin:0;
  font-size:18px;
}
.privacy-security p{
  margin:8px 0 0;
  color:#667781;
  line-height:1.62;
  font-size:13px;
}
.privacy-principle{
  padding:18px;
  background:#fffaf1;
}
.privacy-principle blockquote{
  margin:0;
  text-align:center;
  font:700 17px/1.7 Georgia,"Noto Serif Hebrew",serif;
  color:#294e66;
}
.privacy-contact-card p{
  margin:0;
  padding:13px 15px 8px;
  color:#627682;
  line-height:1.6;
  font-size:13px;
}
.privacy-contact-button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:8px 15px 15px;
  border-radius:6px;
  background:var(--privacy-blue);
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

/* Closing strip */
.privacy-closing{
  border-top:1px solid rgba(16,53,83,.12);
  background:
    linear-gradient(90deg,rgba(233,218,191,.96),rgba(248,239,221,.94),rgba(224,207,177,.96)),
    url("/nav-history/assets/img/breslov-historic.jpg") center 65%/cover no-repeat;
  text-align:center;
}
.privacy-closing-inner{
  min-height:128px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-top:22px;
  padding-bottom:22px;
}
.privacy-closing strong{
  font-size:25px;
}
.privacy-closing p{
  margin:7px 0 0;
  max-width:760px;
  color:#5e6e77;
  line-height:1.6;
}

@media(max-width:1000px){
  .privacy-layout{grid-template-columns:1fr}
  .privacy-side{
    position:static;
    grid-template-columns:repeat(2,1fr);
  }
  .privacy-toc{grid-column:1/-1}
}
@media(max-width:760px){
  .privacy-hero{
    min-height:260px;
    background-position:58% 48%;
  }
  .privacy-hero-inner{min-height:260px}
  .privacy-hero-copy{width:100%}
  .privacy-grid{grid-template-columns:1fr}
  .privacy-side{grid-template-columns:1fr}
  .privacy-toc{grid-column:auto}
}
