/* ===== ConTrend shared footer ===== */

.ct-site-footer-root {
  margin-top: 72px;
  padding: 54px 24px 28px;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #0f172a;
}

.ct-site-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.ct-site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr)) minmax(220px, 1fr);
  gap: 34px;
  align-items: start;
}

.ct-site-footer-brand {
  display: grid;
  gap: 16px;
}

.ct-site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.ct-site-footer-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22d3ee, #4f46e5, #7c3aed);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(79, 70, 229, 0.24);
}

.ct-site-footer-description {
  margin: 0;
  max-width: 360px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}

.ct-site-footer-title {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.ct-site-footer-links,
.ct-site-footer-contact {
  display: grid;
  gap: 10px;
}

.ct-site-footer-links a,
.ct-site-footer-contact a {
  color: #334155;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.ct-site-footer-links a:hover,
.ct-site-footer-contact a:hover {
  color: #4f46e5;
}

.ct-site-footer-contact-note {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.ct-site-footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .ct-site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ct-site-footer-root {
    margin-top: 48px;
    padding: 38px 18px 92px;
  }

  .ct-site-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ct-site-footer-bottom {
    display: grid;
    gap: 8px;
  }
}
