body {
  background: var(--bg-dark);
}

.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-image: url('/images/table-2.webp');
  background-size: cover;
  background-position: left 30%;
  z-index: 0;
}

.scroll-container {
  position: relative;
  z-index: 2;
}

.bg-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(13, 9, 5, 1) 25%, rgba(13, 9, 5, 0.75) 50%, rgba(13, 9, 5, 0.1) 85%, transparent 100%);
}

.bg-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(13, 9, 5, 0.6));
  z-index: 1;
}

.book-wrapper,
.footer-bar {
  position: relative;
  z-index: 2;
}

/* ── CONTENT ── */
.book-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 100dvh;
  padding-top: 100px;
  padding-right: 8%;
}

.book-content {
  max-width: 520px;
  padding: 40px 0 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 22px;
}

.book-content h1 {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin: 0;
}

.book-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.book-content p {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.book-content a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-button {
  display: inline-block;
  margin-top: 0;
  padding: 4px 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}

.book-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.65);
  transition: width 0.3s ease, left 0.3s ease;
}

.book-button:hover {
  opacity: 0.8;
}

.book-button:hover::after {
  width: 100%;
  left: 0;
}

/* ── RESPONSIVE: TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .book-wrapper {
    padding-right: 5%;
    padding-top: 90px;
  }

  .book-content {
    max-width: 460px;
  }

  .book-content p {
    font-size: 17px;
  }
}

/* ── RESPONSIVE: MOBILE (≤768px) ── */
@media (max-width: 768px) {
  html, body {
    height: 100%;
    overflow: hidden;
  }

  .scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    z-index: 2;
  }

  /* Background gradient darkens more on mobile */
  .bg-wrapper::after {
    background: rgba(13, 9, 5, 0.72);
  }

  .book-wrapper {
    justify-content: center;
    padding: 110px 24px 48px;
  }

  .book-content {
    max-width: 100%;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .book-content h1 {
    font-size: 20px;
  }

  .book-content h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .book-content p {
    font-size: 17px;
  }
}

/* ── RESPONSIVE: SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .book-wrapper {
    padding: 110px 18px 40px;
  }

  .book-content h1 {
    font-size: 18px;
    letter-spacing: 0.25em;
  }

  .book-content p {
    font-size: 16px;
  }
}
