/* =============================================
   thermebucharest.com — signon-v1.css
   גופנים: Frank Ruhl Libre + Heebo
   פלטה: טיל / אקווה / שנהב חמים
   Anti-Footprint: שמות כיתות חדשים לגמרי
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;500;700&family=Heebo:wght@300;400;600;700&display=swap');

:root {
  --tl:      #1a6b7a;
  --tl-dk:   #125060;
  --ac:      #2a9db5;
  --ac-bht:  #3db4cc;
  --reka:    #f4f9f9;
  --reka-2:  #e2f0f3;
  --gvul:    #b2d5dc;
  --txt:     #0d2228;
  --txt-2:   #1b454f;
  --lavan:   #ffffff;
  --tzel:    rgba(26,107,122,.12);
  --r:       4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--txt);
  background: var(--reka);
  direction: rtl;
}

a { color: var(--tl); text-decoration: none; }
a:hover { color: var(--tl-dk); text-decoration: underline; }

/* ========================
   סרגל ניווט
   ======================== */
.seret-nav {
  background: var(--tl);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.pnim-nav {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo-atar {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--reka); letter-spacing: .01em;
  text-decoration: none;
}
.logo-atar .tzeva-logo { color: var(--ac-bht); }
.logo-atar:hover { color: var(--reka); text-decoration: none; }

.tafrit-rashi { display: flex; align-items: center; gap: 1.6rem; }
.tafrit-rashi a {
  font-size: .83rem; font-weight: 600;
  color: rgba(255,255,255,.76);
  letter-spacing: .02em;
  text-decoration: none; transition: color .2s;
}
.tafrit-rashi a:hover { color: var(--ac-bht); text-decoration: none; }

.kaftor-kartis {
  background: var(--ac) !important;
  color: #FFFFFF !important;
  padding: .42rem 1.15rem !important;
  border-radius: var(--r) !important;
  font-weight: 700 !important; font-size: .79rem !important;
  transition: background .2s !important;
}
.kaftor-kartis:hover { background: var(--ac-bht) !important; text-decoration: none !important; }

.kaftor-tafrit {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.kaftor-tafrit span {
  display: block; width: 24px; height: 2px;
  background: var(--reka); border-radius: 2px; transition: all .25s;
}

/* ========================
   באנר ראשי
   ======================== */
.baner-rashi {
  position: relative; width: 100%;
  height: 68vh; min-height: 400px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.baner-rashi img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.kise-baner {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,80,96,.92) 0%, rgba(18,80,96,.22) 55%, transparent 100%);
}
.txt-baner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.8rem;
  text-align: right;
}
.txt-baner h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.9rem);
  font-weight: 700; color: #FFFFFF;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0,0,0,.48);
  margin-bottom: .5rem;
}
.txt-baner .ktovet-al {
  font-size: 1rem; color: rgba(255,255,255,.86);
  max-width: 560px; margin-bottom: 1.6rem;
  font-weight: 400;
}

/* ========================
   כפתורים
   ======================== */
.kaftor-rashi {
  display: inline-block;
  background: var(--ac); color: #FFFFFF !important;
  font-family: 'Heebo', sans-serif;
  font-weight: 700; font-size: .88rem;
  letter-spacing: .05em;
  padding: .9rem 2.1rem; border-radius: var(--r);
  transition: background .2s, transform .15s;
  text-decoration: none !important;
}
.kaftor-rashi:hover {
  background: var(--ac-bht); transform: translateY(-1px);
  color: #FFFFFF !important; text-decoration: none !important;
}

/* ========================
   מסגרת עמוד
   ======================== */
.misgarot-atar { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================
   בלוקי תוכן
   ======================== */
.blok-tochn {
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--gvul);
}
.blok-tochn:last-child { border-bottom: none; }

.blok-tochn h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 500; color: var(--tl);
  margin-bottom: 1.2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--ac);
  display: inline-block;
}
.blok-tochn h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem; color: var(--ac);
  margin: 1.5rem 0 .7rem;
}
.blok-tochn p { margin-bottom: 1rem; color: var(--txt-2); }
.blok-tochn p:last-child { margin-bottom: 0; }
.blok-tochn strong { color: var(--txt); font-weight: 700; }

.tmuna-blok {
  width: 100%; height: 270px;
  object-fit: cover; object-position: center;
  border-radius: var(--r); margin: 1.4rem 0;
  box-shadow: 0 4px 18px var(--tzel);
}

.ezor-widget { margin: 1.5rem 0; padding: .5rem 0; }

/* ========================
   רשימות
   ======================== */
