/* footer — Figma node 12940:5023 (1044 wide content, sits on the page surface) */

.sec-footer {
  background: var(--color-surface);
  color: var(--color-ink);
}

.sec-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: 108px 111px;
}

/* ---------- top ---------- */

.sec-footer__top {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 100%;
}

.sec-footer__menu {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.sec-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Columns size to their own content. The template pinned each one to a hand-measured
   px width, which only held for the labels it shipped with; the links are
   `white-space: nowrap`, so a stale width overflows. `space-between` on the menu
   does the distributing. */

.sec-footer__col-title {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink);
}

.sec-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-footer__links a {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  white-space: nowrap;
}

.sec-footer__links a:hover {
  color: var(--color-ink);
}

/* ---------- social ---------- */

.sec-footer__social-title {
  width: 120px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.sec-footer__icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-footer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: var(--color-ink);
  overflow: hidden;
  flex: none;
}

.sec-footer__glyph {
  position: relative;
  display: block;
  overflow: hidden;
  flex: none;
}

.sec-footer__glyph img {
  display: block;
  max-width: none;
}

/* The X mark is the testimonial-row asset (assets/img/testimonial-logo-x.svg copied
   to footer-icon-x.svg), a solid-black full-bleed 24x24 glyph. The pill behind it is
   ink, so flip it white; `brightness(0)` first makes that independent of the source
   fill. The mark is centred in its own viewBox, so the flex centring above is already
   optically right -- no nudge needed. */
.sec-footer__glyph--x {
  width: 14px;
  height: 14px;
}

.sec-footer__glyph--x img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

/* ---------- divider ---------- */

.sec-footer__divider {
  display: block;
  width: 100%;
  height: 1px;
  max-width: none;
}

/* ---------- bottom ---------- */

.sec-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.sec-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 238px;
}

.sec-footer__logo {
  display: flex;
  align-items: center;
  gap: 7.829px;
}

.sec-footer__logo-mark {
  object-fit: contain;
  width: 38.664px; /* CallSlot mark is square — fit by height, do not stretch */
  height: 38.664px;
  flex: none;
}

.sec-footer__logo-word {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 41.752px;
  line-height: 1;
  letter-spacing: -0.6524px;
  color: var(--color-ink);
  white-space: nowrap;
}

.sec-footer__tagline {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink);
}

.sec-footer__copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink);
  opacity: 0.8;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .sec-footer__inner {
    gap: 40px;
    padding-block: 56px 48px;
  }

  .sec-footer__top {
    gap: 40px;
  }

  .sec-footer__menu {
    flex-wrap: wrap;
    gap: 32px 40px;
  }

  .sec-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .sec-footer__copyright {
    text-align: left;
  }
}
