/* 유니케어1004 서브페이지 (sub01_1 ~ sub06_1) 공용 스타일
   reset/box-sizing, 폰트는 사이트 공통 head에서 이미 로드되므로 여기서는 다루지 않음 */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
}

body {
  color: #1a1a2e;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 상단 알림 토스트 */
#toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #0B183C;
  color: #fff;
  padding: 11px 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(11, 24, 60, .28);
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 버튼 */
.btn-t {
  background: linear-gradient(135deg, #1BBFB0, #0E746A);
  box-shadow: 0 4px 20px rgba(27, 191, 176, .30);
  transition: transform .18s, box-shadow .18s;
}
.btn-t:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27, 191, 176, .48);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .88);
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 라벨/eyebrow 텍스트 */
.ew {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1BBFB0;
}
.ew::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #1BBFB0;
  border-radius: 1px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1BBFB0;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #1BBFB0;
  border-radius: 1px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(27, 191, 176, .15);
  color: #5DD4C9;
}

/* 호버 살짝 뜨는 효과 */
.hov {
  transition: transform .22s, box-shadow .22s;
}
.hov:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 52px rgba(11, 24, 60, .13);
}

/* 서브페이지 상단 브레드크럼/히어로 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #9CA3AF;
  margin-top: 78px;
  padding: 14px 0 0;
}
.breadcrumb a {
  color: #1BBFB0;
  font-weight: 600;
  transition: color .18s;
}
.breadcrumb a:hover {
  color: #0E746A;
}
.breadcrumb .sep {
  color: #D1D5DB;
}

.page-hero {
  position: relative;
  padding: 64px 0 80px;
  background: linear-gradient(135deg, #060D22 0%, #0B183C 40%, #162E70 75%, #1B3A8A 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(27, 191, 176, .28), transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: #fff;
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

/* 카드류 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid #EEF1F8;
  border-radius: 18px;
  padding: 26px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 24, 60, .12);
  border-color: #1BBFB0;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1BBFB0, #0E746A);
  color: #fff;
  margin-bottom: 16px;
  font-size: 19px;
}

/* "이런 분들께 필요합니다" 카드 */
.need-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.need-card:nth-child(1) {
  background-image: linear-gradient(180deg, rgba(6, 13, 34, .25) 0%, rgba(6, 13, 34, .55) 55%, rgba(6, 13, 34, .92) 100%), url('/html/img/sub01-1-needcard-img01.png');
}
.need-card:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(6, 13, 34, .25) 0%, rgba(6, 13, 34, .55) 55%, rgba(6, 13, 34, .92) 100%), url('/html/img/sub01-1-needcard-img02.png');
}
.need-card:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(6, 13, 34, .25) 0%, rgba(6, 13, 34, .55) 55%, rgba(6, 13, 34, .92) 100%), url('/html/img/sub01-1-needcard-img03.png');
}
.need-card-check {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 32px;
  height: 32px;
  color: #5DD4C9;
}
.need-card-title {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 18px;
}
.need-card-divider {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, .3);
  margin-bottom: 16px;
}
.need-card-desc {
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
}

/* 목차(TOC) 카드 - 진행 과정 페이지 */
.toc-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 36px;
}
.toc-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.toc-card li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  color: #0B183C;
  font-weight: 600;
  border: 1px solid #F3F4F6;
  transition: background .18s, border-color .18s;
}
.toc-card li a:hover {
  background: #F0FBF9;
  border-color: #1BBFB0;
}
.toc-card li a .n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1BBFB0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 하단 CTA 밴드 */
.cta-band {
  background: linear-gradient(135deg, #0B183C, #1B3A8A);
  color: #fff;
  border-radius: 24px;
  padding: 48px 36px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(27, 191, 176, .32), transparent 70%);
  pointer-events: none;
}
.cta-band h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
}
.cta-band p {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  margin-bottom: 24px;
}

/* 비용계산기 결과 영역 - 메인페이지와 동일하게 좁은 화면에서 1줄씩 가운데정렬로 쌓이도록 */
.calc-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.calc-result-right {
  text-align: right;
}

@media(max-width:1023px){
  .calc-result-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }
  .calc-result-row > div {
    text-align: center;
    width: 100%;
  }
}
@media screen and (max-width: 425px) {
  #cr {
    font-size: clamp(20px, 6.5vw, 28px);
    white-space: nowrap;
  }
  #cf {
    font-size: clamp(14px, 5vw, 20px);
    white-space: nowrap;
  }
}

/* 비용계산기 슬라이더/입력 */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1BBFB0 var(--p, 50%), #E5E7EB var(--p, 50%));
  outline: none;
  cursor: pointer;
  width: 100%;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1BBFB0;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(27, 191, 176, .4);
}

.fi {
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #1a1a2e;
  background: #F9FAFB;
  transition: border-color .18s, box-shadow .18s, background .18s;
  width: 100%;
}
.fi:focus {
  outline: none;
  border-color: #1BBFB0;
  box-shadow: 0 0 0 3px rgba(27, 191, 176, .14);
  background: #fff;
}
.fi::placeholder {
  color: #9CA3AF;
}

/* FAQ 아코디언 */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22, 1, .36, 1);
}
.acc-body.open {
  max-height: 560px;
}
.acc-icon {
  transition: transform .3s;
}
.acc-item.open .acc-icon {
  transform: rotate(45deg);
}

/* 후기 별점 */
.star {
  color: #FBBF24;
}

/* 문서/계산기 목록 행 호버 */
.dr {
  transition: background .18s;
}
.dr:hover {
  background: #F0FBF9;
}

@media (max-width: 768px) {
  .cta-band {
    padding: 36px 24px;
    border-radius: 18px;
  }
}

.sub05-1-faq-wrap .acc-item button{
  font-size: 16px;
  font-weight: bold;
}
.sub05-1-faq-wrap .acc-item .acc-body p{
  font-size: 15px;
  font-weight: 400;
}
.sub-txt{
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-top: 6px;
  display: block;
}
.unicare-footer{
  margin-top: 80px;
}
.sub01-1 section .card-grid{
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.sm-mobile{ display: none !important; }
.bottom-sub-txtbox{
  font-size: 15px;
  color: #999;
  text-align: center;
  font-weight: 400;
  margin-top: 30px;
}

@media(max-width:1024px){
  .unicare-footer{
    margin-top: 60px;
  }
}

@media(max-width:640px){
  .sm-mobile{ display: block !important; }
  .cta-band .btn-row a{ width: 100%; }
}