/* =========================================
   WEBEDGE CORPORATE PROFESSIONAL FOOTER
   Clean footer without card-style columns
========================================= */

.wedx-footer {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eef6ff 100%);
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  padding: 74px 0 0;
  overflow: hidden;
}

.wedx-footer,
.wedx-footer * {
  box-sizing: border-box;
}

.wedx-footer a {
  color: inherit;
  text-decoration: none;
}

.wedx-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(20, 184, 166, 0.1),
      transparent 26%
    ),
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.1), transparent 28%);
  pointer-events: none;
}

.wedx-footer-top-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, 92%);
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0f766e, #2563eb, #7c3aed);
  border-radius: 999px;
}

.wedx-footer-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, 92%);
  margin: auto;
}

/* CTA */
.wedx-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 42px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 42px;
}

.wedx-kicker {
  display: inline-block;
  color: #0f766e;
  font-weight: 950;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.wedx-footer-cta h2 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 0 0 10px;
  color: #0f172a;
}

.wedx-footer-cta p {
  color: #64748b;
  font-weight: 650;
  line-height: 1.7;
  max-width: 760px;
}

.wedx-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wedx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.28s ease;
}

.wedx-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #2563eb 58%, #7c3aed);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.wedx-btn-light {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.wedx-btn:hover {
  transform: translateY(-4px);
}

/* MAIN */
.wedx-footer-main {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr 0.85fr 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.wedx-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.wedx-brand-logo img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.14);
}

.wedx-brand-logo strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1.12;
  background: linear-gradient(90deg, #0f766e, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wedx-brand-logo small {
  display: block;
  color: #64748b;
  font-weight: 850;
  margin-top: 5px;
}

.wedx-footer-brand p {
  max-width: 420px;
  color: #64748b;
  line-height: 1.82;
  font-weight: 650;
}

.wedx-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.wedx-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2563eb;
  background: #ffffff;
  border: 1px solid #dbeafe;
  transition: 0.28s ease;
}

.wedx-socials a:hover {
  transform: translateY(-5px);
  color: #ffffff;
  background: #2563eb;
}

.wedx-footer-col h3,
.wedx-footer-contact h3 {
  font-size: 1.05rem;
  font-weight: 950;
  margin-bottom: 20px;
  color: #0f172a;
  position: relative;
}

.wedx-footer-col h3::after,
.wedx-footer-contact h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

.wedx-footer-col a {
  display: block;
  color: #475569;
  font-weight: 800;
  margin-bottom: 13px;
  line-height: 1.45;
  transition: 0.25s ease;
}

.wedx-footer-col a:hover {
  color: #2563eb;
  transform: translateX(5px);
}

.wedx-footer-contact p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #475569;
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 14px;
}

.wedx-footer-contact i {
  color: #2563eb;
  width: 18px;
  margin-top: 4px;
}

.wedx-footer-contact a:hover {
  color: #2563eb;
}

.wedx-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb !important;
  font-weight: 900;
  transition: 0.28s ease;
}

.wedx-contact-btn:hover {
  background: #2563eb;
  color: #ffffff !important;
  transform: translateY(-4px);
}

/* BOTTOM */
.wedx-footer-bottom {
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.wedx-footer-bottom p,
.wedx-footer-bottom a {
  color: #64748b;
  font-weight: 800;
}

.wedx-footer-bottom div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.wedx-footer-bottom a:hover {
  color: #2563eb;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .wedx-footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
  }

  .wedx-footer-contact {
    grid-column: span 3;
  }
}

@media (max-width: 820px) {
  .wedx-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .wedx-cta-buttons {
    justify-content: flex-start;
  }

  .wedx-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .wedx-footer-brand,
  .wedx-footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .wedx-footer {
    padding-top: 56px;
  }

  .wedx-footer-main {
    grid-template-columns: 1fr;
  }

  .wedx-footer-brand,
  .wedx-footer-contact {
    grid-column: auto;
  }

  .wedx-btn {
    width: 100%;
  }

  .wedx-footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .wedx-footer-bottom div {
    justify-content: center;
  }
}
