/* =========================================================
   FOOTER.CSS
   Shared footer styles — Consistent across all pages,
   matching the TalentBridgeIQ home page design system.
   ========================================================= */

footer {
  background: linear-gradient(135deg, #123322 0%, #0A1F13 100%);
  color: rgba(243, 241, 228, 0.7);
  padding: 70px 0 30px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-top: 1px solid rgba(246, 243, 231, 0.14);
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

footer .wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246, 243, 231, 0.14);
  align-items: start;
}

.footer-grid .logo {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #F3F1E4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  line-height: 1.2;
}

.footer-grid .logo span {
  color: #FF7A3D;
  font-style: normal;
}

.footer-grid p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(243, 241, 228, 0.65);
  max-width: 32ch;
  margin: 0;
}

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px;
  line-height: 1.3;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.footer-col a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  color: rgba(243, 241, 228, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #FF7A3D;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(243, 241, 228, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #FF7A3D;
}

.footer-bottom .visitor-counter #visitor-count {
  color: #9FE6B4;
  font-weight: 600;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 30px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 50px 0 24px;
  }
  footer .wrap {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =========================================================
   COOKIE CONSENT BANNER (TalentBridgeIQ Brand Theme)
   ========================================================= */

.tbiq-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(10, 31, 19, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(246, 243, 231, 0.15);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  color: #F3F1E4;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.tbiq-cookie-banner.tbiq-cookie-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.tbiq-cookie-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tbiq-cookie-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(243, 241, 228, 0.92);
  flex: 1;
}

.tbiq-cookie-link {
  color: #FF7A3D;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.tbiq-cookie-link:hover {
  color: #FFB183;
}

.tbiq-cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tbiq-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
}

.tbiq-cookie-btn-decline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 243, 231, 0.22);
  color: #F3F1E4;
}

.tbiq-cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(246, 243, 231, 0.4);
  color: #FFFFFF;
}

.tbiq-cookie-btn-accept {
  background: #FF7A3D;
  border: 1px solid #FF7A3D;
  color: #05130B;
}

.tbiq-cookie-btn-accept:hover {
  background: #FFB183;
  border-color: #FFB183;
  box-shadow: 0 4px 18px rgba(255, 122, 61, 0.45);
}

@media (max-width: 860px) {
  .tbiq-cookie-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 20px;
  }
  
  .tbiq-cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .tbiq-cookie-btn {
    flex: 1;
    text-align: center;
  }
}