.page-contacts {
  background: #f7f8fb;
  color: #1e293b;
}

.page-contacts .footer {
  background: var(--bg);
  color: var(--text);
}

.page-contacts .nav a.nav--active {
  color: #fff;
}

.contacts-page {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.contacts-page__inner {
  width: min(1000px, 100% - 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(160deg, #eef2ff 0%, #e8eefc 100%);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: none;
}

.contacts-card__info h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a8a;
  margin-bottom: 22px;
}

.contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
}

.contacts-list a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.contacts-list a:hover {
  color: #1e3a8a;
}

.contacts-list__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.contacts-list__icon svg {
  width: 22px;
  height: 22px;
  stroke: #2563eb;
}

.contacts-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  background: #dbe6fb;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
}

.contacts-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contacts-bottom {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.contacts-requisites {
  background: linear-gradient(160deg, #eef2ff 0%, #e8eefc 100%);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
}

.contacts-requisites h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a8a;
  margin-bottom: 22px;
}

.requisites-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.requisites-list__row {
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 8px 12px;
  align-items: baseline;
}

.requisites-list__row--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(120px, max-content) 1fr;
}

.requisites-list dt {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 0.92rem;
}

.requisites-list dd {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-word;
}

.contacts-note {
  background: linear-gradient(160deg, #eef2ff 0%, #e8eefc 100%);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
}

.contacts-note h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a8a;
  margin-bottom: 18px;
  line-height: 1.35;
}

.contacts-note__list {
  margin: 0;
  padding-left: 1.25rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts-note__list li::marker {
  color: #1e3a8a;
  font-weight: 700;
}

@media (max-width: 800px) {
  .contacts-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contacts-card__media {
    max-width: 280px;
    order: -1;
  }

  .contacts-bottom {
    grid-template-columns: 1fr;
  }
}
