/* =========================================================
   Positive Touch — Form page layout
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
    --pf-navy:#2A3362;
    --pf-dark-navy:#182048;
    --pf-green: #1DAE8D;
    --pf-orange: #FCB321;
    --pf-cream:  #f5f0e8;
    --pf-white:  #ffffff;
    --pf-red:   #e03e2f;
    --pf-radius: 16px;
    --pf-lgrey: #eff1f3;
    --pf-grey:  #8287A6;
    --pf-dgrey:  #494d5f;
}

/* ── Light theme overrides ──────────────────────────────── */
[data-theme="light"] {
    --pf-navy:       #182048;   /* used as text color on light bg */
    --pf-dark-navy:  #182048;
    --pf-white:      #ffffff;
    --pf-cream:      #f5f0e8;
    --pf-lgrey:      #eff1f3;
    --pf-grey:       #6d7390;
    --pf-dgrey:      #333333;
}

/* ── Reset page chrome accumulated from old layout ──────── */
body.cmp-education,
body.cmp-courseitem,
body.cmp-training {
    background:white;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

body.pf-standalone {
    font-family: 'Montserrat', sans-serif;
}

body.cmp-education .main,
body.cmp-courseitem .main,
body.cmp-training .main {
    padding: 0;
}

/* ── Top bar ─────────────────────────────────────────────── */
.pf-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background: var(--pf-white);
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.pf-topbar .pt-theme-toggle {
    position: relative;
    top: 0;
    right: 0;
    box-shadow: none;
}

.pf-topbar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--pf-navy);
}

.pf-topbar-logo:hover,
.pf-topbar-logo:visited,
.pf-topbar-logo:focus {
    color: var(--pf-navy);
    text-decoration: none;
}

.pf-topbar-icon {
    height: 52px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.pf-topbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.pf-topbar-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    display: block;
}

.pf-topbar-name-line1 {
    display: block;
    color: var(--pf-navy) !important;
}

.pf-topbar-name-line2 {
    display: block;
    color: var(--pf-green) !important;
}

.pf-topbar-dot {
    color: var(--pf-orange) !important;
}

.pf-topbar-tagline {
    font-size: 10px;
    font-weight: normal;
    color: var(--pf-dgrey) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.pf-topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pf-topbar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: bold;
    color: var(--pf-navy);
    text-decoration: none;
}

.pf-topbar-phone img {
    width: 18px;
    height: 18px;
}

.pf-topbar-back {
    background: var(--pf-green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.pf-topbar-back:hover {
    background: var(--pf-navy);
}

/* ── Two-column layout ────────────────────────────────────
   Left: content/info (navy)
   Right: sticky form card (cream bg)
   ──────────────────────────────────────────────────────── */
.pf-layout {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    justify-content: center;
    align-content: flex-start;
    background: var(--pf-navy);
    position: relative;
}

/* ── Left panel ─────────────────────────────────────────── */
.pf-left {
    background: transparent;
    color: var(--pf-white);
    display: flex;
    flex-direction: column;
    padding-bottom: 200px;
    flex: 0 0 45%;
}

/* "AANMELDEN VOOR:" ribbon */
.pf-label-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.pf-label {
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pf-green);
}

.pf-title {
    font-size: 44px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.15;
    color: var(--pf-white);
    margin: 0 0 18px;
}

.pf-summary {
    line-height: 1.65;
    color: white;
    margin-bottom: 28px;
    p {
        font-size: 16px;
        font-weight: 500;
    }

    strong {
        font-size: 18px;
        font-weight: 600;
        color: var(--pf-orange);
    }
}

.pf-summary p {
    margin: 0 0 10px;
}

/* Course image */
.pf-course-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    box-sizing: border-box;
}

.pf-course-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: var(--pf-radius);
}

/* USP section */
.pf-usps-title {
    display: block;
    font-weight: 600;
    color: var(--pf-orange);
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-size: 18px;
}

.pf-usp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(0, 0, 0, 0.18);
    padding: 24px;
    border-radius: var(--pf-radius);
}

.pf-usp-item {
    display: flex;
    align-items: start;
    gap: 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: white;
}

.pf-usp-item img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ── Reviews carousel (one at a time) ───────────────────── */
.pf-reviews {
    width: 100%;
    margin-top: 40px;
    box-sizing: border-box;
}

