/* Scoped styles for mybuddy-vergelijking page */

body.mybuddy-vergelijking .have-any-questions {
    margin-top: 0;
}

/* Intro */
.mbv-intro {
    margin-top: 61px;
    margin-bottom: 80px;
}

.mbv-intro .heading {
    max-width: 900px;
    margin-bottom: 24px;
}

.mbv-intro .heading h1 {
    margin-bottom: 0;
}

.mbv-intro .heading h1 > span::before {
    bottom: -4px;
}

.mbv-intro .lead {
    font-family: var(--OpenSans);
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    max-width: 820px;
    margin-bottom: 0;
}

/* Alarm flow steps */
.mbv-alarm-flow {
    background-color: #EDECE3;
    padding: 80px 0 90px;
}

.mbv-alarm-flow .section-heading {
    margin-bottom: 50px;
}

.mbv-alarm-flow .section-heading h2 {
    margin-bottom: 16px;
}

.mbv-alarm-flow .section-heading p {
    font-family: var(--OpenSans);
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    max-width: 720px;
    margin-bottom: 0;
}

.mbv-flow-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.mbv-steps-col {
    min-width: 0;
}

.mbv-diagram-col {
    min-width: 0;
}

.mbv-diagram {
    position: sticky;
    top: 155px;
}

.mbv-diagram img {
    width: 100%;
    border: 1px solid #E1E0D6;
    border-radius: 23%;
    display: block;
}

.mbv-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.mbv-step {
    background-color: #FFFFFF;
    border-radius: 22px;
    padding: 28px 30px 32px;
    border: 1px solid #E3E2D8;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mbv-step__number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FF0000;
    color: #FFFFFF;
    font-family: var(--PolySans);
    font-size: 20px;
    line-height: 44px;
    text-align: center;
}

.mbv-step__content h3 {
    font-family: var(--PolySans);
    font-size: 20px;
    line-height: 26px;
    color: #19191F;
    margin-bottom: 10px;
}

.mbv-step__content p {
    font-family: var(--OpenSans);
    font-size: 16px;
    line-height: 24px;
    color: #19191F;
    margin-bottom: 0;
}

.mbv-step--highlight {
    grid-column: 1 / -1;
    background-color: #19191E;
    border-color: #19191E;
}

.mbv-step--highlight .mbv-step__number {
    background-color: #FF0000;
}

.mbv-step--highlight .mbv-step__content h3,
.mbv-step--highlight .mbv-step__content p {
    color: #FFFFFF;
}

/* USP section */
.mbv-usp {
    padding: 90px 0 80px;
}

.mbv-usp .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.mbv-usp .section-heading h2 {
    margin-bottom: 0;
}

.mbv-usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mbv-usp-card {
    background-color: #FFFFFF;
    border: 1px solid #E3E2D8;
    border-radius: 22px;
    padding: 35px 28px 40px;
    text-align: center;
}

.mbv-usp-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #FF0000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mbv-usp-card__icon img {
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mbv-usp-card h3 {
    font-family: var(--PolySans);
    font-size: 18px;
    line-height: 24px;
    color: #19191F;
    margin-bottom: 0;
}

/* Comparison section */
.mbv-comparison {
    background-color: #19191E;
    padding: 90px 0 100px;
}

.mbv-comparison .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.mbv-comparison .section-heading h2 {
    color: #FFFFFF;
    margin-bottom: 0;
}

.mbv-comparison .section-heading h2 > span > span {
    color: #FFFFFF;
}

.mbv-comparison-table-wrap {
    background-color: #FFFFFF;
    border-radius: 22px;
    overflow: hidden;
    margin-top: 50px;
}

.mbv-comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.mbv-comparison-table thead th {
    font-family: var(--PolySans);
    font-size: 18px;
    line-height: 24px;
    color: #19191F;
    text-align: center;
    padding: 22px 16px;
    border-bottom: 1px solid #E3E2D8;
    background-color: #F4F4F2;
}

.mbv-comparison-table thead th:first-child {
    text-align: left;
    padding-left: 28px;
}

.mbv-comparison-table thead th.mbv-col-mybuddy {
    color: #FF0000;
}

.mbv-comparison-table tbody td {
    font-family: var(--OpenSans);
    font-size: 16px;
    line-height: 22px;
    color: #19191F;
    padding: 18px 16px;
    border-bottom: 1px solid #E3E2D8;
    vertical-align: middle;
}

.mbv-comparison-label {
    padding-left: 28px;
    max-width: 420px;
}

