/* ============================================
   Diagnóstico 360º — faithful to Figma (dark)
   ============================================ */

.diag-hero {
    padding: 70px 0 40px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
}

.diag-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
}

.diag-hero p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 720px;
    margin: 0 auto;
}

.diag-hero p strong { color: var(--text-white); opacity: 1; font-weight: 700; }

/* ---- Timeline ---- */
.diag-steps {
    padding: 40px 0 90px;
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.diag-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.diag-step {
    display: grid;
    grid-template-columns: 64px 300px 1fr;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    position: relative;
}

/* vertical connecting line through the markers */
.diag-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 31px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.18);
}

.diag-marker {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.diag-illus {
    display: flex;
    justify-content: center;
}

.diag-illus img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.diag-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.diag-text p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.82;
    max-width: 420px;
}

/* ---- CTA (blue gradient with rays) ---- */
.diag-cta {
    padding: 80px 0;
    text-align: center;
    background-color: #0a2f57;
    background-image:
        radial-gradient(ellipse 60% 80% at 50% 120%, rgba(1, 161, 255, 0.55), transparent 60%),
        conic-gradient(from 180deg at 50% 130%,
            rgba(255, 255, 255, 0.06) 0deg,
            transparent 12deg,
            rgba(255, 255, 255, 0.06) 24deg,
            transparent 36deg,
            rgba(255, 255, 255, 0.06) 48deg,
            transparent 60deg,
            rgba(255, 255, 255, 0.06) 72deg,
            transparent 84deg);
    color: var(--text-white);
}

.diag-cta-logo {
    height: 34px;
    width: auto;
    margin-bottom: 28px;
    filter: brightness(0) invert(1);
}

.diag-cta h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .diag-hero h1 { font-size: 32px; }
    .diag-step {
        grid-template-columns: 48px 1fr;
        grid-template-areas:
            "marker illus"
            "marker text";
        gap: 8px 16px;
    }
    .diag-marker { width: 48px; height: 48px; font-size: 20px; grid-area: marker; }
    .diag-illus { grid-area: illus; justify-content: flex-start; }
    .diag-illus img { max-height: 130px; }
    .diag-text { grid-area: text; }
    .diag-timeline::before { left: 23px; }
    .diag-cta h2 { font-size: 26px; }
}
