/* ─────────────────────────────────────────────
   webinar.css
   給家長的免費思考引導課報名頁與感謝頁專用樣式
   沿用 site.css 的色票與字體
   ───────────────────────────────────────────── */

.webinar-page {
  --wb-line: rgba(85, 66, 121, .16);
  --wb-card: rgba(255, 252, 247, .82);
  --wb-body: var(--ink-deep);
  --wb-muted: var(--muted);
  --wb-cta: #9a6f2c;
}

.webinar-page main {
  padding-top: 0;
}

/* 讓底部 sticky 條不遮住頁尾 */
.webinar-page .site-footer__content {
  padding-bottom: 96px;
}

/* ── 第一屏 ── */
.wb-hero,
.wb-hero .inner-hero__content {
  min-height: 0;
}

.wb-hero .inner-hero__content {
  padding-bottom: clamp(56px, 9vh, 96px);
}

.wb-hero .inner-hero__picture img {
  opacity: .55;
}

.wb-hero .inner-hero__picture {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

.wb-hero__body {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
  margin-top: clamp(20px, 5vh, 56px);
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(250, 247, 240, .95), 0 0 4px rgba(250, 247, 240, .9);
}

.inner-hero h1.wb-hero__title,
.wb-hero__title {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.4;
}

.inner-hero__content p.wb-hero__lead {
  margin: 0;
  color: var(--wb-body);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.9;
}

.wb-hero__course {
  margin-top: 8px;
}

.inner-hero__content p.wb-course-name,
.wb-course-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: .04em;
}

.inner-hero__content p.wb-course-type,
.wb-course-type {
  margin: 6px 0 0;
  color: var(--wb-cta);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: .12em;
}

.wb-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  color: var(--wb-body);
  font-size: 16px;
  list-style: none;
}

.wb-checks li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--gold);
  font-weight: 700;
}

.inner-hero__content p.wb-hero__date {
  margin: 0;
  color: var(--wb-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .06em;
}

.inner-hero__content p.wb-hero__brand {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
}

/* ── 按鈕 ── */
.wb-btn {
  display: inline-block;
  padding: 15px 38px;
  color: #fffaf0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .1em;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #b78a3d, #9a6f2c);
  box-shadow: 0 8px 22px rgba(120, 92, 40, .22);
  text-shadow: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.wb-btn:hover,
.wb-btn:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(120, 92, 40, .3);
}

.wb-btn:disabled {
  cursor: default;
  opacity: .6;
  transform: none;
}

.wb-btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(183, 138, 61, .6);
  background: none;
  box-shadow: none;
}

/* ── 共用段落 ── */
.wb-band {
  width: min(820px, 88%);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 88px) 0;
  color: var(--wb-body);
  text-align: center;
}

.wb-band + .wb-band {
  padding-top: clamp(24px, 4vh, 48px);
}

.wb-eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
}

.wb-h2 {
  margin: 0 0 30px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.5;
}

.wb-p {
  margin: 0 auto 20px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 2;
}

.wb-p--strong {
  color: var(--ink);
  font-weight: 700;
}

.wb-center {
  text-align: center;
}

.wb-quote {
  margin: 34px auto;
  padding: 18px 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.7;
  border-top: 1px solid rgba(183, 138, 61, .45);
  border-bottom: 1px solid rgba(183, 138, 61, .45);
}

.wb-note {
  margin: 0;
  color: var(--wb-muted);
  font-size: 14px;
}

/* 02 孩子的反應 */
.wb-signs {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 36px;
  padding: 0;
  list-style: none;
}

.wb-signs li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 18px;
  padding: 16px 22px;
  text-align: left;
  border: 1px solid rgba(183, 138, 61, .32);
  background: var(--wb-card);
}

.wb-signs__say {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

/* 03 列點 */
.wb-points {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 10px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.wb-points li {
  padding: 12px 18px 12px 44px;
  position: relative;
  color: var(--ink);
  font-weight: 700;
  background: var(--wb-card);
  border-left: 3px solid var(--gold);
}

.wb-points li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: var(--gold);
}

/* 04 對話比較 */
.wb-dialogue {
  margin: 10px 0 0;
}

.wb-dialogue__scene {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.9;
}

.wb-dialogue__scene strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}

