#employees-page {
    --purple: #760976;
    --purple-dark: #590659;
    --orange: #f5930d;
    --orange-light: #ffa51f;

    --text: #292429;
    --muted: #6d646d;

    --border: #e9e2ea;
    --page: #faf8fa;
    --soft: #f7f2f7;

    --shadow: 0 14px 34px rgba(65, 28, 65, 0.08);

    color: var(--text);
    background: var(--page);

    font-family:
        "ProximaNova Regular",
        Arial,
        sans-serif;
}


#employees-page *,
#employees-page *::before,
#employees-page *::after {
    box-sizing: border-box;
}


#employees-page .container {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
}


#employees-page a {
    text-decoration: none;
}



/* =========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================= */

#employees-page .team-hero {
    position: relative;

    padding: 64px 0 70px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbf7fb 58%,
            #f4eaf4 100%
        );

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}


#employees-page .team-hero::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    width: 37%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            rgba(118, 9, 118, 0.09),
            rgba(245, 147, 13, 0.11)
        );

    clip-path:
        polygon(
            20% 0,
            100% 0,
            100% 100%,
            0 100%
        );
}


#employees-page .team-hero__inner {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        470px;

    align-items: center;

    gap: 68px;
}


#employees-page .eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color: var(--purple);

    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}


#employees-page .eyebrow::before {
    content: "";

    width: 28px;
    height: 2px;

    flex: 0 0 28px;

    background: var(--orange);
}


#employees-page .team-hero h1 {
    max-width: 820px;

    margin: 0;

    color: #111111;

    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.04;
    font-weight: 700;

    letter-spacing: -1.1px;
}


#employees-page .team-hero__lead {
    max-width: 820px;

    margin: 22px 0 0;

    color: #625a62;

    font-size: 18px;
    line-height: 1.65;
}


#employees-page .team-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}



/* =========================================================
   КНОПКИ
   ========================================================= */

#employees-page .button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 12px 22px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


#employees-page .button:hover {
    transform: translateY(-2px);
}


#employees-page .button--orange {
    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            var(--orange-light),
            var(--orange)
        );

    box-shadow:
        0 9px 22px
        rgba(245, 147, 13, 0.22);
}


#employees-page .button--outline {
    color: var(--purple);

    background: #ffffff;

    border: 1px solid #ddd2de;
}



/* =========================================================
   ПРАВЫЙ БЛОК ПЕРВОГО ЭКРАНА
   ========================================================= */

#employees-page .team-hero__visual {
    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow);

    overflow: hidden;
}


#employees-page .team-hero__visual-top {
    padding: 30px 25px;

    background:
        linear-gradient(
            140deg,
            #760976 0%,
            #861286 56%,
            #f5930d 100%
        );
}


#employees-page .team-hero__flow {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;
}


#employees-page .team-hero__flow-item {
    min-width: 0;

    padding: 19px 8px;

    background:
        rgba(255, 255, 255, 0.1);

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 13px;

    text-align: center;
}


#employees-page .team-hero__flow-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0 auto 12px;

    background: #ffffff;

    border-radius: 50%;
}


#employees-page .team-hero__flow-icon img {
    display: block;

    width: 30px;
    height: 30px;

    object-fit: contain;
}


#employees-page .team-hero__flow-title {
    color: #ffffff;

    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}


#employees-page .team-hero__flow-note {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    line-height: 1.35;
}


#employees-page .team-hero__flow-note span {
    color: #ffc36e;
}


#employees-page .team-hero__visual-content {
    padding: 24px 28px 27px;
}


#employees-page .team-hero__quote {
    color: #453e45;

    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;

    text-align: center;
}


#employees-page .team-hero__quote strong {
    color: var(--purple);
}


#employees-page .team-hero__quote-caption {
    margin-top: 9px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.4;

    text-align: center;
}



/* =========================================================
   ФАКТЫ
   ========================================================= */

#employees-page .company-facts {
    position: relative;
    z-index: 3;

    margin-top: -27px;
}


#employees-page .company-facts__grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow);

    overflow: hidden;
}


#employees-page .company-fact {
    padding: 24px 26px;

    border-right: 1px solid var(--border);
}


#employees-page .company-fact:last-child {
    border-right: 0;
}


#employees-page .company-fact strong {
    display: block;

    color: var(--purple);

    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;
}


#employees-page .company-fact span {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}



