* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8fafd;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    sans-serif;
  color: #0a1927;
  line-height: 1.45;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

/* Хлебные крошки */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: #5a6e7c;
}
.breadcrumb a {
  color: #2c6e9e;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #0f4c6f;
  text-decoration: underline;
}
.breadcrumb span:last-child {
  color: #1f3b4c;
  font-weight: 500;
}

/* hero */
.hero-team {
  margin-bottom: 3rem;
}
.hero-team h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #1a4d5f, #2c7a6e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}
.hero-team p {
  font-size: 1.05rem;
  color: #3c5a64;
  max-width: 700px;
  border-left: 3px solid #2c6e9e;
  padding-left: 1.2rem;
}

/* секция команды (сетка) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f6;
  overflow: hidden;
  transition: all 0.25s ease;
  text-align: center;
  padding-bottom: 1.2rem;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -12px rgba(0, 41, 41, 0.12);
  border-color: #dce5ec;
}

.team-avatar {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center 20%;
  background-color: #d9e5ed;
  position: relative;
}
.avatar-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(145deg, #cbdde6, #e2edf5);
  font-size: 3.5rem;
  font-weight: 400;
  color: #6b8c9c;
}

.team-info {
  padding: 1.2rem 1rem 0.8rem;
}
.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a4d5f;
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #cf2e2e;
  margin-bottom: 0.6rem;
}
.team-bio {
  font-size: 0.85rem;
  color: #3c6470;
  line-height: 1.4;
  padding: 0 0.8rem;
}

/* секция ценностей / атмосферы */
.culture-card {
  background: #ffffff;
  border-radius: 32px;
  border: 1px solid #eef2f6;
  padding: 2rem;
  margin: 2rem 0 1.5rem;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.04);
  text-align: center;
}
.culture-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a4d5f;
  margin-bottom: 1rem;
}
.values-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.value-chip {
  background: #eef3fc;
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1f6475;
}

.footer-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.75rem;
  color: #7c8f9a;
  border-top: 1px solid #e2edf4;
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .team-grid {
    gap: 1.2rem;
  }
}
