/**
 * CPEP — homepage styles
 */

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

.page-home {
    background: var(--cpep-surface);
}

.home-section {
    position: relative;
}

/* --------------------------------------------------------------------------
   Hero section
   -------------------------------------------------------------------------- */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 0rem;
    background: #fff;
}

.hero-section__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-section__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(26, 111, 212, 0.08);
    background: rgba(255, 255, 255, 0.45);
}

.hero-section__circle--1 {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    left: -6rem;
}

.hero-section__circle--3 {
    width: 10rem;
    height: 10rem;
    bottom: 2rem;
    left: 42%;
    background: rgba(26, 111, 212, 0.03);
}

.hero-section__container {
    position: relative;
    z-index: 1;
}

.hero-section__row {
    min-height: 32rem;
}

/* Left column */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 0.875rem;
    margin-bottom: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a4f8f;
    background: transparent;
    border: 2px solid #baddbc;
    border-radius: 0.375rem;
}

.hero-badge .bi {
    font-size: 1.0625rem;
    color: var(--cpep-primary);
}

.hero-heading {
    margin-bottom: 1.125rem;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cpep-blue);
}

.hero-heading__accent {
    display: inline;
    font-family: var(--cpep-accent-font);
    font-style: italic;
    font-weight: 600;
    color: var(--cpep-green);
}

.hero-description {
    max-width: 34rem;
    margin-bottom: 1.75rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--cpep-nav-text-muted);
}

.hero-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
    align-items: center;
    margin: 0;
}

.hero-trust-list__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.hero-trust-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--cpep-green);
}

.hero-trust-list__icon .bi {
    font-size: 1.25rem;
    line-height: 1;
}

.hero-trust-list__text {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cpep-blue);
}

.hero-trust-list__line {
    display: block;
    white-space: nowrap;
}

/* Center column */

.hero-section__visual {
    display: flex;
    justify-content: center;
    align-self: stretch;
    align-items: flex-end;
}

.hero-visual {
    position: relative;
    width: min(100%, 24rem);
    min-height: 22rem;
}

.hero-visual__rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-visual__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(26, 111, 212, 0.12);
}

.hero-visual__ring--1 {
    width: 100%;
    height: 100%;
    background: rgba(26, 111, 212, 0.03);
}

.hero-visual__ring--2 {
    width: 82%;
    height: 82%;
    background: rgba(255, 255, 255, 0.35);
}

.hero-visual__ring--3 {
    width: 64%;
    height: 64%;
    border-color: rgba(23, 138, 124, 0.14);
    background: #caefca;
}

.hero-visual__arc {
    position: absolute;
    width: 72%;
    height: 72%;
    border: 2px dashed rgba(26, 111, 212, 0.14);
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    transform: rotate(-28deg);
}

.hero-visual__image-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 19rem;
    margin: 0 auto;
}

.hero-visual__evidence-arrow {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    left: -67px;
}

.hero-visual__evidence-arrow-path {
    fill: none;
    stroke: #1a6fd4;
    stroke-width: 2.25;
    stroke-dasharray: 5 5;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.hero-visual__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 36px rgba(0, 51, 102, 0.12));
}

.hero-visual__badge {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 5.5rem;
    height: 5.5rem;
    padding: 0.625rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 51, 102, 0.14);
}

.hero-visual__badge-icon {
    display: inline-flex;
    font-size: 1.125rem;
    line-height: 1;
}

