/* Contact Us — from Figma node 157:4182 (TIQS Website) */
.page-contact {
  min-height: 100vh;
}

.contact-main {
  margin: 0 auto;
  padding: 144px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-card--visit {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  min-width: 0;
}

.contact-card-column {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact-card--inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  padding: 10px;
  flex-shrink: 0;
  background-color: #ffedfa;
  border-radius: 60%;
}

.contact-card__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-card__title {
  margin: 0;

  font-size: 20px;
  font-weight: 700;
  color: #333333;
  line-height: normal;
}

.contact-card__text {
  margin: 0;

  font-size: 16px;
  font-weight: 500;
  color: #747474;
  line-height: 24px;
}

.contact-card__text a {
  color: inherit;
  text-decoration: none;
}

.contact-card__text a:hover {
  text-decoration: underline;
}

.contact-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;

  font-size: 16px;
  color: #333333;
}

.contact-table thead th {
  background: #fafafa;
  font-weight: 700;
  text-align: left;
  padding: 20px;
  letter-spacing: -0.5px;
  border: none;
}

.contact-table thead th:first-child {
  width: 264px;
}

.contact-table tbody td {
  padding: 20px;
  border-bottom: 1px solid #eeeeee;
  vertical-align: middle;
}

.contact-table tbody tr:last-child td {
  border-bottom: none;
}

.contact-table .col-desc {
  font-weight: 500;
  letter-spacing: -0.5px;
  width: 264px;
}

.contact-table .col-data {
  font-weight: 400;
}

.contact-table .col-hours {
  text-align: center;
}

/* =============================================================================
   Responsive — max-width: 960px
   ============================================================================= */

@media (max-width: 960px) {
  .contact-main {
    padding-top: 120px;
    gap: 24px;
  }

  .contact-card__title {
    font-size: 16px;
  }

  .contact-card__text {
    font-size: 14px;
  }

  .contact-table {
    font-size: 14px;
  }

  .contact-table tbody td,
  .contact-table thead th {
    padding: 12px 0px;
  }
  .contact-table tbody td + td,
  .contact-table thead th + th {
    padding-left: 12px;
  }

  .contact-table tbody td:first-child,
  .contact-table thead th:first-child {
    width: 22%;
    padding-left: 12px;
  }
}

/* =============================================================================
   Responsive — max-width: 640px
   ============================================================================= */

@media (max-width: 640px) {
  .contact-card-column {
    flex-direction: row;
  }

  .contact-card--inline {
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
  }
}
