.team-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 0 40px;
    background: radial-gradient(ellipse at bottom, #02434C 0%, #003643 92%);
    overflow: hidden;
}

.team-hero > .container {
    max-width: 1640px;
}

.team-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.team-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.team-hero__label {
    color: var(--color-gold);
}

.team-hero__title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 80px;
    line-height: 1;
    color: var(--color-platinum);
}

.team-hero__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-platinum);
}

.team-grid {
    padding: 70px 0 50px;
    background-color: var(--color-sea-green);
}

.team-grid__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1120px;
    margin: 0 auto;
}

.team-grid__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 6px 6px 24px;
    background-color: #01242A;
    border: 1px solid rgba(191, 152, 112, 0.5);
    border-radius: 8px;
    transition: border-color var(--transition);
}

.team-grid__card:hover {
    border-color: var(--color-gold);
}

.team-grid__media {
    position: relative;
    height: 370px;
    border-radius: 6px;
    overflow: hidden;
}

.team-grid__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-grid__media-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-grid__position {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(198, 227, 223, 0.6);
}

.team-grid__name {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-platinum);
}

.team-grid__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
}

.team-grid__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(198, 227, 223, 0.6);
}

.team-grid__divider {
    height: 1px;
    background-color: rgba(198, 227, 223, 0.2);
}

.team-grid__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-grid__social {
    display: flex;
    color: var(--color-gold);
    transition: color var(--transition);
}

.team-grid__social:hover {
    color: var(--color-platinum);
}

.team-cta {
    padding: 50px 0 100px;
}

.team-cta__card {
    position: relative;
    overflow: hidden;
    padding: 60px;
    background: linear-gradient(-90deg, #031C23 0%, #347178 100%);
    border: 1px solid #2B5256;
    border-radius: 16px;
}

.team-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    pointer-events: none;
}

.team-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1084px;
    margin: 0 auto;
    text-align: center;
}

.team-cta__title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.1;
    color: var(--color-platinum);
}

.team-cta__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(235, 237, 237, 0.7);
}

.team-cta__btn {
    background-color: var(--color-dark-teal);
    color: var(--color-frozen-water);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.team-cta__btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -30px;
    width: 5px;
    height: 71px;
    background-color: rgba(255, 255, 255, 0.6);
    filter: blur(6.5px);
    transform: translateY(-50%) rotate(-17deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.team-cta__btn:hover {
    background-color: #1f545e;
}

.team-cta__btn:hover::after {
    left: calc(100% + 30px);
}

@media (max-width: 1024px) {
    .team-hero {
        padding: 60px 0px 32px;
    }

    .team-hero__content {
        gap: 20px;
    }

    .team-hero__title {
        font-size: 56px;
    }

    .team-grid {
        padding: 50px 0 40px;
    }

    .team-grid__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 100%;
    }

    .team-grid__media {
        height: 320px;
    }

    .team-cta {
        padding: 40px 0 70px;
    }

    .team-cta__card {
        padding: 40px;
    }

    .team-cta__content {
        gap: 20px;
    }

    .team-cta__title {
        font-size: 32px;
    }

    .team-cta__text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .team-hero {
        padding: 50px 0px 24px;
    }

    .team-hero__content {
        gap: 16px;
    }

    .team-hero__heading {
        gap: 10px;
    }

    .team-hero__title {
        font-size: 32px;
        line-height: 1.15;
    }

    .team-hero__text {
        font-size: 16px;
    }

    .team-grid {
        padding: 40px 0 30px;
    }

    .team-grid__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid__media {
        height: 340px;
    }

    .team-cta {
        padding: 30px 0 50px;
    }

    .team-cta__card {
        padding: 24px;
    }

    .team-cta__content {
        gap: 16px;
    }

    .team-cta__title {
        font-size: 24px;
    }

    .team-cta__text {
        font-size: 15px;
    }

    .team-cta__btn {
        width: 100%;
    }
}