.hero-visual__badge-text {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.hero-visual__badge--evidence {
    top: 47.5%;
    left: 0;
    transform: translate(-42%, -50%);
    color: #fff;
    background: linear-gradient(145deg, #2f7fd8 0%, #1a6fd4 100%);
}

.hero-visual__badge--clinician {
    top: 70%;
    right: 0;
    transform: translate(38%, -50%);
    color: #fff;
    background: linear-gradient(145deg, #1f9a88 0%, #178a7c 100%);
}

/* Eligibility card */

.hero-section__aside {
    display: flex;
    justify-content: center;
}

.eligibility-card {
    width: 100%;
    max-width: 22rem;
    padding: 1.375rem;
    background: var(--cpep-white);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.125rem;
    box-shadow: 0 20px 48px rgba(0, 51, 102, 0.1);
}

.eligibility-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.eligibility-card__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.eligibility-card__step {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cpep-text-subtle);
    white-space: nowrap;
}

.eligibility-card__progress {
    display: grid;
    grid-template-columns: repeat(var(--progress-steps, 3), 1fr);
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.eligibility-card__progress-segment {
    height: 0.3125rem;
    border-radius: 999px;
    background: #e8edf2;
}

.eligibility-card__progress-segment.is-active {
    background: linear-gradient(90deg, #2f7fd8 0%, #1a6fd4 100%);
}

.eligibility-card__progress-segment.is-complete {
    background: linear-gradient(90deg, #1f9a88 0%, var(--cpep-green) 100%);
}

.eligibility-card--has-draft .eligibility-card__resume-summary {
    margin-bottom: 0.875rem;
}

.eligibility-card__resume-summary[hidden] {
    display: none !important;
}

.eligibility-card__teaser[hidden] {
    display: none !important;
}

.eligibility-card__unavailable {
    margin: 0 0 0.875rem;
    font-size: 0.875rem;
    color: var(--cpep-text-muted);
}

.eligibility-card--unavailable .eligibility-card__footer {
    display: none;
}

.eligibility-card__question {
    margin: 0 0 0.375rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cpep-blue);
}

.eligibility-card__hint {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--cpep-text-subtle);
}

.eligibility-card__interaction {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.age-stepper {
    display: grid;
    grid-template-columns: 2.75rem 1fr 2.75rem;
    align-items: center;
    min-height: 7.5rem;
    border: 1px solid var(--cpep-border);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fafbfc;
}

.age-stepper__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    border: none;
    background: var(--cpep-white);
    color: var(--cpep-nav-text);
    font-size: 1.125rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.age-stepper__btn:hover,
.age-stepper__btn:focus-visible {
    background: rgba(26, 111, 212, 0.06);
    color: var(--cpep-primary);
}

.age-stepper__value {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cpep-blue);
}

.eligibility-card__security {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.875rem;
    border-radius: 0.75rem;
    background: rgba(23, 138, 124, 0.08);
    border: 1px solid rgba(23, 138, 124, 0.12);
    text-align: center;
}

.eligibility-card__trust-logo {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.125rem;
    flex-shrink: 0;
}

.eligibility-card__trust-logo svg {
    display: block;
    width: 100%;
    height: 100%;
}

.eligibility-card__security-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f6b60;
}

.eligibility-card__security-text {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.45;
    color: #3d7d73;
}

.eligibility-card__continue {
    padding: 0.8125rem 1.25rem;
    border-radius: 0.625rem;
}

.eligibility-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin: 0.875rem 0 0;
    font-size: 0.75rem;
    color: var(--cpep-text-subtle);
}

.eligibility-card__meta .bi {
    color: var(--cpep-green);
}

.eligibility-card__meta-dot {
    opacity: 0.7;
}

.eligibility-card__footer {
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--cpep-border);
    text-align: center;
}

.eligibility-card__footer p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--cpep-text-subtle);
}

/* Responsive */

@media (min-width: 1200px) {
    .hero-section__row {
        align-items: center;
    }

    .hero-section__aside {
        justify-content: flex-end;
    }
}

@media (max-width: 1199.98px) {
    .hero-section__aside {
        justify-content: flex-start;
    }

    .eligibility-card {
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 2rem 0 3rem;
    }

    .hero-section__row {
        min-height: auto;
    }

    .hero-section__content {
        text-align: left;
    }

    .hero-section__visual {
        align-self: auto;
        align-items: center;
    }

    .hero-visual__badge--evidence {
        transform: translate(-30%, -50%);
    }

    .hero-visual__badge--clinician {
        transform: translate(28%, -50%);
    }
}

@media (max-width: 575.98px) {
    .hero-badge {
        font-size: 0.625rem;
    }

    .hero-trust-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .eligibility-card__interaction {
        grid-template-columns: 1fr;
    }

    .age-stepper {
        min-height: 4.5rem;
    }

    .hero-visual__badge {
        width: 4.75rem;
        height: 4.75rem;
    }

    .hero-visual__badge-text {
        font-size: 0.5625rem;
    }
}

/* --------------------------------------------------------------------------
   Assessment journey
   -------------------------------------------------------------------------- */

.assessment-journey {
    padding: var(--cpep-section-y) 0 var(--cpep-section-y-tight);
    background: var(--cpep-white);
}

.journey-timeline-box {
    padding: 2rem 1.75rem;
    background: var(--cpep-surface);
    border: 1px solid var(--cpep-border);
    border-radius: 1.125rem;
    box-shadow: 0 12px 36px rgba(0, 51, 102, 0.06);
}


