.wt-book-promo {
  padding: 84px 0;
  background: #f4f7fa;
  color: #102b46;
}
.wt-book-promo__inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
}
.wt-book-promo__visual { margin: 0; }
.wt-book-promo__visual img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin-inline: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 48, 90, .14);
}
.wt-book-promo__eyebrow {
  margin: 0 0 14px;
  color: #c45d1b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}
.wt-book-promo__copy h2 {
  margin: 0;
  color: #003f82;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.35;
  letter-spacing: .01em;
}
.wt-book-promo__copy h2 > span { white-space: nowrap; }
.wt-book-promo__copy h2 .wt-book-promo__keep { white-space: nowrap; }
.wt-book-promo__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #263b50;
  font-size: 17px;
  line-height: 1.95;
}
.wt-book-promo__meta {
  margin: 16px 0 0;
  color: #53687b;
  font-size: 14px;
  font-weight: 700;
}
.wt-book-promo__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.wt-book-promo__open,
.wt-book-modal__consult {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #d9641d;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.wt-book-promo__open { min-width: 210px; padding: 0 32px; }
.wt-book-promo__open:hover,
.wt-book-promo__open:focus-visible,
.wt-book-modal__consult:hover,
.wt-book-modal__consult:focus-visible { background: #b84f10; color: #fff; }
.wt-book-promo__about {
  color: #003f82;
  font-weight: 800;
  text-underline-offset: 5px;
}
.wt-book-promo__open:focus-visible,
.wt-book-promo__about:focus-visible,
.wt-book-modal a:focus-visible,
.wt-book-modal button:focus-visible { outline: 3px solid #ef9a54; outline-offset: 3px; }

.wt-book-modal {
  width: min(96vw, 1440px);
  height: min(92dvh, 980px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #102b46;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 25, 52, .32);
}
.wt-book-modal::backdrop { background: rgba(0, 25, 52, .72); }
.wt-book-modal__shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.wt-book-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 20px 14px 28px;
  background: #003f82;
  color: #fff;
}
.wt-book-modal__head span { font-size: 10px; font-weight: 800; letter-spacing: .15em; opacity: .78; }
.wt-book-modal__head h2 { margin: 3px 0 0; color: inherit; font-size: clamp(17px, 2vw, 24px); line-height: 1.35; }
.wt-book-modal__close {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.wt-book-modal__close span { font-size: 26px; line-height: .8; opacity: 1; }
.wt-book-modal__close small { font-size: 13px; font-weight: 800; }
.wt-book-modal__reader { position: relative; min-height: 0; background: #e8edf2; }
.wt-book-modal__reader iframe { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .2s ease; }
.wt-book-modal__reader.is-loaded iframe { opacity: 1; }
.wt-book-modal__loading { position: absolute; inset: 50% auto auto 50%; margin: 0; transform: translate(-50%, -50%); color: #526779; font-size: 14px; }
.wt-book-modal__reader.is-loaded .wt-book-modal__loading { display: none; }
.wt-book-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  border-top: 1px solid #dce4eb;
  background: #fff;
}
.wt-book-modal__foot p { margin: 0; font-size: 14px; line-height: 1.65; }
.wt-book-modal__foot > div { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.wt-book-modal__foot a { color: #003f82; font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.wt-book-modal__foot .wt-book-modal__consult { min-height: 42px; padding: 0 20px; color: #fff; text-decoration: none; }
html.wt-book-modal-open { overflow: hidden; }

.wt-digital-book-embed {
  margin: 32px 0;
  padding: 24px;
  background: #f4f7fa;
}
.wt-digital-book-embed__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 24px;
  margin-bottom: 18px;
}
.wt-digital-book-embed__head p { grid-column: 1; margin: 0; color: #c45d1b; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.wt-digital-book-embed__head h2 { grid-column: 1; margin: 0; color: #003f82; font-size: clamp(24px, 3vw, 34px); line-height: 1.4; }
.wt-digital-book-embed__head a { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #003f82; font-weight: 800; text-underline-offset: 5px; }
.wt-digital-book-embed__reader { height: min(76vh, 820px); min-height: 560px; background: #e8edf2; }
.wt-digital-book-embed__reader iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 700px) {
  .wt-book-promo { padding: 48px 0; }
  .wt-book-promo__inner { grid-template-columns: 1fr; gap: 28px; }
  .wt-book-promo__visual { width: min(100%, 520px); margin-inline: auto; }
  .wt-book-promo__copy h2 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.42; }
  .wt-book-promo__copy h2 > span { white-space: normal; }
  .wt-book-promo__lead { margin-top: 18px; font-size: 16px; line-height: 1.8; }
  .wt-book-promo__actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 24px; }
  .wt-book-promo__open { width: 100%; }
  .wt-book-promo__about { align-self: center; }
  .wt-book-modal { width: 100vw; height: 100dvh; border-radius: 0; }
  .wt-book-modal__head { min-height: 64px; padding: 10px 12px 10px 16px; gap: 10px; }
  .wt-book-modal__head h2 { font-size: 15px; }
  .wt-book-modal__head span { font-size: 8px; }
  .wt-book-modal__close { grid-template-columns: 1fr; gap: 1px; min-width: 48px; padding: 7px 6px; }
  .wt-book-modal__close span { font-size: 22px; }
  .wt-book-modal__close small { font-size: 10px; }
  .wt-book-modal__foot { align-items: stretch; flex-direction: column; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .wt-book-modal__foot p { display: none; }
  .wt-book-modal__foot > div { justify-content: space-between; gap: 12px; }
  .wt-book-modal__foot .wt-book-modal__consult { min-height: 40px; padding: 0 14px; }
  .wt-digital-book-embed { margin: 24px 0; padding: 16px; }
  .wt-digital-book-embed__head { grid-template-columns: 1fr; gap: 6px; margin-bottom: 14px; }
  .wt-digital-book-embed__head p,
  .wt-digital-book-embed__head h2,
  .wt-digital-book-embed__head a { grid-column: 1; grid-row: auto; }
  .wt-digital-book-embed__head a { margin-top: 6px; }
  .wt-digital-book-embed__reader { height: 72dvh; min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .wt-book-modal__reader iframe { transition: none; }
}
