/* =========================================================
   Footer
========================================================= */
.footer {
  padding: var(--space-xxl) 0 var(--space-l);
  background-color: var(--color-navy);
  color: var(--color-white);
}

.footer__nav {
  margin-bottom: var(--space-xl);
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-xl);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list a {
  font-size: var(--font-size-fixed-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  text-decoration: none;
}

.footer__nav-list a:hover {
  opacity: 0.85;
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-l);
}

.footer__logo {
  flex-shrink: 0;
  line-height: 0;
  background-color: var(--color-white);
}

.footer__logo a {
  display: block;
}

.footer__logo img {
  display: block;
  width: 140px;
  height: auto;
}

.footer__info {
  flex: 1;
  min-width: 0;
}

.footer__name {
  font-size: var(--font-size-fixed-xs);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-s);
}

.footer__address,
.footer__tel {
  font-size: var(--font-size-fixed-xxs);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-xs);
}

.footer__tel {
  margin-bottom: 0;
}

.footer__btn {
  flex-shrink: 0;
  padding: 14px 32px;
  white-space: nowrap;
}

.footer__copyright {
  text-align: center;
  font-size: var(--font-size-fixed-xxs);
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
  .footer__nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .footer__main {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
  }

  .footer__logo img {
    width: 120px;
  }

  .footer__btn {
    width: 100%;
  }
}
