/* ==========================================================================
   Global Group — Services page
   Built from Figma frame 1:270 ("Services")
   ========================================================================== */

/* ============================================================ HERO ======== */

.services-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 466px;
    display: flex;
    align-items: center;
    background-color: #00035a;
}

.services-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: -2;
}

.services-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 3, 90, 0.22) 0%, rgba(0, 3, 90, 0.55) 100%);
}

.services-hero__inner {
    width: 100%;
    max-width: var(--gg-container);
    margin-inline: auto;
    padding: 122px 96px 122px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.services-hero__tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 25px;
    border-radius: var(--gg-radius-pill);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.services-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--gg-radius-pill);
    background: #9d4300;
    flex-shrink: 0;
}

.services-hero__tagline-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.35px;
    color: #00035a;
}

.services-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.services-hero__title {
    font-family: var(--gg-font-display);
    font-size: 72px;
    line-height: 72px;
    font-weight: 800;
    letter-spacing: -1.8px;
    color: var(--gg-white);
}

.services-hero__sub {
    max-width: 672px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1100px) {
    .services-hero__inner {
        padding: 96px 40px;
    }
}

@media (max-width: 900px) {
    .services-hero {
        min-height: 0;
    }

    .services-hero__inner {
        padding: 72px 24px;
        gap: 24px;
    }

    .services-hero__title {
        font-size: 48px;
        line-height: 54px;
        letter-spacing: -1.2px;
    }

    .services-hero__sub {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (max-width: 560px) {
    .services-hero__inner {
        padding: 56px 16px;
    }

    .services-hero__title {
        font-size: 36px;
        line-height: 42px;
        letter-spacing: -0.8px;
    }

    .services-hero__sub {
        font-size: 17px;
        line-height: 27px;
    }
}

/* ================================================= BUSINESS VERTICALS ==== */

.services-verticals {
    background: #e6eeff;
    padding: 36px 0 41px;
}

.services-verticals__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.services-verticals__title {
    font-size: 32px;
    line-height: 38.4px;
    font-weight: 700;
    letter-spacing: -0.32px;
    text-transform: uppercase;
    color: #1c1b1b;
}

.services-verticals__sub {
    padding-bottom: 8px;
    font-size: 24px;
    line-height: 31.2px;
    font-weight: 600;
    color: #ffa112;
}

.services-verticals__rule {
    width: 96px;
    height: 6px;
    background: #ffa112;
}

/* Tabs ------------------------------------------------------------------- */

.services-verticals__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin-top: 22px;
}

.services-verticals__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 33px;
    border-radius: 8px;
    background: var(--gg-white);
    border: 1px solid #c6c5d3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-align: center;
    color: #151c78;
}

.services-verticals__tab.is-active {
    background: #151c78;
    border-color: transparent;
    color: var(--gg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Panel ------------------------------------------------------------------ */

.services-verticals__panel {
    margin-top: 22px;
    background: var(--gg-white);
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 49px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.services-verticals__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.services-verticals__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
}

.services-verticals__icon {
    width: 48px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(21, 28, 120, 0.1);
    flex-shrink: 0;
}

.services-verticals__icon img {
    width: 18px;
    height: 16px;
}

.services-verticals__panel-title {
    font-size: 32px;
    line-height: 38.4px;
    font-weight: 700;
    letter-spacing: -0.32px;
    color: #151c78;
}

.services-verticals__text {
    font-size: 16px;
    line-height: 26px;
    color: #464652;
}

.services-verticals__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    padding-top: 9px;
}

.services-verticals__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
}

.services-verticals__feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 161, 18, 0.1);
}

.services-verticals__feature-icon img {
    width: auto;
    height: 12px;
}

.services-verticals__feature span {
    font-size: 16px;
    line-height: 24px;
    color: #1b1b21;
}

