/*
* Customer-facing website page components
* Shared building blocks for the marketing pages (hero banner, section titles, cards, steps,
* checklists, call-to-action band). The hero image is set per page with an inline style.
*/
/* ---------- hero ---------- */
.pg-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-start;
    background-color: #0b5f99;
    background-size: cover;
    background-position: center bottom;
    overflow: hidden;
}

.pg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 57, 75, .92) 0%, rgba(18, 57, 75, .75) 38%, rgba(18, 57, 75, 0) 70%);
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 72%);
    mask-image: linear-gradient(to bottom, #000 58%, transparent 72%);
}

.pg-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 45px;
    padding-bottom: 300px;
}

.pg-hero-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: #f2c200;
    color: #12394b;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pg-hero h1 {
    color: #ffffff;
    margin-top: 18px;
    max-width: 700px;
    font-size: 52px;
    line-height: 1.1;
}

.pg-hero p {
    color: #e3f2fd;
    max-width: 640px;
    font-size: 19px;
    margin-top: 18px;
}

.pg-hero .button-outer,
.pg-cta .button-outer {
    margin-top: 26px;
}

/* ---------- shared ---------- */
.pg-step h6, .pg-feature h6, .pg-pay h6 {
    color: #2d3742;
}

.pg-section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.pg-section-title p {
    margin-top: 12px;
    font-size: 17px;
}

.pg-kicker {
    display: block;
    color: #0e76bc;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pg-alt {
    background-color: #f5f6fa;
}

/* ---------- benefit cards ---------- */
.pg-benefit {
    height: 100%;
    padding: 34px 26px 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
    border-top: 4px solid #0e76bc;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.pg-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(18, 57, 75, .14);
}

.pg-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #0e76bc, #00a7f3);
}

