/* The Estiquote Home Improvement Handbook: /book and /go/* companion pages. */
.book-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; align-items: center; margin: 8px 0 36px; }
.book-hero h1 { margin: 10px 0 14px; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.book-hero p { max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.6; }
.book-cover { width: 240px; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(11, 23, 29, .18), 0 2px 6px rgba(11, 23, 29, .12); }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.book-actions .button { min-width: 200px; }
.button-line { color: var(--text); border: 1px solid var(--border); background: #fff; }
.button-line:hover { border-color: var(--teal); }
.book-loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: loop; }
.book-loop li { counter-increment: loop; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #fff; font-size: 15px; line-height: 1.45; }
.book-loop li::before { content: counter(loop); display: block; margin-bottom: 6px; color: var(--teal); font-weight: 800; }
.book-section-title { margin: 0 0 14px; font-size: 22px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0 0 40px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.tool-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.tool-card strong { font-size: 16px; }
.tool-card span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.tool-card em { margin-top: auto; padding-top: 6px; color: var(--teal); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.book-note { max-width: 70ch; color: var(--muted); font-size: 14px; line-height: 1.6; }

.go-card { margin: 8px 0 28px; padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.go-card h1 { margin: 8px 0 10px; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.go-card p { max-width: 62ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.go-chapters { margin-top: 10px; font-size: 14px; }
.go-list { margin: 0 0 28px; padding-left: 20px; line-height: 1.7; }
.go-list li { margin-bottom: 4px; }
.go-emergency { margin: 0 0 24px; padding: 20px 22px; border: 2px solid #b3261e; border-radius: 16px; background: #fff7f6; }
.go-emergency h2 { margin: 0 0 10px; color: #8c1d18; font-size: 20px; }
.go-emergency p { margin: 6px 0; line-height: 1.55; }
.phone-number { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.go-table { width: 100%; margin: 0 0 28px; border-collapse: collapse; font-size: 15px; }
.go-table th, .go-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.5; }
.go-table th { width: 28%; }

@media (max-width: 760px) {
  .book-hero { grid-template-columns: 1fr; gap: 24px; }
  .book-cover { width: 180px; order: -1; }
  .book-loop { grid-template-columns: 1fr 1fr; }
  .book-actions .button { width: 100%; }
  .go-card { padding: 20px; }
  .go-table th { width: 40%; }
}
.guide-shell a.tool-card:not(.button):not(.guide-card) { color: var(--text); text-decoration: none; }
.guide-shell .tool-card strong { color: var(--text); }
.guide-shell .book-actions .button { text-decoration: none; }
