/* =========================================================
   PINOSS footer white premium v1.0
   기존 site_footer.php 구조를 유지하고 디자인만 재구성
   ========================================================= */

.gtrust-footer{
  position:relative!important;
  margin:0!important;
  padding:0!important;
  background:
    linear-gradient(180deg,#f8fbff 0,#fff 120px,#fff 100%)!important;
  color:#18314f!important;
  border-top:1px solid #e7eef6!important;
}

.gtrust-footer__inner{
  width:min(1180px,calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:64px 0 34px!important;
}

/* 상단 브랜드 */
.gtrust-footer__brand{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:
    "logo contact"
    "title contact"
    "summary contact"!important;
  column-gap:48px!important;
  align-items:center!important;
  padding:0 0 36px!important;
  border-bottom:1px solid #e9eef5!important;
}

.gtrust-footer__logo{
  grid-area:logo!important;
  display:inline-flex!important;
  width:max-content!important;
  align-items:center!important;
  margin:0 0 15px!important;
  text-decoration:none!important;
}

.gtrust-footer__logo img{
  display:block!important;
  width:auto!important;
  max-width:176px!important;
  height:52px!important;
  object-fit:contain!important;
  opacity:1!important;
  filter:none!important;
}

.gtrust-footer__brand h2{
  grid-area:title!important;
  margin:0!important;
  color:#112944!important;
  font-size:26px!important;
  font-weight:900!important;
  line-height:1.35!important;
  letter-spacing:-.035em!important;
}

.gtrust-footer__summary{
  grid-area:summary!important;
  margin:9px 0 0!important;
  color:#718096!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.75!important;
}

.gtrust-footer__contact{
  grid-area:contact!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}

.gtrust-footer__button{
  min-width:154px!important;
  height:54px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:0 20px!important;
  border-radius:16px!important;
  font-size:15px!important;
  font-weight:900!important;
  text-decoration:none!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
  -webkit-tap-highlight-color:transparent!important;
}

.gtrust-footer__button:hover{
  transform:translateY(-2px)!important;
}

.gtrust-footer__button--phone{
  border:1px solid #d5e5fa!important;
  background:#edf6ff!important;
  color:#0967d8!important;
  box-shadow:0 8px 18px rgba(33,112,213,.10)!important;
}

.gtrust-footer__button--kakao{
  border:1px solid #f0d300!important;
  background:#fee500!important;
  color:#191919!important;
  box-shadow:0 8px 20px rgba(168,143,0,.14)!important;
}

/* 사업자 정보 */
.gtrust-footer__company{
  margin-top:32px!important;
  padding:30px!important;
  border:1px solid #e6edf5!important;
  border-radius:24px!important;
  background:#fbfdff!important;
  box-shadow:0 12px 32px rgba(32,68,112,.05)!important;
}

.gtrust-footer__company h3{
  margin:0 0 22px!important;
  color:#142d4b!important;
  font-size:18px!important;
  font-weight:900!important;
}

.gtrust-footer__info{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px 34px!important;
  margin:0!important;
}

.gtrust-footer__info > div{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  align-items:start!important;
  gap:12px!important;
  margin:0!important;
}

.gtrust-footer__info-wide{
  grid-column:auto!important;
}

.gtrust-footer__info dt{
  margin:0!important;
  color:#8a98a8!important;
  font-size:13px!important;
  font-weight:800!important;
}

.gtrust-footer__info dd{
  min-width:0!important;
  margin:0!important;
  color:#263c55!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.55!important;
  word-break:keep-all!important;
}

.gtrust-footer__info a{
  color:#176fe5!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(23,111,229,.20)!important;
}

/* 정책 링크 */
.gtrust-footer__links{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px 12px!important;
  margin-top:28px!important;
  padding:20px 0!important;
  border-top:1px solid #edf1f6!important;
  border-bottom:1px solid #edf1f6!important;
}

.gtrust-footer__links a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:0 14px!important;
  border:1px solid #e5ebf3!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#53657b!important;
  font-size:13px!important;
  font-weight:800!important;
  text-decoration:none!important;
}

.gtrust-footer__links a:hover{
  border-color:#bdd8fb!important;
  background:#f5f9ff!important;
  color:#176fe5!important;
}

/* 하단 */
.gtrust-footer__bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding-top:23px!important;
}

