.footer {
  background-color: #0f2a4d;
  color: var(--color-white);
  font-family: var(--font-body);
  position: relative;
}

.footer-top-bar {
  height: 0.3rem;
  width: 100%;
  background: linear-gradient(90deg, var(--color-accent), transparent 70%);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--section-space-y) clamp(2.4rem, 5vw, 4.8rem) 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(3.2rem, 6vw, 4.8rem) clamp(4.8rem, 7vw, 9.6rem);
}

.footer-brand {
  flex: 1 1 26rem;
  min-width: 23rem;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1.28rem;
}

.footer-logo-img {
  width: min(100%, 27.2rem);
  height: auto;
  margin: -0.96rem 0;
}

.footer-description {
  font-size: 1.52rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 48rem;
}

.footer-nav,
.footer-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: clamp(2.4rem, 3vw, 4rem);
}

.footer-nav {
  flex: 1 1 14rem;
  min-width: 14rem;
}

.footer-contact {
  flex: 1.4 1 27rem;
  min-width: 25rem;
}

.footer-title {
  font-family: var(--font-headings);
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--color-white);
  margin: 0 0 2.08rem 0;
}

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

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 1.472rem;
  transition: color 0.2s, opacity 0.2s;
}

.footer-links-list a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.76rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.44rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.472rem;
  line-height: 1.45;
}

.contact-link-item.address-link {
  align-items: flex-start;
}

.contact-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.36rem;
  height: 3.36rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.contact-icon {
  width: 1.68rem;
  height: 1.68rem;
  color: var(--color-accent);
}

.contact-link-item span {
  transition: opacity 0.2s;
}

.contact-link-item:hover span {
  text-decoration: underline;
}

.address-text {
  max-width: 32rem;
  display: inline-block;
}

.footer-bottom {
  margin-top: clamp(2.88rem, 5vw, 5.6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.16);
}

.footer-bottom-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 2.08rem clamp(2.4rem, 5vw, 4.8rem);
}

.footer-bottom p {
  margin: 0;
  font-size: 1.28rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
