/* Tuiske Digital product footer and service page polish */
.td-clean-footer {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.8fr) !important;
  align-items: start !important;
  gap: clamp(1.5rem, 4vw, 3rem) !important;
}

.td-clean-footer .footer-brand {
  align-items: flex-start !important;
}

.td-clean-footer .footer-brand strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #172b45;
  font-size: 1rem;
}

.td-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
}

.td-footer-columns h3 {
  margin: 0 0 0.65rem;
  color: #172b45;
  font-size: 0.92rem;
}

.td-footer-columns a {
  display: block;
  width: fit-content;
  margin: 0.36rem 0;
  color: #596579;
  font-size: 0.92rem;
  line-height: 1.38;
  text-decoration: none;
}

.td-footer-columns a:hover {
  color: #123b68;
  text-decoration: underline;
}

.td-product-grid,
.td-reference-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.td-product-grid article,
.td-reference-showcase article {
  padding: 1.25rem;
  border: 1px solid rgba(55, 78, 106, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(38, 66, 92, 0.08);
}

.td-product-grid span,
.td-reference-showcase span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: #2f628d;
  font-weight: 800;
}

.td-product-grid h2,
.td-reference-showcase h2 {
  margin: 0 0 0.55rem;
  color: #172b45;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.td-product-grid p,
.td-reference-showcase p {
  margin: 0;
  color: #526174;
}

@media (max-width: 860px) {
  .td-clean-footer {
    grid-template-columns: 1fr !important;
  }

  .td-footer-columns,
  .td-product-grid,
  .td-reference-showcase {
    grid-template-columns: 1fr;
  }
}
