/* enhance.css — 2026-11: fixed background, 5/6-seat block, FAQ, mobile call bar.
   Loaded after style.css / style-ltr.css on every page. */

/* ---------- Background: fixed full-screen photo (works on iOS too) ---------- */
html { background: #000; }
body {
  background: none !important;
  min-height: 0 !important;
}
body::before {
  content: "";
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  background: #000 url("../images/main_bg.jpg") center / cover no-repeat;
}
.text-wrap { flex-grow: 0; }

/* ---------- 5/6-seat services block ---------- */
.services {
  box-sizing: border-box;
  width: calc(100% - 24px);
  max-width: 940px;
  margin: 0 auto 16px;
  padding: 18px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  line-height: 1.5;
  text-align: start;
}
.services h2 { color: #FCE500; font-size: 1.35em; margin: 0 0 8px; line-height: 1.3; }
.services h3 { color: #FCE500; font-size: 1.05em; margin: 16px 0 4px; }
.services p { margin: 0 0 8px; }
.services a { color: #FCE500; white-space: nowrap; }
.services .intro { margin-bottom: 12px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.card {
  background: #FCE500; color: #111; border-radius: 8px;
  padding: 12px 8px; text-align: center; font-weight: bold;
}
.card small { display: block; font-weight: normal; margin-top: 6px; }
.card a { color: #111; text-decoration: none; display: inline-block; padding: 2px 0; }

.faq details { border-top: 1px solid rgba(255, 255, 255, .2); padding: 8px 0; }
.faq summary { cursor: pointer; font-weight: bold; }
.faq details p { margin: 6px 0 0; }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #111;
}
.callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 0; border-radius: 8px;
  font: bold 1.1em Arial, sans-serif; text-decoration: none; direction: ltr;
}
.callbar svg { width: 20px; height: 20px; fill: currentColor; }
.callbar .c1 { background: #FCE500; color: #111; }
.callbar .c2 { background: #fff; color: #111; }
body { padding-bottom: 0; }

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
  .callbar { display: none; }
  .services { padding: 26px 32px; margin-bottom: 24px; }
  .services h2 { font-size: 30px; text-align: center; }
  .services .intro { text-align: center; font-size: 18px; }
  .services h3 { font-size: 20px; }
  .services p, .faq summary { font-size: 17px; }
  .cards { max-width: 640px; margin: 16px auto; }
  .card { font-size: 1.2em; padding: 16px; }
  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
}
@media (max-width: 360px) {
  .cards { grid-template-columns: 1fr; }
}

/* Accessibility widget (NagishLi): keep it above the mobile call bar */
@media (max-width: 991px) {
  #NagishLiBar { transform: translateY(calc(-72px - env(safe-area-inset-bottom, 0px))) !important; }
}

/* Bottom zone: bottom phone + footer share one gradient that ends exactly at the page bottom */
.bottom-zone {
  background: url("../images/phone_bg_bottom.png") center bottom / 100% 100% no-repeat;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); /* room for the mobile call bar */
}
.bottom-zone .phone-wrap.bottom,
.bottom-zone .footer { background: none; }
@media (min-width: 992px) {
  .bottom-zone { padding-bottom: 0; }
}