.wb-dialogue__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wb-dialogue__card {
  padding: 24px 20px;
  border: 1px solid rgba(85, 66, 121, .18);
  background: var(--wb-card);
}

.wb-dialogue__card--open {
  border-color: rgba(183, 138, 61, .6);
  box-shadow: 0 10px 26px rgba(120, 92, 40, .1);
}

.wb-dialogue__label {
  margin: 0 0 10px;
  color: var(--wb-muted);
  font-size: 14px;
  letter-spacing: .1em;
}

.wb-dialogue__q {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.wb-dialogue__card--closed .wb-dialogue__q {
  color: var(--wb-muted);
}

.wb-dialogue__result {
  margin: 0;
  font-size: 15px;
}

.wb-dialogue__card--open .wb-dialogue__result {
  color: var(--wb-cta);
  font-weight: 700;
}

/* 05 三件事 */
.wb-learn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: wb-learn;
  text-align: left;
}

.wb-learn li {
  counter-increment: wb-learn;
  padding: 26px 22px;
  border: 1px solid rgba(183, 138, 61, .32);
  background: var(--wb-card);
}

.wb-learn li::before {
  content: counter(wb-learn);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: #fffaf0;
  font-weight: 700;
  border-radius: 50%;
  background: var(--gold);
}

.wb-learn h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.wb-learn p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

/* 06 案例 */
.wb-case {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 30px 0 10px;
}

.wb-case__item {
  flex: 1;
  max-width: 360px;
  margin: 0;
}

/* 星星人兩張圖依原比例完整顯示，不裁切 */
.wb-case__item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(183, 138, 61, .35);
  background: var(--wb-card);
  box-shadow: 0 10px 26px rgba(85, 66, 121, .12);
}

.wb-case__item figcaption {
  margin-top: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.wb-case__arrow {
  color: var(--gold);
  font-size: 30px;
}

/* 07 贈品 */
.wb-gift {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px);
  border: 1px solid rgba(183, 138, 61, .5);
  background:
    radial-gradient(circle at 12% 0%, rgba(231, 200, 121, .22), transparent 40%),
    var(--wb-card);
}

.wb-gift__tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  color: #fffaf0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 999px;
  background: var(--gold);
}

.wb-gift__tag::before {
  content: "🎁 ";
}

.wb-gift__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
}

.wb-gift__sub {
  margin: 8px 0 26px;
  color: var(--wb-cta);
  font-size: 17px;
  font-weight: 700;
}

/* 08 報名區 */
.wb-signup {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  width: min(980px, 90%);
  text-align: left;
  scroll-margin-top: 20px;
}

.wb-facts {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
}

.wb-facts div {
  display: grid;
  grid-template-columns: 5em 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--wb-line);
}

.wb-facts dt {
  color: var(--gold);
  font-weight: 700;
}

.wb-facts dd {
  margin: 0;
  color: var(--ink);
}

.wb-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(183, 138, 61, .4);
  background: var(--wb-card);
  box-shadow: 0 14px 34px rgba(39, 28, 74, .07);
}

.wb-form__title {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.wb-field {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.wb-field input,
.wb-field select {
  width: 100%;
  padding: 11px 14px;
  color: var(--ink-deep);
  font: inherit;
  font-weight: 400;
  border: 1px solid rgba(85, 66, 121, .25);
  border-radius: 0;
  background: rgba(255, 255, 255, .85);
}

.wb-field input:focus,
.wb-field select:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(183, 138, 61, .25);
}

.wb-form__note {
  margin: 0;
  color: var(--wb-muted);
  font-size: 13px;
}

.wb-form__note a {
  color: #6c4c93;
  border-bottom: 1px solid rgba(183, 138, 61, .5);
}

.wb-form__submit {
  justify-self: stretch;
  text-align: center;
}

.wb-form__status {
  margin: 0;
  min-height: 1.4em;
  color: #6c4c93;
  text-align: center;
}

.wb-form__steps {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  list-style: none;
  background: rgba(231, 200, 121, .14);
}

.wb-form__steps strong {
  margin-right: 10px;
  color: var(--gold);
}

/* 品牌收尾 */
.wb-outro p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
}

.wb-outro strong {
  color: var(--ink);
}

.wb-outro__link {
  display: inline-block;
  padding: 6px 0 2px;
  color: #6c4c93;
  font-size: 16px;
  border-bottom: 1px solid rgba(183, 138, 61, .5);
  transition: color .2s ease, border-color .2s ease;
}