.pg-icon.gold { background: linear-gradient(135deg, #e0a800, #f2c200); }
.pg-icon.green { background: linear-gradient(135deg, #2c7a2f, #3f9a3c); }
.pg-icon.navy { background: linear-gradient(135deg, #12394b, #2d5f7a); }

.pg-benefit h5 {
    margin-bottom: 10px;
}

/* ---------- how it works ---------- */
.pg-phase {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
}

.pg-phase-label {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pg-phase-label.once { background: #fff3cd; color: #856404; }
.pg-phase-label.every { background: #d4edda; color: #155724; }

.pg-step {
    display: flex;
    gap: 18px;
    margin-top: 24px;
}

.pg-step-num {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: #ffffff;
}

.pg-phase.once .pg-step-num { background: #e0a800; }
.pg-phase.every .pg-step-num { background: #2c7a2f; }

.pg-step h6 {
    margin-bottom: 4px;
    font-size: 17px;
}

.pg-step p {
    margin: 0;
}

/* ---------- sponsor experience ---------- */
.pg-checklist {
    list-style: none;
    padding: 0;
    margin-top: 22px;
}

.pg-checklist li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
}

.pg-checklist li .fa {
    position: absolute;
    left: 0;
    top: 4px;
    color: #2c7a2f;
    font-size: 20px;
}

.pg-mock {
    max-width: 440px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(18, 57, 75, .18);
    overflow: hidden;
}

.pg-mock-bar {
    background: #12394b;
    color: #ffffff;
    padding: 14px 20px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pg-mock-bar .fa {
    color: #f2c200;
    margin-right: 8px;
}

.pg-mock-body {
    padding: 20px;
}

.pg-mock-program {
    font-size: 13px;
    color: #74757f;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.pg-level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 2px solid #e8e9ee;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.pg-level.selected {
    border-color: #0e76bc;
    background: #f0f8fe;
}

.pg-level strong {
    display: block;
    color: #2d3742;
}

.pg-level small {
    color: #74757f;
}

.pg-level .pg-price {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #0e76bc;
    white-space: nowrap;
}

.pg-mock-pay {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    background: #2c7a2f;
    color: #ffffff;
    font-weight: 700;
}

.pg-mock-pay .fa {
    margin-right: 8px;
}

/* ---------- payment methods ---------- */
.pg-pay {
    text-align: center;
    padding: 26px 12px;
    background: #ffffff;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
}

.pg-pay .fa {
    font-size: 38px;
    color: #0e76bc;
    margin-bottom: 12px;
}

.pg-pay h6 {
    margin-bottom: 6px;
}

.pg-pay p {
    margin: 0;
    font-size: 14px;
}

.pg-callout {
    margin-top: 40px;
    padding: 24px 28px;
    border-left: 5px solid #f2c200;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
}

.pg-callout .fa {
    color: #e0a800;
    margin-right: 10px;
}

/* ---------- reporting ---------- */
.pg-feature {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}

.pg-feature .pg-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 22px;
}

.pg-feature h6 {
    margin-bottom: 4px;
    font-size: 17px;
}

.pg-feature p {
    margin: 0;
}

/* ---------- call to action ---------- */
.pg-cta {
    background: linear-gradient(120deg, #12394b 0%, #0e76bc 100%);
    color: #ffffff;
    text-align: center;
}

.pg-cta h3 {
    color: #ffffff;
}

.pg-cta p {
    color: #d6ecfa;
    font-size: 18px;
    max-width: 640px;
    margin: 14px auto 0;
}

.pg-cta-phone {
    display: inline-block;
    margin-top: 22px;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: #f2c200;
}

.pg-cta-phone:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .pg-hero { min-height: 560px; }
    .pg-hero::before { background: rgba(18, 57, 75, .82); }
    .pg-hero h1 { font-size: 38px; }
    .pg-hero .container { padding-bottom: 250px; }
}

@media (max-width: 575px) {
    .pg-hero h1 { font-size: 30px; }
    .pg-hero p { font-size: 16px; }
    .pg-phase { padding: 22px; }
}

/* ---------- centered hero: text beside an illustration or photo ---------- */
.pg-hero.pg-hero--center {
    min-height: 560px;
    align-items: center;
}

.pg-hero.pg-hero--center::before {
    -webkit-mask-image: none;
    mask-image: none;
}

.pg-hero.pg-hero--center .container {
    padding-top: 70px;
    padding-bottom: 70px;
}

.pg-hero.pg-hero--center h1 {
    max-width: 560px;
}

.pg-hero.pg-hero--center p {
    max-width: 520px;
}

.pg-hero.pg-hero--compact {
    min-height: 0;
    align-items: center;
    background-image: linear-gradient(120deg, #12394b 0%, #0e5f97 60%, #0e76bc 100%);
}

.pg-hero.pg-hero--compact::before {
    display: none;
}

.pg-hero.pg-hero--compact .container {
    padding-top: 70px;
    padding-bottom: 120px;
}

/* ---------- logo-style tiles (payment processors) ---------- */
.pg-tile {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px 16px;
    background: #ffffff;
    border: 1px solid #e8e9ee;
    border-radius: 8px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.pg-tile:hover {
    border-color: #0e76bc;
    box-shadow: 0 8px 22px rgba(18, 57, 75, .12);
}

.pg-tile-name {
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    color: #12394b;
    letter-spacing: .03em;
}

.pg-tile small {
    display: block;
    margin-top: 6px;
    color: #74757f;
    font-size: 13px;
}

.pg-tile.pg-tile--preferred {
    position: relative;
    border: 2px solid #f2c200;
    box-shadow: 0 8px 22px rgba(242, 194, 0, .2);
}

.pg-tile-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 12px;
    border-radius: 12px;
    background: #f2c200;
    color: #12394b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pg-tile.pg-tile--more {
    border-style: dashed;
    background: transparent;
}

.pg-tile.pg-tile--more .pg-tile-name {
    color: #0e76bc;
}

/* ---------- included list (pricing) ---------- */
.pg-included {
    height: 100%;
    display: flex;
    gap: 18px;
    padding: 26px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
}

.pg-included .pg-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 22px;
}

.pg-included h6 {
    color: #2d3742;
    font-size: 17px;
    margin-bottom: 4px;
}

.pg-included p {
    margin: 0;
}

.pg-modules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pg-modules span {
    padding: 8px 16px;
    border-radius: 20px;
    background: #e3f2fd;
    color: #12394b;
    font-size: 14px;
}

.pg-modules span .fa {
    color: #0e76bc;
    margin-right: 6px;
}

/* ---------- frequently asked questions ---------- */
.pg-faq {
    max-width: 860px;
    margin: 0 auto;
}

.pg-faq-item {
    padding: 22px 26px;
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #0e76bc;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .06);
}

.pg-faq-item h6 {
    color: #2d3742;
    font-size: 17px;
    margin-bottom: 6px;
}

.pg-faq-item p {
    margin: 0;
}

/* ---------- contact page ---------- */
.pg-contact-wrap {
    position: relative;
    margin-top: -80px;
    z-index: 2;
}

.pg-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .1);
    color: #2d3742;
}

a.pg-contact-card:hover {
    color: #0e76bc;
}

.pg-contact-card .pg-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 22px;
}

.pg-contact-card small {
    display: block;
    color: #74757f;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pg-contact-card strong {
    font-size: 17px;
    word-break: break-word;
}

.pg-form-card {
    padding: 36px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(18, 57, 75, .14);
}

.pg-form-card h3 {
    margin-bottom: 6px;
}

.pg-form-card .form-label-outside {
    color: #2d3742;
    font-weight: 500;
}

.pg-form-card textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.pg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pg-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pg-chip .checkbox-custom-dummy {
    display: none;
}

.pg-chip .pg-chip-text {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #d7dbe2;
    border-radius: 20px;
    font-size: 14px;
    color: #2d3742;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

.pg-chip input:checked ~ .pg-chip-text {
    background: #0e76bc;
    border-color: #0e76bc;
    color: #ffffff;
}

.pg-chip input:focus-visible ~ .pg-chip-text {
    outline: 2px solid #f2c200;
    outline-offset: 2px;
}

.pg-form-card .form-control-feedback,
.pg-form-card .help-block {
    color: #c0392b;
    font-size: 13px;
}

.pg-alert {
    display: none;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
}

.pg-alert .fa {
    margin-right: 8px;
}

.pg-alert--success {
    background: #d4edda;
    color: #155724;
}

.pg-alert--error {
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 991px) {
    .pg-hero.pg-hero--center { min-height: 460px; }
    .pg-hero.pg-hero--center .container { padding-bottom: 60px; }
    .pg-contact-wrap { margin-top: -60px; }
}

@media (max-width: 575px) {
    .pg-form-card { padding: 24px 18px; }
}

/* ---------- hero with two buttons ---------- */
.pg-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.pg-hero-buttons .button {
    margin: 0;
}

.pg-hero .button.pg-button-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .8);
    color: #ffffff;
}

.pg-hero .button.pg-button-ghost:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #12394b;
}

/* ---------- trust strip under the hero ---------- */
.pg-stats {
    position: relative;
    z-index: 2;
    margin-top: -55px;
}

.pg-stats-inner {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(18, 57, 75, .14);
    overflow: hidden;
}

.pg-stat {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px;
    border-right: 1px solid #e8e9ee;
}

.pg-stat:last-child {
    border-right: 0;
}

.pg-stat .fa {
    font-size: 28px;
    color: #0e76bc;
}

.pg-stat strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: #12394b;
    letter-spacing: .03em;
}

.pg-stat small {
    color: #74757f;
    font-size: 13px;
}

/* ---------- feature link cards ---------- */
.pg-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 24px 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
    color: #74757f;
    transition: transform .25s ease, box-shadow .25s ease;
}

a.pg-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(18, 57, 75, .14);
    color: #74757f;
}

.pg-link-card .pg-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 16px;
    font-size: 24px;
}

.pg-link-card h5 {
    color: #2d3742;
    margin-bottom: 8px;
}

.pg-link-card p {
    margin: 0 0 14px;
}

.pg-link-more {
    margin-top: auto;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0e76bc;
}

a.pg-link-card:hover .pg-link-more {
    color: #12394b;
}

/* ---------- audience cards ---------- */
.pg-audience {
    height: 100%;
    padding: 32px 28px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e8e9ee;
    text-align: center;
}

.pg-audience h5 {
    color: #2d3742;
    margin-bottom: 10px;
}

.pg-audience p {
    margin: 0;
}

/* ---------- testimonials ---------- */
.pg-quote {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 34px 28px 26px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(18, 57, 75, .08);
}

.pg-quote::before {
    content: '\201C';
    position: absolute;
    top: -6px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: #f2c200;
}

.pg-quote p {
    margin: 0 0 16px;
    font-size: 16px;
    color: #495057;
}

.pg-quote cite {
    font-style: normal;
    font-family: 'Oswald', sans-serif;
    letter-spacing: .05em;
    color: #0e76bc;
}

@media (max-width: 767px) {
    .pg-stat { border-right: 0; border-bottom: 1px solid #e8e9ee; }
    .pg-stat:last-child { border-bottom: 0; }
}

/* home page: room under the hero buttons for the trust strip */
.pg-hero.pg-hero--home .container {
    padding-bottom: 120px;
}

/* ---------- client login ---------- */
.pg-login-section {
    padding: 60px 0 80px;
    background: #f5f6fa;
}

.pg-login {
    display: flex;
    flex-wrap: wrap;
    max-width: 1020px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(18, 57, 75, .14);
    overflow: hidden;
}

.pg-login-side {
    position: relative;
    flex: 1 1 420px;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.pg-login-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 57, 75, .25) 0%, rgba(18, 57, 75, .92) 70%);
}

