.tg-offices {
  padding: 40px 0 100px;
  background: #fff;
  font-family: var(--tp-ff-dm, "DM Sans", sans-serif);
}

.tg-offices__inner {
  max-width: 1524px;
  margin: 0 auto;
  padding: 0 24px;
}

.tg-offices__head {
  max-width: 920px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.12);
}

.tg-offices__kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0b1220;
}

.tg-offices__head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0b1220;
}

.tg-offices__head p {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.65;
  color: #5b6478;
}

.tg-offices__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tg-offices__card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: 2px;
  background: #f6f7fb;
}

.tg-offices__city {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b5de7;
}

.tg-offices__role {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #0b1220;
}

.tg-offices__addr {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #5b6478;
  flex: 1 1 auto;
}

.tg-offices__tel {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #0b1220 !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.tg-offices__more {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1b5de7 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 93, 231, 0.25);
  align-self: flex-start;
}

.tg-offices__more:hover {
  border-bottom-color: #1b5de7;
}

.tg-offices__note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.tg-offices__note a {
  color: #1b5de7;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 93, 231, 0.25);
}

.tg-offices__note a:hover {
  border-bottom-color: #1b5de7;
}

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

@media (max-width: 575.98px) {
  .tg-offices {
    padding: 24px 0 72px;
  }

  .tg-offices__grid {
    grid-template-columns: 1fr;
  }
}
