.case-page {
    background: #f4f7fb;
    color: #102033;
    font-family: 'Poppins', Arial, sans-serif;
}

.case-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(5, 15, 29, .9), rgba(13, 45, 72, .76)), url('/images/hero.jpg') center/cover no-repeat;
}

.case-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.case-hero-inner {
    padding: 78px 0;
}

.case-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #ffccd3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.case-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.04;
    font-weight: 800;
}

.case-hero p {
    max-width: 780px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 20px;
    line-height: 1.65;
}

.case-hero-actions,
.case-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.case-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #b51f31;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.case-button:hover {
    color: #fff;
    background: #911927;
    text-decoration: none;
}

.case-button-alt {
    background: #fff;
    color: #0d3559;
    border: 1px solid #c9d6e4;
}

.case-button-alt:hover {
    background: #edf3f9;
    color: #0d3559;
}

.case-section {
    padding: 64px 0;
}

.case-section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
    margin-bottom: 30px;
}

.case-section h2 {
    margin: 0 0 16px;
    color: #071d36;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

.case-section p {
    margin: 0;
    color: #334861;
    font-size: 17px;
    line-height: 1.75;
}

.case-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.case-proof-item {
    padding: 22px;
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 38, 63, .06);
}

.case-proof-item strong {
    display: block;
    margin-bottom: 8px;
    color: #071d36;
    font-size: 18px;
}

.case-proof-item span {
    color: #52677e;
    font-size: 14px;
    line-height: 1.55;
}

.case-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 0;
    overflow: hidden;
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(18, 38, 63, .08);
}

.case-feature-media {
    min-height: 360px;
    background: linear-gradient(135deg, rgba(8, 28, 51, .84), rgba(181, 31, 49, .52)), url('/images/Data.jpeg') center/cover no-repeat;
}

.case-feature-copy {
    padding: 38px;
}

.case-tag {
    display: inline-block;
    margin-bottom: 14px;
    color: #b51f31;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.case-feature h2,
.case-card h3 {
    color: #071d36;
    font-weight: 800;
}

.case-feature h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.14;
}

.case-feature p {
    margin: 0 0 18px;
}

.case-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.case-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 38, 63, .06);
}

.case-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.25;
}

.case-card p {
    margin: 0 0 18px;
    color: #3a4f67;
    font-size: 15px;
    line-height: 1.68;
}

.case-card .case-card-link {
    margin-top: auto;
    color: #0b5c99;
    font-weight: 800;
    text-decoration: none;
}

.case-card .case-card-link:hover {
    color: #b51f31;
    text-decoration: underline;
}

.case-cta {
    background: #111e2f;
    padding: 58px 0;
}

.case-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.case-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.case-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .case-section-intro,
    .case-feature,
    .case-cta-inner {
        grid-template-columns: 1fr;
    }

    .case-card-grid,
    .case-proof {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .case-wrap {
        width: min(100% - 28px, 1160px);
    }

    .case-card-grid,
    .case-proof {
        grid-template-columns: 1fr;
    }

    .case-feature-copy {
        padding: 26px;
    }
}
