.brightloop-team-section {
    padding: 94px 0;
    background: linear-gradient(180deg, #f5faff 0%, #ffffff 52%, #f6fbff 100%);
}

.brightloop-team-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 34px;
}

.brightloop-team-header > div:first-child {
    max-width: 690px;
}

.brightloop-team-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #246bfe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.brightloop-team-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: #246bfe;
}

.brightloop-team-header h2 {
    margin: 0;
    color: #071936;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.brightloop-team-header p {
    max-width: 650px;
    margin: 16px 0 0;
    color: #536985;
    font-size: 16px;
    line-height: 1.72;
}

.brightloop-team-note {
    flex: 0 0 330px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(36, 107, 254, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 42px rgba(28, 72, 116, 0.08);
}

.brightloop-team-note i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(100deg, #246bfe 0%, #16c2cf 74%, #d8b54c 100%);
    color: #ffffff;
}

.brightloop-team-note span {
    color: #14284a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.brightloop-team-grid {
    display: grid;
    grid-template-columns: minmax(390px, 0.95fr) minmax(310px, 0.7fr) minmax(360px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.brightloop-lead-card,
.brightloop-team-workflow,
.brightloop-person-card {
    border: 1px solid rgba(18, 44, 78, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(28, 72, 116, 0.1);
}

.brightloop-lead-card {
    overflow: hidden;
    border-radius: 14px;
}

.lead-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #dbe9f4;
}

.lead-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-image span {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #071936;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(28, 72, 116, 0.16);
}

.lead-content {
    padding: 24px;
}

.lead-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #246bfe;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.lead-content h3 {
    margin: 0;
    color: #071936;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.lead-content strong {
    display: block;
    margin-top: 6px;
    color: #16a8b8;
    font-size: 15px;
    font-weight: 900;
}

.lead-content p {
    margin: 15px 0 0;
    color: #536985;
    font-size: 15px;
    line-height: 1.68;
}

.lead-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.lead-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: #246bfe;
    font-size: 12px;
    font-weight: 800;
}

.brightloop-team-workflow {
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 14px;
}

.workflow-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 24px 20px;
}

.workflow-item + .workflow-item {
    border-top: 1px solid rgba(18, 44, 78, 0.08);
}

.workflow-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #071936;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.workflow-item strong {
    display: block;
    color: #071936;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.workflow-item p {
    margin: 9px 0 0;
    color: #536985;
    font-size: 14px;
    line-height: 1.62;
}

.brightloop-people-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.brightloop-person-card {
    overflow: hidden;
    border-radius: 14px;
}

.brightloop-person-card img {
    display: block;
    width: 100%;
    height: 188px;
    object-fit: cover;
    background: #dbe9f4;
}

.brightloop-person-card div {
    padding: 16px;
}

.brightloop-person-card span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef6ff;
    color: #246bfe;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.brightloop-person-card h3 {
    margin: 11px 0 0;
    color: #071936;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.brightloop-person-card p {
    margin: 4px 0 0;
    color: #637894;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .brightloop-team-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .brightloop-team-note {
        flex-basis: auto;
        width: 100%;
    }

    .brightloop-team-grid {
        grid-template-columns: 1fr;
    }

    .brightloop-team-workflow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .workflow-item + .workflow-item {
        border-top: 0;
        border-left: 1px solid rgba(18, 44, 78, 0.08);
    }
}

@media (max-width: 767px) {
    .brightloop-team-section {
        padding: 66px 0;
    }

    .brightloop-team-header h2 {
        font-size: 34px;
    }

    .lead-image {
        height: 300px;
    }

    .lead-content h3 {
        font-size: 28px;
    }

    .brightloop-team-workflow,
    .brightloop-people-grid {
        grid-template-columns: 1fr;
    }

    .workflow-item + .workflow-item {
        border-left: 0;
        border-top: 1px solid rgba(18, 44, 78, 0.08);
    }

    .brightloop-person-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        align-items: center;
    }

    .brightloop-person-card img {
        width: 116px;
        height: 132px;
    }
}

@media (max-width: 420px) {
    .brightloop-person-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .brightloop-person-card img {
        width: 96px;
        height: 116px;
    }

    .brightloop-person-card h3 {
        font-size: 16px;
    }
}
