.qr-switcher {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .13);
}

.qr-switcher button {
  min-height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.qr-switcher button.active {
  background: #fff;
  color: #0b2d66;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 1px dashed rgba(255, 255, 255, .62);
  border-radius: 5px;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.contact-qr {
  width: 172px;
  justify-items: center;
}

.contact-qr .qr-switcher {
  width: 100%;
  justify-content: center;
}

.contact-qr .qr-switcher button {
  flex: 1;
  padding: 0 4px;
}

.contact-qr .qr-placeholder {
  width: 76px;
  height: 76px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.qr-card .qr-switcher {
  background: var(--soft);
}

.qr-card .qr-switcher button {
  color: var(--navy);
}

.qr-card .qr-switcher button.active {
  background: var(--navy);
  color: #fff;
}

.qr-card .qr-placeholder {
  width: 150px;
  height: 150px;
  border-color: #b9c5d5;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.contact-info {
  grid-template-columns: minmax(160px, 1fr) 172px auto;
}

.contact-page-grid {
  align-items: stretch;
}

.contact-info-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.contact-direct {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 2;
}

.contact-qr-list {
  display: grid;
  gap: 12px;
}

.contact-qr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-qr-item h4 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 14px;
}

.contact-qr-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.contact-qr-code {
  display: grid;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  place-items: center;
  padding: 8px;
  border: 1px dashed #b9c5d5;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.contact-tagline {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 18px 2px 0;
}

.contact-tagline strong {
  color: var(--navy);
  font-size: 16px;
}

.contact-tagline span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .contact-info {
    grid-template-columns: minmax(150px, 1fr) 162px auto;
  }
}

@media (max-width: 680px) {
  .contact-info {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

  .contact-qr {
    width: 160px;
  }

  .contact-qr .qr-placeholder {
    width: 68px;
    height: 68px;
  }
}