.pf-reviews-track {
    position: relative;
    min-height: 120px;
}

.pf-review-card {
    display: none;
    animation: pf-slide-in 0.45s ease;
}

.pf-review-card.is-active {
    display: block;
}

@keyframes pf-slide-in {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Stars row */
.pf-review-stars {
    text-align: center !important;
    font-size: 36px !important;
    line-height: 1 !important;
    color: var(--pf-orange) !important;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

/* Photo + text row */
.pf-review-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pf-review-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pf-review-content {
    flex: 1;
    min-width: 0;
}

.pf-review-text {
    font-size: 14px;
    line-height: 1.65;
    color: white;
    margin: 0 0 10px;
    font-style: italic;
}

.pf-review-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--pf-green);
}

.pf-reviews-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pf-reviews-btn {
    background: none;
    border: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    padding: 0;
}

.pf-reviews-btn:hover {
    border-color: var(--pf-green);
}

.pf-reviews-dots {
    display: flex;
    gap: 6px;
}

.pf-reviews-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.pf-reviews-dot.is-active {
    background: var(--pf-green);
}

.pf-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 0 0;
    max-width: 1300px;
    flex-wrap: wrap;
}

/* ── Right panel ─────────────────────────────────────────── */
.pf-right {
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 0 0 50%;
    scrollbar-width: none;
    z-index: 3;
}

.pf-right::-webkit-scrollbar {
    display: none;
}

/* Right-panel inner wrapper */
.pf-right-inner {
    position: relative;
    width: 100%;
    padding-top: 0;
    display: flex;
}

.pf-form-ribbon {
    position: absolute;
    top: -16px;
    left: -40px;
    width: 70%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* Form card */
.pf-form-card {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: 0 8px 40px rgba(29,43,95,0.14);
    padding: 48px 40px 40px;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Book icon badge — top-right corner */
.pf-form-icon {
    position: absolute;
    top: -28px;
    right: 28px;
    width: 64px;
    height: 64px;
}

.pf-form-icon img {
    width: 64px;
    height: 64px;
}

.pf-form-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--pf-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 24px;
}

.pf-form-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.iqf-form .iqf-step-header {
    border: none;
    border-top: 1px solid #e8e4dd;
    padding-top: 20px;
}

.iqf-group--gray {
    .iqf-step-header {
        border: none !important;
    }
}

.pf-form-logo {
    height: 52px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.pf-form-header .pf-form-title {
    margin: 0;
}

/* ── Override default form styles inside the card ────────── */
.pf-form-card .iqf-form {
    width: 100%;
}

.pf-form-card .iqf-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.iq-form-checkbox {
    .iqf-field-row {
        align-items: center !important;
        .iqf-label {
            padding: 0;
            p {
                margin: 0;
            }
        }
    }
}

::selection {
    background: var(--pf-green) !important;
    color: #fff;
}

.pf-form-card .iqf-input,
.pf-form-card .iqf-textarea,
.pf-form-card .iqf-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-size: 14px;
    background: transparent;
    color: #333;
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s;
}

.pf-form-card .iqf-input:focus,
.pf-form-card .iqf-textarea:focus,
.pf-form-card .iqf-select:focus {
    border-bottom-color: var(--pf-navy);
}

/* Custom select wrapper */
.iqf-select-wrap {
    position: relative;
    width: 100%;
}

.iqf-select-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: var(--pf-green);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    pointer-events: none;
}

.iqf-select-wrap .iqf-select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 40px 12px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.iqf-select-wrap .iqf-select:focus {
    border-color: var(--pf-green);
}

.iqf-select-wrap .iqf-select option[value=""] {
    color: var(--pf-grey);
    font-style: italic;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}

.iqf-select-wrap .iqf-select :not(option[value=""]) {
    color: #2A3362;
    font-style: italic;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}

.pf-form-card .iqf-field {
    margin-bottom: 16px;
}

/* Submit button */
.pf-form-card .iqf-submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    list-style: none;
    /* Don't count this item as a step */
    counter-increment: none;
}

