/* ============================================================================
   KLAAS PUUL - ONS VERHAAL (OUR STORY) PAGE
   Mobile-first approach. Desktop breakpoint: 1024px.
   ============================================================================ */

/* ============================================================================
   STORY CONTENT (Two-column: title+image left, text+image right)
   Figma desktop: row, gap 150px, left 817px, right 753px
   Figma mobile: column, gap 24px, padding 40px 16px
   ============================================================================ */
.kp-story-content {
    background: #ffffff;
    padding: 40px 0;
    width: 100%;
}
.kp-story-content__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kp-story-content__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kp-story-content__title {
    color: #0d1c38;
    font-family: var(--font-heading, "sofia-pro", sans-serif);
    font-size: 40px;
    line-height: 120%;
    font-weight: 400;
    margin: 0;
}
.kp-story-content__right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.kp-story-content__text {
    color: #0d1c38;
    font-family: var(--font-main, "acumin-pro", sans-serif);
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
}
.kp-story-content__text p {
    margin: 0 0 16px 0;
}
.kp-story-content__text p:last-child {
    margin-bottom: 0;
}
.kp-story-content__image {
    width: 100%;
    overflow: hidden;
}
.kp-story-content__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* ============================================================================
   TIMELINE (dark bg, alternating left/right)
   Figma desktop: row layout with connector, gap 80px, items 488px wide
   Figma mobile: column, gap 80px, padding 64px 0
   ============================================================================ */
.kp-timeline {
    background: #0d1c38;
    padding: 64px 0;
    width: 100%;
}
.kp-timeline__inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
}
.kp-timeline__header {
    max-width: 921px;
    text-align: center;
}
.kp-timeline__title {
    color: #ffffff;
    font-family: var(--font-heading, "sofia-pro", sans-serif);
    font-size: 40px;
    line-height: 120%;
    font-weight: 400;
    margin: 0;
}

/* Mobile: show single-column list, hide desktop two-column layout */
.kp-timeline__mobile {
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 100%;
}
.kp-timeline__desktop {
    display: none;
}

/* Individual timeline item */
.kp-timeline__item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.kp-timeline__item-image {
    position: relative;
    width: 100%;
    height: 248px;
    overflow: hidden;
    color: #0d1c38; /* Shape fill color on dark bg */
}
.kp-timeline__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kp-timeline__shape {
    position: absolute;
    pointer-events: none;
    width: 56px;
    height: 56px;
}
.kp-timeline__shape--tl { top: 0; left: 0; }
.kp-timeline__shape--tr { top: 0; right: 0; }
.kp-timeline__shape--bl { bottom: 0; left: 0; }
.kp-timeline__shape--br { bottom: 0; right: 0; }
.kp-timeline__item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.kp-timeline__item-title {
    color: #ffffff;
    font-family: var(--font-heading, "sofia-pro", sans-serif);
    font-size: 24px;
    line-height: 140%;
    font-weight: 400;
    margin: 0;
}
.kp-timeline__item-text {
    color: #ffffff;
    font-family: var(--font-main, "acumin-pro", sans-serif);
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    margin: 0;
}

/* ============================================================================
   USP ICONS GRID
   Figma desktop: 2 rows x 3 cols, gap 64px between rows, dividers between items
   Figma mobile: single column, gap 24px, dividers between items
   ============================================================================ */
.kp-usp-icons {
    background: #ffffff;
    padding: 64px 0;
    width: 100%;
}
.kp-usp-icons__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.kp-usp-icons__header {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.kp-usp-icons__title {
    color: #0d1c38;
    font-family: var(--font-heading, "sofia-pro", sans-serif);
    font-size: 40px;
    line-height: 120%;
    font-weight: 400;
    margin: 0;
    text-align: center;
}
.kp-usp-icons__subtitle {
    color: #0d1c38;
    font-family: var(--font-main, "acumin-pro", sans-serif);
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
    margin: 0;
    text-align: center;
}
.kp-usp-icons__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kp-usp-icons__row {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kp-usp-icons__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kp-usp-icons__item-header {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}
.kp-usp-icons__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.kp-usp-icons__item-title {
    color: #0d1c38;
    font-family: var(--font-heading, "sofia-pro", sans-serif);
    font-size: 24px;
    line-height: 140%;
    font-weight: 400;
    margin: 0;
}
.kp-usp-icons__item-text {
    color: #0d1c38;
    font-family: var(--font-main, "acumin-pro", sans-serif);
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    margin: 0;
}
.kp-usp-icons__divider {
    border-top: 1px solid rgba(13, 28, 56, 0.25);
}

/* ============================================================================
   DESKTOP STYLES (min-width: 1024px)
   ============================================================================ */
@media (min-width: 1024px) {

    /* Story content */
    .kp-story-content {
        padding: 160px 0;
    }
    .kp-story-content__grid {
        flex-direction: row;
        gap: 150px;
    }
    .kp-story-content__left {
        width: 817px;
        flex-shrink: 0;
        gap: 64px;
    }
    .kp-story-content__title {
        font-size: 64px;
    }
    .kp-story-content__right {
        width: 753px;
        flex-shrink: 0;
        padding-top: 80px;
    }

    /* Timeline */
    .kp-timeline {
        padding: 80px 0 160px 0;
    }
    .kp-timeline__title {
        font-size: 56px;
    }
    .kp-timeline__mobile {
        display: none;
    }
    .kp-timeline__desktop {
        display: flex;
        flex-direction: row;
        gap: 80px;
        justify-content: center;
        width: 100%;
    }
    .kp-timeline__col {
        display: flex;
        flex-direction: column;
        gap: 64px;
        width: 488px;
        flex-shrink: 0;
    }
    .kp-timeline__slot--spacer {
        height: 458px; /* Full item: image 320px + gap 40px + text ~98px */
        min-height: 458px;
    }
    .kp-timeline__connector {
        display: flex;
        flex-direction: row;
        align-self: stretch;
        width: 0;
        position: relative;
    }
    .kp-timeline__line {
        width: 1px;
        background: rgba(255, 255, 255, 0.25);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
    }
    .kp-timeline__dot {
        width: 8px;
        height: 8px;
        background: #ffffff;
        border-radius: 50%;
        position: absolute;
        left: -4px;
        top: 374px;
    }
    .kp-timeline__item {
        gap: 40px;
    }
    .kp-timeline__item-image {
        height: 320px;
    }

    /* USP icons grid */
    .kp-usp-icons {
        padding: 160px 0;
    }
    .kp-usp-icons__inner {
        gap: 80px;
    }
    .kp-usp-icons__grid {
        gap: 64px;
    }
    .kp-usp-icons__row {
        flex-direction: row;
        gap: 64px;
    }
    .kp-usp-icons__item {
        flex: 1;
    }

    /* 2 per rij: max-width 1520px (Figma: 1920 - 2×200px padding) */
    .kp-usp-icons--cols-2 .kp-usp-icons__grid {
        max-width: 1520px;
        margin: 0 auto;
    }
    .kp-usp-icons__divider {
        border-top: none;
        border-left: 1px solid rgba(13, 28, 56, 0.25);
        align-self: stretch;
        width: 0;
    }
}
