/* Shared visual language for the How We Work pages */
.work-page-shell > section {
    position: relative;
}

.work-page-shell > section:first-child {
    padding-top: clamp(80px, 9vw, 140px);
    padding-bottom: clamp(80px, 9vw, 140px);
    overflow: hidden;
}

.work-page-shell > section:first-child:before {
    position: absolute;
    content: "";
    width: 360px;
    height: 360px;
    right: -120px;
    top: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, .17), rgba(14, 165, 233, 0) 68%);
    pointer-events: none;
}

.work-page-shell > section:first-child h1 {
    max-width: 620px;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.work-page-shell > section:first-child p {
    max-width: 590px;
    line-height: 1.9;
}

.work-page-shell > section:first-child img {
    min-height: 330px;
    object-fit: cover;
    box-shadow: 22px 22px 0 rgba(14, 165, 233, .13);
}

.work-page-shell .feature-area {
    padding-top: clamp(80px, 8vw, 125px);
    padding-bottom: clamp(80px, 8vw, 125px);
}

.work-page-shell .feature-area > .container > .text-center {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.work-page-shell .feature-area .section-title {
    line-height: 1.18;
    color: #172033 !important;
}

.work-page-shell .feature-area .row {
    --bs-gutter-x: 30px;
    row-gap: 32px;
}

.work-page-shell .work-step-card,
.work-page-shell .work-capability {
    position: relative;
    min-height: 225px;
    padding: 38px 34px 34px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 40px rgba(39, 52, 107, .06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    margin-bottom: 0 !important;
}

.work-page-shell .work-step-card:after,
.work-page-shell .work-capability:after {
    position: absolute;
    content: "";
    width: 115px;
    height: 115px;
    right: -30px;
    bottom: -42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 58, 237, .15), rgba(14, 165, 233, .05));
}

.work-page-shell .work-step-card:hover,
.work-page-shell .work-capability:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, .3);
    box-shadow: 0 24px 55px rgba(39, 52, 107, .13);
}

.work-page-shell .feature-number {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(14, 165, 233, .25);
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #7c3aed);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 10px 20px rgba(14, 165, 233, .2);
}

.work-page-shell .work-step-card h2,
.work-page-shell .work-capability h2 {
    position: relative;
    z-index: 1;
    max-width: 360px;
    line-height: 1.25;
    color: #172033 !important;
}

.work-page-shell .work-step-card p,
.work-page-shell .work-capability p {
    position: relative;
    z-index: 1;
    max-width: 500px;
    line-height: 1.8;
    color: #64748b !important;
}

.work-page-shell .feature-area .section-subtitle {
    color: #0799d3 !important;
}

.work-page-shell .cta-area {
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-radius: 0 !important;
    background-image: linear-gradient(90deg, rgba(7, 16, 46, .18), rgba(7, 16, 46, 0)), url('../img/cta-saudi-code-banner.jpg') !important;
    background-position: center;
    background-size: cover;
    padding-top: clamp(75px, 8vw, 115px);
    padding-bottom: clamp(75px, 8vw, 115px);
}

.work-page-shell .cta-area h2 {
    max-width: 760px;
    line-height: 1.18;
}

.work-page-shell .calculator-card {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    padding: clamp(26px, 4vw, 48px);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(39, 52, 107, .1);
}

.work-page-shell select.form-control {
    min-height: 52px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
}

@media (max-width: 991px) {
    .work-page-shell > section:first-child img {
        box-shadow: 12px 12px 0 rgba(14, 165, 233, .13);
    }
}

@media (max-width: 575px) {
    .work-page-shell .feature-area .row {
        --bs-gutter-x: 18px;
        row-gap: 20px;
    }

    .work-page-shell .work-step-card,
    .work-page-shell .work-capability {
        min-height: 0;
        padding: 30px 24px;
        border-radius: 20px;
    }
}