.pg-login-side-inner {
    position: relative;
    padding: 36px;
    color: #e3f2fd;
}

.pg-login-side h2 {
    color: #ffffff;
    margin-top: 14px;
    font-size: 40px;
}

.pg-login-side p {
    color: #e3f2fd;
    margin-top: 8px;
}

.pg-login-points {
    list-style: none;
    padding: 0;
    margin-top: 18px;
}

.pg-login-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.pg-login-points .fa {
    width: 20px;
    text-align: center;
    color: #f2c200;
}

.pg-login-points a {
    color: #ffffff;
    font-weight: 700;
}

.pg-login-points a:hover {
    color: #f2c200;
}

.pg-login-form {
    flex: 1 1 420px;
    padding: 44px 44px 36px;
}

.pg-login-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: #0e76bc;
    font-size: 26px;
    margin-bottom: 16px;
}

.pg-login-sub {
    margin: 6px 0 22px;
}

.pg-login-msg:empty {
    display: none;
}

.pg-login-msg {
    display: block;
    padding: 12px 16px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: #f8d7da;
    color: #721c24;
    font-weight: 500;
}

.pg-login-msg.pg-login-msg--note {
    background: #fff3cd;
    color: #856404;
    font-weight: 400;
    font-size: 14px;
}

.pg-login-field {
    margin-bottom: 18px;
}

