/* ==========================================================================
   main 페이지 스타일 — 섹션별 통합 (원본: main-page/section*.html)
   ========================================================================== */

/* --- section01-hero --- */
.han-s01 {
  position: relative;
  width: 100%;
  min-height: 976px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(60px, 10vw, 200px) clamp(20px, 8vw, 150px);
  background: #000;
}
.han-s01__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.han-s01__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.han-s01__title {
  margin: 0;
  font-family: 'SUIT', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.1vw, 60px);
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: #fff;
  text-align: center;
  max-width: 1200px;
  overflow-wrap: break-word;
}

/* ── Laptop: ~1439px ─────────────────────── */
@media (max-width: 1439px) {
  .han-s01 { min-height: 720px; }
}

/* ── Tablet 가로: ~1024px ────────────────── */
@media (max-width: 1024px) {
  .han-s01 { min-height: 560px; }
}

/* ── Tablet 세로: ~768px ─────────────────── */
@media (max-width: 768px) {
  .han-s01 { min-height: 460px; padding: 40px 24px; }
  .han-s01__title { line-height: 1.35; }
}

/* ── Mobile 가로: ~480px ─────────────────── */
@media (max-width: 480px) {
  .han-s01 { min-height: 380px; }
  .han-s01__title { font-size: 24px; line-height: 1.4; }
}

/* ── Mobile 세로: ~375px ─────────────────── */
@media (max-width: 375px) {
  .han-s01 { min-height: 340px; }
  .han-s01__title { font-size: 21px; line-height: 1.4; }
}

