@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --almaz-blue: #005cb9;
  --almaz-blue-2: #187ac6;
  --almaz-orange: #e75204;
  --almaz-light: #99b9e2;
  --text: #1f2933;
  --muted: #5f6b76;
  --border: #dce4ee;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  height: 34px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
}

.logo-diamond {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: var(--almaz-blue);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

nav a.active,
nav a:hover {
  border-bottom-color: var(--almaz-orange);
}

.hero {
  background: linear-gradient(120deg, rgba(0, 92, 185, 0.08), rgba(231, 82, 4, 0.08));
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  margin: 0;
  padding: 42px 0;
  font-size: clamp(30px, 5vw, 44px);
  color: var(--almaz-blue);
}

.section {
  padding: 34px 0;
}

.section h2 {
  margin: 0 0 16px;
  color: var(--almaz-blue);
  font-size: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--almaz-blue-2);
}

.card p,
.card li {
  line-height: 1.6;
  color: var(--text);
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-photo {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

a.mail {
  color: var(--almaz-blue);
  font-weight: 600;
  text-decoration: none;
}

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

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-card h3 {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--almaz-blue);
}

.company-logo {
  min-height: 56px;
  display: flex;
  align-items: center;
}

.company-logo svg {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
}

.company-logo--fallback {
  background: linear-gradient(120deg, rgba(0, 92, 185, 0.08), rgba(231, 82, 4, 0.08));
  border-radius: 8px;
}

.support-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
}

.support-images {
  display: flex;
  gap: 8px;
}

.support-images img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

footer p {
  margin: 0;
  padding: 18px 0 26px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .companies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .companies-grid {
    grid-template-columns: 1fr;
  }
}