.pg-login-field label {
    display: block;
    margin-bottom: 6px;
    color: #2d3742;
    font-weight: 500;
}

.pg-login-input {
    position: relative;
}

.pg-login-input > .fa {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #74757f;
}

.pg-login-input input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 44px;
    border: 1px solid #d7dbe2;
    border-radius: 6px;
    background: #ffffff;
    color: #2d3742;
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pg-login-input input:focus {
    outline: none;
    border-color: #0e76bc;
    box-shadow: 0 0 0 3px rgba(14, 118, 188, .15);
}

.pg-login-show {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #74757f;
    cursor: pointer;
}

.pg-login-show:hover {
    color: #0e76bc;
}

.pg-login-error {
    display: block;
    margin-top: 6px;
    color: #c0392b;
    font-size: 13px;
}

.pg-login-failure {
    color: #c0392b;
}

.pg-login-failure:empty {
    display: none;
}

.pg-login-button {
    width: 100%;
    height: 52px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: #0e76bc;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease;
}

.pg-login-button:hover, .pg-login-button:focus {
    background: #12394b;
}

.pg-login-help {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8e9ee;
    font-size: 14px;
}

.pg-login-help .fa {
    margin-top: 3px;
    color: #0e76bc;
}

@media (max-width: 767px) {
    .pg-login-section { padding: 30px 0 50px; }
    .pg-login-side { min-height: 240px; order: 2; }
    .pg-login-side h2 { font-size: 32px; }
    .pg-login-form { padding: 32px 22px 28px; }
}