/* --- section02-about --- */
.han-s02 {
  position: relative;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(50px, 6vw, 110px) clamp(20px, 8vw, 150px) clamp(60px, 10vw, 190px);
  overflow: hidden;
}
.han-s02__band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 214px;
  background: var(--main, #0a58a5);
  z-index: 0;
}
.han-s02__col {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
}
.han-s02__text {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 60px);
  align-items: flex-start;
}
.han-s02__group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.han-s02__label {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 30px);
  color: var(--main, #0a58a5);
  letter-spacing: -0.025em;
}
.han-s02__title {
  margin: 0;
  font-family: 'SUIT', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.9vw, 55px);
  line-height: 1.2;
  color: #222;
}
.han-s02__desc {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 30px);
  line-height: 1.35;
  color: #222;
  letter-spacing: -0.025em;
}
.han-s02__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  border: 1px solid #cdcdcd;
  border-radius: 50px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease-out, border-color 0.16s ease-out, color 0.16s ease-out, transform 0.12s ease-out;
}
.han-s02__btn { margin-bottom: 10px; }
.han-s02__btn:hover { background: var(--main, #0a58a5); border-color: var(--main, #0a58a5); color: #fff; }
.han-s02__btn:active { transform: translateY(1px) scale(0.98); }
.han-s02__btn:focus-visible { outline: 2px solid var(--main, #0a58a5); outline-offset: 2px; }
.han-s02__img {
  border-radius: 20px;
  overflow: hidden;
  height: 523px;
}
.han-s02__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Laptop: ~1439px ─────────────────────── */
@media (max-width: 1439px) {
  .han-s02__img { height: 420px; }
}

/* ── Tablet 가로: ~1024px ────────────────── */
@media (max-width: 1024px) {
  .han-s02__img { height: 340px; }
}

/* ── Tablet 세로: ~768px ─────────────────── */
@media (max-width: 768px) {
  .han-s02 {
    flex-direction: column;
    align-items: stretch;
    padding: 50px 24px 0;
  }
  .han-s02__col { flex: 0 0 auto; width: 100%; }
  .han-s02__band { display: block; height: 80px; }
  .han-s02__text { order: 0; padding-bottom: 40px; }
  .han-s02__img { order: 1; height: 280px; margin-bottom: 40px; }
  .han-s02__btn { align-self: flex-start; }
}

/* ── Mobile 가로: ~480px ─────────────────── */
@media (max-width: 480px) {
  .han-s02__img { height: 220px; }
  .han-s02__band { height: 60px; }
}

/* ── Mobile 세로: ~375px ─────────────────── */
@media (max-width: 375px) {
  .han-s02__img { height: 190px; }
}

/* --- section03-process --- */
.han-s03 {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  padding: clamp(50px, 6vw, 100px) clamp(20px, 15vw, 300px) clamp(50px, 6vw, 100px) clamp(20px, 8vw, 150px);
}
.han-s03__left {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}
.han-s03__group { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.han-s03__label {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 30px);
  color: var(--main, #0a58a5);
}
.han-s03__title {
  margin: 0;
  font-family: 'SUIT', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.9vw, 55px);
  color: #222;
}
.han-s03__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  border: 1px solid #cdcdcd;
  border-radius: 50px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease-out, border-color 0.16s ease-out, color 0.16s ease-out, transform 0.12s ease-out;
}
.han-s03__btn:hover { background: var(--main, #0a58a5); border-color: var(--main, #0a58a5); color: #fff; }
.han-s03__btn:active { transform: translateY(1px) scale(0.98); }
.han-s03__btn:focus-visible { outline: 2px solid var(--main, #0a58a5); outline-offset: 2px; }
.han-s03__list { display: flex; flex-direction: column; gap: 40px; width: 100%; }
.han-s03__item { display: grid; grid-template-columns: 8px 1fr; column-gap: 20px; align-items: stretch; }
.han-s03__mk { position: relative; font-size: clamp(20px, 1.9vw, 36px); }
.han-s03__mk > span {
  position: absolute;
  left: 0;
  top: calc(0.5em - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 1;
}
.han-s03__mk--1 > span { background: rgba(10,88,165,0.85); }
.han-s03__mk--2 > span { background: rgba(10,88,165,0.5); }
.han-s03__mk--3 > span { background: #c0d7ed; }
.han-s03__item:not(:last-child) .han-s03__mk::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.5em;
  width: 1px;
  height: calc(100% + 40px);
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(to bottom, #0a58a5 0, #0a58a5 2px, transparent 2px, transparent 4px);
}
.han-s03__mk--1::before {
  -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,0.55));
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,0.55));
}
.han-s03__mk--2::before {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
}
.han-s03__itembody { min-width: 0; }
.han-s03__itembody h3 {
  margin: 0 0 10px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 36px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #222;
}
.han-s03__itembody p {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 30px);
  line-height: 1.35;
  color: #222;
}

.han-s03__right { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.han-s03__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.han-s03__step {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.025em;
  text-align: center;
  color: #fff;
  margin-top: -40px;
}
.han-s03__step:first-child { margin-top: 0; }
.han-s03__step--1 { background: rgba(10,88,165,0.9); }
.han-s03__step--2 { background: rgba(10,88,165,0.6); }
.han-s03__step--3 { background: rgba(192,215,237,0.5); color: var(--main, #0a58a5); }
.han-s03__stepicon { width: 100px; height: 100px; }
.han-s03__stepicon img { width: 100%; height: 100%; object-fit: contain; }
.han-s03__seam {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translate(-50%, -50%);
}
.han-s03__seam--1 { top: 260px; }
.han-s03__seam--2 { top: 500px; }

/* ── Laptop: ~1439px ─────────────────────── */
@media (max-width: 1439px) {
  .han-s03 { gap: 40px; }
  .han-s03__step { width: 220px; height: 220px; font-size: 24px; margin-top: -30px; }
  .han-s03__stepicon { width: 80px; height: 80px; }
  .han-s03__seam--1 { top: 205px; }
  .han-s03__seam--2 { top: 395px; }
}

/* ── Tablet 가로: ~1024px ────────────────── */
@media (max-width: 1024px) {
  .han-s03 { flex-direction: column; align-items: stretch; padding: 60px 24px; }
  .han-s03__right { align-self: center; }
}

/* ── Tablet 세로: ~768px ─────────────────── */
@media (max-width: 768px) {
  .han-s03__step { width: 180px; height: 180px; font-size: 20px; margin-top: -20px; }
  .han-s03__stepicon { width: 60px; height: 60px; }
  .han-s03__seam--1 { top: 170px; }
  .han-s03__seam--2 { top: 340px; }
}

/* ── Mobile 가로: ~480px ─────────────────── */
@media (max-width: 480px) {
  .han-s03__list { gap: 28px; }
  .han-s03__step { width: 140px; height: 140px; font-size: 16px; margin-top: -16px; gap: 6px; }
  .han-s03__stepicon { width: 44px; height: 44px; }
  .han-s03__seam { width: 11px; height: 11px; }
  .han-s03__seam--1 { top: 132px; }
  .han-s03__seam--2 { top: 264px; }
}

/* ── Mobile 세로: ~375px ─────────────────── */
@media (max-width: 375px) {
  .han-s03__step { width: 120px; height: 120px; font-size: 14px; margin-top: -14px; }
  .han-s03__stepicon { width: 38px; height: 38px; }
  .han-s03__seam--1 { top: 113px; }
  .han-s03__seam--2 { top: 226px; }
}

/* --- section04-product --- */
.han-s04 {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 50px);
  padding: clamp(50px, 6vw, 120px) 0 clamp(50px, 6vw, 120px) clamp(20px, 8vw, 150px);
}
.han-s04__bg,
.han-s04__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.han-s04__bg { object-fit: cover; z-index: 0; }
.han-s04__overlay { background: rgba(10,88,165,0.8); z-index: 0; }

.han-s04__head, .han-s04__scroll { position: relative; z-index: 1; }
.han-s04__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  padding-right: clamp(20px, 8vw, 150px);
}
.han-s04__group { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.han-s04__label {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 30px);
  color: #fff;
}
.han-s04__title {
  margin: 0;
  font-family: 'SUIT', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.9vw, 55px);
  color: #fff;
}
.han-s04__desc {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 30px);
  line-height: 1.35;
  color: #fff;
}
.han-s04__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  border: 1px solid #fff;
  border-radius: 50px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease-out, color 0.16s ease-out, transform 0.12s ease-out;
}
.han-s04__btn:hover { background: #fff; color: var(--main, #0a58a5); }
.han-s04__btn:active { transform: translateY(1px) scale(0.98); }
.han-s04__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.han-s04__scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: clamp(20px, 8vw, 150px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  cursor: grab;
}
.han-s04__scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.han-s04__scroll.is-dragging .han-s04__thumb img { transform: none; } /* 드래그 중 호버줌 억제 */
.han-s04__card { scroll-snap-align: start; }
.han-s04__scroll::-webkit-scrollbar { display: none; }
.han-s04__card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.han-s04__thumb {
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.han-s04__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.han-s04__card:hover .han-s04__thumb img { transform: scale(1.05); }
.han-s04__card p {
  margin: 0;
  width: 400px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #fff;
  text-align: center;
}

/* ── Laptop: ~1439px ─────────────────────── */
@media (max-width: 1439px) {
  .han-s04__thumb { width: 300px; height: 300px; }
  .han-s04__card p { width: 300px; font-size: 24px; }
}

/* ── Tablet 가로: ~1024px ────────────────── */
@media (max-width: 1024px) {
  .han-s04__thumb { width: 240px; height: 240px; }
  .han-s04__card p { width: 240px; font-size: 20px; }
}

/* ── Tablet 세로: ~768px ─────────────────── */
@media (max-width: 768px) {
  .han-s04 { padding-left: 24px; }
  .han-s04__head, .han-s04__scroll { padding-right: 24px; }
  .han-s04__thumb { width: 200px; height: 200px; }
  .han-s04__card p { width: 200px; font-size: 18px; }
}

/* ── Mobile 가로: ~480px ─────────────────── */
@media (max-width: 480px) {
  .han-s04__thumb { width: 160px; height: 160px; }
  .han-s04__card p { width: 160px; font-size: 15px; }
}

/* ── Mobile 세로: ~375px ─────────────────── */
@media (max-width: 375px) {
  .han-s04__thumb { width: 140px; height: 140px; }
  .han-s04__card p { width: 140px; font-size: 14px; }
}

/* --- section05-cta --- */
.han-s05 {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(50px, 6vw, 110px) clamp(20px, 10vw, 200px);
  background: #071a33;
}
.han-s05__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.han-s05__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.han-s05__text {
  margin: 0;
  font-family: 'Godo', 'Pretendard', sans-serif;
  font-weight: 700; /* Godo Bold */
  font-size: clamp(16px, 1.6vw, 30px);
  line-height: 1.5;
  color: #fff;
}
.han-s05__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 50px;
  border: 1px solid #fff;
  border-radius: 20px 0 20px 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease-out, color 0.16s ease-out, transform 0.12s ease-out;
}
.han-s05__btn:hover { background: #fff; color: var(--main, #0a58a5); }
.han-s05__btn:active { transform: translateY(1px) scale(0.98); }
.han-s05__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── Laptop: ~1439px ─────────────────────── */
@media (max-width: 1439px) {
  .han-s05 { min-height: 320px; }
}

/* ── Tablet 가로: ~1024px ────────────────── */
@media (max-width: 1024px) {
  .han-s05 { min-height: 280px; }
}

/* ── Tablet 세로: ~768px ─────────────────── */
@media (max-width: 768px) {
  .han-s05 { min-height: 240px; padding: 50px 24px; }
}

/* ── Mobile 가로: ~480px ─────────────────── */
@media (max-width: 480px) {
  .han-s05 { min-height: 200px; }
  .han-s05__btn { padding: 12px 36px; }
}

/* ── Mobile 세로: ~375px ─────────────────── */
@media (max-width: 375px) {
  .han-s05 { min-height: 180px; }
}
