/* Pricing & Booking page (pricing.html, js/pricing.js) */
.pr-section [hidden] { display: none !important; }
.pr-section { padding-top: 4rem; }

.pr-banner {
  display: grid; gap: .25rem;
  margin: 0 0 2.5rem; padding: 1.1rem 1.3rem;
  border-radius: 16px; background: #fff; border: 1px solid var(--pp-line);
}
.pr-banner--ok { background: #ecfdf3; border-color: #a7e8c3; color: #14532d; }

.pr-block { margin-bottom: 5rem; scroll-margin-top: 90px; }
.pr-head { max-width: 720px; margin-bottom: 2rem; }
.pr-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .6rem; }
.pr-head p { color: var(--pp-muted); margin: 0; line-height: 1.6; }

.pr-grid { display: grid; gap: 1.25rem; }
.pr-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pr-grid--videos { grid-template-columns: repeat(6, 1fr); }
.pr-grid--videos > * { grid-column: span 2; }
/* five plans: one row on wide screens; otherwise 3 + 2 (centred), 2 + 2 + 1, then one column */
@media (min-width: 1100px) { .pr-grid--videos { grid-template-columns: repeat(5, 1fr); } .pr-grid--videos > * { grid-column: auto; } }
@media (min-width: 761px) and (max-width: 1099px) { .pr-grid--videos > :nth-child(4) { grid-column: 2 / span 2; } }
@media (max-width: 760px) { .pr-grid--videos { grid-template-columns: 1fr 1fr; } .pr-grid--videos > * { grid-column: auto; } }
@media (max-width: 500px) { .pr-grid--videos { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .pr-trust-logos li { flex-basis: calc(33.33% - .5rem); height: 54px; } }
.pr-card--video .btn { width: 100%; padding: .75rem 1rem; white-space: nowrap; }

.pr-card {
  position: relative;
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(27, 31, 42, .35);
}
.pr-card h3 { margin: 0; font-size: 1.35rem; }
.pr-card .btn { margin-top: auto; justify-content: center; text-align: center; }
.pr-card--feature { border-color: rgba(124, 77, 255, .45); box-shadow: 0 24px 50px -26px rgba(124, 77, 255, .45); }
.pr-card--wide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start; }
.pr-card--wide .btn { margin-top: .4rem; }
@media (max-width: 760px) { .pr-card--wide { grid-template-columns: 1fr; gap: 1rem; } }

.pr-tag {
  position: absolute; top: -11px; right: 18px;
  padding: .25rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--gradient-cta);
}
.pr-sub { margin: 0; color: var(--pp-muted); line-height: 1.55; }
.pr-price { margin: .2rem 0 0; font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 800; color: var(--pp-ink); letter-spacing: -.01em; }
.pr-price small { font-size: .85rem; font-weight: 600; color: var(--pp-muted); letter-spacing: 0; }
.pr-rule { margin: 0; font-size: .92rem; color: var(--pp-purple-deep); font-weight: 600; }
.pr-best { margin: 0; font-size: .9rem; color: var(--pp-muted); }

