/* FOOTER */
.footer {
  background: var(--fh-bg);
  color: var(--text2);
  padding: 3em 0 0.5em 0;
  font-size: 1em;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2em;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 250px;
  margin-bottom: 2em;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-ideal-logo {
  height: 48px;
  margin-bottom: 0em;
  filter: brightness(0) invert(1);
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 1.1em;
  margin-bottom: 0.7em;
  color: var(--text2);
  text-decoration: underline;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5em;
}

.footer-nav ul li a {
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--main);
}

.footer-contact p {
  margin-bottom: 1em;
}

.footer-social a {
  display: inline-block;
  margin-right: 1em;
  vertical-align: middle;
}

.footer-social img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-social a:hover img,
.footer-social a:focus img {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 2em;
  font-size: 0.95em;
  color: var(--secondary);
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid var(--secondary);
  margin-bottom: 1em;
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: underline;
  margin: 0 0.3em;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--text2);
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  .footer-col {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    align-items: center;
  }
}
