/* Team hub: /vrachi/ */
.team-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 104px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 92% 0%, #0d6d60 0%, transparent 62%),
    radial-gradient(50% 80% at 0% 100%, #0a574d 0%, transparent 60%),
    var(--deep);
}
.team-hero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 56px;
  align-items: center;
}
.team-hero .label { color: var(--mint); }
.team-hero h1 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.team-hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--mint);
  font-size: .52em;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.team-hero .lead {
  max-width: 56ch;
  margin-top: 20px;
  color: var(--on-deep-muted);
  font-size: 19px;
  line-height: 1.55;
}
.team-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.team-hero__acts .btn-ghost-l {
  background: #17695f;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28);
}
.team-hero__acts .btn-ghost-l:hover { background: #2a766d; }
.team-hero__note { margin-top: 16px; color: var(--on-deep-muted); font-size: 13px; }

.team-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.team-collage__person {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / .55);
}
.team-collage__person img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-collage__person:hover img { transform: scale(1.04); }
.team-collage__person span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgb(0 46 40 / .84);
  backdrop-filter: blur(8px);
}
.team-collage__person b { display: block; font-size: 14px; line-height: 1.2; }
.team-collage__person small { display: block; margin-top: 2px; color: var(--on-deep-muted); font-size: 11px; line-height: 1.2; }

.team-stats { position: relative; z-index: 2; margin-top: -52px; }
.team-stats ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sh-2);
}
.team-stats li { padding: 24px 26px; border-right: 1px solid var(--line); }
.team-stats li:last-child { border-right: 0; }
.team-stats b { display: block; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.team-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; }
.team-card__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 20px 22px; }
.team-card__body .chip { margin-bottom: 2px; }
.team-card__name { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.team-card__text { color: var(--muted); font-size: 14px; line-height: 1.5; }
.team-card .more { margin-top: auto; padding-top: 8px; color: var(--brand); }
.team-note { margin-top: 24px; padding: 18px 22px; border-radius: 16px; background: var(--bg); color: var(--muted); font-size: 15px; line-height: 1.5; }
.team-note b { color: var(--ink); }

.team-adv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-adv .card { display: flex; align-items: flex-start; gap: 14px; padding: 24px; }
.team-adv .card b { display: block; font-size: 17px; line-height: 1.25; }
.team-adv .card p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.triage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.triage-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; color: inherit; text-decoration: none; }
.triage-card h3 { font-size: 19px; line-height: 1.2; }
.triage-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.triage-card .more { margin-top: auto; padding-top: 8px; color: var(--brand); }
.triage-card:hover h3 { color: var(--brand); }
.triage-note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.triage-note a { color: var(--brand); font-weight: 600; text-decoration: none; }
.book-cta { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.book-cta .label { color: var(--brand); }
.book-cta h3 { color: var(--ink); font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }
.book-cta p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.book-cta .btn { width: 100%; }
.book-cta .fine { font-size: 12px; }
#team,
#approach,
#triage,
#reviews,
#posts,
#contacts { scroll-margin-top: 96px; }

@media (max-width: 1100px) {
  .team-hero > .wrap { grid-template-columns: 1fr; gap: 32px; }
  .team-collage { justify-self: start; max-width: 440px; }
  .team-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-stats li:nth-child(2) { border-right: 0; }
  .team-stats li:nth-child(1),
  .team-stats li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .team-grid,
  .triage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-adv { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .team-hero { padding: 28px 0 88px; }
  .team-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .team-hero .lead { font-size: 17px; }
  .team-hero__acts { flex-direction: column; align-items: stretch; }
  .team-hero__acts .btn { width: 100%; }
  .team-collage { max-width: 340px; gap: 8px; }
  .team-stats { margin-top: -40px; }
  .team-stats li { padding: 18px; }
  .team-grid,
  .triage-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: row; align-items: stretch; }
  .team-card__photo { flex: 0 0 132px; aspect-ratio: auto; min-height: 168px; }
  .team-card__body { gap: 6px; padding: 16px 16px 16px 18px; }
  .team-card__body .chip { padding: 4px 9px; font-size: 11px; line-height: 1.25; white-space: normal; }
  .team-card__name { font-size: 17px; }
  .team-card__text { font-size: 13px; line-height: 1.45; }
  .team-card .more { padding-top: 4px; font-size: 13px; }
}
