@font-face {
  font-family: "BoeiImaWeb";
  src: url("assets/fonts/FUP Begin - Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BoeiImaWeb";
  src: url("assets/fonts/FUP Begin - SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --mobile-max-width: 390px;
  --desktop-max-width: 1440px;
  --active-page-width: var(--mobile-max-width);
  --page-bg: #f3ebda;
  --teal: #316f6d;
  --cream: #f3ebda;
  --ink: #4b3503;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "BoeiImaWeb", Arial, "Noto Sans Hebrew", "Segoe UI", sans-serif;
  overflow-x: hidden;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.mobile-layout {
  display: block;
}

.desktop-layout {
  display: none;
}

.page {
  position: relative;
  width: 100%;
  max-width: var(--mobile-max-width);
  margin: 0 auto;
  background: var(--page-bg);
  overflow: hidden;
}

.visual-section,
.desktop-visual-section {
  position: relative;
  width: 100%;
  line-height: 0;
}

.section-image,
.desktop-section-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  z-index: 20;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(51, 122, 116, 0.22);
}

.hotspot:focus-visible {
  outline: 2px solid rgba(51, 122, 116, 0.8);
  outline-offset: 2px;
}

.cta-after-experience {
  left: 12.9%;
  top: 75.3%;
  width: 74.2%;
  height: 15%;
  border-radius: 9px;
}

.video-hotspot {
  position: absolute;
  z-index: 5;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.mobile-video-hotspot {
  left: 4.7%;
  top: 46.7%;
  width: 90.6%;
  aspect-ratio: 570 / 550;
}

.video-hotspot video,
.desktop-video-hotspot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.final-cta {
  left: 22.7%;
  top: 62.9%;
  width: 54.6%;
  height: 18.4%;
  border-radius: 9px;
}

.faq-section {
  background: var(--page-bg);
  font-family: "BoeiImaWeb", Arial, sans-serif !important;
  font-synthesis: none;
  letter-spacing: 0;
  text-shadow: none;
  line-height: 1;
  overflow: hidden;
}

.mobile-faq-flow {
  position: relative;
  z-index: 2;
  margin-top: -61.1%;
  padding: 0 2.3% 4.7%;
  background: var(--page-bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: "BoeiImaWeb", Arial, sans-serif !important;
  font-synthesis: none;
  letter-spacing: 0;
  text-shadow: none;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #4b3503;
  border-radius: 8px;
  background: var(--page-bg);
  color: #4b3503;
  font-family: "BoeiImaWeb", Arial, sans-serif !important;
  font-synthesis: none;
  letter-spacing: 0;
  text-shadow: none;
}

.faq-question {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  padding: 6px 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-family: "BoeiImaWeb", Arial, sans-serif !important;
  font-synthesis: none;
  font-size: clamp(14.5px, 4.1vw, 16px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(51, 122, 116, 0.18);
}

.faq-question::before {
  content: "⌄";
  flex: 0 0 auto;
  font-size: 1em;
  font-weight: 600;
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question::before {
  transform: translateY(1px) rotate(180deg);
}

.faq-question:focus-visible {
  outline: 2px solid rgba(51, 122, 116, 0.8);
  outline-offset: -4px;
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  margin: 0 14px;
  border-top: 1px solid rgba(75, 53, 3, 0.28);
  color: var(--ink);
  font-family: "BoeiImaWeb", Arial, sans-serif !important;
  font-synthesis: none;
  font-size: clamp(12px, 3.55vw, 14px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  white-space: pre-line;
}

.faq-answer-content {
  padding: 9px 0 12px;
}

.sticky-cta {
  position: fixed;
  z-index: 100;
  right: max(18px, calc((100vw - var(--active-page-width)) / 2 + 18px));
  left: max(18px, calc((100vw - var(--active-page-width)) / 2 + 18px));
  bottom: calc(14px + env(safe-area-inset-bottom));
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(49, 111, 109, 0.94);
  color: var(--cream);
  font-family: "BoeiImaWeb", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(48, 39, 24, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 900px) {
  :root {
    --active-page-width: var(--desktop-max-width);
  }

  body {
    padding-bottom: 96px;
  }

  .mobile-layout {
    display: none;
  }

  .desktop-layout {
    display: block;
    width: 100%;
    max-width: var(--desktop-max-width);
    margin: 0 auto;
    background: var(--page-bg);
    overflow: hidden;
  }

  .desktop-video-hotspot {
    position: absolute;
    z-index: 10;
    left: 50.7%;
    top: 13.9%;
    width: 39.6%;
    aspect-ratio: 570 / 550;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
  }

  .desktop-faq-flow {
    position: absolute;
    z-index: 15;
    left: 52.5%;
    top: 23.6%;
    width: 36.25%;
    height: 61.6%;
    overflow-y: auto;
    padding: 0;
    background: var(--page-bg);
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 53, 3, 0.35) transparent;
  }

  .desktop-faq-list {
    gap: 10px;
    padding: 0;
  }

  .desktop-faq-list .faq-item {
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--page-bg);
  }

  .desktop-faq-list .faq-question {
    min-height: 55px;
    padding: 8px 20px;
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.12;
  }

  .desktop-faq-list .faq-answer {
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.4;
  }

  .desktop-faq-list .faq-answer-content {
    padding: 12px 4px 16px;
  }

  .desktop-final-cta {
    left: 13.45%;
    top: 75.0%;
    width: 31.7%;
    height: 10.2%;
    border-radius: 10px;
  }

  .sticky-cta {
    right: 24px;
    left: auto;
    bottom: 24px;
    width: 250px;
    min-height: 52px;
    font-size: 20px;
  }
}

/* Direct payment hotspots */
.payment-hotspot {
  border-radius: 12px;
}

.shared-room-payment {
  left: 17.9%;
  top: 21.2%;
  width: 64.2%;
  height: 14.6%;
}

.private-room-payment {
  left: 17.9%;
  top: 39.0%;
  width: 64.2%;
  height: 14.6%;
}

@media (min-width: 900px) {
  .desktop-shared-room-payment {
    left: 18.0%;
    top: 21.1%;
    width: 63.6%;
    height: 14.6%;
  }

  .desktop-private-room-payment {
    left: 18.0%;
    top: 38.8%;
    width: 63.6%;
    height: 14.6%;
  }

  .desktop-price-whatsapp {
    left: 12.7%;
    top: 79.3%;
    width: 74.2%;
    height: 15.0%;
    border-radius: 14px;
  }
}