.gtrust-footer__bottom p{
  margin:0!important;
  color:#9aa6b3!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.6!important;
}

/* 모바일 */
@media(max-width:760px){
  .gtrust-footer{
    padding-bottom:104px!important; /* 하단 고정 네비 공간 */
  }

  .gtrust-footer__inner{
    width:calc(100% - 28px)!important;
    padding:40px 0 24px!important;
  }

  .gtrust-footer__brand{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:0!important;
    padding-bottom:28px!important;
  }

  .gtrust-footer__logo{
    margin-bottom:14px!important;
  }

  .gtrust-footer__logo img{
    max-width:152px!important;
    height:44px!important;
  }

  .gtrust-footer__brand h2{
    font-size:22px!important;
    line-height:1.4!important;
  }

  .gtrust-footer__summary{
    margin-top:8px!important;
    font-size:13px!important;
    line-height:1.7!important;
  }

  .gtrust-footer__contact{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    margin-top:22px!important;
  }

  .gtrust-footer__button{
    min-width:0!important;
    width:100%!important;
    height:52px!important;
    padding:0 12px!important;
    border-radius:15px!important;
    font-size:14px!important;
  }

  .gtrust-footer__company{
    margin-top:22px!important;
    padding:22px 18px!important;
    border-radius:20px!important;
  }

  .gtrust-footer__company h3{
    margin-bottom:20px!important;
    font-size:17px!important;
  }

  .gtrust-footer__info{
    grid-template-columns:1fr!important;
    gap:15px!important;
  }

  .gtrust-footer__info > div,
  .gtrust-footer__info-wide{
    grid-column:1!important;
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:12px!important;
  }

  .gtrust-footer__info dt{
    font-size:13px!important;
  }

  .gtrust-footer__info dd{
    font-size:13px!important;
  }

  .gtrust-footer__links{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin-top:22px!important;
    padding:18px 0!important;
  }

  .gtrust-footer__links a{
    min-width:0!important;
    min-height:44px!important;
    justify-content:center!important;
    padding:0 8px!important;
    border-radius:13px!important;
    font-size:12px!important;
  }

  .gtrust-footer__bottom{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:5px!important;
    padding-top:18px!important;
  }
}

@media(max-width:390px){
  .gtrust-footer__inner{
    width:calc(100% - 24px)!important;
  }

  .gtrust-footer__brand h2{
    font-size:20px!important;
  }

  .gtrust-footer__contact{
    grid-template-columns:1fr!important;
  }

  .gtrust-footer__info > div,
  .gtrust-footer__info-wide{
    grid-template-columns:92px minmax(0,1fr)!important;
  }
}


/* =========================================================
   모바일 푸터 하단 여백 최종 보정 v1.1
   - 푸터 자체의 중복 bottom padding 제거
   - 고정 하단 메뉴 공간은 body에서 한 번만 확보
   ========================================================= */
@media(max-width:760px){
  .gtrust-footer{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }

  .gtrust-footer__inner{
    padding-bottom:22px!important;
    margin-bottom:0!important;
  }

  .gtrust-footer__bottom{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }

  .gtrust-footer__bottom p,
  .gtrust-footer__bottom p:last-child{
    margin-bottom:0!important;
  }

  body{
    padding-bottom:92px!important;
  }
}

@media(max-width:390px){
  .gtrust-footer__inner{
    padding-bottom:18px!important;
  }

  body{
    padding-bottom:88px!important;
  }
}
