/* *****************************************

              *** README ***

****************************************** */
.header {

  /* 헤더 높이 */
  --header-height: 65px;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  color: #ffffff;
  background-color: rgba(14, 0, 61, .2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: var(--header-height);
}

/* header-logo */
.header-logo {
  width: 150px;
}

.header-logo a {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 25px;
}

.header-btn {
  width: 150px;
  display: flex;
  justify-content: end;
  gap: 14px;
}

/* header-global */
.header-global {
  --global-width: 65px;
  width: var(--global-width);
  cursor: pointer;
  position: relative;
  font-size: .875rem;
}

.header-global__wrap {
  width: var(--global-width);
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  transition: all .3s;
  height: 24px;
  padding-top: 2px;
  padding-right: 4px;
  border-radius: 14px;
  border: 1px solid #fff;
}

.header-global__current {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: inherit;
  position: relative;
}

.header-global__current::after {
  content: '>';
  position: absolute;
  right: 6px;
  font-size: .5rem;
  transform: rotate(90deg) translateX(1px);
  transition: all .3s;
}

.header-global:hover .header-global__current::after {
  transform: rotate(-90deg) translateX(1px);
}

.header-global__expand {
  width: var(--global-width);
  margin-top: 6px;
  padding-right: 6px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
}

.header-global__expand a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.header-global:hover .header-global__wrap {
  height: 50px;
  background-color: #ffffff;
  color: #000000 !important;
}

.header-global:hover .header-global__expand {
  opacity: 1;
  visibility: visible;
}

/* header-menu */
.header-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-menu__open {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.header-menu__open .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: 0.3s ease;
  transform-origin: center center;
}

/* header__nav */
.header__nav {
  flex: 1;
}

/* 대메뉴 */
.header__gnb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  height: var(--header-height);

  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* 서브메뉴 */
.header__sub {
  position: absolute;
  top: 100%;
  left: 0;
  top: var(--header-height);
  width: 100%;
  height: 200px;
  background: #ffffff;
  color: #000000;

  font-size: 1rem;
  font-weight: 400;
}

.header__sub__wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.header__sub__list {
  position: absolute;
  top: 0;
  height: 100%;
  text-align: left;
  padding-top: 16px;
}

.header__sub__list li {
  padding: 8px 0;
}

/* sitemap__wrap */
.sitemap__wrap {
  --color--smbg: #0a0a0a;
  /* 헤더가 스크롤·hover 시 검정으로 바뀌므로 패널도 검정 계열로 맞춘다.
     브랜드 네이비(#002a71)는 점·활성탭 같은 작은 포인트용이라 배경으로 쓰지 않는다. */

  /* 강조 / 마우스오버 = 브랜드 네이비.
     다만 #002a71 원본은 검정 배경에서 거의 안 보여서, 같은 색을 밝기만 올려 쓴다.
     더 진하게/연하게 하고 싶으면 이 값만 바꾸면 전부 따라온다. */
  --color--smpoint: #3d7ad6;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  /* 모바일 주소창 때문에 100vh 가 튀는 것 보정 */
  background: var(--color--smbg);
  color: #fff;
  z-index: 99;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  font-family: var(--f-main), sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 사이트맵이 열려 있는 동안 헤더가 패널 위에 자연스럽게 얹히도록 */
body.sitemap-open .header {
  background-color: transparent;
}

body.sitemap-open .header .header__gnb,
body.sitemap-open .header .header-btn,
body.sitemap-open .header .header-global a {
  color: #fff;
}

body.sitemap-open .header .header-menu__open .bar {
  background-color: #fff;
}

.sitemap__box {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 8vw;
  box-sizing: border-box;
  overflow: hidden;
}

.sitemap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sitemap__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: sitemap-counter;
}

.sitemap__list > li {
  position: relative;
  counter-increment: sitemap-counter;
}

.sitemap__list > li::before {
  content: "0" counter(sitemap-counter);
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 14px;
  letter-spacing: 0.2em;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* 마우스 올리면 번호가 네이비로 */
.sitemap__list > li:hover::before,
.sitemap__list > li:focus-within::before {
  color: var(--color--smpoint);
}

.sitemap__list > li > a {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  transition: color 0.3s ease;
  text-transform: uppercase;   /* 사이트맵 대메뉴 전부 대문자 (ko/en 공용) */
}

.sitemap__list > li > a::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, .35);
  margin-top: 12px;
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s ease;
}

