@charset "UTF-8";
/* =============================================================
   home.css
   메인 페이지(index.html) 전용. common.css 에 없는 요소만 정의한다.
   폰트/컬러/여백 스케일은 common.css 값을 승계한다.
   ============================================================= */

/* -------------------------------------------------------------
   1. Hero
   .banner__body span(3rem) / strong(21.1rem) 구조는 그대로 두고,
   헤드라인 문구를 span 슬롯에 넣기 위해 정렬만 가운데로 되돌린다.
   ------------------------------------------------------------- */
.banner__body .hm-hero__head {
  text-align: center;
  margin-right: 0;
  /* 배경 사진(밝은 벽면)과 겹칠 때 가독성 확보 */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 16px rgba(0, 0, 0, 0.45);
}

.banner__body .hm-hero__lead {
  margin-top: 2.4rem;
  font-size: 2.3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 16px rgba(0, 0, 0, 0.45);
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
}
.banner__body .hm-hero__lead strong {
  /* .banner__body strong(21.1rem) 상속을 끊는다 */
  display: inline;
  margin-top: 0;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.6;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 16px rgba(0, 0, 0, 0.45);
  text-align: center;
}

/* .btn-style01 의 margin-top:18rem 은 기존 히어로 전용 값이므로
   버튼을 감싸는 래퍼에서 상단 간격을 다시 잡는다. */
.banner__body .hm-hero__cta {
  margin-top: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.6rem;
}
.banner__body .hm-hero__cta .btn-style01 {
  margin-top: 0;
}
/* 보조 버튼 — 기존 그라데이션 대신 외곽선만 */
.banner__body .hm-hero__cta .btn-style02 {
  padding: 1.6rem 2.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 2.1rem;
  color: white;
  line-height: 1.3;
  letter-spacing: 0.04em;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.banner__body .hm-hero__cta .btn-style02:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  border-color: white;
}

/* -------------------------------------------------------------
   2. 신뢰 근거 숫자
   ------------------------------------------------------------- */
.hm-stats {
  max-width: 1250px;
  width: 85%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
.hm-stats__item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 3.7rem 3rem;
  text-align: center;
  background-color: rgba(43, 44, 48, 0.0509803922);
  -webkit-backdrop-filter: blur(50px);
          backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}
.hm-stats__num {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.hm-stats__label {
  display: block;
  margin-top: 1.2rem;
  font-size: 2.3rem;
  font-weight: 500;
  color: #A6A6A6;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------
   3. 서비스 3블록 — .main__item 을 링크로 쓸 때
   ------------------------------------------------------------- */
.main__contents.contents-3row a.main__item {
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.main__contents.contents-3row a.main__item:hover {
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
}
.hm-service__more {
  display: block;
  margin-top: auto;
  padding-top: 2.4rem;
  font-size: 2.3rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

/* =============================================================
   반응형 — 기존 breakpoint(1024px / 768px) 준수
   ============================================================= */
@media (max-width: 1024px) {
  /* 좁은 폭에서는 <br> 강제 개행이 어색하게 끊긴다. 자연 개행에 맡기고
     마지막 문장만 블록으로 분리한다. */
  .banner__body .hm-hero__lead {
    font-size: 2rem;
  }
  .banner__body .hm-hero__lead br {
    display: none;
  }
  .banner__body .hm-hero__lead strong {
    display: block;
    margin-top: 1.2rem;
    font-size: 2rem;
  }
  .hm-stats {
    width: 100%;
    padding: 0 28px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .hm-stats__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 15px);
            flex: 0 0 calc(50% - 15px);
  }
}
@media (max-width: 768px) {
  .banner__body .hm-hero__cta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .banner__body .hm-hero__cta .btn-style02 {
    font-size: 16px;
    padding: 12px 25px;
  }
  .banner__body .hm-hero__lead,
  .banner__body .hm-hero__lead strong {
    font-size: 16px;
  }
  .hm-stats {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .hm-stats__item {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .hm-stats__num {
    font-size: 3rem;
  }
}