.journey-timeline--horizontal {
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.journey-timeline--vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Reusable journey step */

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.journey-step__icon-wrap {
    flex-shrink: 0;
}

.journey-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    font-size: 1.375rem;
    line-height: 1;
}

.journey-step__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cpep-white);
    background: var(--cpep-green);
    box-shadow: 0 2px 6px rgba(23, 138, 124, 0.28);
}

.journey-step__content {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

.journey-step__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.journey-step__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cpep-blue);
}

.journey-step__description {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--cpep-nav-text-muted);
}

/* Journey step icon variants */

.journey-step--solid-blue .journey-step__icon {
    color: var(--cpep-white);
    background: linear-gradient(145deg, #2f7fd8 0%, var(--cpep-primary) 100%);
    box-shadow: 0 8px 20px rgba(26, 111, 212, 0.2);
}

.journey-step--solid-green .journey-step__icon {
    color: var(--cpep-white);
    background: linear-gradient(145deg, #1f9a88 0%, var(--cpep-green) 100%);
    box-shadow: 0 8px 20px rgba(23, 138, 124, 0.2);
}

/* Timeline connectors */

.journey-connector {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    color: rgba(26, 111, 212, 0.5);
    pointer-events: none;
}

.journey-connector__line {
    border-color: currentColor;
}

.journey-connector__arrow {
    font-size: 0.75rem;
    line-height: 1;
}

.journey-connector--horizontal {
    align-self: flex-start;
    width: 2.25rem;
    margin-top: calc(3.75rem / 2 - 0.5rem);
    gap: 0.125rem;
}

.journey-connector--horizontal .journey-connector__line {
    flex: 1;
    border-top: 2px dotted currentColor;
}

.journey-connector--vertical {
    flex-direction: column;
    align-self: flex-start;
    width: 3.75rem;
    margin: 0.5rem 0;
    padding-left: 1.875rem;
    gap: 0.125rem;
}

.journey-connector--vertical .journey-connector__line {
    width: 0;
    height: 1.5rem;
    border-left: 2px dotted currentColor;
}

@media (max-width: 1199.98px) {
    .journey-timeline-box {
        padding: 1.5rem 1.25rem;
    }

    .journey-step__title {
        font-size: 0.875rem;
    }
}

@media (max-width: 991.98px) {
    .assessment-journey {
        padding: 3rem 0 1.25rem;
    }

    .section-heading--in-box {
        margin-bottom: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   Why assessment
   -------------------------------------------------------------------------- */

.why-assessment {
    padding: var(--cpep-section-y-tight) 0;
    background: var(--cpep-white);
}

.why-assessment-box {
    overflow: hidden;
    background: var(--cpep-white);
    border: 1px solid var(--cpep-border);
    border-radius: 1.25rem;
    box-shadow: 0 12px 36px rgba(0, 51, 102, 0.06);
}

.why-assessment__content {
    padding: 3rem 2.25rem;
}

.why-assessment__header {
    margin-bottom: 2rem;
}

.why-assessment__title {
    margin: 0;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--cpep-blue);
}

.why-assessment__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.why-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 2.25rem;
    color: var(--cpep-green);
}

.why-feature-card__content {
    flex: 1;
    min-width: 0;
}

.why-feature-card__title {
    margin: 0 0 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cpep-blue);
}

.why-feature-card__description {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--cpep-nav-text-muted);
}

.why-assessment__visual-col {
    display: flex;
    align-items: stretch;
}

.why-assessment__visual {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.why-assessment__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (min-width: 992px) {
    .why-assessment__content {
        display: flex;
        flex-direction: column;
        min-height: 36rem;
    }

    .why-assessment__header {
        flex-shrink: 0;
    }

    .why-assessment__features {
        flex: 1;
        justify-content: space-between;
        gap: 1rem;
    }

    .why-assessment__visual,
    .why-assessment__image {
        min-height: 33rem;
        height: 100%;
    }
}

@media (max-width: 991.98px) {
    .why-assessment {
        padding: 1.25rem 0 1.25rem;
    }

    .why-assessment__content {
        padding: 2.25rem 1.5rem 1.5rem;
    }

    .why-assessment__visual,
    .why-assessment__image {
        height: 24rem;
    }
}

@media (max-width: 575.98px) {
    .why-feature-card__icon {
        width: 3rem;
        height: 3rem;
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------------------
   Programme pathways
   -------------------------------------------------------------------------- */

.pathways-section {
    padding: var(--cpep-section-y-tight) 0;
    background: var(--cpep-white);
}

.pathway-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 2rem 1.75rem;
    border-radius: 1.25rem;
    color: var(--cpep-white);
    box-shadow: 0 16px 40px rgba(0, 51, 102, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pathway-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 51, 102, 0.18);
}

.pathway-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    margin-bottom: 1.75rem;
}

.pathway-card__content {
    flex: 1;
    min-width: 0;
}

.pathway-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    font-size: 1.375rem;
    line-height: 1;
    background: var(--cpep-white);
    border: none;
}

