/* 메인 히어로 슬라이더 — 시안 A~F 공통 구조
   레퍼런스 구성(전폭 이미지 슬라이드 + 상단 카피 + 하단 띠: 핵심 문구 + 특징 3개)
   시안별 겉모습은 아래 --hs-* 변수로만 바꾼다. */
.hs {
  --hs-display: "Pretendard", sans-serif;
  --hs-body: "Pretendard", sans-serif;
  --hs-accent: #1aa7bd;
  --hs-accent-ink: #fff;
  --hs-band: #0f2a36;
  --hs-band-ink: #fff;
  --hs-shade: rgba(8, 18, 24, 0.62);
  --hs-radius: 999px;
  --hs-wrap: 1240px;
  --hs-h: clamp(440px, 72vh, 640px);
  position: relative;
  font-family: var(--hs-body);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hs__track {
  position: relative;
  height: var(--hs-h);
}
.hs__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0s linear 0.9s;
}
.hs__slide.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease;
}
.hs__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  transform: scale(1.06);
  transition: transform 6.5s ease-out;
}
.hs__slide.is-on img {
  transform: scale(1);
}
.hs__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--hs-shade) 0%,
    var(--hs-shade) 30%,
    rgba(0, 0, 0, 0.08) 72%,
    rgba(0, 0, 0, 0) 100%
  );
}
.hs__copy {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--hs-wrap);
  margin: 0 auto;
  padding: 0 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hs__eyebrow {
  font-family: var(--hs-display);
  letter-spacing: 0.14em;
  font-size: 13px;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 14px;
}
.hs__title {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 13em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hs__title em {
  font-style: normal;
  color: var(--hs-em, var(--hs-accent));
}
.hs__sub {
  margin: 16px 0 0;
  max-width: 30em;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.7;
  word-break: keep-all;
  opacity: 0.92;
}
.hs__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hs__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--hs-radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: var(--hs-accent);
  color: var(--hs-accent-ink);
  border: 2px solid var(--hs-accent);
}
.hs__btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.hs__btn:focus-visible,
.hs__nav button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* 슬라이드 조작 */
.hs__nav {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(var(--hs-h) - 52px);
  max-width: var(--hs-wrap);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hs__dots {
  display: flex;
  gap: 8px;
}
.hs__dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.hs__dot[aria-current="true"] {
  background: #fff;
}
.hs__arrow,
.hs__pause {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.hs__arrow svg,
.hs__pause svg {
  width: 16px;
  height: 16px;
}
.hs__count {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-left: auto;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

/* 하단 띠: 핵심 문구 + 특징 3개 */
.hs__band {
  background: var(--hs-band);
  color: var(--hs-band-ink);
}
.hs__band-in {
  max-width: var(--hs-wrap);
  margin: 0 auto;
  padding: 22px 20px;
  display: grid;
  gap: 14px;
}
.hs__band-title {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: clamp(20px, 4.6vw, 30px);
  letter-spacing: -0.02em;
  margin: 0;
  word-break: keep-all;
}
.hs__band-title em {
  font-style: normal;
  color: var(--hs-em, var(--hs-accent));
}
.hs__feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hs__feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  word-break: keep-all;
}
.hs__feats svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--hs-em, var(--hs-accent));
}

@media (min-width: 900px) {
  .hs__copy {
    padding: 0 40px 40px;
  }
  .hs__nav {
    padding: 0 40px;
    top: calc(var(--hs-h) - 60px);
  }
  .hs__band-in {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
    padding: 28px 40px;
  }
  .hs__band-title {
    padding-right: 40px;
    border-right: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 30%, transparent);
  }
  .hs__feats {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 28px;
  }
}
@media (max-width: 599px) {
  .hs__slide img {
    object-position: 90% 50%;
  }
  .hs__slide::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      var(--hs-shade) 55%,
      var(--hs-shade) 100%
    );
  }
  .hs__copy {
    justify-content: flex-end;
    padding-bottom: 64px;
  }
  .hs__arrow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hs__slide,
  .hs__slide.is-on,
  .hs__slide img {
    transition: none;
    transform: none;
  }
}