/* 마우스 올리면 밑줄이 끝까지 늘어나면서 네이비로 */
.sitemap__list > li:hover > a::after,
.sitemap__list > li:focus-within > a::after {
  width: 100%;
  background: var(--color--smpoint);
}

.sitemap__sublist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap__sublist li {
  margin-bottom: 14px;
}

.sitemap__sublist li a {
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s, padding-left 0.25s;
  display: inline-block;
}

.sitemap__sublist li a:hover,
.sitemap__sublist li a:focus-visible {
  color: var(--color--smpoint);
  padding-left: 8px;
}

@media (max-width: 1400px) {
  .sitemap__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .sitemap__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

  .sitemap__list > li > a {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .sitemap__box {
    align-items: flex-start;
    padding: 100px 40px;
  }

  .sitemap__list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .sitemap__list > li {
    border-bottom: none !important;
    padding: 15px 0;
    /* 하위 목록과 같은 속도·이징이어야 따로 노는 느낌이 안 든다 */
    transition: padding 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sitemap__list > li::before {
    margin-bottom: 6px;
    font-size: 0.75rem;
    opacity: 0.8;
  }

  .sitemap__list > li > a {
    position: relative;
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.1;
    padding-right: 34px;
    /* 오른쪽 화살표 자리 */
    transition: color 0.3s ease;
  }

  /* 하위가 있는 항목에만 펼침 화살표 */
  .sitemap__list > li:has(.sitemap__sublist li) > a::before {
    content: '';
    position: absolute;
    right: 6px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, .7);
    border-bottom: 2px solid rgba(255, 255, 255, .7);
    transform: rotate(45deg);
    transition: transform 0.35s ease, border-color 0.3s;
  }

  /* 펼쳐진 항목은 화살표를 뒤집고 네이비로 */
  .sitemap__list > li.is-open > a::before {
    transform: rotate(-135deg);
    top: 7px;
    border-color: var(--color--smpoint);
  }

  .sitemap__list > li.is-open::before {
    color: var(--color--smpoint);
    opacity: 1;
  }

  .sitemap__list > li > a::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, .35);
    margin-top: 10px;
    /* 대메뉴 글자와 선 사이 간격 미세 단축 */
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s ease;
  }

  /* ── 아코디언 ────────────────────────────────────────────
     max-height 는 header.js 가 실제 내용 높이(scrollHeight)로 넣어준다.
     여기에 500px 같은 임의값을 박으면 실제 높이와 차이가 나는 만큼
     애니메이션이 헛돌아서 덜컥거린다.
     열 때와 닫을 때 속도·이징을 같게 맞춰야 자연스럽다. */
  .sitemap__sublist {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    margin-top: 0;
    padding-left: 2px;
    padding-bottom: 0;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      margin-top 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      padding-bottom 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease,
      visibility 0s linear 0.42s;
    /* 닫힘이 끝난 뒤에 숨겨야 링크가 탭 이동으로 잡히지 않는다 */
  }

  .sitemap__list > li.is-open {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .sitemap__list > li.is-open > a::after {
    width: 100%;
    background: var(--color--smpoint);
  }

  .sitemap__list > li.is-open .sitemap__sublist {
    opacity: 1;
    visibility: visible;
    margin-top: 12px;
    padding-bottom: 12px;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      margin-top 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      padding-bottom 0.42s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.32s ease 0.06s,
      visibility 0s linear;
  }

  .sitemap__sublist li {
    margin-bottom: 10px;
  }

  .sitemap__sublist li:last-child {
    margin-bottom: 0;
  }

  .sitemap__sublist li a {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .72);
    font-weight: 400;
    transition: color 0.25s, padding-left 0.25s;
  }
}

