.footer {
  background: var(--text);
  border-top: 1px solid var(--accent-deep);
  padding: 3.5rem clamp(1.25rem, 6vw, 5rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 26rem;
}

.footer__mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1.5rem;
  color: var(--surface);
  letter-spacing: 0.01em;
  width: fit-content;
}

.footer__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
  object-fit: cover;
  object-position: 55% 35%;
}

.footer__mark-text span {
  color: var(--accent);
}

.footer__tagline {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.footer__nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__social {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-deep);
  border-radius: 50%;
  color: var(--surface);
  font-size: 1.05rem;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  transform: translateY(-1px);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer__bottom i {
  color: var(--accent-soft);
}

.footer__bottom a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__mark {
    margin: 0 auto;
  }

  .footer__logo {
    width: 2.35rem;
    height: 2.35rem;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .footer__logo {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (max-width: 768px) {
  .footer__logo {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 3rem 1.25rem 1.75rem;
    gap: 2rem;
  }

  .footer__logo {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@media (max-width: 320px) {
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer__nav {
    gap: 1rem 1.25rem;
  }

  .footer__logo {
    width: 1.75rem;
    height: 1.75rem;
  }
}
