/* 푸터 영역 */
#footer {
  margin-top: 0;
  background: #1a202c;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 60px; /* 하단 메뉴바 높이만큼 마진 추가하여 메뉴바에 가려지지 않게 함 */
  font-size: 28px; /* 전체 푸터 폰트 사이즈 통일 */
}

#footer .f-container {
  padding: 40px 82px;
  max-width: 1200px;
  margin: 0 auto;
}

#footer .f-top-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

#footer .f-top-con .f-logo {
  display: block;
  width: 150px;
  height: 36px;
  background-image: url('../img/gn-logo-white.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

#footer .f-top-con .request-btn {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(103deg, #f6c 12.08%, #4d3dbf 83.91%), #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-size: 20px !important;
  transition: all 0.3s ease;
}

#footer .f-top-con .request-btn:hover {
  background: linear-gradient(103deg, #f6c 12.08%, #4d3dbf 83.91%), #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(224, 103, 202, 0.3);
}

/* 푸터 회사 정보 스타일 */
#footer .company-info {
  margin-bottom: 10px;
  font-weight: 300;
  color: #fff;
  word-break: keep-all;
  word-wrap: break-word;
}

#footer .company-info p {
  margin: 0;
  margin-bottom: 4px;
}

/* 금리 및 상환안내 섹션 */
#footer .loan-info {
  margin-bottom: 10px;
  margin-top: 20px;
  color: #fff;
}

#footer .loan-info p {
  margin: 0.2rem;
}

/* 대부업 관련 정보 스타일 (링크 섹션) */
#footer .loan-info-links {
  margin-top: 20px;
  margin-bottom: 20px;
}

#footer .loan-info-links p {
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 6px;
  line-height: 1.4;
  word-break: keep-all;
  word-wrap: break-word;
}

#footer .loan-info-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* 금리 및 상환안내 섹션 */
#footer .loan-info-rates {
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
}

#footer .loan-info-rates p.title {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}

#footer .loan-info-rates p {
  line-height: 1.4;
  word-break: keep-all;
  word-wrap: break-word;
}

/* 금리 및 상환안내 제목 스타일 */
#footer .loan-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

/* 경고 텍스트 스타일 */
#footer .warning-text {
  margin-bottom: 20px;
  color: #ff3a3a;
  line-height: 1.4;
  word-break: keep-all;
  word-wrap: break-word;
}

#footer .warning-text p {
  margin: 0;
  margin-bottom: 4px;
}

/* 경고 텍스트 세번째 문장 들여쓰기 */
#footer .warning-text p:nth-child(3) {
  text-indent: 20px !important;
}

/* 면책 문구와 저작권 */
#footer .disclaimer {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
  line-height: 1.4;
  word-break: keep-all;
  word-wrap: break-word;
}

#footer .disclaimer p {
  margin: 0;
}

#footer .copyright {
  color: rgba(255, 255, 255, 0.4);
}

/* 대부 관련 정보 스타일 */
.loan-info a {
  color: #fff;
  text-decoration: none;
}

/* 반응형 미디어 쿼리 */
@media screen and (max-width: 1200px) {
  #footer .f-container {
    padding: 35px 50px;
  }

  #footer .company-info {
    line-height: 2.8;
  }

  #footer .loan-info {
    line-height: 2.2;
  }
}

@media screen and (max-width: 990px) {
  #footer .f-container {
    padding: 30px 50px;
  }

  #footer .f-top-con .f-logo {
    width: 140px;
    height: 34px;
  }

  #footer .company-info {
    line-height: 2.6;
  }

  #footer .loan-info {
    line-height: 2;
  }

  #footer .warning-text p:nth-child(3) {
    text-indent: 16px !important;
  }
}

@media screen and (max-width: 880px) {
  #footer .company-info {
    line-height: 2.4;
  }

  #footer .warning-text p:nth-child(3) {
    text-indent: 14px !important;
  }
}

@media screen and (max-width: 767px) {
  #footer .f-top-con .f-logo {
    width: 120px;
    height: 30px;
  }

  #footer .f-container {
    padding: 30px 24px;
  }

  #footer .f-top-con .request-btn {
    padding: 8px 16px;
  }

  #footer .company-info {
    line-height: 2.2;
  }

  #footer .loan-info {
    line-height: 1.8;
  }

  #footer .loan-info p {
    margin: 0.15rem;
  }

  #footer .loan-info-links p {
    line-height: 1.3;
  }

  #footer .warning-text {
    line-height: 1.3;
  }

  #footer .disclaimer {
    line-height: 1.5;
  }

  /* 모바일에서 푸터 하단에 하단 메뉴바 높이만큼 마진 추가 */
  #footer {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 640px) {
  #footer .company-info {
    line-height: 2;
  }

  #footer {
    font-size: 25px;
  }

  #footer .loan-info {
    line-height: 1.8;
  }
}

@media screen and (max-width: 480px) {
  #footer .f-container {
    padding: 25px 20px;
  }

  #footer {
    font-size: 22px;
  }

  #footer .f-top-con .f-logo {
    width: 100px;
    height: 24px;
  }

  #footer .f-top-con .request-btn {
    padding: 6px 12px;
  }

  #footer .company-info {
    line-height: 1.8;
  }

  #footer .loan-info {
    line-height: 1.6;
  }

  #footer .warning-text p:nth-child(3) {
    text-indent: 10px !important;
  }
}

@media screen and (max-width: 380px) {
  #footer .f-container {
    padding: 20px 15px;
  }

  #footer .company-info {
    line-height: 1.6;
  }

  #footer .loan-info {
    line-height: 1.5;
  }
}

/* 경고 텍스트 */
.warning-text p {
  line-height: 1.2;
}

/* 면책 문구 */
.disclaimer p {
  line-height: 1.2;
}