body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

.sitemap__wrap {
  touch-action: auto !important;
}

/* *****************************************

              *** Active ***
    hover, scroll 에 따른 header 변경 요소

****************************************** */

.header.hovered,
.header.scrolled {
  background-color: #000000;
}

.header.hovered .header__gnb,
.header.scrolled .header__gnb,
.header.hovered .header-btn,
.header.scrolled .header-btn {
  color: #fff;
}

.header.hovered .header-menu__open .bar,
.header.scrolled .header-menu__open .bar {
  background-color: #ffffff;
}

/* active 시 (열릴 때) → 햄버거가 X 로 변형 */
.header-menu__open.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-menu__open.active .bar:nth-child(2) {
  opacity: 0;
}

.header-menu__open.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* active(X) 여도 흰색 고정 */
.header-menu__open.active .bar {
  background-color: #ffffff !important;
}

/* *****************************************

              *** media ***
        브레이크 포인트 반응형 제어   

****************************************** */

/* 대메뉴는 데스크톱 폭에서만 노출된다. 화면이 좁아질수록 항목 간격과
   글자를 단계적으로 줄이다가, 1024 이하에서는 가로 대메뉴를 접고
   햄버거(사이트맵)로 전환한다. .header .inner 의 좌우 여백은 공통 .inner
   반응형(common.css)을 그대로 상속하므로 여기서 건드리지 않는다. */

/* ── 1600 : 대형 데스크톱 — 대메뉴 간격만 살짝 축소 ── */
@media screen and (max-width: 1600px) {
  .header__gnb {
    gap: 48px;
  }
}

/* ── 1440 ── */
@media screen and (max-width: 1440px) {
  .header__gnb {
    gap: 36px;
    font-size: 1rem;
  }

  .header__sub {
    font-size: 0.95rem;
  }
}

/* ── 1280 : 대메뉴가 좁아져 간격·글자 추가 축소 ── */
@media screen and (max-width: 1280px) {
  .header__gnb {
    gap: 24px;
    font-size: 0.95rem;
  }

  /* 가운데 대메뉴 폭을 벌기 위해 좌우 고정폭 축소 */
  .header-logo,
  .header-btn {
    width: 130px;
  }
}

/* ── 1024 : 가로 대메뉴 접기 → 햄버거(사이트맵) 사용 ── */
@media screen and (max-width: 1024px) {
  .header {
    --header-height: 70px;
  }

  /* 가로 대메뉴 + 메가 서브메뉴 숨김 */
  .header__nav {
    display: none;
  }

  /* 로고와 우측 버튼만 남으므로 균형용 고정폭 해제 */
  .header-logo,
  .header-btn {
    width: auto;
  }

  .header-logo img {
    height: 28px;
  }

  /* 터치 영역 확보를 위해 햄버거를 약간 키운다 */
  .header-menu__open {
    width: 26px;
    height: 18px;
  }
  /* 버튼 높이가 18px 로 커졌으므로 X 변형 이동량도 (18-2)/2 = 8px 로 맞춘다.
     (기본 7px 은 16px 버튼 기준이라 여기선 X 가 1px 씩 어긋나 비틀려 보였다) */
  .header-menu__open.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .header-menu__open.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ── 768 ── */
@media screen and (max-width: 768px) {
  .header {
    --header-height: 60px;
  }

  .header-logo img {
    height: 24px;
  }

  .header-btn {
    gap: 12px;
  }
}

/* ── 480 ── */
@media screen and (max-width: 480px) {
  .header-logo img {
    height: 22px;
  }

  .header-btn {
    gap: 10px;
  }

  /* KOR/ENG 토글 글자 축소 */
  .header-global {
    font-size: 0.8rem;
  }
}

/* ── 360 : 최소 폭 — 요소 최대 압축 ── */
@media screen and (max-width: 360px) {
  .header-logo img {
    height: 20px;
  }

  .header-menu__open {
    width: 24px;
  }
}

/* ============================================================
 * Footer Layout
 * ============================================================ */
#goTop {
  position: absolute;
  right: 50px;
  /* 버튼 위쪽 끝을 푸터 상단 경계에 맞춘다 → 어떤 해상도에서도 밖으로 안 나감 */
  top: calc(var(--footer-pt) * -1);
  background-color: #002a71;
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 4px;
  font-size: .9rem;
  cursor: pointer;
}

