* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img { height: auto; }

body {
  width: 100%;
  margin: 0;
  background-color: #fff;
}

/* 씨투엠상담 크기 */
.ch-desk-messenger {
  min-width: 310px !important;
}

.clickable { cursor: pointer; }

/* 홈에서 실제 사용하는 2종만 — woff2(약 30% 감소) + swap(FOIT 방지) */
@font-face {
  font-family: 'Pretendard-Regular';
  src: url('assets/woff2/Pretendard-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard-SemiBold';
  src: url('assets/woff2/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== 홈 히어로 ===== */
/* 피그마: Slide 16:9 - 13 (1920×1080), GNB 80px */
/* 텍스트는 위, 일러스트는 항상 뷰포트 하단에 고정 */

.home-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-hero__text {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
  padding: clamp(40px, 9.6vh, 120px) 16px 0;
}

.home-hero__title {
  font-family: 'Pretendard-SemiBold', sans-serif;
  font-size: clamp(36px, 4.17vw, 80px);    /* 80/1920 */
  font-weight: 600;
  line-height: 1.25;                        /* 100/80 */
  letter-spacing: -2px;
  color: #111;
  margin: 0 0 32px;
}

.home-hero__subtitle {
  font-family: 'Pretendard-Regular', sans-serif;
  font-size: clamp(14px, 1.25vw, 24px);     /* 24/1920 */
  font-weight: 400;
  line-height: 1.42;                        /* 34/24 */
  letter-spacing: -0.6px;
  color: #111;
  margin: 0;
}

.home-hero__bottom {
  position: relative;
  margin-top: auto;
  width: 100%;
  line-height: 0;
}

.home-hero__illustration {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero__logo {
  position: absolute;
  bottom: 5.4%;         /* 28/518, 일러스트 박스 기준 */
  left: 50%;
  transform: translateX(-50%);
  width: 7.708%;        /* 148/1920 */
  height: auto;
  display: block;
}

/* ===== 태블릿/모바일 (1024px 이하) ===== */
/* picture 엘리먼트가 hero_illustration_tablet.png로 자동 스왑.
   이미지는 자연 비율을 유지하면서 뷰포트가 좁아질수록 양끝이 크롭됨.
   PLAY ON 로고는 태블릿 이미지에 포함되어 있어 오버레이 로고는 숨김. */
@media (max-width: 1024px) {
  .home-hero__bottom {
    height: clamp(280px, 32vw, 380px);
    overflow: hidden;
  }
  .home-hero__illustration {
    width: auto;
    max-width: none;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .home-hero__logo {
    display: none;
  }
}

@media (max-width: 576px) {
  .home-hero__title    { letter-spacing: -1px; }
  .home-hero__subtitle { letter-spacing: -0.3px; }
}
