/* ─────────────────────────────────────────
   footer.css — StackHire footer
   Theme: white / orange / black
───────────────────────────────────────── */

/* ── FOOTER SHELL ───────────────────────── */
.footer {
  position: relative;
  background: #16140f;
  border-top: 1px solid rgba(249, 115, 22, 0.15);
  padding: 3rem 1.5rem 0;
  margin-top: 3rem;
}

/* Orange accent line along the top border */
.footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 25%,
    #fbbf24 60%,
    transparent 100%
  );
  opacity: 0.6;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── TOP GRID ───────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

/* ── BRAND COLUMN ───────────────────────── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo:hover { opacity: 0.82; }

.footer-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.28);
  transition: opacity 0.2s;
}

.footer-logo-text {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-logo-text em {
  font-style: normal;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.75;
  max-width: 250px;
  font-weight: 400;
  margin-bottom: 1.4rem;
}

/* Stat pills */
.footer-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.stat-pill strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

/* ── LINK COLUMNS ───────────────────────── */
.footer-col-title {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--accent); }

.link-arrow {
  font-size: 0.65rem;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.18s, transform 0.18s;
  display: inline-block;
}

.footer-links a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── NEWSLETTER COLUMN ──────────────────── */
.newsletter-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: #fff;
  outline: none;
  width: 100%;
  transition: border-color 0.18s;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.25); }
.newsletter-input:focus { border-color: rgba(249, 115, 22, 0.45); }

.newsletter-btn {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.newsletter-btn:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
}

.newsletter-btn:active { transform: translateY(0); }

/* ── DIVIDER ────────────────────────────── */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
}

/* ── BOTTOM BAR ─────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.1rem 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-dot { color: rgba(255, 255, 255, 0.12); }

.footer-bottom-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.55); }

/* ── SEO STRIP ──────────────────────────── */
.seo-footer {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1.9;
  padding-bottom: 1.5rem;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2.5rem 1rem 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .footer-bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .footer-dot { display: none; }
  .seo-footer { display: none; }
}