/* =========================================================
   СЕКЦИИ
   ========================================================= */

#employees-page .section {
    padding: 72px 0;
}


#employees-page .section--white {
    background: #ffffff;
}


#employees-page .section--soft {
    background:
        linear-gradient(
            180deg,
            #fbf9fb,
            #f7f1f7
        );
}


#employees-page .section-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        460px;

    align-items: end;

    gap: 54px;

    margin-bottom: 34px;
}


#employees-page .section-heading h2 {
    margin: 0;

    color: #171217;

    font-size:
        clamp(
            31px,
            3vw,
            42px
        );

    line-height: 1.12;
    font-weight: 700;

    letter-spacing: -0.6px;
}


#employees-page .section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}



/* =========================================================
   ЛОГИСТЫ + КЛИЕНТСКИЙ ОТДЕЛ
   ========================================================= */

#employees-page .profile-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: stretch;

    gap: 24px;
}



/* =========================================================
   ОБЩАЯ КАРТОЧКА — ЛОГИСТЫ
   ========================================================= */

#employees-page .profile-card {
    display: grid;

    grid-template-columns:
        270px
        minmax(0, 1fr);

    align-items: stretch;

    width: 100%;
    min-width: 0;

    height: 560px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 17px;

    box-shadow:
        0 10px 28px
        rgba(55, 24, 55, 0.065);

    overflow: hidden;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


#employees-page .profile-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px
        rgba(55, 24, 55, 0.1);
}



/* =========================================================
   ФОТОЗОНА ЛОГИСТОВ
   ========================================================= */

#employees-page .profile-card__photo {
    position: relative;

    width: 270px;
    height: 560px;

    min-width: 270px;

    padding: 0;
    margin: 0;

    background: #eee9ee;

    overflow: hidden;
}


#employees-page .profile-card__photo::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    z-index: 5;

    width: 1px;
    height: 100%;

    background:
        rgba(118, 9, 118, 0.10);

    pointer-events: none;
}


#employees-page .profile-card__photo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center center;

    border: 0;
    border-radius: 0;
}



/* =========================================================
   ЛОГИСТЫ — КАДРИРОВАНИЕ ТОЛЬКО НА БОЛЬШОМ ПК

   Виталий:
   - приближаем сильнее;
   - уменьшаем количество ноутбука;
   - визуально подтягиваем размер головы к Кириллу.

   Кирилл:
   - почти не увеличиваем;
   - слегка поднимаем кадр;
   - снизу уходит часть рубашки.

   При ширине до 1250 px эти трансформации отключаются,
   потому что карточки перестраиваются в одну колонку.
   ========================================================= */

@media (min-width: 1251px) {

    #employees-page
    #logistics
    .profile-card:nth-child(1)
    .profile-card__photo img,

    #employees-page
    .profile-card--vitaliy
    .profile-card__photo img {
        object-position: 50% 50%;

        transform:
            translateY(-3px)
            scale(1.12);

        transform-origin: 50% 40%;
    }


    #employees-page
    #logistics
    .profile-card:nth-child(2)
    .profile-card__photo img,

    #employees-page
    .profile-card--kirill
    .profile-card__photo img {
        object-position: 50% 50%;

        transform:
            translateY(-7px)
            scale(1.02);

        transform-origin: 50% 28%;
    }

}



/* =========================================================
   КЛИЕНТСКИЙ ОТДЕЛ

   Высота карточки: 500 px
   Фото: 300 × 500 px
   Фото занимает всю высоту.
   ========================================================= */

#employees-page
#client-department
.profile-card {
    grid-template-columns:
        300px
        minmax(0, 1fr);

    height: 500px;
}


#employees-page
#client-department
.profile-card__photo {
    position: relative;

    display: block;

    width: 300px;
    height: 500px;

    min-width: 300px;

    padding: 0;
    margin: 0;

    background: #eee9ee;

    overflow: hidden;
}


#employees-page
#client-department
.profile-card__photo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center center;

    border: 0;
    border-radius: 0;

    transform: none;
}



/* =========================================================
   ЕДИНОЕ КАДРИРОВАНИЕ МЕНЕДЖЕРОВ
   ========================================================= */

#employees-page
.profile-card--marina
.profile-card__photo img,

#employees-page
.profile-card--tatyana
.profile-card__photo img,

#employees-page
.profile-card--anna
.profile-card__photo img,

