/* Global footer. Identical on every template — desktop columns, mobile accordion. */

.ct-footer {
  margin-top: var(--ct-space-80);
  border-top: 1px solid var(--ct-divider);
  background: var(--ct-surface-alt);
}

.ct-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--ct-space-32);
  padding: 44px 0 var(--ct-space-24);
}

.ct-footer__brandlogo img { height: 18px; width: auto; }

.ct-footer__about {
  margin-top: var(--ct-space-16);
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ct-text-secondary);
  text-wrap: pretty;
}

.ct-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.ct-footer__social a {
  display: grid;
  place-items: center;
  width: auto;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-pill);
  font-family: var(--ct-font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--ct-text-secondary);
}

.ct-footer__social a:hover { border-color: var(--ct-blue); color: var(--ct-blue); }

.ct-footer__social a.ct-social-icon {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.ct-footer__social a.ct-social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ct-footer__group { min-width: 0; }

.ct-footer__heading {
  font-family: var(--ct-font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-text-primary);
  margin-bottom: var(--ct-space-16);
}

.ct-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.ct-footer__links li { list-style: none; }
.ct-footer__links a { color: var(--ct-text-secondary); }
.ct-footer__links a:hover { color: var(--ct-blue); }

.ct-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--ct-space-24);
  padding: 18px 0 30px;
  border-top: 1px solid var(--ct-divider);
  font-size: 13px;
  color: var(--ct-text-muted);
}

/* The mobile accordion uses <details>; the summary is hidden on desktop. */
.ct-footer__group > summary { display: none; }

