/* Первый экран главной (правки клиента 16.11.2026, п. 3.4 инструкции). Подключается только на главной. */
/* Первый экран главной: три портрета команды. Все правила — внутри .hero-team */
.hero-team{
  --ht-top:#14294B; --ht-ink:#0E1F33; --ht-bottom:#0A1728;   /* тёмно-синий фон */
  --ht-card:#16233A; --ht-blue:#4464FF; --ht-text:#C9D0DA; --ht-muted:#9AA5B4;
  --ht-header:87px;                                           /* высота фиксированной шапки сайта */
  position:relative; overflow:hidden; display:flex; flex-direction:column; min-height:700px;
  padding-top:var(--ht-header); color:#fff;
  background:linear-gradient(160deg,var(--ht-top) 0%,var(--ht-ink) 55%,var(--ht-bottom) 100%);
  font-family:'Roboto Flex',Arial,sans-serif;
}
.hero-team *{box-sizing:border-box}
.hero-team__bg{position:absolute; inset:0; pointer-events:none}
.hero-team__bg::before{content:''; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 70% 40%,#000 30%,transparent 75%);
  mask-image:radial-gradient(ellipse 80% 70% at 70% 40%,#000 30%,transparent 75%)}
.hero-team__bg::after{content:''; position:absolute; width:760px; height:760px; right:-200px; top:-300px;
  background:radial-gradient(circle,rgba(68,100,255,.32),transparent 62%)}
.hero-team__in{position:relative; z-index:1; flex:1; width:100%; max-width:1440px; margin:0 auto;
  display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1fr); gap:56px; align-items:center; padding:52px 60px 44px}
.hero-team__eyebrow{margin:0; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#8EA2FF}
.hero-team__title{margin:14px 0 20px; font-size:58px; line-height:1.05; font-weight:500; letter-spacing:-.01em; color:#fff}
.hero-team__lead{margin:0; max-width:520px; font-size:19px; line-height:1.5; color:var(--ht-text)}
.hero-team__cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:30px}
.hero-team__btn{display:inline-flex; align-items:center; justify-content:center; height:52px; padding:0 26px; border-radius:8px;
  font-size:15px; font-weight:500; text-decoration:none; white-space:nowrap; transition:background-color .2s}
.hero-team__btn--primary{background:var(--ht-blue); color:#fff}
.hero-team__btn--primary:hover{background:#2F4BE0}
.hero-team__btn--white{background:#fff; color:#0E1F33}
.hero-team__btn--white:hover{background:#E9EDF3}
.hero-team__btn:focus-visible,.hero-team__slot:focus-visible,.hero-team__all:focus-visible,.hero-team__pause:focus-visible{outline:2px solid #fff; outline-offset:3px}

/* портреты */
.hero-team__people{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start}
.hero-team__slot{position:relative; display:block; aspect-ratio:5/7; border-radius:20px; overflow:hidden; color:#fff; text-decoration:none;
  background:var(--ht-card); border:1px solid rgba(255,255,255,.08); box-shadow:0 24px 60px rgba(0,0,0,.4)}
.hero-team__slot:nth-child(2){margin-top:34px}
.hero-team__p{position:absolute; inset:0; opacity:0; transition:opacity 1.2s ease}
.hero-team__p.is-on{opacity:1}
.hero-team__ini{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:54px; font-weight:500; color:#6E7A8B;
  background:linear-gradient(160deg,#22324C,#111D30)}
.hero-team__p img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 18%; display:block}
.hero-team__p.is-on img{animation:hero-team-zoom 9s ease-out forwards}
@keyframes hero-team-zoom{from{transform:scale(1)}to{transform:scale(1.06)}}
.hero-team__cap{position:absolute; left:0; right:0; bottom:0; min-height:170px; padding:54px 14px 14px; display:flex; flex-direction:column; gap:5px;
  background:linear-gradient(180deg,rgba(8,17,32,0),rgba(8,17,32,.88) 46%,rgba(8,17,32,.96))}
.hero-team__chip{align-self:flex-start; padding:4px 8px; border-radius:7px; font-size:11px; line-height:1.25; background:rgba(68,100,255,.9); color:#fff}
.hero-team__cap b{font-size:16px; line-height:1.2; font-weight:600}
.hero-team__cap i{font-style:normal; font-size:12px; line-height:1.3; color:var(--ht-text);
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.hero-team__foot{display:flex; align-items:center; gap:14px; margin-top:22px}
.hero-team__all{font-size:14px; color:#AFC0FF; text-decoration:none; border-bottom:1px solid rgba(175,192,255,.4)}
.hero-team__all:hover{color:#fff; border-bottom-color:#fff}
.hero-team__pause{width:32px; height:32px; padding:0; border-radius:50%; border:1px solid rgba(255,255,255,.28); background:transparent; color:#fff; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center}
.hero-team__pause[hidden]{display:none}
.hero-team__pause:hover{border-color:#fff}
.hero-team__pause svg{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.hero-team__ico-play{display:none; fill:currentColor; stroke-width:1}
.hero-team__pause[aria-pressed=true] .hero-team__ico-play{display:block}
.hero-team__pause[aria-pressed=true] .hero-team__ico-pause{display:none}

/* полоса фактов */
.hero-team__proof{position:relative; z-index:1; margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.1); background:rgba(6,14,30,.42)}
.hero-team__proof li{padding:18px 20px 20px 60px}
.hero-team__proof li+li{padding-left:24px; border-left:1px solid rgba(255,255,255,.1)}
.hero-team__proof small{display:block; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ht-muted)}
.hero-team__proof strong{display:block; margin-top:3px; font-size:17px; line-height:1.25; font-weight:600}

/* планшет */
@media (max-width:1100px){
  .hero-team__in{gap:32px; padding:40px 32px 36px}
  .hero-team__title{font-size:46px}
  .hero-team__proof li{padding-left:32px}
}
/* телефон: два портрета, всё в одну колонку */
@media (max-width:760px){
  .hero-team{--ht-header:67px; min-height:0}
  .hero-team__in{grid-template-columns:1fr; gap:26px; padding:30px 16px 26px}
  .hero-team__title{font-size:36px; margin:10px 0 14px}
  .hero-team__lead{font-size:16px}
  .hero-team__cta{margin-top:22px}
  .hero-team__btn{width:100%}
  .hero-team__people{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px}
  .hero-team__slot:nth-child(2){margin-top:22px}
  .hero-team__slot:nth-child(3){display:none}
  .hero-team__cap{min-height:142px; padding:42px 10px 10px}
  .hero-team__cap b{font-size:14px}
  .hero-team__cap i{font-size:11px}
  .hero-team__foot{margin-top:14px}
  .hero-team__proof{grid-template-columns:1fr 1fr}
  .hero-team__proof li,.hero-team__proof li+li{padding:12px 12px 13px 16px; border-left:0; border-top:1px solid rgba(255,255,255,.08)}
  .hero-team__proof li:nth-child(even){border-left:1px solid rgba(255,255,255,.08)}
  .hero-team__proof small{font-size:10px}
  .hero-team__proof strong{font-size:14px}
}
/* системная настройка «уменьшить движение»: без смены и приближения */
@media (prefers-reduced-motion:reduce){
  .hero-team__p{transition:none}
  .hero-team__p.is-on img{animation:none}
}

/* Широкие экраны (17.11): блок шире и крупнее, чтобы первый экран не выглядел пустым на 1440–1920 px. */
@media (min-width:1280px){
  .hero-team{min-height:min(860px,100vh)}
  .hero-team__in{max-width:1760px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;padding:48px 64px 44px}
  .hero-team__title{font-size:clamp(50px,3.5vw,66px)}
  .hero-team__lead{font-size:clamp(18px,1.15vw,21px);max-width:600px}
  .hero-team__people{gap:20px}
  .hero-team__slot:nth-child(2){margin-top:44px}
  .hero-team__cap{min-height:200px;padding:60px 16px 16px}
  .hero-team__cap b{font-size:18px}
  .hero-team__cap i{font-size:13px}
  .hero-team__chip{font-size:12px}
  .hero-team__proof li{padding-left:64px}
  .hero-team__proof li+li{padding-left:28px}
  .hero-team__proof strong{font-size:19px}
}@media (min-width:1101px) and (max-width:1279px){.hero-team__title{font-size:44px}}
@media (min-width:1440px){.hero-team__btn{height:58px;padding:0 32px;font-size:16px}}
