.business-automation-page {
    background: #fff;
    padding-top: 138px;
}

.business-automation-hero {
    min-height: 344px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(4, 19, 48, 0.88) 0%, rgba(4, 19, 48, 0.92) 100%),
        url('/k.png') center/cover no-repeat;
}

.business-automation-hero-inner {
    width: 100%;
    max-width: 930px;
    margin: 0 0 0 auto;
    text-align: right;
    direction: rtl;
    color: #fff;
    padding: 74px 0 82px;
}

.business-automation-title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0;
}

.business-automation-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.business-automation-shell {
    padding: 78px 0 96px;
}

.automation-band {
    background: #f8fafc;
    padding: 42px 20px 12px;
}

.automation-band + .automation-band {
    margin-top: 46px;
}

.automation-band .row {
    align-items: stretch;
    direction: ltr;
}

.automation-band [class*="col-"] {
    display: flex;
}

.automation-card {
    background: #fff;
    border: 1px solid rgba(7, 28, 85, 0.1);
    border-radius: 18px;
    padding: 38px 36px 36px;
    box-shadow: 0 14px 34px rgba(7, 28, 85, 0.06);
    text-align: right;
    direction: rtl;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-height: 318px;
    position: relative;
    overflow: hidden;
}

.automation-card-accent {
    background: linear-gradient(135deg, #f4f8ff 0%, #fff 100%);
    border-color: rgba(212, 141, 13, 0.34);
}

.automation-card-accent::before {
    content: "\0642\0631\064A\0628\0627";
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #f2c24d;
    color: #071c55;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.4;
}

.automation-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f3f5f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px auto;
}

.automation-icon-wrapper-accent {
    background: rgba(7, 28, 85, 0.06);
}

.automation-icon {
    font-size: 24px;
    color: #071c55;
}

.automation-label {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: #d4a834;
    margin-bottom: 8px;
    letter-spacing: 0;
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
}

.automation-label-accent {
    color: #d4a834;
}

.automation-title {
    width: 100%;
    font-size: 22px;
    font-weight: 900;
    color: #071c55;
    margin-bottom: 14px;
    text-align: right;
    letter-spacing: 0;
}

.automation-text {
    width: 100%;
    font-size: 15px;
    color: #5f6673;
    line-height: 1.8;
    margin-bottom: 28px;
    text-align: right;
}

.automation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    border-radius: 9px;
    background: #071c55;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.automation-button:hover {
    background: #1d347f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(7, 28, 85, 0.2);
}

.automation-button-outline {
    background: #fff;
    color: #8a9099;
    border: 1px solid rgba(7, 28, 85, 0.1);
    box-shadow: 0 8px 18px rgba(7, 28, 85, 0.04);
}

.automation-button-outline:hover {
    background: #fff;
    color: #8a9099;
    transform: none;
    box-shadow: 0 8px 18px rgba(7, 28, 85, 0.04);
}

@media (max-width: 1199px) {
    .business-automation-title {
        font-size: 38px;
    }

    .business-automation-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .business-automation-hero-inner {
        max-width: 760px;
    }

    .business-automation-title {
        font-size: 32px;
    }

    .business-automation-subtitle {
        font-size: 15px;
    }

    .business-automation-shell {
        padding: 60px 0 76px;
    }

    .automation-band {
        padding: 28px 16px 4px;
    }
}

@media (max-width: 767px) {
    .business-automation-hero {
        min-height: 280px;
    }

    .business-automation-hero-inner {
        padding: 64px 8px 70px;
    }

    .business-automation-title {
        font-size: 28px;
    }

    .business-automation-subtitle {
        font-size: 14px;
    }

    .automation-band {
        padding: 16px 12px 0;
    }

    .automation-band + .automation-band {
        margin-top: 28px;
    }

    .automation-card {
        min-height: 280px;
        padding: 30px 24px;
    }

    .automation-title {
        font-size: 19px;
    }

    .automation-text {
        font-size: 14px;
    }

    .automation-button {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .business-automation-title {
        font-size: 24px;
    }

    .business-automation-shell {
        padding: 44px 0 58px;
    }
}
