/* Contact page: card layout that replaced the Webflow form. */
.section-title-wrap.page-title.contact {
  margin-bottom: 50px;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: 20px;
  color: var(--black);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--black);
  color: var(--stabilo-yellow);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-label {
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
}

.contact-card-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.contact-social-label {
  font-weight: 700;
}

.contact-social .social-media-list-wrapper {
  margin: 0;
}

@media screen and (max-width: 991px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 549px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
    padding: 18px 20px;
  }

  .contact-card-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .contact-card-label {
    align-self: end;
  }

  .contact-card-value {
    align-self: start;
  }

  .contact-social {
    flex-wrap: wrap;
  }
}
