footer {
  margin-top: 72px;
  padding: 48px 5% 20px;
  border-top: 4px solid #42bda4;
  color: #edf6f3;
  background: linear-gradient(125deg, #102f3a 0%, #123f3b 56%, #153b4a 100%);
  font-family: Arial, sans-serif;
}

footer .footer-content {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(120px, 0.7fr) minmax(260px, 1.4fr) minmax(150px, 0.8fr);
  align-items: start;
  gap: clamp(22px, 3vw, 46px);
  max-width: 1450px;
  margin: 0 auto;
}

footer .footer-section {
  min-width: 0;
  margin: 0;
}

footer .footer-section.logo-about {
  text-align: center;
}

footer .footer-section img {
  display: block;
  width: 116px;
  height: 116px;
  object-fit: contain;
  margin: 0 auto 14px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

footer .footer-section h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

footer .footer-section h3::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 9px;
  border-radius: 2px;
  background: #42bda4;
  content: "";
}

footer .footer-section.logo-about h3::after {
  margin-right: auto;
  margin-left: auto;
}

footer .footer-section.logo-about > p:first-of-type,
footer .footer-section.logo-about > h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

footer .footer-section p,
footer .footer-section li,
footer .footer-section a {
  color: #d8e6e3;
  font-size: 14px;
  line-height: 1.6;
}

footer .footer-section p {
  margin: 0 0 13px;
}

footer .footer-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .footer-section a {
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

footer .footer-section:not(:last-child) a:hover,
footer .footer-section:not(:last-child) a:focus-visible {
  color: #76dbc4;
}

footer .footer-section:last-child .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer .footer-section:last-child a:not(.social) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 17px;
}

footer .footer-section:last-child .social {
  width: 40px;
  height: 40px;
}

footer .footer-section:last-child a:hover,
footer .footer-section:last-child a:focus-visible {
  color: #fff;
  background-color: #278a78;
  transform: translateY(-3px);
}

footer .footer-section:last-child a.social:hover,
footer .footer-section:last-child a.social:focus-visible {
  background-color: inherit;
}

footer .footer-bottom {
  max-width: 1450px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #c5d7d3;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1000px) {
  footer .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 650px) {
  footer {
    margin-top: 48px;
    padding: 38px 22px 18px;
  }

  footer .footer-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  footer .footer-section {
    text-align: center;
  }

  footer .footer-section h3::after,
  footer .footer-section.logo-about h3::after {
    margin-right: auto;
    margin-left: auto;
  }

  footer .footer-section:last-child .top-bar-right {
    justify-content: center;
  }

  footer .footer-section:last-child p {
    text-align: center;
  }

  footer .footer-section img {
    width: 100px;
    height: 100px;
  }
}