/* =========================================================
   SERVICES PAGE
   Layout only. Copy, images, links and theme colors stay.
========================================================= */

.services-page {
    background: #ffffff;
    color: #4a4a4a;
    font-family: "Google Sans Flex", sans-serif;
}

.services-page img {
    max-width: 100%;
}

.services-page .nav-toggle {
    display: none;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.services-page header {
    background: linear-gradient(to right, #ffffff, #eef8ff);
    box-shadow: 0 1px 0 rgba(0, 60, 143, 0.06), 0 8px 24px rgba(0, 40, 80, 0.06);
    padding: 0;
}

.services-page header .container {
    width: min(1160px, calc(100% - 48px));
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.services-page header .branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.services-page header .branding img {
    width: 118px;
    height: auto;
    margin-right: 16px;
}

.services-page header .company-info h1 {
    margin: 0;
    color: #0072BC;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.services-page header .company-info p {
    margin: 4px 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.services-page header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
}

.services-page header nav a {
    position: relative;
    color: #003C8F;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0;
    text-decoration: none;
}

.services-page header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00AEEF;
    transition: width .25s ease;
}

.services-page header nav a:hover,
.services-page header nav a[href="services.html"] {
    color: #00AEEF;
}

.services-page header nav a:hover::after,
.services-page header nav a[href="services.html"]::after {
    width: 100%;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.services-page .page-hero {
    height: 420px;
    min-height: 420px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-page .page-hero::before {
    background: linear-gradient(180deg, rgba(0, 28, 64, 0.45), rgba(0, 24, 56, 0.68));
}

.services-page .page-hero .hero-content {
    width: min(820px, calc(100% - 40px));
    max-width: 820px;
    margin: 0 auto;
    padding: 0 12px;
    text-align: center;
}

.services-page .page-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.services-page .page-hero h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: #00AEEF;
}

.services-page .page-hero p {
    margin: 16px 0 0;
    color: #E5E5E5;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   INTRO
--------------------------------------------------------- */

.services-page > .section:not(.services-cta) {
    padding: 88px 0 28px;
    background: #ffffff;
}

.services-page > .section:not(.services-cta) .container-small {
    width: min(760px, calc(100% - 48px));
    max-width: 760px;
}

.services-page > .section:not(.services-cta) h2 {
    margin: 0;
    color: #003C8F;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.services-page > .section:not(.services-cta) h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: #00AEEF;
}

.services-page > .section:not(.services-cta) p {
    margin: 18px auto 0;
    color: #063652;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   SERVICE ROWS
--------------------------------------------------------- */

.services-page .service-detail {
    padding: 56px 0;
    background: #ffffff;
}

.services-page .service-detail.light {
    background: #F8FBFC;
}

.services-page .service-detail .service-layout {
    width: min(1160px, calc(100% - 48px)) !important;
    max-width: 1160px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 56px !important;
    align-items: center !important;
}

.services-page .service-image img {
    width: 100% !important;
    height: 340px !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 40, 80, 0.12);
    transform: none;
}

.services-page .service-image img:hover {
    transform: none;
}

.services-page .service-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e7f4fb;
    color: #0072BC;
    font-size: 18px;
    line-height: 1;
}

.services-page .service-text h2 {
    margin: 0 0 14px;
    color: #003C8F;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.services-page .service-text p {
    margin: 0 0 18px;
    color: #555;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

.services-page .service-detail .service-text ul {
    display: block !important;
    width: auto !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
    list-style: none;
}

.services-page .service-detail .service-text li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    white-space: normal !important;
}

.services-page .service-detail .service-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00AEEF;
}

.services-page .service-detail .service-text .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0 10px 10px 0 !important;
    padding: 12px 22px;
    border: 2px solid #009FE3 !important;
    border-radius: 999px;
    background: #009FE3 !important;
    color: #ffffff !important;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: normal !important;
    box-shadow: 0 8px 20px rgba(0, 114, 188, 0.18);
    transform: none;
}

.services-page .service-detail .service-text .btn + .btn {
    background: #ffffff !important;
    color: #0072BC !important;
    border-color: #0072BC !important;
    box-shadow: none;
}

.services-page .service-detail .service-text .btn:hover {
    background: #007BC1 !important;
    border-color: #007BC1 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 114, 188, 0.22);
}

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */

.services-page .services-cta {
    padding: 72px 20px;
    background: #003C8F;
    text-align: center;
}

.services-page .services-cta br {
    display: none;
}

.services-page .services-cta .container-small {
    width: min(720px, calc(100% - 32px)) !important;
    max-width: 720px !important;
}

.services-page .services-cta h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
}

