/*
 * SERP Expert 2.0.29 — страница «Команда».
 * Макет 931 px перенесён в масштабе ≈×1,43 (контент 1220 px).
 * Коллаж первого экрана масштабируется через container query units (--c = 1/557 ширины).
 */

.se-tp {
    --tp-ink: #0d1424;
    --tp-text: #4b5563;
    --tp-muted: #6b7280;
    --tp-red: #d40101;
    --tp-grey: #f1f2f4;
    --tp-font: var(--font-main, "Manrope", system-ui, sans-serif);
    --tp-head: var(--font-heading, "Raleway", "Manrope", system-ui, sans-serif);
    overflow: hidden;
    background: #fff;
    color: var(--tp-ink);
    font-family: var(--tp-font);
}
.se-tp *, .se-tp *::before, .se-tp *::after { box-sizing: border-box; }
.se-tp__inner { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.se-tp ul, .se-tp ol { margin: 0; padding: 0; list-style: none; }
.se-tp li { margin: 0; padding: 0; list-style: none; }
.se-tp li::before { content: none; }
.se-tp [hidden] { display: none !important; }

.se-tp .se-tp__eyebrow { margin: 0 0 10px; color: var(--tp-red); font: 800 14px/18px var(--tp-font); letter-spacing: .06em; text-transform: uppercase; }
.se-tp .se-tp__title { margin: 0; padding: 0; color: var(--tp-ink); font-family: var(--tp-head); font-size: 42px; line-height: 50px; font-weight: 900; letter-spacing: -0.6px; text-transform: none; }
.se-tp .se-tp__title--sm { font-size: 36px; line-height: 44px; }
.se-tp .se-tp__subtitle { margin: 8px 0 0; color: var(--tp-text); font: 400 19px/27px var(--tp-font); }

.se-tp .se-tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
    border: 0;
    font-family: var(--tp-font);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.se-tp .se-tp-btn svg { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .2s ease; }
.se-tp .se-tp-btn--red { height: 60px; padding: 0 40px; border-radius: 30px; background: linear-gradient(180deg, #e0151b, #c40a0e); box-shadow: 0 14px 30px rgba(196, 10, 14, .3); color: #fff; font-size: 18px; }
.se-tp .se-tp-btn--red:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); }
.se-tp .se-tp-btn--outline { height: 50px; padding: 0 28px; border: 2px solid #e5323b; border-radius: 25px; background: #fff; color: var(--tp-red); font-size: 15.5px; }
.se-tp .se-tp-btn--outline:hover { background: #e5323b; color: #fff; }
.se-tp .se-tp-btn:hover svg { transform: translate(2px, -2px); }
.se-tp .se-tp-btn:focus-visible, .se-tp .se-tp-filter:focus-visible, .se-tp .se-tp-card__link:focus-visible, .se-tp .se-tp-promo__link:focus-visible { outline: 3px solid rgba(212, 1, 1, .3); outline-offset: 3px; }

.se-tp-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid #e3e6eb; border-radius: 16px; background: #f6f7f9; color: #374151; font: 600 14px/1 var(--tp-font); }
.se-tp-chip--white { background: #fff; }

/* ---------- Первый экран ---------- */

.se-tp-hero { padding: 26px 0 40px; }
.se-tp-hero .breadcrumbs, .se-tp-hero .bread { margin-bottom: 26px; }
.se-tp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 40px; align-items: center; }
.se-tp .se-tp-hero__title { margin: 0; padding: 0; color: var(--tp-ink); font-family: var(--tp-head); font-size: 54px; line-height: 60px; font-weight: 900; letter-spacing: -1px; text-transform: none; }
.se-tp-hero__title span { color: var(--tp-red); }
.se-tp .se-tp-hero__text { margin: 22px 0 0; color: #3b4250; font: 400 21px/31px var(--tp-font); }
.se-tp-hero__btn { margin-top: 34px; }
.se-tp .se-tp-hero__btn:hover svg { transform: translateY(3px); }
.se-tp .se-tp-hero__note { margin: 6px 0 0; color: #6b7280; font: 400 13px/18px var(--tp-font); text-align: center; }

.se-tp-collage { container-type: inline-size; width: 100%; }
.se-tp-collage__stage { --c: calc(100cqw / 557); position: relative; height: calc(480 * var(--c)); }
.se-tp-collage__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-tp-collage__shape { position: absolute; left: calc(-6 * var(--c)); top: calc(190 * var(--c)); width: calc(40 * var(--c)); height: calc(70 * var(--c)); border-radius: calc(12 * var(--c)); background: var(--tp-red); }
.se-tp-collage__dot { position: absolute; left: calc(530 * var(--c)); top: calc(10 * var(--c)); width: calc(18 * var(--c)); height: calc(18 * var(--c)); border-radius: 50%; background: #e8202a; }
.se-tp-collage__photo {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: calc(5 * var(--c)) solid #fff;
    border-radius: calc(22 * var(--c));
    background: #eef1f5;
    box-shadow: 0 calc(18 * var(--c)) calc(40 * var(--c)) rgba(13, 20, 36, .14);
}
.se-tp-collage__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.se-tp-collage__photo--1 { left: 0; top: 0; width: calc(196 * var(--c)); height: calc(255 * var(--c)); z-index: 1; }
.se-tp-collage__photo--2 { left: calc(187 * var(--c)); top: calc(151 * var(--c)); width: calc(199 * var(--c)); height: calc(236 * var(--c)); z-index: 2; }
.se-tp-collage__photo--3 { left: calc(345 * var(--c)); top: calc(30 * var(--c)); width: calc(212 * var(--c)); height: calc(271 * var(--c)); z-index: 1; }
.se-tp-collage__label {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    height: calc(42 * var(--c));
    padding: 0 calc(20 * var(--c));
    border-radius: calc(21 * var(--c));
    background: #fff;
    box-shadow: 0 calc(10 * var(--c)) calc(24 * var(--c)) rgba(13, 20, 36, .14);
    color: var(--tp-ink);
    font: 700 calc(15 * var(--c)) / 1 var(--tp-font);
    white-space: nowrap;
}
.se-tp-collage__label--1 { left: calc(193 * var(--c)); top: calc(62 * var(--c)); }
.se-tp-collage__label--2 { left: calc(277 * var(--c)); top: calc(345 * var(--c)); }
.se-tp-collage__label--3 { left: calc(455 * var(--c)); top: calc(272 * var(--c)); }

/* ---------- Руководитель ---------- */

.se-tp-lead { padding: 10px 0 30px; }
.se-tp-lead__card { position: relative; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: center; min-height: 306px; padding: 24px 60px 24px 76px; overflow: hidden; border-radius: 24px; background: var(--tp-grey); }
.se-tp-lead__arc { position: absolute; right: 0; top: 70px; width: 170px; height: 220px; }
.se-tp-lead__photo { position: relative; }
.se-tp-lead__shape { position: absolute; left: -28px; top: 50px; width: 40px; height: 150px; border-radius: 14px; background: var(--tp-red); }
.se-tp-lead__img { position: relative; display: block; height: 258px; overflow: hidden; border-radius: 18px; background: #e3e7ec; box-shadow: 0 16px 34px rgba(13, 20, 36, .14); }
.se-tp-lead__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.se-tp-lead__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.se-tp-lead__body .se-tp__eyebrow { margin-bottom: 8px; font-size: 13px; letter-spacing: .1em; }
.se-tp .se-tp-lead__name { margin: 0 0 14px; padding: 0; color: var(--tp-ink); font-family: var(--tp-font); font-size: 33px; line-height: 40px; font-weight: 800; letter-spacing: -0.3px; text-transform: none; }
.se-tp .se-tp-lead__text { margin: 16px 0 22px; color: var(--tp-text); font: 400 19px/27px var(--tp-font); }

/* ---------- Специалисты ---------- */

.se-tp-list { padding: 30px 0 20px; scroll-margin-top: 90px; }
.se-tp-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.se-tp .se-tp-filter {
    height: 46px;
    margin: 0;
    padding: 0 28px;
    border: 2px solid #e5323b;
    border-radius: 23px;
    background: #fff;
    color: var(--tp-ink);
    font: 700 16px/1 var(--tp-font);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.se-tp .se-tp-filter:hover { background: #fff1f1; }
.se-tp .se-tp-filter.is-active { border-color: transparent; background: linear-gradient(180deg, #e0151b, #c40a0e); box-shadow: 0 10px 22px rgba(196, 10, 14, .25); color: #fff; }

.se-tp .se-tp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 30px; }
.se-tp .se-tp-card { min-width: 0; }
.se-tp .se-tp-card.is-hidden { display: none; }
.se-tp .se-tp-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: var(--tp-grey);
    color: inherit;
    text-decoration: none;
    transition: box-shadow .25s ease, transform .25s ease;
}
.se-tp .se-tp-card__link:hover { box-shadow: 0 18px 40px rgba(13, 20, 36, .12); transform: translateY(-3px); }
.se-tp-card__photo { display: block; height: 180px; overflow: hidden; background: #e3e7ec; }
.se-tp-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .4s ease; }
.se-tp-card__link:hover .se-tp-card__photo img { transform: scale(1.04); }
.se-tp-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 18px 20px 20px; }
.se-tp-card__name { color: var(--tp-ink); font: 800 19px/25px var(--tp-font); }
.se-tp-card__role { margin-top: 8px; color: var(--tp-red); font: 700 17px/22px var(--tp-font); }
.se-tp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; }
.se-tp-card__go { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1.8px solid var(--tp-ink); border-radius: 50%; color: var(--tp-ink); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.se-tp-card__go svg { width: 17px; height: 17px; }
.se-tp-card__link:hover .se-tp-card__go { border-color: var(--tp-red); background: var(--tp-red); color: #fff; }

.se-tp .se-tp-promo {
    position: relative;
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 330px;
    padding: 40px 30px 40px 40px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--tp-grey);
}
.se-tp-promo__arcs { position: absolute; right: 0; top: 0; width: 70%; height: 100%; pointer-events: none; }
.se-tp-promo__copy { position: relative; z-index: 1; }
.se-tp .se-tp-promo__title { margin: 0; padding: 0; color: var(--tp-ink); font-family: var(--tp-font); font-size: 33px; line-height: 40px; font-weight: 800; letter-spacing: -0.3px; text-transform: none; }
.se-tp .se-tp-promo__text { margin: 16px 0 0; color: var(--tp-text); font: 400 18px/26px var(--tp-font); }
.se-tp .se-tp-promo__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 0; border: 0; background: none; color: var(--tp-red); font: 800 20px/1 var(--tp-font); text-decoration: none; cursor: pointer; }
.se-tp .se-tp-promo__link svg { width: 20px; height: 20px; transition: transform .2s ease; }
.se-tp .se-tp-promo__link:hover svg { transform: translate(2px, -2px); }
.se-tp-promo__icon { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex: 0 0 150px; width: 150px; height: 150px; border-radius: 50%; background: #fbdede; color: var(--tp-ink); }
.se-tp-promo__icon svg { width: 76px; height: 76px; }

/* ---------- Шаги и призыв ---------- */

.se-tp-steps { padding: 40px 0 30px; }
.se-tp .se-tp-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 30px; }
.se-tp .se-tp-step { position: relative; display: flex; align-items: flex-start; gap: 22px; }
.se-tp-step:not(:last-child)::after { content: ""; position: absolute; right: -30px; top: 34px; width: 46px; height: 2px; background: #f3b5b8; }
.se-tp-step__num { display: flex; align-items: center; justify-content: center; flex: 0 0 70px; width: 70px; height: 70px; border-radius: 50%; background: #fde4e4; color: var(--tp-red); font: 800 26px/1 var(--tp-font); }
.se-tp-step__copy { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; color: #6b7280; font: 400 15.5px/22px var(--tp-font); }
.se-tp-step__copy b { color: var(--tp-ink); font: 800 20px/26px var(--tp-font); }

.se-tp-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 148px; margin-top: 50px; padding: 28px 56px; overflow: hidden; border-radius: 18px; background: var(--tp-grey); }
.se-tp-cta__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.se-tp-cta__copy { position: relative; z-index: 1; }
.se-tp .se-tp-cta__title { margin: 0; padding: 0; color: var(--tp-ink); font-family: var(--tp-font); font-size: 33px; line-height: 40px; font-weight: 800; letter-spacing: -0.3px; text-transform: none; }
.se-tp .se-tp-cta__text { margin: 8px 0 0; color: var(--tp-text); font: 400 19px/27px var(--tp-font); }
.se-tp-cta__btn { position: relative; z-index: 1; }

/* ---------- Вакансии ---------- */

.se-tp-career { margin-top: 50px; padding: 80px 0 100px; border-top: 1px solid #eceef1; background: linear-gradient(180deg, #fff, #fbfbfc); }
.se-tp-career__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; }
.se-tp .se-tp-career__title { margin: 0; padding: 0; color: var(--tp-ink); font-family: var(--tp-head); font-size: 56px; line-height: 62px; font-weight: 900; letter-spacing: -1px; text-transform: none; }
.se-tp .se-tp-career__text { margin: 18px 0 0; color: #3b4250; font: 400 24px/34px var(--tp-font); }
.se-tp-career__action { position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.se-tp-career__arc { position: absolute; right: -80px; top: -30px; width: 320px; height: 300px; pointer-events: none; }
.se-tp-career__blob { position: absolute; right: -60px; top: 80px; width: 110px; height: 130px; border-radius: 60px 0 0 60px; background: #fdeeee; }
.se-tp-career__dot { position: absolute; right: -16px; top: 60px; width: 22px; height: 22px; border-radius: 50%; background: #e8202a; }
.se-tp .se-tp-career__btn { position: relative; z-index: 1; height: 66px; padding: 0 46px; border-radius: 33px; font-size: 20px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
    .se-tp .se-tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .se-tp .se-tp-promo { grid-column: span 3; min-height: 0; }
    .se-tp .se-tp-hero__title { font-size: 46px; line-height: 52px; }
    .se-tp-lead__card { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; padding: 24px 40px 24px 60px; }
    .se-tp-step:not(:last-child)::after { display: none; }
}

@media (max-width: 960px) {
    .se-tp-hero__grid { grid-template-columns: 1fr; }
    .se-tp-hero__art { max-width: 560px; width: 100%; margin: 10px auto 0; }
    .se-tp .se-tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .se-tp .se-tp-promo { grid-column: span 2; }
    .se-tp .se-tp-steps__list { grid-template-columns: 1fr; gap: 20px; }
    .se-tp-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
    .se-tp-career__grid { grid-template-columns: 1fr; }
    .se-tp-career__action { justify-content: flex-start; min-height: 0; }
    .se-tp-career__arc, .se-tp-career__blob, .se-tp-career__dot { display: none; }
}

@media (max-width: 700px) {
    .se-tp__inner { padding: 0 16px; }
    .se-tp .se-tp-hero__title { font-size: 36px; line-height: 42px; }
    .se-tp .se-tp-hero__text { font-size: 17px; line-height: 25px; }
    .se-tp-hero__text br { display: none; }
    .se-tp .se-tp-btn--red { width: 100%; height: 54px; padding: 0 24px; font-size: 16px; }
    .se-tp .se-tp__title { font-size: 30px; line-height: 36px; }
    .se-tp .se-tp__title--sm { font-size: 26px; line-height: 32px; }
    .se-tp-lead__card { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
    .se-tp-lead__shape, .se-tp-lead__arc { display: none; }
    .se-tp-lead__img { height: 300px; }
    .se-tp .se-tp-lead__name { font-size: 26px; line-height: 32px; }
    .se-tp-filters { gap: 10px; }
    .se-tp .se-tp-filter { height: 40px; padding: 0 18px; font-size: 14px; }
    .se-tp .se-tp-grid { gap: 12px; }
    .se-tp-card__photo { height: 170px; }
    .se-tp-card__body { padding: 14px; }
    .se-tp-card__name { font-size: 16px; line-height: 21px; }
    .se-tp-card__role { font-size: 14.5px; }
    .se-tp-card__foot { padding-top: 14px; }
    .se-tp-chip { height: 28px; padding: 0 10px; font-size: 12px; }
    .se-tp .se-tp-promo { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .se-tp-promo__icon { display: none; }
    .se-tp .se-tp-promo__title, .se-tp .se-tp-cta__title { font-size: 26px; line-height: 32px; }
    .se-tp-promo__text br { display: none; }
    .se-tp-step__num { flex-basis: 56px; width: 56px; height: 56px; font-size: 21px; }
    .se-tp-career { padding: 56px 0 64px; }
    .se-tp .se-tp-career__title { font-size: 36px; line-height: 42px; }
    .se-tp .se-tp-career__text { font-size: 18px; line-height: 27px; }
    .se-tp-career__text br { display: none; }
}

@media (max-width: 460px) {
    .se-tp .se-tp-grid { grid-template-columns: 1fr; }
    .se-tp .se-tp-promo { grid-column: auto; }
    .se-tp-card__photo { height: 260px; }
}
