/* ==========================================================================
   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%;
    }
}
