/* ==========================================================================
   Штыковские двери — стили страницы «О компании»
   ========================================================================== */

/* ============================ Главный экран ============================ */
.about-hero {
    position: relative;
    min-height: 62vh;
    display: flex; align-items: flex-end;
    color: #fff; background: var(--anthracite); overflow: hidden;
}
@media (min-width: 1024px) { .about-hero { min-height: 560px; align-items: center; } }

.about-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 19, 21, .55) 0%, rgba(16, 19, 21, .4) 35%, rgba(16, 19, 21, .94) 100%);
}
@media (min-width: 1024px) {
    .about-hero__overlay {
        background: linear-gradient(90deg, rgba(16, 19, 21, .93) 0%, rgba(16, 19, 21, .74) 48%, rgba(16, 19, 21, .3) 100%);
    }
}
.about-hero__inner { position: relative; max-width: 680px; padding: 56px 0 36px; }
@media (min-width: 1024px) { .about-hero__inner { padding: 48px 32px; } }
.about-hero__eyebrow { color: #8fc4a8; }
.about-hero__title { color: #fff; margin-bottom: 14px; text-wrap: balance; }
.about-hero__lead { font-size: 16px; color: #d3d8da; max-width: 56ch; margin-bottom: 24px; }
@media (min-width: 1024px) { .about-hero__lead { font-size: 18px; } }

.about-facts {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px;
    margin-top: 6px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18);
}
@media (min-width: 700px) { .about-facts { grid-template-columns: repeat(5, 1fr); } }
.about-facts b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 700px) { .about-facts b { font-size: 28px; } }
.about-facts span { font-size: 11px; color: #a9b0b4; line-height: 1.3; display: block; }
@media (min-width: 700px) { .about-facts span { font-size: 12px; } }

/* ============================ Миссия и ценности ============================ */
.mission { margin-bottom: 40px; }
.mission h3 { font-size: var(--h3); margin-bottom: 8px; }
.mission > p { max-width: 68ch; color: var(--ink-2); margin-bottom: 22px; }
.values { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values__item { padding: 18px; background: var(--bg-2); border-radius: var(--radius-lg); }
.values__item h4 { font-size: 15px; margin-bottom: 6px; }
.values__item p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* ============================ Таймлайн ============================ */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 26px; border-left: 2px solid var(--line); }
@media (min-width: 700px) { .timeline { padding-left: 34px; } }
.timeline__item { position: relative; }
.timeline__item::before {
    content: ""; position: absolute; left: -31px; top: 4px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--accent); border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--accent);
}
@media (min-width: 700px) { .timeline__item::before { left: -40px; } }
.timeline__year {
    display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 100px;
    background: var(--accent-tint); color: var(--accent-ink); font-size: 13px; font-weight: 800;
}
.timeline__item h3 { font-size: 17px; margin-bottom: 4px; }
.timeline__item p { font-size: 14px; color: var(--ink-2); margin: 0; max-width: 62ch; }

/* ============================ Команда ============================ */
.team { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.team-card {
    display: block; width: 100%; text-align: left; padding: 0; background: var(--bg);
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.team-card:hover { border-color: var(--muted-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.team-card__media { aspect-ratio: 3 / 4; background: var(--bg-2); overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card__body { padding: 12px 14px 16px; }
.team-card__body h3 { font-size: 15px; margin-bottom: 3px; }
.team-card__body span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 8px; }
.team-card__more { font-size: 12px; font-weight: 700; color: var(--accent); }

/* Модальное окно сотрудника */
.team-modal__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.team-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.team-modal h3 { font-size: 21px; margin: 0 30px 4px 0; }
.team-modal__role { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.team-modal__bio { color: var(--ink-2); margin-bottom: 18px; }
.team-modal__contacts { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.team-modal__contacts a { font-weight: 600; color: var(--accent); }
.team-modal__contacts small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

/* ============================ Экскурсия ============================ */
.excursion { display: grid; gap: var(--gap); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .excursion { grid-template-columns: 1fr 1fr; gap: 48px; } }
.excursion__media { order: -1; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); }
@media (min-width: 1024px) { .excursion__media { order: 0; } }
.excursion__media img { width: 100%; height: 100%; object-fit: cover; }
.excursion__body h2 { margin-bottom: 10px; }
.excursion__body > p { color: var(--ink-2); margin-bottom: 16px; }
.excursion__points { display: grid; gap: 8px; margin-bottom: 22px; }
.excursion__points li {
    position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2);
}
.excursion__points li::before {
    content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800;
}
