.footer {
  background-color: #202020;
  color: var(--white);
  padding: 6rem 4rem;
  border-radius: 4rem 4rem 0 0;
  min-width: 200px;
}

.foot-wrapper {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
}

.footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

/* 로고 */
.footer__logo img {
  max-height: 2.5rem;
  display: block;
}

/* 회사 정보 */
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__info p {
  font-size: 1.4rem;
  color: var(--gray);
}

/* 정책 링크 */
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 오른쪽 정렬 */
  gap: 0.5rem;
}

.footer__links__legal {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.footer__links__legal a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer__links__legal a:hover {
  opacity: 0.8;
}

.recaptcha-notice {
  font-size: 1.1rem;
  color: #888;
  opacity: 0.5;
  text-align: right;
  line-height: 1.4;
  margin-top: 1rem;
  overflow-wrap: break-word;
}

.recaptcha-notice a {
  color: #aaa;
  text-decoration: underline;
}

/* .footer__links {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
}

.footer__links a {
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer__links a:hover {
  opacity: 0.8;
}
*/
.grecaptcha-badge {
  visibility: hidden !important;
}

/* 저작권 */
.footer__copyright {
  text-align: center;
  margin-top: 3rem;
}
.footer__copyright p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}
.spa-3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* 반응형 */
@media (max-width: 860px) {
  .footer {
    padding: 4rem 2rem;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 4rem 2rem;
  }
  .footer__main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .spa-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .footer__copyright {
    margin-top: 1rem;
  }
  .footer__info {
    align-items: center;
    text-align: center;
  }
  .footer__main {
    margin-bottom: 1rem;
  }

  .footer__links {
    align-items: center;
    text-align: center;
    margin : 2rem 0;
  }
  .recaptcha-notice {
    text-align: center;
  }
}
