/* /private-training. Everything is scoped to .pt so the theme's styles don't leak in or out.
   Colours are the site's: blue #086ad8 (hover #0a57b4), navy #0b1f44, yellow #ffc107. */
@font-face { font-family: "SN Cerebri"; src: url("/assets/fonts/cerebrisans/CerebriSans-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

.pt { --blue: #086ad8; --blue-dark: #0a57b4; --navy: #0b1f44; --yellow: #ffc107; --ink: #1f1f1f; --muted: #5f6672; --body: #3d434c; --line: #e6e8ec; --field: #d8dce4; --tint: #f2f6fd; --tint-line: #dbe6f7;
    color: var(--ink); font-size: 16px; line-height: 1.5; }
.pt, .pt * { font-family: "SN Cerebri", "CerebriSans", sans-serif; box-sizing: border-box; }
.pt h1, .pt h2, .pt h3, .pt p, .pt ul, .pt figure { margin: 0; padding: 0; }
.pt h1, .pt h2, .pt h3 { color: var(--ink); }
.pt a { text-decoration: none; }
.pt .i { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.pt-sec[id] { scroll-margin-top: 100px; }
.pt-w { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pt :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.pt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: one primary blue, one secondary outline */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 14px; font-weight: 600; font-size: 17px; line-height: 1.2; cursor: pointer; border: 1.5px solid var(--blue); }
.pt-btn--primary { background: var(--blue); color: #fff !important; box-shadow: 0 12px 30px rgba(8, 106, 216, .3); }
.pt-btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.pt-btn--secondary { background: #fff; color: var(--blue) !important; }
.pt-btn--secondary:hover { background: var(--tint); }

/* Hero */
.pt-hero { position: relative; padding: 150px 0 90px; background-color: var(--tint); background-image: linear-gradient(rgba(8, 106, 216, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 106, 216, .07) 1px, transparent 1px); background-size: 44px 44px; overflow: hidden; }
.pt-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.pt-proof { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--tint-line); border-radius: 999px; padding: 6px 22px 6px 6px; font-size: 18px; color: var(--body); box-shadow: 0 6px 20px rgba(11, 31, 68, .06); }
.pt-proof b { color: var(--ink); font-weight: 700; }
.pt-stack { display: flex; }
.pt-stack img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; }
.pt-stack img:first-child { margin-left: 0; }
.pt h1.pt-h1 { font-size: 74px; line-height: 1; font-weight: 800; letter-spacing: -2.2px; margin: 28px 0 24px; max-width: 640px; }
.pt-hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 94%, transparent 94%); padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pt-sub { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 540px; }
.pt-ctas { display: flex; gap: 14px; margin: 34px 0 40px; flex-wrap: wrap; }
.pt-ctas .pt-btn { min-height: 58px; padding: 16px 26px; font-size: 18px; border-radius: 16px; }
.pt-facts { display: flex; gap: 40px; list-style: none; }
.pt-facts b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.pt-facts span { color: var(--muted); font-size: 16px; }

.pt-visual { position: relative; min-height: 650px; }
.pt-photo { position: absolute; right: 0; top: 0; width: 84%; height: 650px; border-radius: 30px; overflow: hidden; }
.pt-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }

/* Schedule card */
.pt-card { position: absolute; left: -40px; top: 10px; width: 380px; background: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 24px 60px rgba(11, 31, 68, .18); }
.pt-card__head { display: flex; align-items: center; gap: 12px; }
.pt-card__av { width: 48px; height: 48px; border-radius: 50%; background: #e7f0fc; color: var(--blue); display: grid; place-items: center; font-size: 22px; flex: none; }
.pt-card__title { flex: 1; min-width: 0; }
.pt-card__title b { display: block; font-size: 18px; }
.pt-card__course { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.pt .pt-card__course select { width: auto; max-width: 190px; field-sizing: content; font-size: 15px; color: var(--blue-dark); font-weight: 600; border: 0; padding: 2px 18px 2px 0; height: auto; cursor: pointer; -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a57b4' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 14px; }
.pt-badge { background: #e3f6ea; color: #14713b; font-weight: 600; font-size: 13px; border-radius: 999px; padding: 6px 12px; }
.pt-card__label { color: var(--muted); font-size: 14px; margin: 18px 0 8px !important; }
.pt-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.pt .pt-day { font-weight: 600; font-size: 14px; border: 0; background: #f2f3f7; color: var(--ink); border-radius: 10px; padding: 11px 0; cursor: pointer; line-height: 1.2; }
.pt .pt-day[aria-pressed="true"] { background: var(--blue); color: #fff; }
.pt-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pt .pt-time { font-weight: 600; font-size: 15px; background: #fff; color: var(--ink); border: 1px solid var(--field); border-radius: 12px; padding: 9px 4px; display: flex; flex-direction: column; align-items: center; cursor: pointer; line-height: 1.3; }
.pt .pt-time small { font-weight: 400; color: var(--muted); font-size: 12px; }
.pt .pt-time[aria-pressed="true"] { border: 2px solid var(--blue); color: var(--blue-dark); padding: 8px 3px; }
.pt-card .pt-btn { width: 100%; margin-top: 16px; min-height: 48px; font-size: 16px; border-radius: 12px; box-shadow: none; }
.pt-card__help { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px !important; }

/* Sections */
.pt-sec { padding: 90px 0; }
.pt-sec--gray { background: #f7f8fa; }
.pt h2.pt-h2 { font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -1px; max-width: 720px; }
.pt-lede { font-size: 18px; color: var(--muted); margin: 14px 0 40px !important; max-width: 640px; line-height: 1.55; }
.pt-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 21px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--blue); }

.pt-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pt-who > div { border-radius: 22px; padding: 28px; min-height: 220px; background: var(--tint); }
.pt-who > div:nth-child(2) { background: #fff7dd; }
.pt-who .pt-tile { width: 50px; height: 50px; font-size: 24px; margin-bottom: 40px; background: #fff; }
.pt-who h3 { font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.pt-who p { font-size: 16px; line-height: 1.5; color: var(--body); }

.pt-ben { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #eceef2; }
.pt-ben > div { padding: 28px 28px 28px 0; border-bottom: 1px solid #eceef2; }
.pt-ben h3 { font-size: 19px; font-weight: 700; margin: 14px 0 6px; }
.pt-ben p { color: var(--muted); line-height: 1.5; }

.pt-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
.pt-course { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; color: var(--ink) !important; height: 100%; }
a.pt-course:hover { border-color: var(--blue); }
.pt-course b { display: block; font-size: 16px; }
.pt-course small { color: var(--muted); font-size: 13px; }

.pt-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pt-plan { border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; background: #fff; }
.pt-plan--pop { background: var(--navy); border-color: var(--navy); color: #fff; }
.pt .pt-plan--pop h3 { color: #fff; }
.pt-plan__tag { align-self: flex-start; font-size: 13px; font-weight: 700; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.pt-plan h3 { font-size: 26px; font-weight: 800; }
.pt-plan__for { margin: 8px 0 20px !important; opacity: .85; line-height: 1.45; }
.pt-plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.pt-plan li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; }
/* Filled check badge: blue on white cards, yellow on the navy card */
.pt-plan li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 0; border-radius: 50%; background: #e7f0fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23086ad8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") no-repeat center / 14px; }
.pt-plan--pop li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E"); }
.pt-plan__price { margin-top: auto !important; font-size: 15px; opacity: .85; }
.pt-plan .pt-btn { margin-top: 12px; width: 100%; box-shadow: none; min-height: 48px; font-size: 16px; border-radius: 12px; }
.pt-note { margin-top: 22px !important; color: var(--muted); }

.pt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; }
.pt-steps li { border-top: 3px solid var(--blue); padding-top: 18px; }
.pt-steps span { font-size: 14px; font-weight: 700; color: var(--blue); }
.pt-steps h3 { font-size: 20px; font-weight: 700; margin: 8px 0; }
.pt-steps p { color: var(--muted); line-height: 1.5; }

/* Request form */
.pt-form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.pt-fbox { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pt-f label, .pt-f legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); padding: 0; }
.pt-f fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pt .pt-f input[type=text], .pt .pt-f input[type=email], .pt .pt-f input[type=tel], .pt .pt-f select, .pt .pt-f textarea { width: 100%; font-size: 16px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px; background: #fff; color: var(--ink); height: auto; line-height: 1.4; }
.pt .pt-f select { appearance: auto; }
.pt .pt-f [aria-invalid="true"] { border-color: #c62828; }
.pt-full { grid-column: 1 / -1; }
.pt-err { color: #c62828; font-size: 14px; margin-top: 6px !important; }
.pt-opt { font-weight: 400; color: var(--muted); }
.pt-dayrow { display: flex; gap: 6px; flex-wrap: wrap; }
.pt-dayrow label { margin: 0; position: relative; }
.pt-dayrow input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-dayrow span { display: inline-block; border: 1px solid var(--field); border-radius: 10px; padding: 9px 13px; font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; }
.pt-dayrow input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.pt-dayrow input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.pt-fbox .pt-btn { grid-column: 1 / -1; width: 100%; box-shadow: none; }
.pt-fine { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; }
.pt-alert { grid-column: 1 / -1; background: #fdecea; color: #8a1c1c; border-radius: 12px; padding: 12px 14px; font-size: 15px; }

/* FAQ */
.pt-faq { margin-top: 30px; }
.pt-faq details { border-bottom: 1px solid var(--line); }
.pt-faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.pt-faq details[open] summary::after { content: "–"; }
.pt-faq details p { padding: 0 0 20px; color: var(--body); max-width: 760px; font-size: 16px; }

/* Closing */
.pt-cta { background: var(--navy); border-radius: 30px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.pt .pt-cta h2 { color: #fff; }
.pt-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pt-cta .pt-btn { box-shadow: none; }
.pt-more__title { font-size: 22px; font-weight: 700; margin: 60px 0 18px !important; }
.pt-more { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; }
.pt-more a { border-radius: 20px; padding: 22px; font-weight: 700; font-size: 20px; display: flex; justify-content: space-between; align-items: flex-end; min-height: 120px; background: var(--blue); color: #fff !important; }
.pt-more a:hover { background: var(--blue-dark); }

/* Header overlays the hero only on wide screens (see site-nav.css) */
@media (max-width: 991.98px) {
    .pt-hero { padding-top: 60px; }
    .pt-hero__grid, .pt-form { grid-template-columns: minmax(0, 1fr); }
    .pt-visual { margin-top: 10px; }
}
@media (max-width: 1100px) and (min-width: 992px) {
    .pt h1.pt-h1 { font-size: 60px; }
    .pt-card { left: -10px; width: 350px; }
}
@media (max-width: 991.98px) {
    .pt-visual { min-height: 0; display: flex; flex-direction: column; }
    .pt-photo { position: relative; width: 100%; height: 420px; }
    .pt-photo img { object-position: center 85%; }
    .pt-card { position: relative; left: 0; top: 0; width: auto; max-width: 520px; margin: -40px 12px 0; align-self: center; }
}
@media (max-width: 767.98px) {
    .pt-who, .pt-courses, .pt-plans, .pt-steps, .pt-ben, .pt-more { grid-template-columns: minmax(0, 1fr); }
    .pt-sec { padding: 56px 0; }
    .pt h2.pt-h2 { font-size: 32px; }
    .pt-fbox { grid-template-columns: minmax(0, 1fr); padding: 20px; }
    .pt-cta { flex-direction: column; align-items: stretch; padding: 32px 24px; }
    .pt-cta__btns { flex-direction: column; }
    .pt-ben > div { padding: 22px 0; }
    .pt-more a { min-height: 84px; }
    .pt-btn { width: 100%; }
}
@media (max-width: 640px) {
    .pt-hero { padding: 40px 0 50px; }
    .pt h1.pt-h1 { font-size: 40px; letter-spacing: -1px; }
    .pt-sub { font-size: 17px; }
    .pt-ctas { flex-direction: column; }
    .pt-facts { gap: 22px; }
    .pt-facts b { font-size: 22px; }
    .pt-facts span { font-size: 13px; }
    .pt-proof { font-size: 15px; gap: 10px; padding-right: 16px; }
    .pt-stack img { width: 36px; height: 36px; margin-left: -10px; }
    .pt-photo { height: 340px; border-radius: 22px; }
    .pt-card__course .pt-o1 { display: none; }
    .pt .pt-day { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pt * { scroll-behavior: auto !important; transition: none !important; } }

/* The phone Request bar uses the page's primary blue */
.mobile-apply-bar .mobile-apply-bar__apply { background: #086ad8; color: #fff; }
.mobile-apply-bar .mobile-apply-bar__chat { color: #086ad8; border-color: #086ad8; }

/* Success pop-up after a request */
.pt-modal { --blue: #086ad8; --blue-dark: #0a57b4; --tint: #f2f6fd; border: 0; padding: 0; background: transparent; max-width: 460px; width: calc(100% - 32px); overflow: visible; color: #1f1f1f; }
.pt-modal::backdrop { background: rgba(11, 31, 68, .55); backdrop-filter: blur(4px); animation: pt-fade .25s ease-out; }
.pt-modal[open] .pt-modal__card { animation: pt-pop .45s cubic-bezier(.2, .9, .3, 1.2); }
.pt-modal__card { position: relative; background: #fff; border-radius: 28px; padding: 36px 28px 28px; text-align: center; box-shadow: 0 30px 80px rgba(11, 31, 68, .35); }
.pt-modal, .pt-modal * { font-family: "SN Cerebri", "CerebriSans", sans-serif; box-sizing: border-box; }
.pt-modal h2 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin: 18px 0 6px; color: #1f1f1f; line-height: 1.2; }
.pt-modal__lede { color: #5f6672; font-size: 16px; margin: 0 0 20px; }
.pt-modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f3f7; color: #3d434c; display: grid; place-items: center; cursor: pointer; }
.pt-modal__x svg { width: 18px; height: 18px; }
.pt-modal__x:hover { background: #e6e8ec; }

.pt-tick { position: relative; width: 88px; height: 88px; margin: 0 auto; }
.pt-tick svg { position: relative; width: 88px; height: 88px; }
.pt-tick__circle { fill: #086ad8; stroke: #086ad8; stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; transform-origin: center; animation: pt-draw .5s .1s ease-out forwards, pt-fill .3s .5s ease-out both; }
.pt-tick__check { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: pt-draw .35s .65s ease-out forwards; }
.pt-tick__ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(8, 106, 216, .18); animation: pt-ring 1.2s .6s ease-out both; }
.pt-tick__burst i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #ffc107; opacity: 0; transform: rotate(var(--a)) translateY(0); animation: pt-burst .7s .6s ease-out forwards; }
.pt-tick__burst i:nth-child(even) { background: #086ad8; width: 6px; height: 6px; margin: -3px; }

.pt-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e6e8ec; border: 1px solid #e6e8ec; border-radius: 16px; overflow: hidden; margin: 0 0 20px; text-align: left; }
.pt-summary div { background: #f7f9fc; padding: 12px 14px; }
.pt-summary dt { font-size: 12px; color: #5f6672; font-weight: 500; }
.pt-summary dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: #1f1f1f; }

.pt-next { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; display: grid; gap: 10px; }
.pt-next li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #5f6672; }
.pt-next span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d8dce4; flex: none; }
.pt-next .is-done { color: #1f1f1f; }
.pt-next .is-done span { border-color: #14713b; background: #14713b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") no-repeat center / 13px; }
.pt-next .is-now { color: #1f1f1f; font-weight: 600; }
.pt-next .is-now span { border-color: #086ad8; box-shadow: inset 0 0 0 4px #fff; background: #086ad8; animation: pt-pulse 1.6s ease-in-out infinite; }

.pt-modal__btns { display: grid; gap: 10px; }
.pt-modal__btns .pt-btn { width: 100%; box-shadow: none; min-height: 52px; }
.pt-modal .pt-btn { font-size: 17px; }

@keyframes pt-fade { from { opacity: 0; } }
@keyframes pt-pop { from { opacity: 0; transform: translateY(24px) scale(.94); } }
@keyframes pt-draw { to { stroke-dashoffset: 0; } }
@keyframes pt-fill { from { fill: #fff; } }
@keyframes pt-ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pt-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-62px); } }
@keyframes pt-pulse { 50% { box-shadow: inset 0 0 0 4px #fff, 0 0 0 5px rgba(8, 106, 216, .18); } }

@media (max-width: 480px) {
    .pt-modal { margin: auto auto 0; width: 100%; max-width: none; }
    .pt-modal__card { border-radius: 28px 28px 0 0; padding: 32px 20px 24px; }
    .pt-modal[open] .pt-modal__card { animation: pt-sheet .4s cubic-bezier(.2, .9, .3, 1); }
    .pt-modal h2 { font-size: 23px; }
}
@keyframes pt-sheet { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
    .pt-modal *, .pt-modal::backdrop, .pt-modal__card { animation: none !important; }
    .pt-tick__circle, .pt-tick__check { stroke-dashoffset: 0; }
    .pt-tick__ring, .pt-tick__burst { display: none; }
}
