/* ==========================================================================
   Global Group — Home / About Section  (Figma 1:2366)
   ========================================================================== */

.home-about {
    --home-about-blue: #003fe1;
    --home-about-body: #434656;
    --home-about-ink: #101c2c;
    --home-about-eyebrow: #ea580c;

    padding: 30px 0 50px;
    background: var(--gg-bg);
    overflow-x: clip;
}

.home-about__inner {
    display: flex;
    align-items: center;
    gap: 0;
}

/* ------------------------------------------------------------- media -- */

.home-about__media {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    /* Figma: the copy column overlaps the media column by 14px */
    margin-right: -14px;
    /* room for the badge that hangs below the image */
    padding-bottom: 40px;
}

.home-about__glow {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 256px;
    height: 256px;
    border-radius: var(--gg-radius-pill);
    background: rgba(47, 91, 255, 0.05);
    filter: blur(32px);
    pointer-events: none;
}

.home-about__figure {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 529px;
    aspect-ratio: 529 / 488;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.home-about__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------- badge -- */

.home-about__badge {
    position: absolute;
    right: 37px;
    bottom: 3px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: var(--gg-white);
    border-radius: 48px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.home-about__badge-value {
    font-size: 48px;
    line-height: 48px;
    font-weight: 600;
    color: var(--home-about-blue);
}

.home-about__badge-label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--home-about-body);
}

/* ------------------------------------------------------------- copy --- */

.home-about__content {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.home-about__eyebrow {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--home-about-eyebrow);
}

.home-about__title {
    font-family: var(--gg-font-display);
    font-size: 40px;
    line-height: 60px;
    font-weight: 700;
    color: #000000;
}

.home-about__text {
    padding-top: 16px;
    font-size: 18px;
    line-height: 29.25px;
    color: var(--home-about-body);
    text-align: justify;
}

/* ---------------------------------------------------------- features -- */

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

.home-about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-about__feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--home-about-blue);
}

.home-about__feature-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--home-about-ink);
}

/* --------------------------------------------------------------- cta -- */

.home-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 7.5px;
    padding-top: 16px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--home-about-blue);
    transition: gap .2s ease, color .2s ease;
}

.home-about__cta:hover {
    gap: 14px;
    color: var(--gg-primary-dark);
}

.home-about__cta-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 12px;
}

/* ================================================================ rwd == */

@media (max-width: 1100px) {
    .home-about__title {
        font-size: 34px;
        line-height: 48px;
    }
}

@media (max-width: 900px) {
    .home-about__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 56px;
    }

    .home-about__figure {
        max-width: 100%;
    }

    .home-about__media {
        margin-right: 0;
        padding-bottom: 56px;
    }

    .home-about__badge {
        right: 24px;
        bottom: 0;
        border-radius: 32px;
        padding: 24px;
    }

    .home-about__title {
        font-size: 30px;
        line-height: 42px;
    }

    .home-about__text {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 560px) {
    .home-about {
        padding: 24px 0 40px;
    }

    .home-about__figure {
        border-radius: 28px;
    }

    .home-about__badge {
        right: 12px;
        gap: 12px;
        padding: 18px 20px;
        border-radius: 24px;
    }

    .home-about__badge-value {
        font-size: 34px;
        line-height: 36px;
    }

    .home-about__badge-label {
        font-size: 12px;
        line-height: 17px;
        letter-spacing: 1px;
    }

    .home-about__title {
        font-size: 26px;
        line-height: 36px;
    }

    .home-about__text {
        text-align: left;
    }

    .home-about__features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-about__cta {
        font-size: 16px;
    }
}