.reshima-chetz {
  list-style: none; margin: 1rem 0 1.2rem; padding: 0;
}
.reshima-chetz li {
  padding: .35rem 1.8rem .35rem 0;
  position: relative; color: var(--txt-2);
}
.reshima-chetz li::before {
  content: '‹'; position: absolute; right: 0;
  color: var(--ac); font-weight: 700; font-size: 1.2rem; line-height: 1.55;
}

.reshima-mispar {
  list-style: none; counter-reset: rm;
  margin: 1rem 0 1.2rem; padding: 0;
}
.reshima-mispar li {
  counter-increment: rm;
  padding: .45rem 2.6rem .45rem 0;
  position: relative; color: var(--txt-2);
}
.reshima-mispar li::before {
  content: counter(rm);
  position: absolute; right: 0;
  background: var(--tl); color: var(--reka);
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; top: .55rem;
}

/* ========================
   טבלאות
   ======================== */
.mekil-tevel { overflow-x: auto; margin: 1rem 0 1.2rem; }
.tevel-netunim {
  width: 100%; border-collapse: collapse; font-size: .94rem;
}
.tevel-netunim th {
  background: var(--tl); color: var(--reka);
  padding: .75rem 1rem; text-align: right;
  font-weight: 700; font-size: .82rem;
}
.tevel-netunim td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--gvul);
  color: var(--txt-2); vertical-align: top;
  text-align: right;
}
.tevel-netunim tr:last-child td { border-bottom: none; }
.tevel-netunim tr:nth-child(even) td { background: var(--reka-2); }
.tevel-netunim .col-mehir { font-weight: 700; color: var(--tl); white-space: nowrap; }

@media (max-width: 600px) {
  .tevel-netunim thead { display: none; }
  .tevel-netunim tr {
    display: block; background: var(--reka-2);
    border: 1px solid var(--gvul); border-radius: var(--r);
    margin-bottom: .65rem; padding: .75rem;
  }
  .tevel-netunim td { display: block; border: none; padding: .2rem 0; }
  .tevel-netunim td::before {
    content: attr(data-label) ': ';
    font-weight: 700; color: var(--txt); font-size: .78rem;
  }
}

/* ========================
   קופסת שותף
   ======================== */
.kufsa-shutaf {
  background: var(--reka-2);
  border: 1px solid var(--gvul);
  border-right: 4px solid var(--ac);
  border-radius: var(--r);
  padding: 1.5rem 1.8rem; margin: 1.5rem 0;
}
.kufsa-shutaf h3 { margin-top: 0; font-family: 'Frank Ruhl Libre', serif; font-size: 1.25rem; color: var(--tl); }
.kufsa-shutaf ul { list-style: none; padding: 0; margin: .75rem 0; }
.kufsa-shutaf ul li { padding: .3rem 1.6rem .3rem 0; position: relative; color: var(--txt-2); font-size: .95rem; }
.kufsa-shutaf ul li::before { content: '✓'; position: absolute; right: 0; color: var(--ac); font-weight: 700; }

/* ========================
   קופסת מידע
   ======================== */
.kufsa-meyda {
  background: #FFFFFF; border: 1px solid var(--gvul);
  border-radius: var(--r); padding: 1.4rem; margin: 1rem 0;
  box-shadow: 0 2px 8px var(--tzel);
}
.kufsa-meyda h4 {
  font-family: 'Frank Ruhl Libre', serif; color: var(--tl);
  font-size: 1rem; margin-bottom: .7rem;
}
.kufsa-meyda dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.kufsa-meyda dt { font-weight: 700; color: var(--txt); font-size: .9rem; }
.kufsa-meyda dd { color: var(--txt-2); font-size: .9rem; }

/* ========================
   שאלות ותשובות
   ======================== */
.reshima-shaalot { margin: 1.5rem 0; }

.pit-sheel {
  background: #FFFFFF;
  border: 1px solid var(--gvul);
  border-radius: 6px;
  margin-bottom: .9rem;
  overflow: hidden;
  transition: box-shadow .2s;
}
.pit-sheel:hover { box-shadow: 0 3px 12px var(--tzel); }
.pit-sheel.patuach { box-shadow: 0 3px 14px rgba(26,107,122,.16); border-color: var(--ac); }

.roshet-sheel {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  cursor: pointer; user-select: none; gap: 1.2rem;
  transition: background .2s;
}
.roshet-sheel:hover { background: var(--reka-2); }
.pit-sheel.patuach .roshet-sheel { background: var(--reka-2); }

h2.sheel-sheel {
  font-family: 'Heebo', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--txt); margin: 0;
  border: none !important; padding: 0 !important;
  display: inline !important; line-height: 1.55;
}

