/* ===== TEAM PAGE — надстройка над nachalka.css ===== */

/* ===== HERO ===== */
.tm-hero {
    padding: 56px 0 44px;
    text-align: center;
}

.tm-hero__overline {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nk-muted);
    margin-bottom: 10px;
}

.tm-hero__title {
    font-size: 2.8rem;
    color: var(--nk-navy);
    margin-bottom: 0;
}

.tm-hero__title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--nk-orange);
    border-radius: 2px;
    margin: 16px auto 0;
}

.tm-hero__lead {
    max-width: 780px;
    margin: 24px auto 0;
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--nk-text);
}

.tm-hero__facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px clamp(28px, 6%, 72px);
    margin-top: 40px;
}

.tm-fact {
    max-width: 220px;
}

.tm-fact__num {
    display: block;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--nk-orange);
}

.tm-fact__label {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--nk-muted);
}

/* ===== БЛОК «ОБРАЗОВАНИЕ И ОПЫТ» ===== */
.tm-facts {
    margin-top: 18px;
    text-align: left;
}

.tm-facts__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--nk-navy);
    margin: 0 0 12px;
}

.tm-facts__title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(244, 150, 15, 0.35);
    border-radius: 2px;
}

.tm-facts__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-facts__list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--nk-muted);
}

.tm-facts__list li:last-child {
    margin-bottom: 0;
}

.tm-facts__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nk-orange);
}

/* Личное — обычный абзац, продолжающий описание, без выделения */
.tm-note {
    margin: 12px 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--nk-muted);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .tm-hero__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 700px) {
    .tm-hero {
        padding: 36px 0 32px;
    }

    .tm-hero__title {
        font-size: 1.8rem;
    }

    .tm-hero__lead {
        font-size: 1.05rem;
    }

    .tm-hero__facts {
        gap: 20px 32px;
        margin-top: 30px;
    }

    .tm-fact__num {
        font-size: 2.1rem;
    }

    .tm-facts__list li,
    .tm-note {
        font-size: 0.95rem;
    }
}

@media (max-width: 560px) {
    .tm-hero__overline {
        font-size: 0.8rem;
    }

    .tm-hero__facts {
        flex-direction: column;
        align-items: center;
    }

    .tm-fact {
        max-width: none;
    }
}

/* ---- Небольшие телефоны (≤400px) ---- */
@media (max-width: 400px) {
    .tm-hero { padding: 28px 0 24px; }
    .tm-hero__title { font-size: 1.55rem; }
    .tm-hero__title::after { width: 52px; margin-top: 12px; }
    .tm-hero__lead { margin-top: 18px; }
    .tm-hero__facts { gap: 18px; margin-top: 24px; }
    .tm-fact__num { font-size: 1.9rem; }
    .tm-facts { margin-top: 14px; }
    .tm-facts__list li { padding-left: 15px; }
}
