.services-page .services-hero,
.services-page .service-detail-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(21, 85, 112, .95) 0%,
            rgba(21, 85, 112, .82) 50%,
            rgba(21, 85, 112, .45) 100%
        ),
        url("img/hero-bg-page.jpg")
        center / cover
        no-repeat;
}

.services-page .service-detail-hero {
    background:
        linear-gradient(
            90deg,
            rgba(21, 85, 112, .95) 0%,
            rgba(21, 85, 112, .82) 50%,
            rgba(21, 85, 112, .45) 100%
        ),
        url("img/hero-bg-page.jpg")
        center / cover
        no-repeat;
}

.services-page .services-hero::after,
.services-page .service-detail-hero::after {
    content: "";
    position: absolute;
    top: -170px;
    right: -140px;

    width: 440px;
    height: 440px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .10),
            transparent 68%
        );

    pointer-events: none;
}

.services-page .services-hero-content,
.services-page .service-detail-hero-content {
    position: relative;
    z-index: 1;

    padding-top: 105px;
    padding-bottom: 105px;
}

.services-page .services-hero-content > *,
.services-page .service-detail-hero-content > * {
    max-width: 820px;
}

.services-page .services-hero-content {
    text-align: left;
}

.services-page .services-hero h1,
.services-page .service-detail-hero h1 {
    max-width: 820px;
    margin: 0;

    font-size: clamp(
        44px,
        5.5vw,
        70px
    );

    line-height: 1.05;
    letter-spacing: -.045em;
}

.services-page .services-hero p,
.services-page .service-detail-hero p {
    max-width: 690px;
    margin: 25px 0 0;

    color: rgba(
        255,
        255,
        255,
        .82
    );

    font-size: 17px;
    line-height: 1.75;
}

.services-page .service-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    max-width: none;
    margin-bottom: 24px;

    color: rgba(
        255,
        255,
        255,
        .72
    );

    font-size: 13px;
}

.services-page
.services-hero-content
.service-breadcrumb {
    justify-content: flex-start;
}

.services-page .service-breadcrumb a {
    color: #ffffff;
    transition: opacity .2s;
}

.services-page .service-breadcrumb a:hover {
    opacity: .78;
}

.services-page .services-listing-section {
    padding-top: 90px;
}

.services-page .services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.services-page .services-page-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(21, 85, 112, .16);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(21, 85, 112, .08);
    transition:
        transform .3s,
        box-shadow .3s,
        border-color .3s;
}

.services-page .services-page-card:hover {
    transform: translateY(-7px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.services-page .services-card-image {
    height: 245px;
    overflow: hidden;
    background: rgba(21, 85, 112, .06);
}

.services-page .services-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.services-page .services-page-card:hover .services-card-image img {
    transform: scale(1.05);
}

.services-page .services-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 27px 25px 26px;
}

.services-page .service-category {
    display: inline-flex;
    align-items: center;

    margin-bottom: 17px;

    color: #155570;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.services-page .services-card-content h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
}

.services-page .services-card-content h3 a {
    transition: color .2s;
}

.services-page .services-card-content h3 a:hover {
    color: #155570;
}

.services-page .services-card-content > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.services-page .service-feature-list {
    display: grid;
    gap: 7px;
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
}

.services-page .service-feature-list li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 13px;
}

.services-page .service-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #155570;
    font-weight: 900;
}

.services-page .service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    color: #155570;
    font-size: 14px;
    font-weight: 800;
}

.services-page .service-learn-more span {
    transition: transform .2s;
}

.services-page .service-learn-more:hover span {
    transform: translateX(4px);
}

.services-page .services-cta {
    padding: 90px 0;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(255, 255, 255, .10),
            transparent 30%
        ),
        #155570
}

.services-page .services-cta-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 55px;
    align-items: center;
}

.services-page .services-cta h2 {
    max-width: 730px;
}

.services-page .services-cta p {
    max-width: 720px;
    color: rgba(255, 255, 255, .75);
}

.services-page .services-cta-actions {
    display: flex;
    justify-content: flex-end;
    gap: 13px;
    flex-wrap: wrap;
}

.services-page .service-detail-section {
    padding-top: 85px;
}

.services-page .service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 42px;
    align-items: start;
}

.services-page .service-detail-main {
    min-width: 0;
}

.services-page .service-detail-image {
    height: 500px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(21, 85, 112, .06);
    box-shadow: var(--shadow);
}

.services-page .service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page .service-detail-copy {
    padding-top: 48px;
}

.services-page .service-overline {
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 2px solid #155570;
    color: #155570;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.services-page .service-detail-copy h2 {
    font-size: clamp(32px, 3vw, 46px);
}

.services-page .service-detail-copy h2 {
    max-width: 100%;

    overflow-wrap: break-word;
    word-break: break-word;

    line-height: 1.15;
}

.services-page .service-detail-copy > p {
    color: var(--muted);
    font-size: 16px;
}

.services-page .service-capabilities {
    margin-top: 38px;
    padding: 30px;
    border-radius: 18px;
    background: rgba(21, 85, 112, .06);
}

.services-page .service-capabilities h3 {
    margin: 0 0 20px;
    font-size: 20px;
}

.services-page .service-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

.services-page .service-capability-grid div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.services-page .service-capability-grid span {
    color: #155570;
    font-weight: 900;
}

.services-page .service-detail-sidebar {
    position: sticky;
    top: 105px;
}

.services-page .service-quote-box {
    padding: 28px;
    border: 1px solid rgba(21, 85, 112, .16);
    border-radius: 18px;
    background: rgba(21, 85, 112, .06);
}

