/* ==========================================================================
   Why BeExact / Benefits
   ========================================================================== */

.why-beexact {
    width: 100%;
    padding: 6rem 0;
    background: var(--color-background-alt, #EEF0F3);
}

.why-beexact__container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--space-md, 2rem);
}

.why-beexact__title {
    margin: 0 0 4rem;
    color: var(--brand-primary-dark);
    font-family: Swiza, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================================
   Columns
   ========================================================================== */

.why-beexact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.why-beexact__column {
    padding: 0 2.5rem;
}

.why-beexact__column + .why-beexact__column {
    /* #D7DCE3 (the divider color used elsewhere) barely shows up against
       this section's #EEF0F3 background — needs more contrast here. */
    border-left: 1px solid #C1C8D2;
}

.why-beexact__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    margin: 0 0 1.25rem;

    color: var(--brand-primary-dark);

    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
}

.why-beexact__chevron {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;

    background-image: url('../images/orange-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.why-beexact__body p {
    margin: 0;

    color: var(--brand-secondary);

    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.5rem;
}

/* ==========================================================================
   Call to action
   ========================================================================== */

.why-beexact__cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Matches .product-card__button (product-family.css) for a consistent
   "Learn more" button style across the two sections. */
.why-beexact__learn-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;

    padding: 1rem 1.6875rem;

    color: #001E5A;
    text-decoration: none;
    font-family: Swiza, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4rem;

    border-radius: 0.5rem;
    border: 1.5px solid #001E5A;
    background: transparent;

    transition: 0.3s ease;
}

.why-beexact__learn-more:hover {
    background: transparent;
    border-color: #FF7D00;
    color: #FF7D00;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {

    .why-beexact {
        padding: 3rem 1rem;
    }

    .why-beexact__title {
        margin-bottom: 2.5rem;
        font-size: 1.75rem;
    }

    .why-beexact__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-beexact__column {
        padding: 0;
    }

    .why-beexact__column + .why-beexact__column {
        border-left: 0;
        padding-top: 2rem;
        border-top: 1px solid #D7DCE3;
    }

}