#employees-page
.profile-card--natalya
.profile-card__photo img {
    object-position: 50% 50%;
}



/* =========================================================
   ТЕКСТОВАЯ ЧАСТЬ — БАЗОВАЯ
   ========================================================= */

#employees-page .profile-card__content {
    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    padding:
        22px
        24px
        22px;

    overflow: hidden;
}


#employees-page .profile-card__header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;

    flex: 0 0 auto;

    padding-bottom: 14px;

    border-bottom:
        1px solid
        var(--border);
}


#employees-page .profile-card__header-main {
    min-width: 0;
}


#employees-page .employee-role {
    color: var(--purple);

    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;

    letter-spacing: 0.2px;

    text-transform: uppercase;
}


#employees-page .profile-card__name {
    margin: 5px 0 0;

    color: #262026;

    font-size: 27px;
    line-height: 1.12;
    font-weight: 800;
}


#employees-page .profile-card__schedule {
    margin-top: 6px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.4;
}



/* =========================================================
   КЛИЕНТСКИЙ ОТДЕЛ — ЧИТАЕМЫЙ ТЕКСТ
   ========================================================= */

#employees-page
#client-department
.profile-card__content {
    padding:
        18px
        18px
        17px;
}


#employees-page
#client-department
.profile-card__header {
    padding-bottom: 10px;
}


#employees-page
#client-department
.employee-role {
    font-size: 12px;
    line-height: 1.3;
}


#employees-page
#client-department
.profile-card__name {
    margin-top: 4px;

    font-size: 26px;
    line-height: 1.1;
}


#employees-page
#client-department
.profile-card__schedule {
    margin-top: 4px;

    font-size: 14px;
    line-height: 1.35;
}



/* =========================================================
   КНОПКА ЛОГИСТОВ
   ========================================================= */

#employees-page .profile-card__action {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding:
        8px
        13px;

    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            #861186,
            var(--purple)
        );

    border-radius: 8px;

    box-shadow:
        0 6px 15px
        rgba(118, 9, 118, 0.16);

    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


#employees-page .profile-card__action:hover {
    color: #ffffff;

    background: var(--purple-dark);

    box-shadow:
        0 8px 18px
        rgba(118, 9, 118, 0.23);

    transform: translateY(-1px);
}



/* =========================================================
   ОПИСАНИЕ
   ========================================================= */

#employees-page .profile-card__description {
    flex: 0 0 auto;

    margin-top: 15px;

    color: #514a51;

    font-size: 15px;
    line-height: 1.55;
}


#employees-page
#client-department
.profile-card__description {
    margin-top: 11px;

    font-size: 15px;
    line-height: 1.48;
}



/* =========================================================
   ОБЯЗАННОСТИ
   ========================================================= */

#employees-page .profile-card__duties {
    display: grid;

    flex: 0 0 auto;

    gap: 6px;

    margin:
        14px
        0
        0;

    padding: 0;

    list-style: none;
}


#employees-page .profile-card__duties li {
    position: relative;

    padding-left: 19px;

    color: #514a51;

    font-size: 14px;
    line-height: 1.42;
}


#employees-page .profile-card__duties li::before {
    content: "";

    position: absolute;

    top: 6px;
    left: 0;

    width: 7px;
    height: 7px;

    background: var(--orange);

    border-radius: 50%;
}


#employees-page
#client-department
.profile-card__duties {
    gap: 5px;

    margin-top: 10px;
}


#employees-page
#client-department
.profile-card__duties li {
    padding-left: 18px;

    font-size: 14px;
    line-height: 1.4;
}



/* =========================================================
   ФАКТЫ ЛОГИСТОВ
   ========================================================= */

#employees-page .profile-card__facts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin-top: auto;

    padding-top: 14px;
}


#employees-page .profile-card__fact {
    padding:
        10px
        11px;

    background: #faf8fb;

    border:
        1px solid
        #f0eaf1;

    border-radius: 8px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.4;
}


#employees-page .profile-card__fact strong {
    display: block;

    margin-bottom: 3px;

    color: var(--purple);

    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
}



/* =========================================================
   КОНТАКТЫ
   ========================================================= */

#employees-page .profile-card__contacts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin-top: auto;

    padding-top: 14px;
}


#employees-page .profile-contact {
    min-width: 0;

    padding:
        10px
        11px;

    background: #faf8fb;

    border:
        1px solid
        #eee7ef;

    border-radius: 8px;
}


