/* ==========================================================
   BNK GROUP — BROCHURE page styles (brochure.php)
   The book itself lives in includes/book.php + book.css + book.js.
   ========================================================== */

/* ---------- section layout ---------- */
.book-section {
  height: 100vh; height: 100svh;           /* fixed height → the book stage can fill it */
  justify-content: flex-start;
  padding-bottom: clamp(12px, 2.4vh, 26px);
  background:
    radial-gradient(60% 55% at 50% 55%, rgba(201,165,92,.14), transparent 70%),
    radial-gradient(90% 60% at 50% 120%, rgba(8,18,28,.9), transparent),
    var(--pattern-roof),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
}
.book-section__head { text-align: center; flex-shrink: 0; }
.book-section__head .eyebrow { justify-content: center; margin-bottom: 4px; }
.book-section__head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.book-section__head .h3 { font-size: clamp(1rem, .9rem + .6vw, 1.45rem); color: rgba(246,241,231,.85); }

/* fullscreen mode */
.book-section:fullscreen { padding-top: 20px; }
.book-section:fullscreen .book-section__head { display: none; }

/* ---------- 02 contents ---------- */
.contents__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(156,122,55,.35); }
.toc button {
  width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  background: none; border: 0; border-bottom: 1px solid rgba(156,122,55,.35); cursor: pointer; text-align: left;
  padding: clamp(8px, 1.5vh, 14px) 6px; color: var(--ink);
  transition: background .35s, padding .35s;
}
.toc button:hover { background: rgba(201,165,92,.14); padding-left: 16px; }
.toc b { font-family: var(--font-display); font-weight: 400; color: var(--gold-deep); font-size: 1.2rem; }
.toc span { font-family: var(--font-display); font-size: clamp(1.02rem, .95rem + .4vw, 1.3rem); display: flex; flex-direction: column; line-height: 1.25; }
.toc small { font-family: var(--font-body); font-size: .74rem; color: rgba(19,32,46,.6); letter-spacing: .04em; }
.toc em { font-style: normal; font-size: .72rem; letter-spacing: .2em; color: var(--gold-deep); text-transform: uppercase; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .contents__grid { grid-template-columns: 1fr; gap: 18px; }
  .contents .btn-row { display: none; }
  .contents .lead { display: none; }
}
@media (max-width: 600px) {
  .book-section__head .h3 { font-size: .9rem; }
  .book-controls button { width: 40px; height: 40px; }
  .book-controls__count { min-width: 96px; font-size: .82rem; }
  .book-controls [data-act="first"], .book-controls [data-act="last"] { display: none; }
  .toc button { padding: 7px 4px; grid-template-columns: 38px 1fr auto; }
  .toc small { display: none; }
}

/* keep the floating WhatsApp button off the book controls on phones */
@media (max-width: 600px) {
  .page-brochure .whatsapp-float { bottom: auto; top: calc(var(--header-h) + 8px); width: 40px; height: 40px; }
  .page-brochure .whatsapp-float svg { width: 20px; height: 20px; }
}