.pf-form-card .iqf-submit-btn, .pf-topbar-back {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    align-items: center;
    gap: 10px;
    background: var(--pf-green);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.pf-form-card .iqf-submit-btn:hover {
    background: var(--pf-navy);
    opacity: 1;
}

.pf-form-card .iqf-submit-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.pf-form-card .iqf-submit-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-style: italic;
    text-transform: uppercase;
    color: var(--pf-text-muted, #aaa);
    margin: 0;
    line-height: 1.5;
}

.pf-form-card .iqf-submit-info-icon {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
    color: var(--pf-text-muted, #aaa);
    text-transform: none;
    font-style: normal;
    font-weight: 700;
}

/* Date picker */
.course-data-box {
    display: block;
    overflow: visible !important;
}

.pf-form-card .iqf-item.cmd-course-date-list,
.pf-form-card .iqf-item.cmd-info-date {
    overflow: visible !important;
}
.course-date-list-box {
    float: none !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    overflow: visible !important;
}

.course-date-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible !important;
}

.course-date-item {
    float: none !important;
    overflow: visible !important;
    padding-top: 16px;
}

.course-date-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px 8px;
    border: 2px solid #c8cad8;
    border-radius: 12px;
    text-decoration: none;
    color: #8287a6 !important;
    background: #fff;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    min-width: 110px;
}

.course-date-link:hover {
    border-color: var(--pf-green);
    text-decoration: none;
}

.course-date-item.is-active .course-date-link {
    border-color: var(--pf-green) !important;
    background: var(--pf-green) !important;
    color: #fff !important;
    box-shadow: inset 0 5px 8px -4px rgba(0,0,0,0.28);
}

.course-date-item.is-active .course-date-link .pf-date-divider {
    border-color: rgba(255,255,255,0.4);
}

/* Calendar icon in date cards */
.pf-cal-icon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 20;
    height: 25px;
    display: block;
}

.course-date-item.is-active .pf-cal-sel {
    border: 2px solid white;
    border-radius: 6px;
    top: -20px;
}

.pf-cal-unsel { display: block; }
.pf-cal-sel   { display: none;  }
.course-date-item.is-active .pf-cal-unsel { display: none;  }
.course-date-item.is-active .pf-cal-sel   { display: block; }

.pf-date-day {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

.pf-date-divider {
    border: none;
    border-top: 1px solid #c8cad8;
    width: 100%;
    margin: 0;
}

.pf-date-num {
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
}

/* ── Step numbering ────────────────────────────────────────── */
.iqf-list {
    counter-reset: iqf-step;
}
.iqf-list > li {
    counter-increment: iqf-step;
}

.iqf-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.iqf-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pf-green);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.iqf-step-num::before {
    content: counter(iqf-step);
}

.iqf-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--pf-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

/* ── Form field groups ─────────────────────────────────────── */
.iqf-group {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.iqf-group--gray {
    .iqf-group-fields {
        background: var(--pf-lgrey);
    }
}

.iqf-group-header {
    margin-bottom: 10px;
}

.iqf-group-fields {
    list-style: none;
    padding: 15px 15px;
    margin: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Each field row inside a group: 2-column grid */
.iqf-item {
    display: flex !important;
    flex-direction: column-reverse;
}

.iqf-group-fields > .iqf-item {
    list-style: none;
    margin: 0;
}

.iqf-group-fields > .iqf-item .iqf-field-row {
    display: flex;
    align-items: center;
    gap: 10px;
}


.error {
    color: var(--pf-red) !important;
    font-size: small;
    padding: 0 !important;
    text-align: start;
    font-weight: 800;
    border: none !important;
}

.iqf-item .error {
    margin-top: 2px;
    margin-bottom: 8px;
}

.iqf-error input, .iqf-error select, .iqf-error textarea {
    border: 1px solid var(--pf-red) !important;
    box-sizing: border-box;
}

.iqf-group-fields > .iqf-item:last-child {
    border-bottom: none;
}

/* Hide old float clearfix divs */
.iqf-group-fields > .iqf-item .cboth {
    display: none;
}

/* Inputs inside group fields */
.iqf-group-fields > .iqf-item .iqf-text,
.iqf-group-fields > .iqf-item .iqf-email,
.iqf-group-fields > .iqf-item .iqf-phone,
.iqf-group-fields > .iqf-item .iqf-date,
.iqf-group-fields > .iqf-item .iqf-textarea,
.iqf-group-fields > .iqf-item .iqf-select {
    background: #fff;
    border: none;
    color: var(--pf-grey);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    flex-grow: 1;
}

.iqf-group-fields > .iqf-item .iqf-text:focus,
.iqf-group-fields > .iqf-item .iqf-email:focus,
.iqf-group-fields > .iqf-item .iqf-phone:focus,
.iqf-group-fields > .iqf-item .iqf-date:focus,
.iqf-group-fields > .iqf-item .iqf-textarea:focus,
.iqf-group-fields > .iqf-item .iqf-select:focus {
    border-color: var(--pf-green);
}

/* ── Toggle switches for checkbox fields ───────────────────── */
.pf-form-card .iqf-item:has(.iqf-checkbox) {
    display: block;
    margin-bottom: 0;
}

.pf-form-card .iqf-item:has(.iqf-checkbox) .iqf-field-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pf-form-card .iqf-item:has(.iqf-checkbox) .iqf-field-row > .iqf-label {
    flex: 1;
    max-width: none;
}

.pf-form-card .iqf-item input[type="hidden"] {
    display: none;
}

/* Toggle pill */
.pf-form-card .iqf-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 26px;
    border-radius: 13px;
    background: #c8cad8;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    outline: none;
    transition: background 0.25s;
}

/* Toggle knob */
.pf-form-card .iqf-checkbox::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: left 0.25s;
}