#employees-page .profile-contact span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.3;
}


#employees-page .profile-contact a {
    display: inline-block;

    max-width: 100%;

    color: var(--purple);

    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;

    overflow-wrap: anywhere;
}


#employees-page .profile-contact a:hover {
    color: var(--orange);
}


#employees-page .profile-contact small {
    display: block;

    margin-top: 4px;

    color: #867c86;

    font-size: 10px;
    line-height: 1.35;
}


#employees-page
#client-department
.profile-card__contacts {
    gap: 8px;

    padding-top: 10px;
}


#employees-page
#client-department
.profile-contact {
    padding:
        9px
        10px;
}


#employees-page
#client-department
.profile-contact span {
    margin-bottom: 3px;

    font-size: 11px;
}


#employees-page
#client-department
.profile-contact a {
    font-size: 14px;
    line-height: 1.3;
}


#employees-page
#client-department
.profile-contact small {
    margin-top: 3px;

    font-size: 9px;
    line-height: 1.3;
}



/* =========================================================
   ВЫЕЗДНЫЕ СПЕЦИАЛИСТЫ
   ========================================================= */

#employees-page .field-slider {
    position: relative;

    width: 100%;

    padding: 0 3px;
}


#employees-page .field-slider__track {
    display: flex;

    gap: 24px;

    width: 100%;

    padding:
        4px
        2px
        18px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    -ms-overflow-style: none;
}


#employees-page
.field-slider__track::-webkit-scrollbar {
    display: none;
}


#employees-page .field-card {
    display: flex;
    flex-direction: column;

    flex:
        0 0
        calc((100% - 48px) / 3);

    width:
        calc((100% - 48px) / 3);

    min-width: 0;
    min-height: 356px;

    padding:
        20px
        22px
        22px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffefe 100%
        );

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    box-shadow:
        0 10px 28px
        rgba(55, 24, 55, 0.065);

    overflow: hidden;

    scroll-snap-align: start;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}


#employees-page .field-card:hover {
    transform: translateY(-3px);

    border-color: #e2d8e3;

    box-shadow:
        0 16px 36px
        rgba(55, 24, 55, 0.095);
}



/* =========================================================
   ВЕРХ КАРТОЧКИ ВЫЕЗДНОГО СПЕЦИАЛИСТА
   ========================================================= */

#employees-page .field-card__top {
    display: flex;

    align-items: center;

    gap: 18px;

    min-width: 0;

    margin-bottom: 15px;
}


#employees-page .field-card__portrait-zone {
    display: block;

    flex: 0 0 auto;

    width: auto;
    height: auto;

    padding: 0;

    background: transparent;

    border: 0;
}


#employees-page .field-card__portrait {
    position: relative;

    width: 112px;
    height: 112px;

    flex: 0 0 112px;

    background: #eee9ee;

    border:
        5px solid
        #ffffff;

    border-radius: 50%;

    box-shadow:
        0 7px 20px
        rgba(70, 26, 70, 0.14);

    outline:
        1px solid
        #ece5ed;

    overflow: hidden;
}


#employees-page .field-card__portrait img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


#employees-page
.field-card--adil
.field-card__portrait img {
    object-position: 50% 21%;
}


#employees-page
.field-card--maksim
.field-card__portrait img {
    object-position: 50% 27%;
}


#employees-page
.field-card--igor
.field-card__portrait img {
    object-position: 50% 30%;
}


#employees-page .field-card__portrait--placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #f1e3f1,
            #fff1dd
        );
}


#employees-page
.field-card__portrait--placeholder
img {
    width: 54px;
    height: 54px;

    object-fit: contain;

    border-radius: 0;

    opacity: 0.82;
}


#employees-page .field-card__identity {
    min-width: 0;
}


#employees-page
.field-card
.employee-role {
    display: inline-flex;

    align-items: center;

    width: auto;

    padding:
        5px
        10px;

    color: var(--purple);

    background: #f7e8f7;

    border:
        1px solid
        #f0d8f0;

    border-radius: 999px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: 0.15px;

    white-space: nowrap;
}


#employees-page .field-card__name {
    margin:
        8px
        0
        0;

    color: #262026;

    font-size: 24px;
    line-height: 1.12;
    font-weight: 800;

    letter-spacing: -0.25px;
}