.services-verticals__media {
    position: relative;
    height: 400px;
    border-radius: var(--gg-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.services-verticals__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-verticals__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    display: flex;
    gap: 8px;
}

.services-verticals__dots span {
    width: 8px;
    height: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .services-verticals {
        padding: 48px 0;
    }

    .services-verticals__title {
        font-size: 26px;
        line-height: 32px;
    }

    .services-verticals__sub {
        font-size: 19px;
        line-height: 27px;
    }

    .services-verticals__tab {
        padding: 13px 20px;
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    .services-verticals__panel {
        padding: 28px;
        border-radius: 20px;
    }

    .services-verticals__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-verticals__panel-title {
        font-size: 26px;
        line-height: 32px;
    }

    .services-verticals__media {
        height: 320px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .services-verticals__panel {
        padding: 20px;
    }

    .services-verticals__features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-verticals__media {
        height: 240px;
    }

    .services-verticals__tabs {
        gap: 10px;
    }

    .services-verticals__tab {
        width: 100%;
    }
}

/* ================================================ PDI / VALUE ADDED ====== */

.services-pdi {
    position: relative;
    overflow: hidden;
    padding: 63px 0 47px;
    background: linear-gradient(140.37deg, #1a1f4c 0%, #0a0d2a 100%);
}

.services-pdi__head {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.services-pdi__title {
    font-family: var(--gg-font-display);
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    letter-spacing: -0.64px;
    color: var(--gg-white);
}

.services-pdi__title em {
    font-style: normal;
    color: var(--gg-accent);
}

.services-pdi__sub {
    font-size: 18px;
    line-height: 28.8px;
    color: #9da5ff;
}

.services-pdi__layout {
    display: grid;
    grid-template-columns: minmax(0, 677fr) minmax(0, 461fr);
    gap: 35px;
    margin-top: 64px;
}

.services-pdi__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 25px;
}

.services-pdi__card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 228px;
    padding: 25px 25px 33px;
    border-radius: var(--gg-radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.services-pdi__card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.services-pdi__card-icon img {
    width: auto;
    height: 18px;
}

.services-pdi__card-title {
    font-family: var(--gg-font-display);
    font-size: 24px;
    line-height: 31.2px;
    font-weight: 600;
    letter-spacing: -0.24px;
    color: var(--gg-white);
}

/* Collage ---------------------------------------------------------------- */

.services-pdi__collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-content: start;
}

.services-pdi__shot {
    border-radius: var(--gg-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    height: 200px;
}

.services-pdi__shot--wide {
    grid-column: 1 / -1;
    height: 545px;
}

.services-pdi__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .services-pdi__layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 48px;
    }

    .services-pdi__shot--wide {
        height: 380px;
    }

    .services-pdi__shot {
        height: 220px;
    }
}

@media (max-width: 900px) {
    .services-pdi {
        padding: 48px 0;
    }

    .services-pdi__title {
        font-size: 26px;
        line-height: 34px;
    }

    .services-pdi__sub {
        font-size: 16px;
        line-height: 26px;
    }

    .services-pdi__card {
        min-height: 0;
        padding: 20px;
    }

    .services-pdi__card-title {
        font-size: 20px;
        line-height: 27px;
    }
}

@media (max-width: 560px) {
    .services-pdi__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .services-pdi__shot--wide,
    .services-pdi__shot {
        height: 220px;
    }
}

/* ============================================================= CTA ======= */

.services-cta {
    padding: 18px 0 20px;
    background: var(--gg-white);
}

.services-cta__card {
    position: relative;
    overflow: hidden;
    max-width: 1216px;
    margin-inline: auto;
    border-radius: 48px;
    background: #151c78;
    box-shadow: 0 25px 50px -12px rgba(21, 28, 120, 0.3);
    padding: 60px 40px 40px;
    text-align: center;
}

.services-cta__ring {
    position: absolute;
    border: 4px solid var(--gg-white);
    opacity: 0.1;
    border-radius: var(--gg-radius-pill);
    pointer-events: none;
}

.services-cta__ring--one {
    top: 40px;
    left: 40px;
    width: 320px;
    height: 80px;
}

.services-cta__ring--two {
    top: 94px;
    right: 40px;
    width: 448px;
    height: 208px;
}

.services-cta__title {
    position: relative;
    font-family: var(--gg-font-display);
    font-size: 48px;
    line-height: 60px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--gg-white);
}

.services-cta__sub {
    position: relative;
    max-width: 672px;
    margin: 27px auto 0;
    font-size: 20px;
    line-height: 28px;
    color: #9da5ff;
}

.services-cta__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

.services-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 21px 48px;
    border-radius: var(--gg-radius-pill);
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    transition: background-color .2s ease, transform .2s ease;
}

.services-cta__btn:hover {
    transform: translateY(-1px);
}

.services-cta__btn--primary {
    background: var(--gg-accent-alt);
    color: #653c00;
}

.services-cta__btn--primary:hover {
    background: #f09000;
}

.services-cta__btn--ghost {
    padding: 21px 49px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--gg-white);
}

.services-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
    .services-cta {
        padding: 40px 0;
    }

    .services-cta__card {
        border-radius: 32px;
        padding: 48px 24px;
    }

    .services-cta__ring--one {
        width: 200px;
        height: 64px;
        top: 24px;
        left: 24px;
    }

    .services-cta__ring--two {
        width: 260px;
        height: 150px;
        top: 60px;
        right: 24px;
    }

    .services-cta__title {
        font-size: 32px;
        line-height: 42px;
        letter-spacing: -0.8px;
    }

    .services-cta__sub {
        font-size: 17px;
        line-height: 26px;
        margin-top: 20px;
    }

    .services-cta__btn,
    .services-cta__btn--ghost {
        padding: 16px 32px;
        font-size: 17px;
    }
}

@media (max-width: 560px) {
    .services-cta__card {
        border-radius: 24px;
        padding: 40px 16px;
    }

    .services-cta__title {
        font-size: 26px;
        line-height: 34px;
    }

    .services-cta__actions {
        gap: 14px;
    }

    .services-cta__btn,
    .services-cta__btn--ghost {
        width: 100%;
    }
}
