/* ==========================================================================
   FEATURED PROJECTS MAIN CONTAINERS
   ========================================================================== */
.footer {
  padding: 1.5rem 1rem;
  gap: 1.5rem;
}

/* === Content (Brand, links, social) === */
.footer__content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* === Brand === */
.footer__overview {
  gap: 1rem;
}

.footer__brand {
  width: fit-content;
}

.footer__name {
  font-size: var(--fs-md);
  line-height: 2.375rem;
  color: var(--color-primary-600);
}

.footer__role {
  margin-top: -0.375rem;
  font-size: var(--fs-xs);
  color: var(--color-neutral-500);
}

.footer__description {
  margin-bottom: 1.75rem;
  max-width: 11.8125rem;
  font-size: var(--fs-xs);
  color: var(--color-secondary);
}

/* === Links === */
.footer__links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer__links-box {
  font-size: var(--fs-sm);
  line-height: 1.5625rem;
  gap: 1rem;
}

.footer__link-title {
  padding: 0.125rem 0.125rem 0 0.125rem;
  color: var(--color-neutral-500);
  border-bottom: 0.125rem solid var(--color-neutral-500);
}

.footer__link {
  color: var(--color-neutral-300);
  text-decoration: none;
}

/* === Social Links === */
.footer__social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer__social-link {
  height: 1.5rem;
  text-decoration: none;
}

.footer__icon {
  font-size: 1.5rem;
  color: var(--color-neutral-500);
}

.footer__icon--smaller {
  font-size: 1rem;
}

/* === Credits === */
.footer__credits {
  padding-top: 1rem;
  border-width: 0.0625rem 0 0;
  border-style: solid;
  border-color: var(--color-neutral-500);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-neutral-500);
}

.footer__text {
  gap: 0.5rem;
  font-size: var(--fs-xs);
  line-height: 1.3125rem;
}

.footer__ellipse {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 0.125rem;
  background-color: var(--color-neutral-500);
}

.footer__credit-link {
  font-weight: var(--fw-medium);
  color: inherit;
}

.footer__credit-description {
  text-align: center;
  font-size: var(--fs-xs);
  line-height: 1.3125rem;
}

/* ==========================================================================
   MEDIA QUERIES (Tablet Overrides)
   ========================================================================== */
@media (min-width: 50rem) {
  .footer {
    padding: 1.5rem 2rem;
    gap: 2rem;
  }

  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__description {
    margin: 0;
  }

	.footer__links{
		width: 42.25%;
	}

  .footer__credits {
    padding-top: 1.5rem;
    gap: 1.5rem;
  }

  .footer__text {
    gap: 1rem;
  }
}

/* ==========================================================================
   MEDIA QUERIES (Desktop Overrides)
   ========================================================================== */
@media (min-width: 90rem) {
  .footer {
    padding: 1.5rem var(--horizontal-padding-desktop);
  }
}
