/* LogiVite demo booking modal + inline calendar block */
.lv-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.22s ease;
}
.lv-demo-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(27, 36, 64, 0);
  transition: background 0.22s ease;
  pointer-events: none;
}
.lv-demo-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.lv-demo-modal.is-open::before {
  background: rgba(27, 36, 64, 0.42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.lv-demo-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  height: min(88vh, 860px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(10, 14, 30, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.98) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
}
.lv-demo-modal.is-open .lv-demo-modal__panel {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.lv-demo-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e6e9f0;
  background: #f7f8fb;
}
.lv-demo-modal__head h2 {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1b2440;
}
.lv-demo-modal__close {
  width: 40px;
  height: 40px;
  border: 1px solid #d8dde8;
  border-radius: 50%;
  background: #fff;
  color: #4a5470;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lv-demo-modal__close:hover,
.lv-demo-modal__close:focus-visible {
  background: #f26b1d;
  color: #fff;
  border-color: #f26b1d;
}
.lv-demo-modal__body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.lv-demo-modal__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: #4a5470;
  font-size: 0.95rem;
  background: #fff;
  z-index: 1;
}
.lv-demo-modal__loading[hidden] {
  display: none;
}
.lv-demo-modal__frame {
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-width: none;
  border: 0;
  display: block;
}
body.lv-site .lv-demo-modal__frame,
body.page-home .lv-demo-modal__frame {
  height: 100%;
  min-height: 520px;
  max-width: none;
}
.lv-demo-modal__fallback {
  margin: 0;
  padding: 10px 16px 14px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #e6e9f0;
  background: #f7f8fb;
}
.lv-demo-modal__fallback a {
  font-weight: 600;
  color: #d95a0b;
  text-decoration: none;
}
.lv-demo-modal__fallback a:hover {
  color: #b34a08;
  text-decoration: underline;
}
.lv-calendar-fallback {
  text-align: center;
  margin: 16px auto 0;
  font-size: 0.95rem;
  color: #4a5470;
}
.lv-calendar-fallback a {
  font-weight: 600;
  color: #d95a0b;
  text-decoration: none;
}
.lv-calendar-fallback a:hover {
  text-decoration: underline;
}

.lv-book-demo {
  background: linear-gradient(180deg, #fff6ee 0%, #fff 70%);
  padding: clamp(48px, 7vw, 72px) 0 clamp(32px, 5vw, 48px);
}
.lv-book-demo__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}
.lv-book-demo__head .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d95a0b;
  margin: 0 0 10px;
}
.lv-book-demo__head h2 {
  margin: 0 0 10px;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: #1b2440;
}
.lv-book-demo__head p {
  margin: 0;
  color: #4a5470;
  font-size: 1rem;
  line-height: 1.55;
}
.lv-book-demo__cta {
  text-align: center;
  margin-bottom: 20px;
}
.lv-book-demo__calendar {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  min-height: 520px;
  box-shadow: 0 8px 28px rgba(20, 27, 48, 0.06);
}
.lv-book-demo__calendar iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
}
@media (max-width: 720px) {
  .lv-book-demo__calendar iframe {
    height: 560px;
  }
  .lv-demo-modal__panel {
    height: 92vh;
  }
}
