/* Features – digital card section */
.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.feature-card {
    flex: 1 1 220px;
    max-width: 260px;
    background: var(--color-primary);
    border-radius: 24px;
    padding: 1.4rem 1.1rem;
    text-align: center;
    border: 2px solid rgba(9, 21, 40, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease, background-color 0.2s ease;
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.96);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* когда вставишь SVG, он аккуратно впишется */
.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-title-text);
    margin-bottom: 0.4rem;
}

.feature-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* Split section layout */
.services-section--split .why-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.why-image {
    flex: 1 1 380px;
    display: flex;
    justify-content: center;
}

.why-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    display: block;
    object-fit: contain;
}

.why-content {
    flex: 1 1 420px;
}

.why-content .list-check li {
    margin-bottom: 0.65rem;
    line-height: 1.7;
    font-size: 1.05rem;
}
.highlight-li {
    background-color: rgba(255, 215, 0, 0.15);
    border-right: 4px solid var(--color-accent);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
}
.digital-card-section {
    margin: 0 auto 3rem auto;
}

.digital-card-intro {
    background-color: rgba(255, 215, 0, 0.15);
    border: 1px solid #000;
    padding: 1rem;
    border-radius: 12px;
    max-width: 60ch;
    margin: 0 auto 1.8rem auto;
    text-align: center;
    font-weight: 500;
}

.digital-card-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.digital-card-col {
    flex: 1 1 280px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.digital-card-col h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}
.digital-card-col p {
    margin-bottom: 0.6rem;
}

/* mobile */
@media (max-width: 768px) {
    .feature-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .services-section--split .why-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .why-content {
        text-align: right; /* сохраним RTL структуру */
    }
    .digital-card-columns {
        flex-direction: column;
    }
    .why-image {
        flex: 1 1 100%;
    }
}