.pf-form-card .iqf-checkbox:checked {
    background: var(--pf-green);
}

.pf-form-card .iqf-checkbox:checked::before {
    left: calc(100% - 23px);
}

/* Label text */
.pf-form-card .iqf-item .iqf-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--pf-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}

em {
    font-style: normal;
    font-size: small;
    color: var(--pf-green) !important;
}

.pf-form-card .iqf-item .iqf-label a {
    color: var(--pf-green);
    font-weight: 700;
    text-decoration: none;
}

.pf-form-card .iqf-item .iqf-label a:hover {
    text-decoration: underline;
}

/* Field subtitle */
.iqf-subtitle {
    display: block;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    color: #8287a6;
    text-transform: uppercase;
    letter-spacing: 0;
    font-style: italic;
    margin-top: 2px;
    line-height: 1.3;
}

.iqf-step-title .iqf-subtitle {
    margin-top: 3px;
}

/* Newsletter: TIP badge */
.pf-nl-tip {
    color: var(--pf-green);
    font-weight: 800;
}

/* Newsletter: subtitle description */
.pf-nl-desc {
    display: block;
    font-size: 10px;
    color: #888;
    font-style: italic;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 3px;
}

/* ── Arch: absolute, pinned to bottom of layout ── */
.pf-arch {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.pf-arch img {
    width: 100%;
    display: block;
}

/* ── Scroll-to-top button ───────────────────────────────── */
.pf-scroll-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pf-green);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.pf-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.pf-scroll-top img {
    width: 16px;
    height: 16px;
}

.pf-color-bar {
    display: flex;
    height: 10px;
}

.pf-color-bar-block {
    flex: 1;
    background: var(--pf-navy);
}

.pf-color-bar-block--yellow {
    background: var(--pf-orange);
}

.pf-footer-strip {
    overflow: hidden;
    line-height: 0;
}

.pf-footer-strip img {
    width: 100%;
    display: block;
    height: 260px;
    object-fit: cover;
    object-position: top;
}

.pf-footer-text {
    flex-basis: 100%;
    color: var(--pf-navy);
    text-align: left;
    padding: 0px 0px 40px;
    font-size: 14px;
    line-height: 1.6;
    z-index: 10;
}

.pf-footer-text-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.pf-footer-text-inner p {
    margin-bottom: 0;
    margin-top: 10px;
}

.pf-footer-text-inner a {
    text-decoration: none;
    color: var(--pf-navy);
}

.pf-footer-text-inner a:hover {
    text-decoration: underline;
}

/* ── Success / pending page ────────────────────────────── */
.pf-result-wrap {
    max-width: 600px;
    margin: 80px auto;
    padding: 0 24px;
}

.pf-result-wrap .message-box {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: 0 8px 40px rgba(29,43,95,0.12);
    padding: 48px;
}

.pf-result-wrap .message-box.is-success {
    border-top: 4px solid var(--pf-green);
}

.pf-result-wrap .message-box.is-pending {
    border-top: 4px solid var(--pf-orange);
}

