/* ── Studio Asaf Yefet — Popups (v5: aligned to site brand language) ── */

.say-overlay{
  position:fixed;
  inset:0;
  background:rgba(12,63,81,.62);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  display:none;          /* JS toggles to flex */
  align-items:center;
  justify-content:center;
  z-index:10000;
  padding:20px;
  opacity:0;
  transition:opacity .25s ease;
}
.say-overlay.visible{ opacity:1; }

/* Direction-aware modal */
html[dir="rtl"] .say-modal,
html[dir="rtl"] .say-close{ direction:rtl; }
html[dir="ltr"] .say-modal{ direction:ltr; }

.say-modal{
  background:#fff;
  border-radius:24px;
  max-width:min(440px, 92vw);
  width:100%;
  max-height:88vh;
  overflow-y:auto;
  padding:36px 32px 30px;
  position:relative;
  transform:translateY(14px);
  transition:transform .28s cubic-bezier(.22,.61,.36,1);
  scrollbar-width:thin;
  box-shadow:0 28px 80px rgba(12,63,81,.32),
             0 6px 18px rgba(12,63,81,.14);
  border:1px solid rgba(12,63,81,.06);
  font-family:'Einstein','Heebo',sans-serif;
  color:#0C3F51;
}
.say-overlay.visible .say-modal{ transform:translateY(0); }

@media (max-width: 480px){
  .say-modal{ padding:30px 24px 24px; border-radius:20px; }
}

/* Close button — top-start corner, 44px tap target */
.say-close{
  position:absolute;
  top:14px;
  inset-inline-start:14px;
  width:44px;
  height:44px;
  background:rgba(12,63,81,.06);
  border:0;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  color:#0C3F51;
  padding:0;
  opacity:.7;
  transition:opacity .18s ease, background .18s ease;
}
.say-close:hover, .say-close:focus-visible{
  opacity:1;
  background:rgba(12,63,81,.12);
  outline:2px solid #C9A96E;
  outline-offset:2px;
}

/* ─── Checklist popup ───────────────────────────────────────────── */
.say-checklist-img{
  width:100%;
  height:auto;
  max-height:300px;
  object-fit:contain;
  border-radius:14px;
  margin-bottom:22px;
  display:block;
  background:rgba(12,63,81,.04);
}
.say-checklist-title{
  font-family:'Einstein','Heebo',sans-serif;
  font-size:22px;
  font-weight:600;
  letter-spacing:-0.015em;
  color:#0C3F51;
  margin-bottom:10px;
  text-align:center;
  line-height:1.25;
}
.say-checklist-sub{
  font-size:14.5px;
  color:rgba(12,63,81,.68);
  text-align:center;
  margin-bottom:24px;
  line-height:1.7;
}
.say-checklist-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background:#0C3F51;
  color:#fff;
  text-align:center;
  padding:15px 22px;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  letter-spacing:.01em;
  text-decoration:none;
  transition:background .22s ease, transform .22s ease, box-shadow .22s ease;
  box-shadow:0 12px 28px rgba(12,63,81,.22);
}
.say-checklist-btn:hover{
  background:#0a3245;
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(12,63,81,.28);
}

/* ─── Package popup ─────────────────────────────────────────────── */
.say-pkg-title{
  font-family:'Einstein','Heebo',sans-serif;
  font-size:22px;
  font-weight:600;
  letter-spacing:-0.015em;
  color:#0C3F51;
  margin-bottom:6px;
  line-height:1.25;
}
.say-pkg-time{
  font-size:12.5px;
  color:rgba(12,63,81,.55);
  margin-bottom:22px;
  display:block;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:500;
}
.say-pkg-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:0;
}
.say-pkg-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:14.5px;
  color:rgba(23,23,23,.78);
  line-height:1.6;
  padding:14px 0;
  border-bottom:1px solid rgba(12,63,81,.08);
}
.say-pkg-list li:last-child{
  border-bottom:0;
}
.say-pkg-list li::before{
  content:"";
  width:22px;
  height:22px;
  flex-shrink:0;
  margin-top:1px;
  border-radius:50%;
  background:rgba(201,169,110,.18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.2l2.5 2.5 4.5-5.5' stroke='%23C9A96E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 14px 14px;
}
.say-pkg-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:24px;
  width:100%;
  background:#0C3F51;
  color:#fff;
  text-align:center;
  padding:14px 22px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:600;
  text-decoration:none;
  letter-spacing:.01em;
  transition:background .22s ease, transform .22s ease, box-shadow .22s ease;
  cursor:pointer;
  border:0;
  box-shadow:0 10px 24px rgba(12,63,81,.18);
}
.say-pkg-cta:hover{
  background:#0a3245;
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(12,63,81,.26);
}

/* "מידע נוסף" outer button (in the package card itself) */
.say-more-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  background:transparent;
  border:1.5px solid currentColor;
  color:inherit;
  padding:11px 22px;
  border-radius:999px;
  font-family:'Einstein','Heebo',sans-serif;
  font-size:13.5px;
  font-weight:600;
  letter-spacing:.01em;
  cursor:pointer;
  transition:background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.say-more-btn:hover{
  background:currentColor;
  color:#0C3F51;
  transform:translateY(-1px);
}
