.team-cta-section {
    overflow: hidden;
    padding: 74px 24px;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 35%, rgba(244, 247, 253, 0.82) 72%, rgba(237, 242, 251, 0.88) 100%),
        #f7f9fd;
}

.team-cta-inner {
    position: relative;
    display: flex;
    width: min(100%, 1480px);
    min-height: 640px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.team-cta-copy {
    position: relative;
    z-index: 2;
    width: min(58%, 750px);
    padding: 48px 0;
    text-align: center;
}

.team-cta-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #66748f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.team-cta-title {
    margin: 0;
    color: #101827;
    font-size: clamp(3.8rem, 7vw, 6.5rem);
    font-weight: 580;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.team-cta-description {
    max-width: 630px;
    margin: 22px auto 0;
    color: #697386;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.5;
}

.team-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.team-cta-button {
    display: inline-flex;
    min-width: 190px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.team-cta-button:hover {
    transform: translateY(-2px);
}

.team-cta-button-primary {
    background: #1765f5;
    color: #fff;
    box-shadow: 0 12px 26px rgba(23, 101, 245, 0.2);
}

.team-cta-button-primary:hover,
.team-cta-button-primary:focus-visible {
    background: #0754df;
    color: #fff;
    box-shadow: 0 15px 30px rgba(23, 101, 245, 0.28);
}

.team-cta-button-primary svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.team-cta-button-secondary {
    border-color: #dfe4ed;
    background: rgba(255, 255, 255, 0.7);
    color: #182033;
}

.team-cta-button-secondary:hover,
.team-cta-button-secondary:focus-visible {
    border-color: #bbc8df;
    background: #fff;
    color: #101827;
}

.team-cta-button:focus-visible {
    outline: 3px solid rgba(23, 101, 245, 0.35);
    outline-offset: 4px;
}

.team-cta-portraits {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.team-cta-portrait {
    position: absolute;
    overflow: hidden;
    width: clamp(140px, 16vw, 226px);
    height: clamp(178px, 19vw, 260px);
    border-radius: 24px;
    background: #e8edf5;
    box-shadow: 0 18px 50px rgba(25, 43, 77, 0.12);
    animation: team-cta-drift 7s ease-in-out infinite;
}

.team-cta-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.team-cta-portrait-one {
    top: 33%;
    left: 1%;
    animation-delay: -1s;
}

.team-cta-portrait-two {
    top: 4%;
    left: 14%;
    animation-delay: -3.5s;
}

.team-cta-portrait-three {
    right: 14%;
    bottom: 3%;
    animation-delay: -2s;
}

.team-cta-portrait-four {
    top: 4%;
    right: 14%;
    animation-delay: -4.5s;
}

.team-cta-portrait-five {
    top: 28%;
    right: 1%;
    animation-delay: -2.8s;
}

.team-cta-portrait-six {
    bottom: 5%;
    left: 15%;
    animation-delay: -5s;
}

@keyframes team-cta-drift {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@media (max-width: 1199.98px) {
    .team-cta-inner {
        min-height: 590px;
    }

    .team-cta-copy {
        width: min(62%, 680px);
    }

    .team-cta-portrait {
        width: clamp(130px, 15vw, 190px);
        height: clamp(166px, 18vw, 225px);
        border-radius: 20px;
    }
}

@media (max-width: 767.98px) {
    .team-cta-section {
        padding: 58px 18px 52px;
    }

    .team-cta-inner {
        min-height: 0;
        flex-direction: column;
    }

    .team-cta-copy {
        width: 100%;
        max-width: 600px;
        padding: 32px 0 28px;
    }

    .team-cta-eyebrow {
        margin-bottom: 14px;
        font-size: 0.72rem;
    }

    .team-cta-title {
        font-size: clamp(3.3rem, 12vw, 5.5rem);
    }

    .team-cta-description {
        max-width: 500px;
        margin-top: 18px;
        font-size: 1rem;
    }

    .team-cta-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .team-cta-button {
        min-width: 0;
        min-height: 50px;
        padding: 0 20px;
        font-size: 0.9rem;
    }

    .team-cta-portraits {
        position: relative;
        display: grid;
        width: min(100%, 520px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        order: 2;
    }

    .team-cta-portrait {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(132px, 34vw, 210px);
        border-radius: 15px;
        animation-duration: 8s;
    }

    .team-cta-portrait-four,
    .team-cta-portrait-five,
    .team-cta-portrait-six {
        display: none;
    }
}

@media (max-width: 420px) {
    .team-cta-actions {
        flex-direction: column;
    }

    .team-cta-button {
        width: 100%;
    }

    .team-cta-portraits {
        gap: 7px;
    }

    .team-cta-portrait {
        height: 130px;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-cta-portrait {
        animation: none;
    }

    .team-cta-button {
        transition: none;
    }
}