.pr-list { list-style: none; margin: .2rem 0 .6rem; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.pr-list li { position: relative; padding-left: 1.5rem; line-height: 1.45; }
.pr-list li::before {
  content: ''; position: absolute; left: 0; top: .35em;
  width: .9em; height: .9em; border-radius: 50%;
  background: rgba(124, 77, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237c4dff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.pr-more { font-weight: 600; color: var(--pp-purple-deep); text-decoration: none; margin-top: .3rem; display: inline-block; }

/* Live calculator on the game cards */
.pr-calc {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .7rem .9rem; border-radius: 14px; background: #f5f1ff;
}
.pr-calc span { font-weight: 600; font-size: .9rem; }
.pr-calc input { width: 6.5rem; padding: .45rem .6rem; border: 1px solid var(--pp-line); border-radius: 10px; font: inherit; }
.pr-calc output { margin-left: auto; font-weight: 800; font-size: 1.15rem; color: var(--pp-purple-deep); }

/* Video plans */
.pr-card--video { padding-top: 1.8rem; }
.pr-len { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--pp-purple); letter-spacing: -.02em; }
.pr-len small { font-size: .9rem; font-weight: 700; margin-left: .2rem; color: var(--pp-muted); letter-spacing: 0; }
.pr-card--video .pr-price { font-size: 1.6rem; }

.pr-guide {
  margin-top: 1.75rem; padding: 1.5rem 1.6rem;
  border-radius: 22px; background: #fff; border: 1px dashed rgba(124, 77, 255, .45);
}
.pr-guide h3 { margin: 0 0 .7rem; font-size: 1.15rem; }
.pr-guide ul { margin: 0 0 .9rem; padding-left: 1.1rem; display: grid; gap: .4rem; line-height: 1.5; }
.pr-addons { margin: 0; color: var(--pp-muted); font-size: .93rem; line-height: 1.6; }

/* Booking form */
.pr-form { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .pr-form { grid-template-columns: 1fr; } }
.pr-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding: 1.6rem; background: #fff; border: 1px solid var(--pp-line); border-radius: 22px;
}
@media (max-width: 560px) { .pr-form-grid { grid-template-columns: 1fr; padding: 1.2rem; } }
.pr-field { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.pr-field small { font-weight: 400; color: var(--pp-muted); }
.pr-field--full { grid-column: 1 / -1; }
.pr-field input, .pr-field select, .pr-field textarea {
  width: 100%; box-sizing: border-box;
  padding: .7rem .8rem; border: 1px solid #d9d3ec; border-radius: 12px;
  font: inherit; font-weight: 400; color: var(--pp-ink); background: #fbfaff;
}
.pr-field input:focus, .pr-field select:focus, .pr-field textarea:focus,
.pr-calc input:focus { outline: 2px solid var(--pp-purple); outline-offset: 1px; border-color: transparent; }
.pr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pr-summary {
  position: sticky; top: 96px;
  display: grid; gap: .8rem;
  padding: 1.6rem; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #3a2780 0%, rgba(58, 39, 128, 0) 60%), linear-gradient(160deg, #12141b 0%, #1b1f2a 60%, #221a3f 100%);
}
.pr-summary h3 { margin: 0; font-size: 1rem; color: #c3b2ff; text-transform: uppercase; letter-spacing: .12em; }
.pr-sum-name { margin: 0; font-size: 1.2rem; font-weight: 700; }
.pr-summary dl { margin: 0; display: grid; gap: .5rem; }
.pr-summary dl div { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, .78); }
.pr-summary dd { margin: 0; font-weight: 700; color: #fff; white-space: nowrap; }
.pr-sum-pay { padding: .6rem 0; border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pr-sum-pay dt { color: #fff; font-weight: 700; }
.pr-sum-pay dd { font-size: 1.5rem; color: #d6c7ff; }
.pr-sum-note { margin: 0; font-size: .88rem; color: #fde68a; }
.pr-agree { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: rgba(255, 255, 255, .85); line-height: 1.45; }
.pr-agree input { margin-top: .2rem; accent-color: #7c4dff; }
.pr-pay { width: 100%; justify-content: center; font-size: 1.02rem; padding: .95rem 1.2rem; }
.pr-pay:disabled { opacity: .7; cursor: progress; transform: none; }
.pr-error { margin: 0; padding: .7rem .8rem; border-radius: 12px; background: rgba(248, 113, 113, .15); color: #fecaca; font-size: .9rem; line-height: 1.5; }
.pr-error a { color: #fff; font-weight: 700; }
.pr-secure { margin: 0; display: flex; gap: .45rem; align-items: center; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.pr-secure .pp-icon { width: 1.1em; height: 1.1em; flex: none; }
.pr-wa { color: #a7f3d0; font-weight: 600; font-size: .92rem; text-decoration: none; }
.pr-wa:hover { text-decoration: underline; }
.pr-done { display: grid; gap: .3rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(52, 211, 153, .15); color: #d1fae5; font-size: .92rem; line-height: 1.5; }
.pr-done strong { color: #fff; font-size: 1.05rem; }

/* Date + time picker for personal classes */
.pr-pick { gap: .7rem; }
.pr-cal { border: 1px solid #d9d3ec; border-radius: 16px; padding: .8rem; background: #fbfaff; max-width: 420px; }
.pr-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.pr-cal-head strong { font-size: 1rem; }
.pr-cal-head button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pp-line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--pp-ink); }
.pr-cal-head button:disabled { opacity: .35; cursor: default; }
.pr-cal-week, .pr-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.pr-cal-week span { font-size: .72rem; font-weight: 700; color: var(--pp-muted); padding: .2rem 0; }
.pr-cal-grid button {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  background: #fff; color: var(--pp-ink);
}
.pr-cal-grid button.is-open { background: #ecfdf3; border-color: #a7e8c3; color: #14532d; }
.pr-cal-grid button.is-tbc { background: #fff7ed; border-color: #fdba74; color: #9a3412; }
.pr-cal-grid button.is-closed, .pr-cal-grid button:disabled { background: transparent; color: #b8b4c8; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.15); }
.pr-cal-grid button.is-picked { background: var(--pp-purple); border-color: var(--pp-purple); color: #fff; }
.pr-cal-legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .6rem; font-size: .75rem; font-weight: 500; color: var(--pp-muted); }
.pr-cal-legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.pr-cal-legend .is-open { background: #a7e8c3; } .pr-cal-legend .is-tbc { background: #fdba74; } .pr-cal-legend .is-closed { background: #e5e2ee; }
.pr-slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.pr-slots button { padding: .55rem .95rem; border-radius: 999px; border: 1px solid #d9d3ec; background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: var(--pp-ink); }
.pr-slots button.is-picked { background: var(--pp-purple); border-color: var(--pp-purple); color: #fff; }
.pr-slot-hint { margin: 0; font-weight: 400; color: var(--pp-muted); font-size: .9rem; }
.pr-slot-note { margin: 0; padding: .55rem .8rem; border-radius: 10px; background: #fff7ed; color: #9a3412; font-weight: 500; font-size: .88rem; }

/* Full-day talk: credentials + "Trusted by" logos */
.pr-badges { display: flex; gap: .6rem; align-items: center; margin-top: .4rem; }
.pr-badges img { height: 56px; width: auto; }
.pr-trust { margin-top: 2rem; text-align: center; }
.pr-trust-title { margin: 0 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-muted); }
.pr-trust-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.pr-trust-logos li { flex: 0 0 128px; display: flex; align-items: center; justify-content: center; height: 64px; padding: .55rem .8rem; background: #fff; border: 1px solid var(--pp-line); border-radius: 14px; }
.pr-trust-logos img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.pr-trust-logos li:hover img { filter: none; opacity: 1; }
.pr-trust-more { margin: 1rem 0 0; font-size: .92rem; }
.pr-trust-more a { color: var(--pp-purple-deep); font-weight: 600; text-decoration: none; }
.pr-boxes { display: block; width: 100%; max-width: 520px; height: auto; margin: .6rem 0 .4rem; }
/* In-house rates table (direct vs HRD Corp claimable) */
.pr-rates { width: 100%; border-collapse: collapse; margin: .6rem 0 .5rem; font-size: .95rem; }
.pr-rates th, .pr-rates td { padding: .5rem .6rem; border-bottom: 1px solid var(--pp-line); text-align: left; }
.pr-rates thead th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-muted); }
.pr-rates td { font-weight: 700; color: var(--pp-ink); white-space: nowrap; }
.pr-rates tbody th { font-weight: 600; }

/* Review voucher */
.pr-voucher-row { display: flex; gap: 8px; }
.pr-voucher-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.pr-voucher-row .btn { padding: .55rem 1rem; }
.pr-voucher-msg { font-weight: 600 !important; }
.pr-voucher-msg.is-ok { color: #12734a !important; }
.pr-voucher-msg.is-err { color: #b42318 !important; }
.pr-sum-disc { color: #12734a; font-weight: 700; }