.wb-outro__link:hover,
.wb-outro__link:focus-visible {
  color: var(--ink);
  border-bottom-color: #9a6f2c;
}

/* ── 底部 sticky 報名條 ── */
.wb-sticky {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  border-top: 1px solid rgba(183, 138, 61, .35);
  background: rgba(250, 247, 240, .94);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform .35s ease;
}

.wb-sticky.is-visible {
  transform: translateY(0);
}

.wb-sticky-text {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: .06em;
}

.wb-sticky .wb-btn {
  padding: 10px 26px;
  font-size: 16px;
}

.webinar-page .to-top {
  bottom: 84px;
}

/* ── 感謝頁 ── */
.wb-thanks {
  width: min(720px, 88%);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 80px) 0 clamp(80px, 12vh, 140px);
  color: var(--wb-body);
  text-align: center;
}

.wb-thanks h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
}

.wb-steps {
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.wb-steps li {
  padding: 22px 24px;
  border: 1px solid rgba(183, 138, 61, .35);
  background: var(--wb-card);
}

.wb-steps li.is-done {
  border-color: rgba(183, 138, 61, .7);
}

.wb-steps h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.wb-steps p {
  margin: 0;
  line-height: 1.8;
}

/* ── 手機 ── */
@media (max-width: 767px) {
  .inner-hero h1.wb-hero__title,
  .wb-hero__title {
    font-size: clamp(25px, 7vw, 30px);
  }

  .inner-hero__content p.wb-hero__lead br,
  .wb-p br {
    display: none;
  }

  .wb-checks {
    font-size: 14px;
  }

  .wb-band {
    text-align: left;
  }

  .wb-h2,
  .wb-eyebrow,
  .wb-quote,
  .wb-center,
  .wb-gift {
    text-align: center;
  }

  .wb-dialogue__compare,
  .wb-learn,
  .wb-signup {
    grid-template-columns: 1fr;
  }

  .wb-case {
    flex-direction: column;
    gap: 6px;
  }

  .wb-case__item {
    width: 100%;
    max-width: none;
  }

  .wb-case__arrow {
    font-size: 26px;
    transform: rotate(90deg);
  }

  .wb-sticky {
    gap: 12px;
    padding: 10px 14px;
  }

  .wb-sticky-text {
    font-size: 13px;
  }

  .wb-sticky .wb-btn {
    padding: 9px 18px;
    font-size: 15px;
    white-space: nowrap;
  }

  .webinar-page .to-top {
    bottom: 74px;
  }
}

.webinar-thanks-page main {
  padding-top: clamp(90px, 12vh, 130px);
}

.wb-thanks__cta {
  margin: 34px 0 10px;
}

.wb-thanks__back {
  margin-top: 40px;
}

/* 避免標語與標題斷行時最後只剩一兩個字 */
.wb-quote,
.wb-band h2,
.wb-thanks h1 {
  text-wrap: balance;
}

/* 標語只在標點或空白處換行 */
.wb-quote {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.wb-gift p {
  text-wrap: balance;
}

@media (max-width: 767px) {
  .wb-quote {
    padding: 16px 0;
    font-size: 17px;
  }
}

/* 03 為什麼是現在：副標、習慣對照、大字 */
.wb-lead {
  margin: 0 0 26px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700;
  line-height: 1.7;
  text-wrap: balance;
}

.wb-habits {
  max-width: 680px;
  margin: 0 auto 30px;
}

.wb-habits .wb-dialogue__q {
  font-size: clamp(18px, 1.6vw, 21px);
}

.wb-bigline {
  margin: clamp(40px, 6vh, 64px) auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.wb-bigline::before,
.wb-bigline::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 22px;
  background: var(--gold);
}

.wb-bigline::after {
  margin: 22px auto 0;
}

@media (max-width: 767px) {
  .wb-lead,
  .wb-bigline {
    text-align: center;
  }

  .wb-lead br {
    display: none;
  }

  .wb-bigline {
    font-size: clamp(24px, 6.8vw, 28px);
  }
}

/* 只在手機換行的 br */
.wb-br-m {
  display: none;
}

@media (max-width: 767px) {
  .wb-br-m {
    display: inline;
  }
}
