/* ==============================================
   footer.css – WerkUp Professional Footer
   ============================================== */

/* ── TOKENS (fallback if page-css not loaded) ── */
:root {
  --accent:    #ca0013;
  --bg-dark:   #13232a;
  --blue:      #13232a;
  --muted:     #5a6e78;
  --border:    rgba(19,35,42,0.09);
  --radius-sm: 0.75rem;
  --t:         0.26s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
.footer {
  background: #13232a;
  color: #fff;
  margin-top: 0;
}

/* ══════════════════════════════════════════
   TOP STRIP – Newsletter
══════════════════════════════════════════ */
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.25rem 1rem;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-top-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.footer-top-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-newsletter {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.footer-newsletter input {
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: #fff;
  width: 240px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }

.footer-newsletter button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  background: var(--accent);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: background var(--t);
}
.footer-newsletter button:hover { background: #e8001a; }


/* ══════════════════════════════════════════
   MAIN GRID
══════════════════════════════════════════ */
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 3rem;
  padding: 4rem 1rem 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}


/* ── Branding column ── */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-logo-link { display: inline-block; }

.footer-logo {
  width: 140px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  max-width: 210px;
}

.footer-slogan {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-top: -0.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.footer-social {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: all var(--t);
}
.footer-social:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
}
.footer-badge i { color: var(--accent); font-size: 0.65rem; }


/* ── Link columns ── */
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t), padding-left var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a:hover {
  color: #fff;
  padding-left: 3px;
}

/* Login highlight link */
.footer-link-highlight {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  color: rgba(202,0,19,0.85) !important;
  font-weight: 600;
}
.footer-link-highlight:hover { color: var(--accent) !important; }
.footer-link-highlight i { font-size: 0.75rem; }


/* ══════════════════════════════════════════
   BOTTOM BAR
══════════════════════════════════════════ */
.footer-bottom-bar {
  padding: 1.4rem 1rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--t);
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }
.footer-legal-sep {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.15);
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-tagline { max-width: 320px; }
}

@media (max-width: 720px) {
  .footer-top-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-newsletter { width: 100%; max-width: 400px; }
  .footer-newsletter input { width: 100%; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1rem 2.5rem;
    text-align: center;
  }
  .footer-brand-col {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  .footer-col { text-align: center; }
  .footer-col ul li a {
    justify-content: center;
    padding-left: 0 !important;
  }
  .footer-col ul li a:hover { padding-left: 0 !important; }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col ul li a { justify-content: center; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-legal-links { justify-content: center; }
  .footer-trust { gap: 0.9rem; }
}

.footer-newsletter-soon {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
