.home-why-safin .home-section__header {
    max-width: 640px;
}

.home-why-safin__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-why-safin-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 24px 22px;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(20, 73, 140, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-why-safin-card:hover {
    border-color: #b8dcfa;
    box-shadow: 0 10px 28px rgba(20, 73, 140, 0.1);
    transform: translateY(-2px);
}

.home-why-safin-card__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(20, 73, 140, 0.08);
    color: #14498c;
    font-size: 1.2rem;
}

.home-why-safin-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-why-safin-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #152535;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.home-why-safin-card__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #5f6b7a;
}

.home-why-safin__actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.home-why-safin__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 12px 24px;
    border: 1px solid #14498c;
    border-radius: 10px;
    background: #14498c;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-why-safin__btn:hover,
.home-why-safin__btn:focus-visible {
    background: #0f3a6e;
    border-color: #0f3a6e;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(20, 73, 140, 0.2);
}

@media (max-width: 991px) {
    .home-why-safin__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home-why-safin__grid {
        grid-template-columns: 1fr;
    }

    .home-why-safin-card__title {
        font-size: 1rem;
    }

    .home-why-safin-card__text {
        font-size: 0.94rem;
    }

    .home-why-safin__btn {
        width: 100%;
    }
}