.pathway-card__icon .bi {
    color: currentColor;
}

.pathway-card__icon-svg {
    width: 1.375rem;
    height: 1.375rem;
    color: currentColor;
}

.pathway-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cpep-white);
}

.pathway-card__description {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.pathway-card__btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.625rem 1.125rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    background: var(--cpep-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pathway-card__btn:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pathway-card__btn .bi {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.pathway-card:hover .pathway-card__btn .bi {
    transform: translateX(3px);
}

.pathway-card--lifestyle {
    background: #0b5e4a;
}

.pathway-card--lifestyle .pathway-card__icon {
    color: #0b5e4a;
}

.pathway-card--lifestyle .pathway-card__btn {
    color: #0b5e4a;
}

.pathway-card--medication {
    background: #1a4fa8;
}

.pathway-card--medication .pathway-card__icon {
    color: #1a4fa8;
}

.pathway-card--medication .pathway-card__btn {
    color: #1a4fa8;
}

.pathway-card--advanced {
    background: #5b2d8c;
}

.pathway-card--advanced .pathway-card__icon {
    color: #5b2d8c;
}

.pathway-card--advanced .pathway-card__btn {
    color: #5b2d8c;
}

@media (max-width: 991.98px) {
    .pathways-section {
        padding: 1.25rem 0 3rem;
    }

    .pathway-card {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .pathway-card__title {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Privacy & FAQ
   -------------------------------------------------------------------------- */

.privacy-faq-section {
    padding: var(--cpep-section-y-tight) 0 var(--cpep-section-y);
    background: var(--cpep-white);
}

.privacy-card,
.faq-card {
    height: 100%;
    padding: 2rem 1.75rem;
    border: 1px solid var(--cpep-border);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.06);
}

.privacy-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: var(--cpep-white);
}

.faq-card {
    background: var(--cpep-white);
}

.privacy-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-card__illustration {
    display: block;
    width: 10rem;
    height: 10rem;
}

.privacy-card__content {
    flex: 1;
    min-width: 0;
}

.privacy-card__title {
    margin: 0 0 1.125rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cpep-blue);
}

.privacy-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.privacy-card__list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--cpep-nav-text);
}

.privacy-card__list-item .bi {
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 1rem;
    color: var(--cpep-green);
}

.privacy-card__link {
    font-size: 0.9375rem;
}

.faq-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.faq-panel__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cpep-blue);
}

.faq-panel__view-all {
    flex-shrink: 0;
    font-size: 0.875rem;
    white-space: nowrap;
}

.faq-accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-radius: 0.75rem;
    --bs-accordion-inner-border-radius: 0.75rem;
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: var(--cpep-primary);
    --bs-accordion-active-bg: var(--cpep-white);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(26, 111, 212, 0.15);
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6fd4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6fd4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion__item {
    margin-bottom: 0.75rem;
    border: 1px solid var(--cpep-border);
    border-radius: 0.75rem;
    background: var(--cpep-white);
}

.faq-accordion__item:last-child {
    margin-bottom: 0;
}

.faq-accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--cpep-blue);
    cursor: pointer;
    list-style: none;
}

.faq-accordion__summary::-webkit-details-marker {
    display: none;
}

.faq-accordion__summary::after {
    content: '';
    flex-shrink: 0;
    width: 0.875rem;
    height: 0.875rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a6fd4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease;
}

.faq-accordion__item[open] > .faq-accordion__summary {
    color: var(--cpep-primary);
}

.faq-accordion__item[open] > .faq-accordion__summary::after {
    transform: rotate(180deg);
}

.faq-accordion__body {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--cpep-nav-text-muted);
    border-top: 1px solid var(--cpep-border);
}

@media (max-width: 991.98px) {
    .privacy-faq-section {
        padding: 3rem 0;
    }

    .privacy-card,
    .faq-card {
        padding: 1.75rem 1.5rem;
    }

    .privacy-card__list-item {
        justify-content: flex-start;
    }

    .faq-panel__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .privacy-card__illustration {
        width: 8.5rem;
        height: 8.5rem;
    }
}