.mbv-comparison-label strong {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #19191F;
    margin-bottom: 4px;
}

.mbv-comparison-label span {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #646464;
}

.mbv-comparison-table tbody td:not(:first-child) {
    text-align: center;
    width: 140px;
}

.mbv-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.mbv-indicators {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 94px;
    margin: 0 auto;
}

.mbv-indicators__asterisk {
    flex-shrink: 0;
    width: 10px;
    font-family: var(--OpenSans);
    font-size: 16px;
    line-height: 1;
    color: #19191F;
    font-weight: 600;
    text-align: left;
}

.mbv-indicators__asterisk--empty {
    visibility: hidden;
}

.mbv-comparison-footnote {
    font-family: var(--OpenSans);
    font-size: 15px;
    line-height: 24px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 28px;
    margin-bottom: 0;
    white-space: nowrap;
}

.mbv-indicator span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.mbv-indicator--yes span {
    background-color: rgba(0, 178, 122, 0.12);
}

.mbv-indicator--no span {
    background-color: rgba(255, 0, 0, 0.08);
}

.mbv-indicator img {
    width: 16px;
    height: auto;
}

/* Mobile comparison cards (hidden on desktop) */
.mbv-comparison-cards {
    display: none;
}

.mbv-comparison-card {
    background-color: #FFFFFF;
    border-radius: 22px;
    padding: 22px 24px;
    margin-bottom: 16px;
}

.mbv-comparison-card:last-child {
    margin-bottom: 0;
}

.mbv-comparison-card h3 {
    font-family: var(--PolySans);
    font-size: 16px;
    line-height: 22px;
    color: #19191F;
    margin-bottom: 8px;
}

.mbv-comparison-card__desc {
    font-family: var(--OpenSans);
    font-size: 14px;
    line-height: 20px;
    color: #646464;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E3E2D8;
}

.mbv-comparison-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mbv-comparison-card__row:not(:last-child) {
    border-bottom: 1px solid #F4F4F2;
}

.mbv-comparison-card__label {
    font-family: var(--OpenSans);
    font-size: 14px;
    line-height: 20px;
    color: #19191F;
    font-weight: 600;
}

.mbv-comparison-card__label--mybuddy {
    color: #FF0000;
}

/* CTA */
.mbv-cta {
    background-color: #EDECE3;
    padding: 80px 0;
}

.mbv-cta .row-wrp {
    align-items: center;
    justify-content: space-between;
}

.mbv-cta .left-col {
    max-width: 55%;
    width: 100%;
}

.mbv-cta .right-col {
    max-width: 40%;
    width: 100%;
    text-align: right;
}

.mbv-cta h2 {
    margin-bottom: 20px;
}

.mbv-cta p {
    font-family: var(--OpenSans);
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .mbv-flow-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mbv-diagram-col {
        order: -1;
    }

    .mbv-diagram {
        position: static;
        max-width: 420px;
        margin: 0 auto;
    }

    .mbv-usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mbv-cta .left-col,
    .mbv-cta .right-col {
        max-width: 100%;
    }

    .mbv-cta .right-col {
        text-align: left;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .mbv-intro {
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .mbv-intro .lead {
        font-size: 14px;
        line-height: 24px;
    }

    .mbv-alarm-flow {
        padding: 50px 0 60px;
    }

    .mbv-alarm-flow .section-heading p {
        font-size: 14px;
        line-height: 24px;
    }

    .mbv-steps {
        gap: 16px;
    }

    .mbv-step {
        padding: 22px 20px 24px;
        gap: 16px;
    }

    .mbv-step__number {
        width: 38px;
        height: 38px;
        font-size: 18px;
        line-height: 38px;
    }

    .mbv-step__content h3 {
        font-size: 18px;
        line-height: 22px;
    }

    .mbv-step__content p {
        font-size: 14px;
        line-height: 22px;
    }

    .mbv-usp {
        padding: 50px 0 60px;
    }

    .mbv-usp-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mbv-usp-card {
        padding: 28px 22px 32px;
    }

    .mbv-comparison {
        padding: 50px 0 60px;
    }

    .mbv-comparison-table-wrap {
        display: none;
    }

    .mbv-comparison-cards {
        display: block;
        margin-top: 30px;
    }

    .mbv-comparison-footnote {
        font-size: 14px;
        line-height: 22px;
        margin-top: 24px;
        text-align: left;
        color: #FFFFFF;
        white-space: normal;
    }

    .mbv-cta {
        padding: 50px 0;
    }

    .mbv-cta p {
        font-size: 14px;
        line-height: 24px;
    }
}
