/* footer */
/* ==================================================
   FOOTER — charcoal editorial
================================================== */

.footer {
  background: #0a0e13;
  color: var(--c-text-muted, #8b9aa6);
  padding: clamp(3.75rem, 7vw, 5.75rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(20, 163, 147, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(242, 245, 247, 0.02), transparent 30%);
  pointer-events: none;
}

.footer-editorial {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.footer-brand-block {
  max-width: 34rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  color: #f2f5f7 !important;
}

.footer-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #f2f5f7;
}

.footer-desc {
  max-width: 32rem;
  color: var(--c-text-muted, #8b9aa6);
  margin-bottom: 1.15rem;
  line-height: 1.7;
}

.footer-meta {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.footer-meta li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--c-text-muted, #8b9aa6);
}

.footer-meta i {
  color: var(--c-primary, #14a393);
  font-size: 1rem;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.footer-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(20, 163, 147, 0.55),
    rgba(242, 245, 247, 0.08) 42%,
    transparent
  );
}

.footer-link-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .footer-link-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.footer-col h4 {
  margin-bottom: 1.15rem;
  color: #f2f5f7;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 0.55rem;
}

.footer-col h4.footer-col-sub {
  margin-top: 1.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.75rem;
  height: 2px;
  background: var(--c-primary, #14a393);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-menu {
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--c-text-muted, #8b9aa6);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  color: #2bbfad;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--c-muted-soft, #6d7c88);
  font-size: 0.875rem;
}

.footer-bottom-links a,
.footer-bottom-menu a {
  color: var(--c-muted-soft, #6d7c88);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover,
.footer-bottom-menu a:hover {
  color: #2bbfad;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Legacy footer-top bridge */
.footer-top {
  display: none;
}