/* --------------------------------------------------------------------------
   Trust indicators
   -------------------------------------------------------------------------- */

.trust-section {
    padding: var(--cpep-section-y) 0;
    background: var(--cpep-white);
}

.trust-section__title {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    margin: 0;
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--cpep-blue);
}

.trust-section__title-line {
    display: block;
}

.trust-section__row {
    --bs-gutter-x: 1rem;
}

.trust-section__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

.trust-section__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    height: 100%;
}

.trust-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    width: 5rem;
    height: 5rem;
    font-size: 3.25rem;
    line-height: 1;
}

.trust-item__icon .bi {
    color: currentColor;
}

.trust-item__icon-svg {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    color: currentColor;
}

.trust-item__icon--green {
    color: var(--cpep-green);
}

.trust-item__icon--blue {
    color: var(--cpep-primary);
}

.trust-item__icon--teal {
    color: #1f9a88;
}

.trust-item__content {
    flex: 1;
    min-width: 0;
}

.trust-item__title {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cpep-blue);
}

.trust-item__description {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--cpep-nav-text-muted);
}

@media (min-width: 992px) {
    .trust-section__row {
        --bs-gutter-x: 0.75rem;
    }

    .trust-section__items {
        display: flex;
        align-items: stretch;
        gap: 0;
    }

    .trust-section__cell {
        flex: 1 1 0;
        padding: 0 1rem;
        border-right: 1px solid #d8e0e8;
    }

    .trust-section__cell:first-child {
        padding-left: 0;
    }

    .trust-section__cell:last-child {
        padding-right: 0;
        border-right: none;
    }
}

@media (max-width: 991.98px) {
    .trust-section {
        padding: 2.5rem 0;
    }

    .trust-section__title {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .trust-section__items {
        grid-template-columns: 1fr;
    }

    .trust-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */

.cta-banner {
    padding: 0 0 var(--cpep-section-y);
    background: var(--cpep-white);
}

.cta-banner__box {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #0f6b60 0%, #0b5e4a 45%, #064a3d 100%);
    box-shadow: 0 20px 48px rgba(6, 74, 61, 0.22);
}

.cta-banner__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
        radial-gradient(circle at 35% 55%, rgba(255, 255, 255, 0.1) 0 2px, transparent 3px),
        radial-gradient(circle at 15% 75%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
        radial-gradient(circle at 45% 20%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px);
    background-size: 28px 28px;
    opacity: 0.55;
    mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
}

.cta-banner__content,
.cta-banner__action,
.cta-banner__proof {
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    margin: 0 0 0.625rem;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--cpep-white);
}

.cta-banner__description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.cta-banner__action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-banner__btn {
    gap: 0.75rem;
    padding-right: 1.375rem;
    padding-left: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.cta-banner__btn:hover,
.cta-banner__btn:focus-visible {
    transform: translateY(-2px);
}

.cta-banner__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.875rem;
    color: var(--cpep-white);
    background: #0b5e4a;
}

.cta-banner__proof {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.cta-banner__proof-copy {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.cta-banner__proof-rating {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.cta-banner__proof-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-banner__proof-row--rating {
    gap: 0.625rem;
}

.cta-banner__avatars {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.cta-banner__avatar {
    display: inline-block;
    width: 2rem;
    height: 2.4375rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 38%;
    background: linear-gradient(145deg, #c8e6df 0%, #8ec4b5 100%);
}

.cta-banner__avatar + .cta-banner__avatar {
    margin-left: -0.625rem;
}

.cta-banner__proof-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.cta-banner__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.875rem;
    color: #f5c542;
}

@media (max-width: 991.98px) {
    .cta-banner {
        padding: 0 0 3rem;
    }

    .cta-banner__box {
        padding: 2rem 1.5rem;
    }

    .cta-banner__content,
    .cta-banner__action,
    .cta-banner__proof,
    .cta-banner__aside-col {
        text-align: center;
    }

    .cta-banner__action {
        justify-content: center;
    }

    .cta-banner__proof {
        justify-content: center;
        text-align: center;
    }

    .cta-banner__proof-rating {
        justify-content: center;
    }

    .cta-banner__proof-row {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .cta-banner__btn {
        width: 100%;
        justify-content: center;
    }

    .cta-banner__proof-text {
        font-size: 0.75rem;
    }
}