/* =========================================================
   ТЕКСТ ВЫЕЗДНЫХ
   ========================================================= */

#employees-page .field-card__content {
    display: flex;
    flex-direction: column;

    flex: 1;

    min-width: 0;

    padding: 0;
}


#employees-page .field-card__description {
    margin: 0;

    padding: 0;

    border: 0;

    color: #5b535b;

    font-size: 14px;
    line-height: 1.5;
}


#employees-page .field-card__duties {
    display: grid;

    gap: 7px;

    margin:
        14px
        0
        0;

    padding: 0;

    list-style: none;
}


#employees-page .field-card__duties li {
    position: relative;

    padding-left: 20px;

    color: #514a51;

    font-size: 13px;
    line-height: 1.42;
}


#employees-page .field-card__duties li::before {
    content: "";

    position: absolute;

    top: 6px;
    left: 0;

    width: 7px;
    height: 7px;

    background: var(--orange);

    border-radius: 50%;
}



/* =========================================================
   СТРЕЛКИ СЛАЙДЕРА
   ========================================================= */

#employees-page .field-slider__button {
    position: absolute;

    top: 50%;

    z-index: 10;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    background: var(--purple);

    border: 0;
    border-radius: 50%;

    color: #ffffff;

    font-family:
        Arial,
        sans-serif;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 22px
        rgba(88, 6, 88, 0.2);

    transform:
        translateY(-50%);

    transition:
        background 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


#employees-page .field-slider__button:hover {
    background: var(--purple-dark);

    box-shadow:
        0 10px 25px
        rgba(88, 6, 88, 0.26);

    transform:
        translateY(-50%)
        scale(1.04);
}


#employees-page
.field-slider__button--prev {
    left: -23px;
}


#employees-page
.field-slider__button--next {
    right: -23px;
}


#employees-page
.field-slider__button:disabled {
    color: #ffffff;

    background: #d8c4d8;

    box-shadow: none;

    opacity: 0.78;

    cursor: default;

    transform:
        translateY(-50%);
}


/* =========================================================
   СХЕМА РАБОТЫ
   ========================================================= */

#employees-page .process-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}


#employees-page .process-card {
    padding:
        22px
        19px;

    background: #ffffff;

    border:
        1px solid
        var(--border);

    border-radius: 13px;
}


#employees-page .process-card__number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: var(--purple);

    border-radius: 10px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}


#employees-page .process-card h3 {
    margin:
        15px
        0
        0;

    color: #211b21;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}


#employees-page .process-card p {
    margin:
        8px
        0
        0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}



/* =========================================================
   CTA
   ========================================================= */

#employees-page .team-cta {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 40px;

    padding:
        36px
        38px;

    background:
        linear-gradient(
            135deg,
            #700870,
            #881088
        );

    border-radius: 18px;

    color: #ffffff;

    overflow: hidden;
}


#employees-page .team-cta::before {
    content: "";

    position: absolute;

    top: -95px;
    right: 12%;

    width: 250px;
    height: 250px;

    border:
        46px solid
        rgba(255, 255, 255, 0.045);

    border-radius: 50%;
}


#employees-page .team-cta__content,
#employees-page .team-cta__actions {
    position: relative;

    z-index: 1;
}


#employees-page .team-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}


#employees-page .team-cta p {
    max-width: 720px;

    margin:
        10px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size: 15px;
    line-height: 1.6;
}


#employees-page .team-cta__actions {
    display: flex;

    gap: 10px;
}


#employees-page
.team-cta
.button--outline {
    color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );

    border-color:
        rgba(
            255,
            255,
            255,
            0.26
        );
}



/* =========================================================
   ДО 1250 PX
   ========================================================= */

@media (max-width: 1250px) {

    #employees-page .profile-grid {
        grid-template-columns: 1fr;
    }


    /* Логисты */

    #employees-page .profile-card {
        grid-template-columns:
            300px
            minmax(0, 1fr);

        height: 500px;
    }


    #employees-page .profile-card__photo {
        width: 300px;
        height: 500px;

        min-width: 300px;
    }


    #employees-page
    #logistics
    .profile-card__photo img {
        transform: none;
        object-position: center center;
    }


    /* Клиентский отдел */

    #employees-page
    #client-department
    .profile-card {
        grid-template-columns:
            300px
            minmax(0, 1fr);

        height: 500px;
    }


    #employees-page
    #client-department
    .profile-card__photo {
        width: 300px;
        height: 500px;

        min-width: 300px;
    }

}



