main.main-diagnostika {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f3f6fb;
}

.diag-page {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 64px;
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
}

.diag-hero {
    margin-bottom: 28px;
}

.diag-kicker {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4338ca;
}

.diag-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
}

.diag-lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #334155;
}

.diag-offers {
    display: grid;
    gap: 14px;
}

.diag-offer {
    margin: 0;
    padding: 20px 20px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.diag-offer__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 800;
}

.diag-offer h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.diag-offer p {
    margin: 0 0 8px;
    color: #334155;
    line-height: 1.5;
}

.diag-offer p:last-child {
    margin-bottom: 0;
}

.diag-who,
.diag-contact {
    margin-top: 36px;
}

.diag-who h2,
.diag-contact h2 {
    margin: 0 0 14px;
    font-size: 1.6rem;
}

.diag-who__card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.diag-who__card img {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.diag-who__name {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
}

.diag-who__card p:last-child {
    margin: 0;
    color: #334155;
    line-height: 1.5;
}

.diag-contact p {
    margin: 0 0 16px;
    color: #334155;
}

.diag-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.diag-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.diag-write .max-app-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
    fill: currentColor;
}

.diag-write--telegram {
    background: #229ed9;
}

.diag-write--max {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 40%, #6366f1 100%);
}

@media (max-width: 640px) {
    .diag-contact__actions {
        flex-direction: column;
    }

    .diag-write {
        width: 100%;
    }
}
