.footer {
  background: #000000;
  color: #fff;
  padding: 70px 0;
  font-size: 1rem;
  position: relative;
}

.btn__goTop {
  width: 80px;
  height: 80px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 100px;
  top: -40px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 98;
}

.footer__top,
.footer__bottom {
  padding: 0 80px;
}

.footer__logo img {
  height: 50px;
  opacity: 0.8;
}

.footer__bar {
  background: #999999;
  width: 100%;
  height: 1px;
  margin: 1rem 0;
}

.footer__link {
  margin: 1rem 0;
}

.footer__flex {
  display: flex;
  justify-content: space-between;
}

.footer__info {
  display: flex;
  justify-content: start;
  gap: 1rem;
}

.footer__info li::after {
  content: '|';
  margin-left: 1rem;
}

.footer__info li:last-child::after {
  content: none;
}

.footer__site {
  font-family: "esamanru";
}

.footer__site img {
  margin-left: 0.5rem;
}

.footer__bottom p {
  font-size: 0.875rem;
}

/* ✅ 1280px 이하 */
@media screen and (max-width: 1280px) {

  .footer__top,
  .footer__bottom {
    padding: 0 40px;
  }

  .btn__goTop {
    right: 50px;
  }
}

/* ✅ 1024px 이하 */
@media screen and (max-width: 1024px) {
  .footer__flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer__info {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer__info li::after {
    content: none;
  }

  .btn__goTop {
    right: 30px;
    width: 70px;
    height: 70px;
  }
}

@media screen and (max-width: 768px) {

  .footer__top,
  .footer__bottom {
    padding: 0 20px;
  }

  .btn__goTop {
    width: 60px;
    height: 60px;
    right: 20px;
    top: -30px;
  }

  .footer {
    font-size: 0.875rem;
  }

  .footer__logo img {
    height: 60px;
  }

  .footer__bottom p {
    font-size: 0.75rem;
  }

  .footer__site img {
    margin-left: 0.25rem;
  }
}

/* ✅ 390px 이하 */
@media screen and (max-width: 390px) {
  .btn__goTop {
    top: -25px;
    width: 50px;
    height: 50px;
  }

  .footer__top,
  .footer__bottom {
    padding: 0 10px;
  }
}

/* ===== Footer 기본 ===== */
.bpaper-footer.footer {
  background: #000;
  color: #fff;
  padding: 48px 0 20px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.bpaper-footer a {
  color: #fff;
  text-decoration: none
}

.bpaper-footer a:hover {
  text-decoration: underline
}

/* goTop */
.bpaper-footer .btn__goTop {
  width: 80px;
  height: 80px;
  border: 0;
  outline: 0;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 100px;
  top: -40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
  cursor: pointer;
  z-index: 98
}

.bpaper-footer .btn__goTop img {
  width: 28px;
  height: auto;
}

/* 상단 로고/정책 */
.bpaper-footer .footer__top,
.bpaper-footer .footer__bottom {
  padding: 0 80px
}

.bpaper-footer .footer__logo {
  display: flex;
  align-items: center;
  gap: 16px
}

.bpaper-footer .footer__brand {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.02em;
  opacity: .95
}

.bpaper-footer .footer__link {
  margin: 12px 0 0;
  display: flex;
  gap: 16px
}

.bpaper-footer .footer__link li {
  list-style: none
}

.bpaper-footer .footer__link a {
  opacity: .9
}

/* 구분선 */
.bpaper-footer .footer__bar {
  background: #3a3a3a;
  width: 100%;
  height: 1px;
  margin: 24px 0
}

/* 본문 그리드 */
.bpaper-footer .footer__grid {
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  /* 좌측 정보 : 우측 네비 */
  gap: 56px;
}

/* 회사 정보 */
.company__title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 14px
}

.company__list {
  margin: 0
}

.company__list .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  margin: 6px 0
}

.company__list dt {
  opacity: .8
}

.company__list dd {
  margin: 0;
  opacity: .95;
  font-size: 14px;
}

.company__list a {
  text-decoration: underline
}

/* 네비 4열 */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-left: 217px;
}

.footer__nav .col h4 {
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700
}

.footer__nav .col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px
}

.footer__nav .col li a {
  opacity: .9
}

.footer__nav .col li a:hover {
  opacity: 1
}

/* 카피 */
.bpaper-footer .footer__bottom p {
  font-size: 20px;
  opacity: .8;
  text-align: center;
}

/* ===== 반응형 ===== */
/* 1280px 이하 */
@media (max-width:1280px) {

  .bpaper-footer .footer__top,
  .bpaper-footer .footer__bottom,
  .bpaper-footer .footer__grid {
    padding: 0 40px
  }

  .bpaper-footer .btn__goTop {
    right: 50px
  }
}

/* 1024px 이하 */
@media (max-width:1024px) {
  .bpaper-footer .btn__goTop {
    right: 30px;
    width: 70px;
    height: 70px
  }

  .bpaper-footer .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* 768px 이하 */
@media (max-width:768px) {
  .bpaper-footer {
    font-size: 14px
  }

  .bpaper-footer .footer__brand {
    font-size: 28px
  }

  .bpaper-footer .footer__top,
  .bpaper-footer .footer__bottom,
  .bpaper-footer .footer__grid {
    padding: 0 20px
  }

  .bpaper-footer .btn__goTop {
    right: 20px;
    top: -30px;
    width: 60px;
    height: 60px
  }

  .company__list .row {
    grid-template-columns: 90px 1fr;
    gap: 12px
  }
}

/* 480px 이하 */
@media (max-width:480px) {
  .footer__nav {
    grid-template-columns: 1fr
  }

  .company__title {
    font-size: 24px
  }

  .bpaper-footer .btn__goTop {
    top: -25px;
    width: 50px;
    height: 50px
  }

  .bpaper-footer .footer__top,
  .bpaper-footer .footer__bottom {
    padding: 0 10px
  }
}

/* 회사 정보: 왼쪽(브랜드) + 오른쪽(정보표) 2열 */
.footer__company {
  display: grid;
  grid-template-columns: 180px 1fr;
  /* 왼쪽 고정, 오른쪽 유동 */
  gap: 40px;
  align-items: start;
}

/* 왼쪽 큰 제목(이미지처럼 굵고 큼) */
.company__brand {
  font-size: 32px;
  /* 필요하면 34~36px로 살짝 키워도 됨 */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  /* 줄바꿈 방지 */
}

/* 오른쪽 정보표(기존 그대로) */
.company__list .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  margin: 6px 0;
}

.company__list dt {
  opacity: .8
}

.company__list dd {
  margin: 0;
  opacity: .95
}

/* 반응형: 모바일에선 세로 스택 */
@media (max-width:768px) {
  .footer__company {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company__brand {
    font-size: 28px;
  }

  .company__list .row {
    grid-template-columns: 90px 1fr;
    gap: 12px
  }
}

@media (max-width: 680px) {
  .footer__nav {
    grid-template-columns: 1fr;
    margin-left: 0 !important;
  }
}