/* =========================================================
   ПЛАНШЕТ
   ========================================================= */

@media (max-width: 1120px) {

    #employees-page .team-hero__inner {
        grid-template-columns: 1fr;
    }


    #employees-page .team-hero__visual {
        max-width: 720px;
    }


    #employees-page .section-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    #employees-page .field-card {
        flex:
            0 0
            calc((100% - 24px) / 2);

        width:
            calc((100% - 24px) / 2);
    }


    #employees-page .process-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}



/* =========================================================
   ДО 900 PX
   ========================================================= */

@media (max-width: 900px) {

    #employees-page .company-facts__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    #employees-page
    .company-fact:nth-child(2) {
        border-right: 0;
    }


    /* Логисты */

    #employees-page .profile-card {
        grid-template-columns:
            235px
            minmax(0, 1fr);

        height: auto;
        min-height: 500px;
    }


    #employees-page .profile-card__photo {
        width: 235px;
        height: 500px;

        min-width: 235px;
        min-height: 500px;
    }


    /* Клиентский отдел */

    #employees-page
    #client-department
    .profile-card {
        grid-template-columns:
            300px
            minmax(0, 1fr);

        height: 500px;
        min-height: 500px;
    }


    #employees-page
    #client-department
    .profile-card__photo {
        width: 300px;
        height: 500px;

        min-width: 300px;
        min-height: 500px;
    }


    #employees-page .profile-card__header {
        display: block;
    }


    #employees-page .profile-card__action {
        margin-top: 12px;
    }


    #employees-page .team-cta {
        grid-template-columns: 1fr;
    }

}



/* =========================================================
   МОБИЛЬНЫЕ
   ========================================================= */

