
/* ═══════════════════════════════════════════════════════════════════════
   TaskEnd — site footer (markup: templates/boot-material/te-footer.php)
   Light, quiet and simple. Colours come from includes/te_brand.css —
   change them there, not here.
   ═══════════════════════════════════════════════════════════════════════ */

.te-footer {
  position: relative;
  clear: both;
  width: 100%;
  margin: 0;
  background: #fff;
  border-top: 1px solid var(--brand-line, #ebe7f3);
  color: var(--brand-muted, #6f6785);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.te-footer-glow { display: none; }

.te-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 28px 0;
}

.te-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: 56px;
  padding-bottom: 44px;
}

/* ── brand column ─────────────────────────────────────────────── */
.te-footer-logo { display: inline-block; line-height: 0; }
.te-footer-logo img { display: block; height: 34px; width: auto; max-width: 100%; }   /* the original, full-colour logo */
.te-footer-tag {
  margin: 16px 0 22px; max-width: 330px;
  color: var(--brand-muted, #6f6785); font-size: 14px; line-height: 1.7;
}
.te-footer a.te-footer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px;
  background: var(--brand-btn-bg, #7747d4);
  color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease;
}
.te-footer a.te-footer-cta:hover {
  background: var(--brand-btn-bg-hover, #6a38c9); color: #fff;
  box-shadow: 0 6px 16px rgba(var(--brand-purple-rgb, 95, 39, 205), .22);
}

/* ── link columns ─────────────────────────────────────────────── */
.te-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.te-footer-col h4 {
  margin: 0 0 16px; padding: 0;
  color: var(--brand-text, #221d33); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.te-footer-col ul { list-style: none; margin: 0; padding: 0; }
.te-footer-col li { margin: 0 0 10px; padding: 0; }
.te-footer-col a {
  color: var(--brand-muted, #6f6785); text-decoration: none;
  transition: color .15s ease;
}
.te-footer-col a:hover { color: var(--brand-purple, #5f27cd); }

/* ── bottom bar ───────────────────────────────────────────────── */
.te-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 26px;
  border-top: 1px solid var(--brand-line, #ebe7f3);
  color: var(--brand-muted-2, #837c96); font-size: 13px;
}
.te-footer-made { color: var(--brand-muted-2, #837c96); }

/* ── tablet ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .te-footer-inner { padding-top: 44px; }
  .te-footer-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .te-footer-tag { max-width: 520px; }
}

/* ── phone ────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .te-footer-inner { padding: 36px 20px 0; }
  .te-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .te-footer-col:last-child { grid-column: 1 / -1; }
  .te-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 0 22px; }
}
