.mkik-team-section {
    padding: 34px 0 54px;
    background: #ffffff;
}

.mkik-team-section__inner {
    position: relative;
    overflow: hidden;
    padding: 38px 42px 42px;
    border: 1px solid rgba(232, 237, 244, 0.92);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(20, 33, 61, 0.06);
}

.mkik-team-section__head {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.mkik-team-section__head h2 {
    margin: 0 0 12px;
    color: var(--mkik-dark);
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.mkik-team-section__head p {
    max-width: 720px;
    margin: 0;
    color: #59637c;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
}

.mkik-team-scroll-wrap {
    position: relative;
    z-index: 2;
    margin: 0 -10px;
}

.mkik-team-scroll-wrap::before,
.mkik-team-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 3;
    width: 70px;
    height: calc(100% - 14px);
    pointer-events: none;
}

.mkik-team-scroll-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.mkik-team-scroll-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.mkik-team-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 4px 10px 18px;
    scrollbar-width: auto;
    scrollbar-color: rgba(255, 90, 31, 0.55) rgba(232, 237, 244, 0.75);
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.mkik-team-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.mkik-team-grid::-webkit-scrollbar {
    height: 12px;
}

.mkik-team-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(232, 237, 244, 0.75);
}

.mkik-team-grid::-webkit-scrollbar-thumb {
    border: 3px solid rgba(232, 237, 244, 0.75);
    border-radius: 999px;
    background: rgba(255, 90, 31, 0.72);
}

.mkik-team-grid::-webkit-scrollbar-thumb:hover {
    background: var(--mkik-orange);
}

.mkik-team-card {
    flex: 0 0 272px;
    min-width: 272px;
    overflow: hidden;
    border: 1px solid rgba(232, 237, 244, 0.92);
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    scroll-snap-align: start;
    box-shadow: 0 12px 32px rgba(20, 33, 61, 0.045);
    transition: 0.2s ease;
}

.mkik-team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(20, 33, 61, 0.08);
}

.mkik-team-card__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 188px;
    padding: 30px 22px;
    background: #fff8f4;
}

.mkik-team-card__photo img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 14px 28px rgba(20, 33, 61, 0.12);
    pointer-events: none;
}

.mkik-team-card__photo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--mkik-orange);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    border: 5px solid #ffffff;
    box-shadow: 0 14px 28px rgba(20, 33, 61, 0.12);
}

.mkik-team-card__body {
    padding: 30px 24px 30px;
}

.mkik-team-card h3 {
    margin: 0 0 12px;
    color: var(--mkik-dark);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.mkik-team-card__position {
    min-height: 48px;
    margin: 0 0 22px;
    color: #59637c;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
}

.mkik-team-card__contacts {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.mkik-team-card__contact {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding-left: 28px;
    color: #25304f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
    text-align: left;
    user-select: text;
}

.mkik-team-card__contact:hover {
    color: var(--mkik-orange);
}

.mkik-team-card__contact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mkik-team-card__contact--email::before {
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6H20V18H4V6Z' stroke='%23FF5A1F' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M4 7L12 13L20 7' stroke='%23FF5A1F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mkik-team-card__contact--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92V19.92C22 20.4723 21.5523 20.92 21 20.92C11.0589 20.92 3 12.8611 3 2.92C3 2.36772 3.44772 1.92 4 1.92H7C7.55228 1.92 8 2.36772 8 2.92V6.92C8 7.47228 7.55228 7.92 7 7.92H5.1C6.08268 11.689 9.231 14.8373 13 15.82V13.92C13 13.3677 13.4477 12.92 14 12.92H18C18.5523 12.92 19 13.3677 19 13.92V16.92C19 17.4723 18.5523 17.92 18 17.92H16.92' stroke='%23FF5A1F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 991px) {
    .mkik-team-section {
        padding: 28px 0 42px;
    }

    .mkik-team-section__inner {
        padding: 32px 28px 36px;
    }

    .mkik-team-section__head {
        margin-bottom: 24px;
    }

    .mkik-team-card {
        flex: 0 0 248px;
        min-width: 248px;
    }

    .mkik-team-card__body {
        padding: 26px 20px 26px;
    }
}

@media (max-width: 760px) {
    .mkik-team-section {
        padding: 24px 0 36px;
    }

    .mkik-team-section__inner {
        padding: 28px 20px 32px;
        border-radius: 18px;
    }

    .mkik-team-section__head h2 {
        font-size: 26px;
    }

    .mkik-team-section__head p {
        font-size: 15px;
    }

    .mkik-team-scroll-wrap {
        margin: 0 -6px;
    }

    .mkik-team-scroll-wrap::before,
    .mkik-team-scroll-wrap::after {
        width: 34px;
    }

    .mkik-team-grid {
        gap: 18px;
        padding: 4px 6px 18px;
    }

    .mkik-team-card {
        flex: 0 0 224px;
        min-width: 224px;
    }

    .mkik-team-card__photo {
        height: 160px;
        padding: 22px 16px;
    }

    .mkik-team-card__photo img,
    .mkik-team-card__photo span {
        width: 110px;
        height: 110px;
    }

    .mkik-team-card__body {
        padding: 22px 18px 24px;
    }

    .mkik-team-card h3 {
        font-size: 18px;
    }

    .mkik-team-card__position {
        min-height: auto;
        margin-bottom: 18px;
    }

    .mkik-team-card__contacts {
        gap: 10px;
    }

    .mkik-team-card__contact {
        font-size: 13px;
    }
}