@media (max-width: 700px) {

    #employees-page .container {
        width:
            calc(100% - 24px);
    }


    #employees-page .team-hero {
        padding:
            44px
            0
            54px;
    }


    #employees-page .team-hero h1 {
        font-size: 35px;
        line-height: 1.08;
    }


    #employees-page .team-hero__lead {
        font-size: 16px;
        line-height: 1.6;
    }


    #employees-page .team-hero__actions {
        display: grid;
    }


    #employees-page
    .team-hero__actions
    .button {
        width: 100%;
    }


    #employees-page .team-hero__flow {
        grid-template-columns: 1fr;
    }


    #employees-page .team-hero__flow-item {
        display: grid;

        grid-template-columns:
            50px
            minmax(0, 1fr);

        align-items: center;

        column-gap: 13px;

        text-align: left;
    }


    #employees-page .team-hero__flow-icon {
        grid-row:
            1 / span 2;

        width: 50px;
        height: 50px;

        margin: 0;
    }


    #employees-page .team-hero__flow-title {
        align-self: end;
    }


    #employees-page .team-hero__flow-note {
        align-self: start;

        margin-top: 2px;
    }


    #employees-page .company-facts {
        margin-top: -18px;
    }


    #employees-page .company-facts__grid {
        grid-template-columns: 1fr;
    }


    #employees-page .company-fact {
        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }


    #employees-page .company-fact:last-child {
        border-bottom: 0;
    }


    #employees-page .section {
        padding:
            52px
            0;
    }


    #employees-page .section-heading {
        gap: 17px;

        margin-bottom: 27px;
    }


    #employees-page .section-heading h2 {
        font-size: 30px;
    }


    #employees-page .section-heading p {
        font-size: 16px;
        line-height: 1.6;
    }



    /* =====================================================
       БОЛЬШИЕ КАРТОЧКИ
       ===================================================== */

    #employees-page .profile-card {
        display: block;

        height: auto;
        min-height: 0;
    }


    #employees-page .profile-card__photo {
        width: 100%;
        height: 360px;

        min-width: 0;
        min-height: 0;
    }


    #employees-page .profile-card__photo img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        transform: none;
    }


    #employees-page
    #logistics
    .profile-card__photo img {
        object-position: center 22%;
    }



    /* =====================================================
       КЛИЕНТСКИЙ ОТДЕЛ НА МОБИЛЬНОМ
       ===================================================== */

    #employees-page
    #client-department
    .profile-card {
        display: block;

        height: auto;
        min-height: 0;
    }


    #employees-page
    #client-department
    .profile-card__photo {
        width: 100%;
        height: auto;

        min-width: 0;
        min-height: 0;

        aspect-ratio: 2 / 3;

        background: #eee9ee;
    }


    #employees-page
    #client-department
    .profile-card__photo img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;
        transform: none;
    }


    #employees-page .profile-card__content {
        height: auto;

        padding:
            21px
            19px
            22px;

        overflow: visible;
    }


    #employees-page
    #client-department
    .profile-card__content {
        padding:
            20px
            18px
            20px;
    }


    #employees-page .profile-card__header {
        display: block;
    }


    #employees-page .profile-card__name {
        font-size: 25px;
    }


    #employees-page
    #client-department
    .profile-card__name {
        font-size: 25px;
    }


    #employees-page .profile-card__action {
        width: 100%;

        min-height: 42px;

        margin-top: 13px;

        font-size: 13px;
    }


    #employees-page .profile-card__description {
        font-size: 15px;
        line-height: 1.6;
    }


    #employees-page
    #client-department
    .profile-card__description {
        margin-top: 14px;

        font-size: 15px;
        line-height: 1.55;
    }


    #employees-page .profile-card__duties li {
        font-size: 14px;
        line-height: 1.5;
    }


    #employees-page
    #client-department
    .profile-card__duties {
        margin-top: 13px;

        gap: 6px;
    }


    #employees-page
    #client-department
    .profile-card__duties li {
        font-size: 14px;
        line-height: 1.45;
    }


    #employees-page .profile-card__facts,
    #employees-page .profile-card__contacts {
        grid-template-columns: 1fr;

        margin-top: 0;

        padding-top: 18px;
    }


    #employees-page .profile-card__fact {
        font-size: 13px;
    }


    #employees-page .profile-contact a {
        font-size: 15px;
    }



    /* =====================================================
       ВЫЕЗДНЫЕ
       ===================================================== */

    #employees-page .field-slider {
        padding:
            0
            15px;
    }


    #employees-page .field-card {
        flex:
            0 0
            100%;

        width: 100%;
        min-height: 0;

        padding:
            19px
            19px
            21px;
    }


    #employees-page .field-card__top {
        gap: 16px;

        margin-bottom: 15px;
    }


    #employees-page .field-card__portrait-zone {
        width: auto;
        height: auto;
    }


    #employees-page .field-card__portrait {
        width: 102px;
        height: 102px;

        flex-basis: 102px;
    }


    #employees-page .field-card__name {
        font-size: 23px;
    }


    #employees-page .field-card__description {
        font-size: 14px;
        line-height: 1.52;
    }


    #employees-page .field-card__duties li {
        font-size: 13px;
        line-height: 1.45;
    }


    #employees-page .field-slider__button {
        width: 42px;
        height: 42px;

        font-size: 31px;
    }


    #employees-page
    .field-slider__button--prev {
        left: -4px;
    }


    #employees-page
    .field-slider__button--next {
        right: -4px;
    }


    #employees-page .process-grid {
        grid-template-columns: 1fr;
    }


    #employees-page .team-cta {
        padding:
            28px
            21px;
    }


    #employees-page .team-cta h2 {
        font-size: 27px;
    }


    #employees-page .team-cta p {
        font-size: 15px;
    }


    #employees-page .team-cta__actions {
        display: grid;
    }


    #employees-page
    .team-cta__actions
    .button {
        width: 100%;
    }

}



/* =========================================================
   ОЧЕНЬ УЗКИЕ ЭКРАНЫ
   ========================================================= */

@media (max-width: 420px) {

    #employees-page .profile-card__photo {
        height: 325px;
    }


    #employees-page
    #client-department
    .profile-card__photo {
        height: auto;

        aspect-ratio: 2 / 3;
    }


    #employees-page .field-card {
        padding:
            18px
            17px
            20px;
    }


    #employees-page .field-card__top {
        gap: 14px;
    }


    #employees-page .field-card__portrait-zone {
        width: auto;
        height: auto;
    }


    #employees-page .field-card__portrait {
        width: 88px;
        height: 88px;

        flex-basis: 88px;
    }


    #employees-page
    .field-card
    .employee-role {
        padding:
            4px
            8px;

        font-size: 10px;
    }


    #employees-page .field-card__name {
        margin-top: 7px;

        font-size: 21px;
    }


    #employees-page .profile-card__name {
        font-size: 23px;
    }

}