.services-page .service-quote-box > h2 {
    margin-bottom: 15px;
    font-size: 22px;
    letter-spacing: -.02em;
}

.services-page .service-quote-box > p {
    margin-top: 0;
    color: var(--muted);
    font-size: 14px;
}

.services-page .service-sidebar-button {
    width: 100%;
    margin-top: 8px;
}

.services-page .service-contact-direct {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(21, 85, 112, .16);
}

.services-page .service-contact-direct > span {
    margin-bottom: 2px;
    color: rgba(21, 85, 112, .62);
    font-size: 12px;
}

.services-page .service-contact-direct a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.services-page .service-contact-direct a:hover {
    color: #155570;
}

.services-page .service-contact-direct strong {
    color: #155570;
}

.services-page .other-services {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(21, 85, 112, .16);
}

.services-page .other-services h3 {
    margin: 0 0 12px;
    color: rgba(21, 85, 112, .62);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.services-page .other-services a {
    display: block;
    padding: 14px 0;

    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;

    transition:
        color .2s,
        transform .2s;
}

.services-page .other-services a:hover {
    color: #155570;
    transform: translateX(3px);
}

.services-page .service-detail-bottom-cta {
    padding: 65px 0;
    color: #ffffff;
    background: #155570;
}

.services-page .service-detail-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.services-page .service-detail-bottom-inner h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 3vw, 45px);
}

@media (max-width: 1020px) {
    .services-page .services-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page .services-cta-inner,
    .services-page .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .services-page .services-cta-actions {
        justify-content: flex-start;
    }

    .services-page .service-detail-sidebar {
        position: static;
    }

    .services-page .service-quote-box {
        max-width: 650px;
    }
}

@media (max-width: 720px) {
    .services-page .services-hero,
    .services-page .service-detail-hero {
        min-height: 480px;

        background-position:
            center center;
    }

    .services-page .services-hero-content,
    .services-page .service-detail-hero-content {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .services-page .services-hero h1,
    .services-page .service-detail-hero h1 {
        max-width: 100%;
        font-size: 40px;
        line-height: 1.08;
    }

    .services-page .services-hero p,
    .services-page .service-detail-hero p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }

    .services-page .services-page-grid {
        grid-template-columns: 1fr;
    }

    .services-page .services-card-image {
        height: 225px;
    }

    .services-page .services-cta {
        padding: 75px 0;
    }

    .services-page .services-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .services-page .service-detail-image {
        height: 340px;
    }

    .services-page .service-capability-grid {
        grid-template-columns: 1fr;
    }

    .services-page .service-capabilities,
    .services-page .service-quote-box {
        padding: 22px;
    }

    .services-page .service-detail-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   AERO TECH ALLIANCE — SERVICES BRAND OVERRIDES
   Official colors: #155570 and #ffffff only.
   ========================================================= */

.services-page .services-hero,
.services-page .service-detail-hero,
.services-page .services-cta,
.services-page .service-detail-bottom-cta {
    color: #ffffff;
}

.services-page .services-cta,
.services-page .service-detail-bottom-cta {
    background: #155570;
}

.services-page .services-page-card,
.services-page .service-quote-box,
.services-page .service-capabilities {
    border-color: rgba(21, 85, 112, .16);
}

.services-page .service-category-icon,
.services-page .other-service-icon {
    background: rgba(21, 85, 112, .10);
    color: #155570;
}

.services-page .service-feature-list li::before,
.services-page .service-capability-grid span,
.services-page .service-contact-direct strong,
.services-page .service-overline,
.services-page .service-learn-more,
.services-page .service-category,
.services-page .services-card-content h3 a:hover,
.services-page .service-contact-direct a:hover,
.services-page .other-services a:hover {
    color: #155570;
}

.services-page .service-overline {
    border-bottom-color: #155570;
}

.services-page .services-page-card,
.services-page .other-service-icon {
    background: #ffffff;
}

.services-page .services-card-image,
.services-page .service-detail-image,
.services-page .service-capabilities,
.services-page .service-quote-box {
    background: rgba(21, 85, 112, .06);
}

.services-page .services-card-content h3 {
    display: -webkit-box;
    min-width: 0;
    max-width: 100%;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    margin: 0 0 12px;
    overflow: hidden;

    font-size: 21px;
    line-height: 1.3;

    overflow-wrap: anywhere;
    word-break: break-word;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.services-page .services-card-content > p {
    display: -webkit-box;
    overflow: hidden;

    min-height: 72px;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow-wrap: break-word;
    word-break: break-word;
}


.services-page .service-detail-hero h1 {
    max-width: 820px;

    overflow-wrap: break-word;
    word-break: break-word;
}

.services-page .service-detail-hero p {
    display: -webkit-box;
    overflow: hidden;

    max-width: 690px;
    max-height: 5.25em;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow-wrap: break-word;
    word-break: break-word;
}


.services-page .service-detail-copy p {
    max-width: 100%;

    overflow-wrap: break-word;
    word-break: break-word;

    white-space: normal;
}


.services-page .other-services a {
    display: block;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    max-width: 100%;
}

.services-page .service-detail-bottom-cta .btn-accent {
    background: #ffffff;
    color: #155570;
    border: 2px solid #ffffff;
}

.services-page .service-detail-bottom-cta .btn-accent:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}


.services-page .services-cta .services-cta-actions .btn.btn-accent {
    background: #ffffff !important;
    color: #155570 !important;
    border: 2px solid #ffffff !important;
}

.services-page .services-cta .services-cta-actions .btn.btn-accent:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.services-page .services-cta .services-cta-actions .btn.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.services-page .services-cta .services-cta-actions .btn.btn-outline-light:hover {
    background: #ffffff;
    color: #155570;
}