/* --------------------------------------------------------------------------
   Section 3 — Where Do You Stand (Maturity Model)
   -------------------------------------------------------------------------- */
.y0326-maturity {
    background-color: #F6FCFF;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ---- Header ---- */
.y0326-maturity__header {
    text-align: center;
    margin-bottom: 52px;
}

.y0326-maturity__heading {
    margin: 0 0 16px;
}

.y0326-maturity__subtext {
    margin: 0;
}

/* ---- Chevron Bar ---- */
.y0326-maturity__bar {
    display: flex;
    align-items: stretch;
    margin-bottom: 60px;
    border-radius: 6px;
    overflow: visible;
}

/*
  Each step is position:relative so we can layer the
  arrow pseudo-element on top of the next step's left edge.
  The arrow is a right-pointing chevron made with clip-path.
  Steps overlap each other slightly (margin-left: -20px) so
  the arrow covers the gap.
*/
.y0326-maturity__step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 28px 36px;
}

/* Overlap so arrows connect flush */
.y0326-maturity__step+.y0326-maturity__step {
    margin-left: -28px;
    padding-left: 40px;
}

.y0326-maturity__step--1 {
    z-index: 1;
    background-color: #D9F0FA;
    padding-left: 28px;
    clip-path: polygon(0 0,
            calc(100% - 28px) 0,
            100% 50%,
            calc(100% - 28px) 100%,
            0 100%);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Steps 2–4 — left notch in, arrow point on right */
.y0326-maturity__step--2 {
    z-index: 2;
    background-color: #C0E7F7;
    clip-path: polygon(0 0, 28px 0,
            calc(100% - 28px) 0,
            100% 50%,
            calc(100% - 28px) 100%,
            28px 100%,
            0 100%,
            28px 50%);
}

.y0326-maturity__step--3 {
    z-index: 3;
    background-color: #80CEEE;
    clip-path: polygon(0 0, 28px 0,
            calc(100% - 28px) 0,
            100% 50%,
            calc(100% - 28px) 100%,
            28px 100%,
            0 100%,
            28px 50%);
}

.y0326-maturity__step--4 {
    z-index: 4;
    background-color: #41B6E6;
    clip-path: polygon(0 0, 28px 0,
            calc(100% - 28px) 0,
            100% 50%,
            calc(100% - 28px) 100%,
            28px 100%,
            0 100%,
            28px 50%);
}

/* Step 5 — left notch in, flat right edge (no arrow) */
.y0326-maturity__step--5 {
    z-index: 5;
    background-color: #111323;
    clip-path: polygon(0 0, 28px 0,
            calc(100% - 28px) 0,
            100% 50%,
            calc(100% - 28px) 100%,
            28px 100%,
            0 100%,
            28px 50%);
}

/* Hide unused chevron-arrow div (kept in HTML for back-compat) */
.y0326-maturity__chevron-arrow {
    display: none;
}

/* Arrow shape: same color as the step, pointing right */
.y0326-maturity__step--1 .y0326-maturity__chevron-arrow {
    background-color: #D9F0FA;
}

.y0326-maturity__step--2 .y0326-maturity__chevron-arrow {
    background-color: #C0E7F7;
}

.y0326-maturity__step--3 .y0326-maturity__chevron-arrow {
    background-color: #80CEEE;
}

.y0326-maturity__step--4 .y0326-maturity__chevron-arrow {
    background-color: #41B6E6;
}

.y0326-maturity__chevron-arrow::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: inherit;
    clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%);
}

/* ---- Step text ---- */
.y0326-maturity__step-inner {
    position: relative;
    z-index: 2;
}

.y0326-maturity__step-title {
    margin: 0 0 10px;
    font-weight: bold;
}

.y0326-maturity__step--1 .y0326-maturity__step-title,
.y0326-maturity__step--2 .y0326-maturity__step-title {
    color: #111323;
}

.y0326-maturity__step--3 .y0326-maturity__step-title,
.y0326-maturity__step--4 .y0326-maturity__step-title {
    color: #ffffff;
}

.y0326-maturity__step--5 .y0326-maturity__step-title {
    color: #ffffff;
}

.y0326-maturity__step-text {
    font-size: 1rem;
    margin: 0;
}

.y0326-maturity__step--1 .y0326-maturity__step-text,
.y0326-maturity__step--2 .y0326-maturity__step-text {
    color: #72798E;
}

.y0326-maturity__step--3 .y0326-maturity__step-text,
.y0326-maturity__step--4 .y0326-maturity__step-text,
.y0326-maturity__step--5 .y0326-maturity__step-text {
    color: #fff;
}

/* ---- CTAs ---- */
.y0326-maturity__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.y0326-btn--outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #41B6E6;
    border: 1px solid #41B6E6;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.y0326-btn--outline-dark:hover {
    background-color: #1834a7;
    border-color: #1834a7;
    color: #ffffff;
}

/* --- Slope at bottom of section --- */
.y0326-outer-slop {
    position: relative;
}
.y0326-outer-slop:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 1px);
    background-color: #F6FCFF;
}

.y0326-slope {
    width: 100%;
    margin-bottom: -1px;
    height: calc(150px + 1px);
    background-color: #111323;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    outline: 1px solid #111323;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .y0326-maturity__bar {
        flex-direction: column;
        overflow: visible;
        /* critical — allows chevron point to show outside bar bounds */
    }
        .y0326-maturity__step+.y0326-maturity__step {
            padding-left: 20px;
        }

    .y0326-maturity__step {
        margin-left: 0 !important;
        margin-bottom: -28px;
        /* increased to match point depth */
        padding: 28px 20px 56px;
        /* extra bottom padding so text clears the point */
        clip-path: polygon(0 0,
                100% 0,
                100% calc(100% - 28px),
                50% 100%,
                0 calc(100% - 28px)) !important;
    }

    .y0326-maturity__step--1 {
        border-radius: 6px 6px 0 0;
        z-index: 10;
    }

    .y0326-maturity__step--2 {
        z-index: 9;
    }

    .y0326-maturity__step--3 {
        z-index: 8;
    }

    .y0326-maturity__step--4 {
        z-index: 7;
    }

    .y0326-maturity__step--5 {
        z-index: 6;
    }
        .y0326-maturity__step--5 {
            clip-path: polygon(0 0,
                    100% 0,
                    100% calc(100% - 28px),
                    50% 100%,
                    0 calc(100% - 28px)) !important;
            margin-bottom: 0;
            padding-bottom: 56px;
            border-radius: 0 0 6px 6px;
        }
}

@media (max-width: 767px) {
    .y0326-maturity__step {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 260px;
    }
    .y0326-maturity {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .y0326-maturity__actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .y0326-btn--outline-dark {
        justify-content: center;
    }
        .y0326-slope {
            margin-bottom: -1px;
            height: calc(50px + 1px);
        }
}