/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 3.5rem 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-link {
  display: inline-flex;
  text-decoration: none;
}

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

.footer-tagline {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.65;
  max-width: 230px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.2s;
}

.footer-social-link i {
  font-size: 1rem;
}

.footer-social-link:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social-link[aria-label*="LinkedIn"]:hover {
  background: #0a66c2;
}

.footer-icon {
  width: 14px;
  text-align: center;
  color: #475569;
  margin-right: 0.35rem;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

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

.footer-col-list li {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.footer-col-list a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col-list a:hover {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.1rem 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #334155;
  margin: 0;
}

.footer-bottom strong {
  color: #475569;
  font-weight: 600;
}

/* Reviews widget in footer */
.footer-reviews-widget {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-rating-stars {
  display: flex;
  gap: 2px;
  font-size: 0.9rem;
  color: #f59e0b;
  margin-bottom: 0.15rem;
}

.footer-rating-score {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-rating-score span {
  font-size: 0.88rem;
  font-weight: 400;
  color: #64748b;
}

.footer-rating-count {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.05rem;
}

.footer-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #93c5fd;
  text-decoration: none;
  margin-top: 0.6rem;
  transition: color 0.15s;
}

.footer-rating-link:hover {
  color: #ffffff;
}

.footer-rating-empty {
  font-size: 0.85rem;
  color: #475569;
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    padding-bottom: 2.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
