:root{
    --pfw-gold:#d4af37;
    --pfw-gold-dark:#9b7812;
    --pfw-black:#111111;
    --pfw-white:#ffffff;
    --pfw-text:#171717;
    --pfw-muted:#777777;
    --pfw-line:#e8e5de;
    --pfw-light:#f7f6f2;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    margin:0;
    padding:0;
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding:0;
    background:var(--pfw-white);
    color:var(--pfw-text);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.6;
}

img{
    max-width:100%;
}

a{
    color:inherit;
}

button,
input,
select,
textarea{
    font:inherit;
}

.site-header{
    width:100%;
    background:var(--pfw-black);
    color:var(--pfw-white);
    border-bottom:1px solid rgba(212,175,55,.25);
    position:relative;
    z-index:1000;
}

.site-header-inner{
    width:100%;
    min-height:76px;
    padding:10px clamp(18px,4vw,60px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.site-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    flex:none;
}

.site-brand img{
    width:46px;
    height:46px;
    object-fit:contain;
}

.site-brand span{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}

.site-brand strong{
    font-size:12px;
    letter-spacing:1.2px;
}

.site-brand small{
    margin-top:4px;
    color:var(--pfw-gold);
    font-size:7px;
    letter-spacing:2px;
    font-weight:800;
}

.site-navigation{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:clamp(12px,2vw,28px);
}

.site-navigation a{
    color:#d8d8d8;
    text-decoration:none;
    font-size:10px;
    font-weight:800;
    letter-spacing:.7px;
    white-space:nowrap;
    transition:color .15s ease;
}

.site-navigation a:hover{
    color:var(--pfw-gold);
}

.site-navigation .nav-portal{
    color:var(--pfw-black);
    background:var(--pfw-gold);
    padding:10px 14px;
    border-radius:2px;
}

.site-navigation .nav-portal:hover{
    color:var(--pfw-black);
    background:#e0bf50;
}

.site-menu-toggle{
    display:none;
    border:0;
    background:transparent;
    color:var(--pfw-white);
    padding:8px;
    cursor:pointer;
}

.site-menu-toggle span{
    display:block;
    width:24px;
    height:2px;
    margin:5px 0;
    background:var(--pfw-gold);
}

.site-main{
    width:100%;
    min-height:60vh;
    margin:0;
    padding:0;
}

.site-footer{
    width:100%;
    background:var(--pfw-black);
    color:#fff;
    border-top:1px solid rgba(212,175,55,.25);
}

.site-footer-inner{
    width:100%;
    padding:34px clamp(18px,4vw,60px);
    display:grid;
    grid-template-columns:1.5fr 1fr auto;
    align-items:end;
    gap:35px;
}

.footer-brand{
    color:var(--pfw-gold);
    font-weight:950;
    font-size:12px;
    letter-spacing:1.3px;
}

.site-footer p{
    margin:7px 0 0;
    color:#999;
    font-size:10px;
}

.footer-contact{
    display:flex;
    flex-direction:column;
    gap:3px;
    color:#999;
    font-size:9px;
}

.footer-contact strong{
    color:#fff;
    margin-bottom:3px;
    font-size:9px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.footer-copy{
    color:#777;
    font-size:8px;
    white-space:nowrap;
}

@media(max-width:850px){
    .site-header-inner{
        min-height:66px;
        padding:8px 16px;
    }

    .site-brand img{
        width:40px;
        height:40px;
    }

    .site-brand strong{
        font-size:10px;
    }

    .site-menu-toggle{
        display:block;
    }

    .site-navigation{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        padding:12px 16px 18px;
        background:var(--pfw-black);
        border-top:1px solid rgba(212,175,55,.18);
        flex-direction:column;
        align-items:stretch;
        gap:2px;
        box-shadow:0 15px 30px rgba(0,0,0,.2);
    }

    .site-navigation.is-open{
        display:flex;
    }

    .site-navigation a{
        padding:12px 8px;
    }

    .site-navigation .nav-portal{
        text-align:center;
        margin-top:5px;
    }

    .site-footer-inner{
        grid-template-columns:1fr;
        gap:22px;
        padding:28px 18px;
    }

    .footer-copy{
        white-space:normal;
    }
}


/* =========================================================
   ONLINE COURSE PAYMENT SUCCESS / CALLBACK PAGE
   ========================================================= */
.site-main > .page-head,
.site-main > .panel {
    width: min(100% - 36px, 900px);
    margin-left: auto;
    margin-right: auto;
}
.site-main > .page-head {
    padding: clamp(32px, 6vw, 64px) 0 24px;
}
.site-main > .page-head .eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--pfw-gold-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}
.site-main > .page-head h1 {
    margin: 0 0 12px;
    color: var(--pfw-black);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.12;
    letter-spacing: -1.2px;
}
.site-main > .page-head p {
    max-width: 680px;
    margin: 0;
    color: var(--pfw-muted);
    font-size: 15px;
    line-height: 1.8;
}
.site-main > .panel {
    margin-bottom: 24px;
    padding: clamp(22px, 4vw, 38px);
    overflow: hidden;
    background: var(--pfw-white);
    border: 1px solid var(--pfw-line);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(17,17,17,.06);
}
.site-main > .panel h2,
.site-main > .panel h3 {
    color: var(--pfw-black);
    line-height: 1.3;
}
.site-main > .panel h2 {
    margin: 0 0 10px;
    font-size: clamp(21px, 3vw, 27px);
}
.site-main > .panel h3 {
    margin: 0 0 8px;
    font-size: 17px;
}
.site-main > .panel p {
    color: #666;
    line-height: 1.75;
}
.site-main > .panel .btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #d9d5ca;
    border-radius: 5px;
    background: #fff;
    color: var(--pfw-black);
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.site-main > .panel .btn:hover {
    border-color: var(--pfw-gold-dark);
    background: #faf8f0;
}
.site-main > .panel .btn.primary {
    border-color: var(--pfw-gold);
    background: var(--pfw-gold);
    color: var(--pfw-black);
}
.site-main > .panel .btn.primary:hover {
    border-color: #e0bf50;
    background: #e0bf50;
}
.site-main > .panel a:focus-visible {
    outline: 3px solid rgba(212,175,55,.55);
    outline-offset: 3px;
}
.site-main > .panel [style*="background:#111"],
.site-main > .panel [style*="background: #111"] {
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 10px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.site-main > .panel [style*="background:#fff7dc"],
.site-main > .panel [style*="background: #fff7dc"] {
    color: #493b0b;
}
.site-main > .panel [style*="background:#fff7dc"] p,
.site-main > .panel [style*="background: #fff7dc"] p {
    color: #5f5228;
}
@media (max-width: 600px) {
    .site-main > .page-head,
    .site-main > .panel {
        width: calc(100% - 28px);
    }
    .site-main > .page-head {
        padding-top: 30px;
        padding-bottom: 18px;
    }
    .site-main > .page-head h1 { letter-spacing: -.6px; }
    .site-main > .page-head p { font-size: 14px; }
    .site-main > .panel {
        margin-bottom: 18px;
        padding: 20px 16px;
        border-radius: 11px;
    }
    .site-main > .panel [style*="font-size:28px"],
    .site-main > .panel [style*="font-size: 28px"] {
        font-size: clamp(19px, 6vw, 26px) !important;
        letter-spacing: 1.5px !important;
    }
    .site-main > .panel .btn { width: 100%; }
    .site-main > .panel [style*="display:flex"],
    .site-main > .panel [style*="display: flex"] {
        flex-direction: column;
    }
}

