.alfa-footer {
  background: var(--alfa-darkblue);
  color: var(--alfa-white);
  padding: 50px 0;
}

.alfa-footer p {
  font-size: 16px;
  font-family: var(--font-figtree);
  font-weight: 600;
}

.alfa-footer-logo {
  max-width: 150px;
  height: auto;
  width: 100%;
  display: block;
}

.alfa-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.alfa-footer-col h4 {
  text-transform: uppercase;
  color: var(--alfa-white);
  font-size: 16px;
  font-weight: bold;
}

.alfa-footer-col .alfa-section-btn {
  color: var(--alfa-white);
  border-color: var(--alfa-white);
  justify-self: start;
}
.alfa-footer-col .alfa-section-btn:hover {
  color: var(--alfa-lightblue);
  border-color: var(--alfa-lightblue);
}

.alfa-social {
  display: flex;
  gap: 5px;
}

.alfa-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--alfa-white);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid var(--alfa-white);
  box-sizing: border-box;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.alfa-social-icon:hover {
  color: var(--alfa-lightblue);
  border-color: var(--alfa-lightblue);
}

.alfa-footer-nav {
  padding: 10px 0;
}

.alfa-footer-nav>li>a {
  font-family: var(--font-figtree);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--alfa-white);
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.alfa-footer-nav>li>a:hover {
  color: var(--alfa-lightblue);
}

.alfa-footer-nav .has-dropdown {
  position: relative;
}

.alfa-footer-nav .alfa-footer-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
  margin-left: 8px;
}

.has-dropdown:hover .alfa-footer-dropdown,
.has-dropdown:focus-within .alfa-footer-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.alfa-footer-dropdown a {
  display: block;
  font-family: var(--font-figtree);
  font-weight: 500;
  font-size: 13px;
  color: var(--alfa-blue);
  padding: 13px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.alfa-footer-dropdown a:hover {
  background: var(--alfa-bg);
}

.alfa-footer-title {
  font-family: var(--font-figtree);
  font-weight: 600;
  font-size: 20px;
  color: var(--alfa-lightblue);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.alfa-footer-address {
  font-size: 16px;
  color: var(--alfa-white);
  line-height: 24px;
  margin: 0 0 12px;
  line-height: 1;
}

.alfa-footer-phones a {
  font-family: var(--font-figtree);
  font-size: 16px;
  font-weight: 400;
  color: var(--alfa-gray);
  line-height: 28px;
  text-decoration: none;
}

.alfa-footer-phones a:hover {
  color: var(--alfa-blue);
}

@media (max-width: 991.98px) {
  .alfa-footer-col {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .alfa-footer {
    padding: 48px 0 32px;
  }

  .alfa-footer-col {
    flex: 0 0 100%;
    margin-bottom: 58px;
  }

  .alfa-footer-col:last-child {
    margin-bottom: 0;
  }

  .alfa-social {
    padding: 10px 0;
  }

  .alfa-footer-nav {
    padding: 0;
  }

  .alfa-footer .alfa-footer-phones {
    margin-top: 68px;
  }
}