.siman-sheel {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--reka-2);
  border: 1.5px solid var(--gvul);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 300;
  color: var(--tl); line-height: 1;
  transition: transform .25s, background .2s;
  margin-top: .1rem;
}
.pit-sheel.patuach .siman-sheel {
  transform: rotate(45deg);
  background: var(--tl); color: #FFFFFF;
  border-color: var(--tl);
}

.tshuva-sheel {
  display: none;
  padding: 0 1.4rem 1.4rem 1.4rem;
  border-top: 1px solid var(--gvul);
}
.pit-sheel.patuach .tshuva-sheel { display: block; }
.tshuva-sheel p {
  margin: 1rem 0 0;
  color: var(--txt-2);
  font-size: .97rem; line-height: 1.78;
}

/* ========================
   הירו כרטיסים
   ======================== */
.hero-kartis {
  background: linear-gradient(135deg, var(--tl) 0%, var(--tl-dk) 100%);
  padding: 3rem 0 2.5rem;
}
.hero-kartis h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  color: #FFFFFF; margin-bottom: .75rem;
}
.hero-kartis p { color: rgba(255,255,255,.82); }
.hero-kartis .kaftor-rashi { margin-top: 1.2rem; }

/* ========================
   הירו תת-עמוד
   ======================== */
.hero-mishneh {
  background: var(--reka-2);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--gvul);
}
.hero-mishneh h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  color: var(--tl); margin-bottom: .7rem;
}
.hero-mishneh p { color: var(--txt-2); max-width: 660px; }

/* פירורי לחם */
.pirurey-lechem {
  font-size: .82rem; color: var(--txt-2); padding: .8rem 0;
}
.pirurey-lechem a { color: var(--ac); }
.pirurey-lechem a:hover { color: var(--tl); }
.pirurey-lechem span { margin: 0 .45rem; color: var(--gvul); }

/* ========================
   כותרת תחתונה
   ======================== */
.kteret-tachtona {
  background: var(--tl-dk); color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.reshet-rgl {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.logo-rgl {
  font-family: 'Frank Ruhl Libre', serif; font-size: 1.3rem;
  color: var(--ac-bht); margin-bottom: .75rem;
}
.kteret-tachtona p { font-size: .88rem; line-height: 1.6; margin-bottom: .5rem; }
.kteret-tachtona h4 {
  color: #FFFFFF; font-size: .82rem;
  letter-spacing: .05em; margin-bottom: .75rem;
}
.kteret-tachtona ul { list-style: none; }
.kteret-tachtona ul li { margin-bottom: .4rem; }
.kteret-tachtona ul a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.kteret-tachtona ul a:hover { color: var(--ac-bht); text-decoration: none; }
.sura-tachtona {
  max-width: 1100px; margin: 1.8rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem; font-size: .8rem;
}
.haarot-shutafut { font-size: .78rem; color: rgba(255,255,255,.4); font-style: italic; }

/* ========================
   עמודים משפטיים
   ======================== */
.guf-mishpati { padding: 3rem 0; }
.guf-mishpati h2 { font-family:'Frank Ruhl Libre',serif; font-size:1.55rem; color:var(--tl); margin:2rem 0 .75rem; padding-bottom:.4rem; border-bottom:1px solid var(--gvul); }
.guf-mishpati h3 { font-size:1.1rem; font-weight:700; color:var(--ac); margin:1.5rem 0 .5rem; }
.guf-mishpati p { color:var(--txt-2); margin-bottom:1rem; }
.guf-mishpati ul { list-style:disc; padding-right:1.5rem; margin-bottom:1rem; }
.guf-mishpati ul li { color:var(--txt-2); margin-bottom:.35rem; }

/* ========================
   רספונסיבי
   ======================== */
@media (max-width: 768px) {
  .tafrit-rashi { display: none; flex-direction: column; gap: 0; }
  .tafrit-rashi.galu {
    display: flex; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--tl); padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 6px 16px rgba(0,0,0,.3); z-index: 99;
  }
  .tafrit-rashi.galu a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: rgba(255,255,255,.85); }
  .tafrit-rashi.galu .kaftor-kartis { margin-top: .5rem; display: inline-block; }
  .kaftor-tafrit { display: flex; }
  .seret-nav { position: relative; }
  .reshet-rgl { grid-template-columns: 1fr; gap: 1.4rem; }
  .baner-rashi { height: 55vw; min-height: 280px; }
  .blok-tochn { padding: 2.2rem 0; }
  .tmuna-blok { height: 190px; }
}
@media (max-width: 480px) {
  .pnim-nav { padding: 0 1rem; }
  .misgarot-atar { padding: 0 1rem; }
  .txt-baner { padding: 0 1rem 1.5rem; }
}