#goTop span {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
}

.footer {
  /* padding-top 을 변수로 둔다. TOP 버튼(#goTop)이 이 값만큼 위로 올라가
     항상 푸터 상단에 딱 붙는다. 해상도별로 이 값만 바꾸면 버튼도 따라온다. */
  --footer-pt: 70px;
  color: #ffffff;
  background-color: #1a1a1a;
  padding: var(--footer-pt) 0 100px;
}

.footer .inner-slim {
  position: relative;
}

.footer-logo {
  padding-bottom: 24px;
  border-bottom: 1px solid #fff;
}

.footer-logo img {
  height: 26px;
}

.footer-list {
  display: flex;
  gap: 50px;
  padding: 30px 0;
  border-bottom: 1px solid #fff;
}

.footer-list li {
  display: flex;
  flex-direction: column;
}

.footer-list li a {
  display: inline-block;
  font-size: .875rem;
  font-weight: 300;
  margin-bottom: 6px;
}

.footer-list .menu {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-list .logo {
  margin-left: auto;
  opacity: 0.5;
}

.footer-list .logo img {
  height: 20px;
}

.footer-end {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.7;
}

.footer-connect {
  display: flex;
  gap: 50px;
  margin-bottom: 4px;
}

/* 이용약관 / 개인정보처리방침 — 구분선은 글자가 아니라 border 로 */
.footer-policy {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-policy li + li {
  border-left: 1px solid rgba(255, 255, 255, .35);
}

/* 좌우 여백은 항목 안의 요소가 가진다.
   링크든 카피라이트 문구든 똑같이 적용되어야 구분선 간격이 균등해진다. */
.footer-policy > li > a,
.footer-policy > li > .footer-copy {
  display: block;
  padding: 2px 16px;
  color: #fff;
  transition: opacity 0.25s;
}

/* 첫 항목만 왼쪽 여백을 없애 위 주소 줄과 라인을 맞춘다 */
.footer-policy > li:first-child > a,
.footer-policy > li:first-child > .footer-copy {
  padding-left: 0;
}

.footer-policy a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 개인정보처리방침은 다른 항목과 구분되게 */
.footer-policy a.is-strong {
  font-weight: 700;
}

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

  .footer-policy > li > a,
  .footer-policy > li > .footer-copy {
    padding: 2px 12px;
  }
}

.footer-link {
  position: relative;
  width: 200px;
  font-size: .9rem;
  font-weight: 600;
}

.footer-group {
  width: 100%;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, .1);
  position: relative;
  cursor: pointer;
}

.footer-group::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  /* 닫힘: 아래 화살표(∨). translateY 로 회전 무게중심 보정 */
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.3s ease;
}

.footer-group.open::after {
  /* 열림: 위 화살표(∧) */
  transform: translateY(-25%) rotate(225deg);
}

.footer-linkbox {
  position: absolute;
  bottom: 100%;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height .7s ease;
}

.footer-linkbox a {
  display: block;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, .2);
  transition: background-color .3s;
}

.footer-linkbox a:hover {
  background-color: rgba(255, 255, 255, .4);
}

