/* =========================================================
   서브페이지 (overview / premium / complex / unit / visit)
   style.css 의 .sub-page-head 를 재사용하고, 이 프로젝트용 보정만 담는다.
   ========================================================= */

/* ---- 상단 배너 배경 (detail-bg.webp 없음 → 메인 이미지 사용) ---- */
.sub-page-head__bg {
  background-image:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.82)),
    url("../images/메인/visual-bg-new-02.jpg");
}
.sub-page-head--premium .sub-page-head__bg,
.sub-page-head--visit .sub-page-head__bg {
  background-image:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.82)),
    url("../images/메인/new-intro-bg-02.jpg");
}
.sub-page-head--complex .sub-page-head__bg {
  background-image:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.82)),
    url("../images/메인/new-intro-bg-01.jpg");
}
.sub-page-head__title {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sub-page-head__tagline {
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* ---- 상단 배너 상품권 라인 ---- */
.sub-gift {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 1.4rem 0 0;
  padding: 10px 18px;
  border: 2px solid var(--gf-gold, #b08b5c);
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(176, 139, 92, 0.3), rgba(230, 195, 151, 0.14));
  color: #fff;
  font-family: inherit;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  animation: gf-pulse 1.8s ease-in-out infinite;
}
.sub-gift__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gf-gold-l, #e6c397), var(--gf-gold, #b08b5c));
  color: #111;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.sub-gift__txt {
  font-size: clamp(14px, 1.15vw, 17px);
}
.sub-gift__txt b {
  color: var(--gf-gold-l, #e6c397);
}
.sub-gift__arrow {
  opacity: 0.85;
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .sub-gift { animation: none; }
}

/* ---- 현재 메뉴 표시 ---- */
.header__nav-link.is-current {
  box-shadow: inset 0 -2px 0 var(--gf-gold, #b08b5c);
}

/* PC: style.css 의 .page-overview / .page-premium … 규칙이 흰색 헤더 + 갈색 로고를 적용하므로
   .sub-main 의 기본 padding-top(5.25rem)을 그대로 사용한다. */

/* ---- 모바일: 고정 헤더만큼 밀기 ---- */
@media (max-width: 1024px) {
  .sub-main {
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.1rem);
    background: #050e22;
  }
  .sub-page-head,
  .sub-page-head__inner {
    min-height: 210px;
  }
  .sub-page-head__inner {
    padding: 1.6rem 1.1rem 1.8rem;
  }
  .sub-page-head__title {
    font-size: 1.5rem;
  }
  .sub-gift {
    padding: 9px 14px;
  }
  .sub-mobile [id$="-m"] {
    scroll-margin-top: 4.6rem;
  }
}

/* ---- 공통 래퍼 ---- */
.sx-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .sx-wrap {
    max-width: 700px;
    padding: 0 18px;
  }
}

/* ---- 방문예약 상품권 CTA 밴드 ---- */
.sx-cta {
  background: linear-gradient(160deg, #111 0%, #1c1610 55%, #2a1f14 100%);
  border-top: 2px solid var(--gf-gold, #b08b5c);
  border-bottom: 2px solid var(--gf-gold, #b08b5c);
  color: #fff;
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}
.sx-cta--top {
  border-top: 0;
}
.sx-cta::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  animation: gf-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.sx-cta__in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}
.sx-cta__stamp {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--gf-gold-l, #e6c397), var(--gf-gold, #b08b5c) 55%, #897158);
  color: #111;
  box-shadow: 0 8px 20px rgba(176, 139, 92, 0.45);
  animation: gf-bob 2s ease-in-out infinite;
}
.sx-cta__stamp strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.sx-cta__stamp small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.8;
}
.sx-cta__body {
  flex: 1;
  min-width: 0;
}
.sx-cta__k {
  margin: 0 0 6px;
  color: var(--gf-gold-l, #e6c397);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.sx-cta__t {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.sx-cta__t em {
  color: var(--gf-gold-l, #e6c397);
  font-style: normal;
}
.sx-cta__s {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.sx-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 230px;
}
.sx-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 2px solid var(--gf-gold, #b08b5c);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
}
.sx-cta__btn--gold {
  background: linear-gradient(135deg, var(--gf-gold-l, #e6c397), var(--gf-gold, #b08b5c));
  color: #111;
}
.sx-cta__btn--line {
  background: transparent;
  color: var(--gf-gold-l, #e6c397);
}
@media (max-width: 1024px) {
  .sx-cta {
    padding: 28px 0 30px;
    max-width: 700px;
    margin: 0 auto;
  }
  .sx-cta__in {
    flex-wrap: wrap;
    gap: 16px;
  }
  .sx-cta__stamp {
    width: 72px;
    height: 72px;
  }
  .sx-cta__stamp strong {
    font-size: 13px;
  }
  .sx-cta__body {
    flex: 1 1 calc(100% - 100px);
  }
  .sx-cta__s {
    font-size: 13px;
  }
  .sx-cta__btns {
    flex: 1 1 100%;
    flex-direction: row;
    min-width: 0;
  }
  .sx-cta__btn {
    flex: 1;
    font-size: 14px;
    padding: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sx-cta::after,
  .sx-cta__stamp { animation: none; }
}

/* ---- 하단 법적 고지 ---- */
.sx-legal {
  display: block;
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 36px;
  font-size: 12px;
  line-height: 1.7;
  color: #8a857c;
  background: #f7f5f2;
  word-break: keep-all;
  max-width: none;
}
.sx-legal a {
  color: inherit;
  text-decoration: underline;
}
@media (min-width: 1025px) {
  .sx-legal {
    padding-left: max(40px, calc((100% - 1120px) / 2));
    padding-right: max(40px, calc((100% - 1120px) / 2));
  }
}
@media (max-width: 1024px) {
  .sx-legal {
    background: #fff;
    max-width: 700px;
    padding-left: 18px;
    padding-right: 18px;
    color: #777;
  }
}

/* ---- 84㎡ 평면 카드 (PC + 모바일) ---- */
.sx-plan {
  background: #fff;
}
.sx-plan__top {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.sx-plan__fig img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e7e0d6;
}
.sx-plan__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.sx-unit {
  background: #fff;
  border: 1px solid #e7e0d6;
  border-top: 3px solid #111;
  border-radius: 6px;
  padding: 14px 14px 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
.sx-unit__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sx-unit__top h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111;
}
.sx-unit__top h3 small {
  font-size: 13px;
  font-weight: 700;
}
.sx-unit__top h3 em {
  margin-left: 4px;
  font-style: normal;
  color: #94703f;
}
.sx-unit__top p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #666;
}
.sx-unit__top p b {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin-right: 2px;
}
.sx-unit__img {
  background: #f7f5f2;
  line-height: 0;
}
.sx-unit__img img {
  width: 100%;
  height: auto;
  display: block;
}
.sx-plan-m {
  padding-bottom: 28px;
}
.sx-plan-m .sx-plan__grid {
  grid-template-columns: 1fr;
  padding: 0 14px;
  gap: 14px;
}
@media (max-width: 1024px) {
  .sx-plan__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- 방문 진행 단계 ---- */
.sx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sx-steps li {
  position: relative;
  padding: 22px 20px 24px;
  background: #fff;
  border: 1px solid #e7e0d6;
  border-top: 3px solid #111;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
.sx-steps li span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #94703f;
}
.sx-steps li b {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111;
}
.sx-steps li p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  word-break: keep-all;
}
.sx-steps li.gift {
  background: linear-gradient(135deg, #1a1510, #2a2218);
  border-color: var(--gf-gold, #b08b5c);
}
.sx-steps li.gift span,
.sx-steps li.gift b {
  color: var(--gf-gold-l, #e6c397);
}
.sx-steps li.gift p {
  color: rgba(255, 255, 255, 0.8);
}
.sx-visit-info {
  background: #f7f5f2;
}
@media (max-width: 1024px) {
  .sx-steps {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 14px 6px;
  }
  .sx-steps li {
    padding: 16px 16px 18px;
  }
}