.pf-result-wrap .title-h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--pf-navy);
    margin: 0 0 16px;
}

.pf-result-wrap .btn-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pf-result-wrap .btn-link {
    display: inline-block;
    background: var(--pf-green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pf-result-wrap .btn-link:not(.is-cta) {
    background: #ddd;
    color: #555;
}

@media (max-width: 1200px) {
    .pf-content {
        padding: 60px 40px 0;
    }

    .pf-footer-text {
        padding: 40px 40px;
    }

    .pf-left {
        padding-bottom: 100px;
    }

    .pf-form-ribbon {
        top: -12px;
        left: -30px;
        width: 60%;
    }


    .iqf-field-row {
        flex-wrap: wrap;

        .iqf-label {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
    }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .pf-topbar-back {
        display: none !important;
    }
    .pf-layout {
        flex-direction: column;
    }

    .pf-left,
    .pf-right {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .pf-content {
        padding: 45px 45px 0;
    }

    .pf-footer-text {
        padding: 40px 45px;
    }

    .pf-arch {
        width: auto;
        min-height: 200px;
        img {
            width: auto;
        }
    }

    .pf-topbar {
        padding: 0 45px;
    }
}

@media (max-width: 600px) {
    .pf-left,
    .pf-right {
        flex: 1;
    }

    .pf-topbar-logo {
        gap: 6px;
    }

    .pf-topbar-phone {
        gap: 2px;
        font-size: 15px;
    }

    .pf-topbar-right {
        gap: 8px;
        flex-direction: row-reverse;
        .pt-theme-toggle {
            width: 35px;
            height: 35px;
        }
    }

    .pf-reviews-nav {
        justify-content: center;
    }
    .pf-review-body {
        flex-direction: column;
        gap: 15px;
    }
    .pf-left {
        padding-bottom: 50px;
    }
    .pf-label {
        font-size: 18px;
    }
    .pf-title {
        font-size: 24px;
    }

    .pf-summary p {
        font-size: 13px;
    }

    .pf-summary strong, .pf-usps-title {
        font-size: 16px;
    }

    .pf-topbar-tagline {
        display: none;
    }
    .iqf-group-fields > .iqf-item .iqf-field-row > .iqf-label {
        width: 100%;
    }

    .pf-topbar {
        padding: 0 24px;
    }

    .pf-form-title {
        font-size: 24px;
    }

    .iqf-step-title {
        font-size: 14px;
    }

    .iqf-label, .iqf-checkbox-label {
        font-size: 13px !important;
    }

    .iqf-subtitle {
        font-size: 10px;
    }

    .pf-content {
        padding: 40px 24px 0;
    }

    .pf-form-card {
        padding: 30px 24px 30px;
    }

    .pf-form-ribbon {
        left: -24px;
    }
}


@media (max-width: 450px) {
    .pf-topbar-tagline {
        display: none;
    }
    .iqf-group-fields > .iqf-item .iqf-field-row > .iqf-label {
        width: 100%;
    }

    .pf-topbar {
        padding: 0 15px;
    }

    .pf-content {
        padding: 30px 0 0;
    }

    .pf-left {
        padding: 0 15px;
    }

    .pf-arch img {
        display: none;
    }

    .pf-arch {
        background: white;
        height: 100px;
        width: 100%;
    }

    .pf-form-card {
        padding: 20px 15px 20px;
    }

    .pf-form-ribbon {
        left: -50px;
        transform: rotate(25deg);
    }
}

/* ── Light Theme Overrides ──────────────────────────────── */
[data-theme="light"] {
    /* Invert the main layout: navy bg → white, white text → dark navy text */
    .pf-layout {
        background: #ffffff;
    }

    .pf-left {
        color: var(--pf-dark-navy);
    }

    .pf-label {
        color: var(--pf-green);
    }

    .pf-title,
    .pf-subtitle {
        color: var(--pf-dark-navy);
    }

    .pf-left p,
    .pf-left .alinea-box {
        color: var(--pf-dgrey);
    }

    /* Form card stays on cream/white bg — already light */
    .pf-form-card {
        background: #ffffff;
        box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    }

    /* Top bar phone number */
    .pf-topbar-phone {
        color: var(--pf-dark-navy);
    }

    /* Footer */
    .pf-footer {
        background: #f5f5f5;
        color: var(--pf-dgrey);
    }
}