.footer-group.open ~ .footer-linkbox {
  max-height: 300px;
}

/* 영문 푸터 : 메뉴명·주소가 길어 컬럼 간격과 줄바꿈을 따로 조정 */
.footer.en .footer-list {
  gap: 30px;
  align-items: flex-start;
}

/* 균등 분할 대신 글자 길이만큼만 차지하도록 (짧은 컬럼이 벌어지지 않게) */
.footer.en .footer-list li:not(.logo) {
  flex: 0 0 auto;
}

/* 주소가 길어 첫 줄을 통째로 사용 */
.footer.en .footer-connect {
  flex-wrap: wrap;
  gap: 4px 40px;
  margin-bottom: 8px;
}

.footer.en .footer-connect li:first-child {
  flex: 0 0 100%;
}

.footer.en .footer-end {
  align-items: flex-end;
}

@media screen and (max-width: 1280px) {
  .footer.en .footer-list {
    gap: 20px;
  }

  /* 영문 메뉴명이 길어 이 구간부터 한 줄이 빠듯하다.
     margin-left:auto 로 밀려 넘치던 장식용 워터마크 로고는 숨긴다.
     (국문은 더 짧아 768 까지 유지) */
  .footer.en .footer-list .logo {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .footer.en .footer-list {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer.en .footer-list .logo {
    flex: 0 0 100%;
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .footer.en .footer-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ============================================================
 * Footer 반응형 — 헤더와 동일한 브레이크포인트(1600~360)
 * inner-slim 좌우 여백은 공통 반응형(common.css)을 상속하므로
 * 여기서는 footer 고유의 배치(메뉴 열·하단 정보/링크)만 다룬다.
 * ============================================================ */

/* ── 1600 : 메뉴 열 간격만 축소 ── */
@media screen and (max-width: 1600px) {
  .footer-list {
    gap: 40px;
  }
}

/* ── 1440 ── */
@media screen and (max-width: 1440px) {
  .footer-list {
    gap: 32px;
  }
}

/* ── 1280 ── */
@media screen and (max-width: 1280px) {
  .footer-list {
    gap: 26px;
  }

  .footer-connect {
    gap: 30px;
  }
}

/* ── 1024 : 메뉴가 한 줄에 안 들어가므로 줄바꿈 ── */
@media screen and (max-width: 1024px) {
  .footer {
    --footer-pt: 60px;
    padding-bottom: 80px;
  }

  .footer-list {
    flex-wrap: wrap;
    gap: 30px 40px;
  }

  /* 워터마크 로고는 줄바꿈 시 한 줄을 통째로 차지 */
  .footer-list .logo {
    flex: 0 0 100%;
    margin-left: 0;
  }
}

/* ── 768 : 메뉴 3열 그리드 + 하단 정보/링크 세로 배치 ── */
@media screen and (max-width: 768px) {
  .footer {
    --footer-pt: 50px;
    padding-bottom: 70px;
  }

  .footer-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }

  /* 좁은 화면에선 장식용 워터마크 로고 숨김 */
  .footer-list .logo {
    display: none;
  }

  .footer-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-connect {
    flex-wrap: wrap;
    gap: 4px 24px;
  }

  .footer-link {
    width: 100%;
  }

  #goTop {
    right: 20px;
  }
}

/* ── 480 : 메뉴 2열 ── */
@media screen and (max-width: 480px) {
  .footer {
    --footer-pt: 40px;
    padding-bottom: 60px;
  }

  .footer-logo img {
    height: 22px;
  }

  .footer-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
  }

  .footer-connect {
    flex-direction: column;
    gap: 4px;
  }

  #goTop {
    width: 44px;
    height: 44px;
    right: 15px;
  }
}

/* ── 360 : 최소 폭 — 열 간격 최대 압축 ── */
@media screen and (max-width: 360px) {
  .footer-list {
    gap: 20px 12px;
  }
}