/* JS 실행 전 올바른 슬라이더 컨테이너만 표시 — CLS 방지 */
@media (min-width: 769px) { .home-hero .mobile-images { display: none; } }
@media (max-width: 768px)  { .home-hero .sl-images     { display: none; } }

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #061a24;
}

.home-hero .sl-images,
.home-hero .mobile-images {
  min-height: 100svh;
}

.home-hero .sl-images img,
.home-hero .mobile-images img {
  min-height: 100svh;
}


.home-hero__content {
  position: absolute;
  z-index: 2;
  left: max(32px, calc((100vw - 1180px) / 2));
  bottom: clamp(86px, 14vh, 160px);
  width: min(680px, calc(100% - 64px));
  color: #fff;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(6, 26, 36, 0.58);
  font-size: 15px;
  font-weight: 700;
}

.home-hero .home-hero__content h1 {
  padding: 0;
  margin: 0;
  color: #fff;
  text-align: left;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.46);
}

.home-hero__lead {
  width: min(600px, 100%);
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
  font-weight: 600;
}

.home-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.home-hero__btn--call {
  background: #e3392e;
  color: #fff;
}

.home-hero__btn--reserve {
  background: #fff;
  color: #001241;
}

/* .floating-cta 규칙은 bundle.css(style.css 소스)로 단일화 — 여기서 정의하지 않음 */

.home-search-summary {
  background: #f6f8fb;
  border-bottom: 1px solid #e5e9f1;
}

.home-search-summary__inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 38px;
}

.home-search-summary__eyebrow {
  margin: 0 0 10px;
  color: #1e3a8a;
  font-size: 15px;
  font-weight: 800;
}

.home-search-summary h2 {
  margin: 0;
  padding: 0;
  color: #001241;
  text-align: left;
  font-size: 30px;
  line-height: 1.3;
}

.home-search-summary p:not(.home-search-summary__eyebrow) {
  max-width: 900px;
  margin: 14px 0 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.75;
}

.home-search-summary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home-search-summary__facts li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

/* 히어로가 있는 페이지: 초기 투명, 스크롤 시 원래 색상 */
body:has(.home-hero) .header .nav {
  background: transparent;
  transition: background 0.35s ease, padding-bottom 0.35s ease-out;
}
body:has(.home-hero) .header .nav.nav--scrolled,
body:has(.home-hero) .header .nav.nav--submenu-open {
  background: rgb(4, 43, 57);
}


@media (hover: hover) {
  .home-hero__btn {
    transition: transform 0.18s ease, filter 0.18s ease;
  }

  .home-hero__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 88svh;
  }

  .home-hero .sl-images,
  .home-hero .mobile-images,
  .home-hero .sl-images img,
  .home-hero .mobile-images img {
    min-height: 88svh;
    height: 88svh;
  }

.home-hero__content {
    left: 20px;
    right: 20px;
    bottom: 78px;
    width: auto;
  }

  .home-hero__eyebrow {
    min-height: 30px;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .home-hero .home-hero__content h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .home-hero__lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.48;
  }

  .home-hero__actions {
    display: none;
  }

  .home-search-summary__inner {
    width: min(100% - 28px, 680px);
    padding: 30px 0 28px;
  }

  .home-search-summary h2 {
    font-size: 24px;
  }

  .home-search-summary p:not(.home-search-summary__eyebrow) {
    font-size: 15px;
    line-height: 1.65;
  }
}
