/* ─── Shared Footer Component ─────────────────────────────────────────── */

.footer {
  background-color: #111;
  color: #fff;
  padding: 8rem 0 4rem;
  border-radius: 40px;
  margin: 2rem var(--container-padding) 4rem var(--container-padding);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 6rem;
  margin-bottom: 6rem;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.footer__logo-img {
  height: 60px;
  width: auto;
}

.footer__desc {
  color: #888;
  line-height: 1.6;
  font-size: 1rem;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #fff;
}

.footer__location p {
  color: #888;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer__location .location-name {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.f-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.f-contact-item__icon {
  width: 44px;
  height: 44px;
  background-color: #fff;
  color: #111;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-contact-item__text .label {
  display: block;
  font-size: 0.8125rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.f-contact-item__text .value {
  font-size: 1rem;
  font-weight: 500;
}

.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links-list a {
  color: #888;
  transition: color 0.3s ease;
}

.footer__links-list a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 4rem;
}

.footer__legal {
  color: #444; /* Darker legal text */
  font-size: 0.875rem;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.footer__social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  background-color: #fff;
  color: #111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (max-width: 640px) {
  .footer {
    margin: 2rem 0 0 0;
    border-radius: 0;
    padding: 4rem 0 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
  }
  
  .footer__social-row {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom {
    padding-top: 3rem;
  }
}
