/* Section layout refactor: shared head/body rhythm */
.section:not(.hero) {
    align-items: flex-start !important;
}

.section:not(.hero) .section-shell {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    padding-top: 8px;
}

.section:not(.hero) .section-heading {
    margin: 0 !important;
    flex-shrink: 0;
}

.section:not(.hero) .section-heading.centered {
    margin-top: 0 !important;
}

.section:not(.hero) .section-heading::after,
.tech-screen__head::after {
    content: "";
    display: block;
    width: min(100%, 840px);
    height: 1px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, rgba(94, 242, 255, .55), transparent);
    box-shadow: 0 0 18px rgba(94, 242, 255, .2);
}

.section:not(.hero) .section-heading:not(.centered)::after {
    margin-left: 0;
}

.tech-screen__head {
    margin-bottom: 0 !important;
}

.section:not(.hero) .section-summary,
.tech-screen__lede {
    max-width: 820px;
}

#about .section-shell,
#technology .section-shell,
#business .section-shell,
#empowerment .section-shell,
#team .section-shell,
#partners .section-shell,
#gallery .section-shell,
#contact .section-shell {
    padding-top: 12px;
}

@media (max-width:760px) {
    .section:not(.hero) .section-shell {
        gap: 20px;
        padding-top: 0;
    }

    .section:not(.hero) .section-heading::after,
    .tech-screen__head::after {
        margin-top: 14px;
    }
}
