*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #1565c0;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

.avatar {
  width: 220px;
  height: 220px;
  border: 8px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.intro h1 {
  margin: 1.25rem 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.role {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

.stats {
  padding: 1.5rem 1.5rem 3rem;
}

.stats ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #7dd3fc;
}

.stats span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  color: #b3e5fc;
}

.work {
  width: 100%;
  margin: 0;
  padding: 1.5rem 1.25rem;
  background: #f1f1f1;
  color: #123;
}

.work h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
}

.work ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: calc(2 * 400px + 0.75rem);
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.work li {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 400px;
  max-width: 100%;
  padding: 1rem 1.25rem;
  background: #fff;
  color: #123;
  border: 1px solid #c6c6c6;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 399px) {
  .work li {
    width: 100%;
  }
}

.work img,
.logo-mark {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.work img {
  object-fit: contain;
}

.work img.cover {
  object-fit: cover;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.logo-mark-ib {
  background: #0f766e;
}

.logo-mark-ba {
  background: #db2777;
}

.work a {
  color: #1565c0;
  text-decoration: none;
}

.work a:hover {
  text-decoration: underline;
}

.work .company,
.work .city,
.work .position {
  margin: 0;
}

.work .company {
  font-weight: 700;
  font-size: 1.05rem;
}

.work li > div {
  min-width: 0;
}

.work .city {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: #4a5568;
  overflow-wrap: anywhere;
}

.work .position {
  margin-top: 0.25rem;
}

.services {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
  text-align: center;
}

.services h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.rate {
  margin: 0 0 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #7dd3fc;
}

.services ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  flex: 1 1 8rem;
  max-width: 14rem;
  margin: 0;
}

.services strong {
  display: block;
  font-size: 1.05rem;
}

.services span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.contacts {
  background: #fff;
  color: #123;
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
}

.contacts h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.contacts ul {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contacts a {
  display: block;
}

.contacts img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.contacts a:hover img {
  opacity: 0.85;
}