.services-page .services-cta h2::after {
    display: none;
}

.services-page .services-cta p {
    margin: 0 0 22px;
    color: #e4eef8;
    font-size: 17px;
    font-weight: 500;
}

.services-page .services-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 14px 32px;
    border: 0;
    border-radius: 999px;
    background: #009FE3;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transform: none;
}

.services-page .services-cta .btn:hover {
    background: #007BC1;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.services-page .footer {
    padding: 72px 0 0;
    background: #111111;
}

.services-page .footer .footer-grid {
    width: min(1160px, calc(100% - 48px));
}

.services-page .footer h2,
.services-page .footer h4 {
    color: #ffffff;
    font-size: 18px;
}

.services-page .footer h4::after,
.services-page .footer-about h2::after {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 10px;
    background: #00AEEF;
}

.services-page .footer .footer-email,
.services-page .footer .footer-email a,
.services-page footer.footer .footer-grid .footer-email {
    white-space: normal;
    overflow-wrap: anywhere;
}

.services-page #scrollTopBtn {
    border-radius: 999px;
    background: #0d9de3;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .services-page header .company-info h1,
    .services-page header .company-info p {
        white-space: normal;
    }

    .services-page header .company-info h1 {
        font-size: 18px;
    }

    .services-page header .branding img {
        width: 100px;
    }

    .services-page header nav {
        gap: 16px;
    }

    .services-page .page-hero h2,
    .services-page > .section:not(.services-cta) h2 {
        font-size: 36px;
    }

    .services-page .service-text h2 {
        font-size: 28px;
    }

    .services-page .service-image img {
        height: 300px !important;
    }

}

@media (max-width: 900px) {

    .services-page header .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        width: min(1160px, calc(100% - 32px));
        min-height: 72px;
    }

    .services-page header .company-info {
        display: none;
    }

    .services-page header .branding img {
        width: 112px;
        margin-right: 0;
    }

    .services-page .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 11px 9px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .services-page .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #003C8F;
        transition: transform .2s ease, opacity .2s ease;
    }

    .services-page header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .services-page header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .services-page header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .services-page header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 8px 0 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: linear-gradient(to right, #ffffff, #eef8ff);
        box-shadow: 0 16px 28px rgba(0, 40, 80, 0.12);
    }

    .services-page header.nav-open nav {
        display: flex;
    }

    .services-page header nav a {
        padding: 14px 22px;
        font-size: 16px;
        text-align: left;
    }

    .services-page header nav a::after {
        display: none;
    }

    .services-page .page-hero {
        height: auto;
        min-height: 280px;
        padding: 56px 16px;
    }

    .services-page .page-hero h2 {
        font-size: 36px;
    }

    .services-page .service-detail {
        padding: 36px 0;
    }

    .services-page .service-detail .service-layout {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .services-page .service-detail .service-layout.reverse .service-image {
        order: 0 !important;
    }

    .services-page .service-detail .service-layout.reverse .service-text {
        order: 1 !important;
    }

    .services-page .service-image img {
        height: 220px !important;
    }

    .services-page .service-detail .service-text .btn {
        display: flex !important;
        width: 100%;
        max-width: 100% !important;
        margin: 0 0 10px !important;
    }

    .services-page .footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-page .footer-about {
        grid-column: 1 / -1;
    }

}

@media (max-width: 640px) {

    .services-page > .section:not(.services-cta) {
        padding: 56px 0 12px;
    }

    .services-page .page-hero h2,
    .services-page > .section:not(.services-cta) h2,
    .services-page .services-cta h2 {
        font-size: 30px;
    }

    .services-page .service-text h2 {
        font-size: 26px;
    }

    .services-page .page-hero p,
    .services-page > .section:not(.services-cta) p {
        font-size: 15px;
    }

    .services-page .footer .footer-grid {
        grid-template-columns: 1fr;
        width: min(1040px, calc(100% - 32px));
    }

    .services-page #scrollTopBtn span {
        display: none;
    }

    .services-page #scrollTopBtn {
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 50%;
    }

}
