body {
    background: linear-gradient(rgba(245, 249, 255, .82), rgba(255, 255, 255, .95)), url('../images/bg.png') center / cover fixed;
    color: #1a2d4f;
}

.case-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px max(24px, 5vw) 58px;
    background: #f7faff;
    border-bottom: 1px solid #e1eaf5;
    border-radius: 0;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.case-hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #ff7c2b;
}

.case-hero-copy,
.case-quote-card {
    position: relative;
    z-index: 1;
}

.case-hero-copy { max-width: 680px; padding-left: clamp(0px, 1.5vw, 20px); }
.case-hero-copy::before { content: 'FORTUNE IT CORP  /  CASE STUDY'; display: block; margin-bottom: 18px; color: #1976d2; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.case-hero-copy h1 { max-width: none; margin: 0 0 16px; color: #0a2342; font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: 0; line-height: 1.08; }
.case-hero-copy p { max-width: 620px; margin: 0 0 24px; color: #526783; font-size: 1.08rem; line-height: 1.6; }
.case-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.case-hero-actions .case-btn { margin: 0; background: #ff7c2b; border-radius: 7px; box-shadow: none; }
.case-hero-actions .case-btn:last-child { color: #1976d2; background: transparent; border: 1px solid #b9cde5; }

.case-quote-card { padding: 24px; background: #fff; border: 1px solid #dbe6f2; border-top: 3px solid #1976d2; border-radius: 10px; box-shadow: 0 10px 26px rgba(10, 35, 66, .08); color: #0a2342; }
.case-quote-card h2 { margin: 0 0 8px; color: #0a2342; font-size: 1.5rem; line-height: 1.1; }
.case-quote-card h2 span { color: #ff7c2b; }
.case-quote-card p { margin: 0 0 16px; color: #60728b; font-size: .86rem; line-height: 1.5; }
.case-quote-form { display: grid; gap: 10px; }
.case-quote-input { display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #d7e2ef; border-radius: 7px; color: #25d366; }
.case-quote-input input { min-width: 0; width: 100%; padding: 12px 0; border: 0; outline: 0; color: #1a2d4f; font: inherit; font-size: .85rem; }
.case-quote-form button, .case-quote-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 12px 10px; border: 0; border-radius: 7px; font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.case-quote-form button { color: #fff; background: #1976d2; }
.case-quote-whatsapp { margin-top: 10px; color: #128c4a; background: #e7f8ee; }
.case-quote-trust { display: grid; gap: 5px; margin-top: 14px; color: #60728b; font-size: .72rem; }

main { padding: 20px 20px 70px; }
.case-section { max-width: 1180px; margin: 28px auto 0; padding: 42px clamp(22px, 4vw, 52px); background: rgba(255, 255, 255, .94); border: 1px solid #e1eaf5; border-radius: 20px; box-shadow: 0 18px 46px rgba(15, 35, 70, .1); }
.case-section:not(:first-child) { margin-top: 24px; }
.case-section h2 { color: #0a2342; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.case-section h2 .icon, .case-card .icon { color: #0057ff; }
.case-card { background: #f5f9ff; border: 1px solid #e3edf9; border-radius: 12px; box-shadow: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.case-card:hover { transform: translateY(-3px); border-color: #8db9ff; box-shadow: 0 10px 24px rgba(0, 87, 255, .1); }
.case-card-content { color: #273b57; line-height: 1.55; }
.case-card-content strong { color: #0a2342; }
.case-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; border-left: 0; counter-reset: solution-step; }
.case-timeline-step { min-height: 150px; margin: 0; padding: 24px 22px 22px 64px; position: relative; background: linear-gradient(145deg, #fff, #f5f9ff); border: 1px solid #dfeafb; border-radius: 14px; box-shadow: 0 8px 22px rgba(0, 87, 255, .07); color: #273b57; line-height: 1.6; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.case-timeline-step:hover { transform: translateY(-4px); border-color: #8db9ff; box-shadow: 0 14px 28px rgba(0, 87, 255, .13); }
.case-timeline-step::before { content: counter(solution-step, decimal-leading-zero); counter-increment: solution-step; position: absolute; left: 20px; top: 22px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #fff; background: #0057ff; border: 0; border-radius: 9px; box-shadow: 0 7px 14px rgba(0, 87, 255, .2); font-size: .72rem; font-weight: 800; }
.case-timeline-step strong { display: block; margin-bottom: 7px; color: #0a2342; font-size: 1rem; }
.case-result-card { background: #edf4ff; border: 1px solid #dbe9fb; border-radius: 14px; box-shadow: none; }
.case-result-value { color: #0057ff; }
.case-result-label { color: #273b57; }
.case-btn { background: #0057ff; border-radius: 8px; box-shadow: 0 10px 22px rgba(0, 87, 255, .18); }
.case-btn:hover { background: #0a2342; transform: translateY(-2px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
    .case-hero { grid-template-columns: 1fr; padding: 44px 20px 40px; text-align: center; }
    .case-hero-copy, .case-quote-card { max-width: none; width: 100%; }
    .case-hero-copy { padding-left: 0; }
    .case-hero-actions { justify-content: center; }
    .case-quote-card { text-align: left; }
}

@media (max-width: 700px) {
    .case-timeline { grid-template-columns: 1fr; }
    .case-section { padding: 30px 20px; }
}
