:root {
  /* ========== 남성역 헤머튼 퍼스널 컬러 (브랜드 팔레트) ========== */
  /* 메인 컬러 — 헤더·푸터·버튼·링크 강조·문의 CTA */
  --color-main: #0a2438;
  /* 메인 RGB — rgba(var(--color-main-rgb), alpha) 용 */
  --color-main-rgb: 10, 36, 56;
  /* 진한 톤 — 호버·보조 버튼·제목 강조 */
  --color-main-deep: #04111d;
  /* 연한 톤 — 카드 보더·모달 테두리 등 */
  --color-main-muted: #16465f;
  /* 배경 틴트 — 폼·서브 배경 (메인 8% 불투명에 가까운 베이지 혼합 대체용 단색) */
  --color-surface-brand: #f3f7f8;

  /* 하위 호환 · 컴포넌트에서 그대로 사용 중 */
  --brown: var(--color-main);
  --brown-deep: var(--color-main-deep);
  --brown-header: var(--color-main);
  --accent: var(--color-main);

  --mega-bg: #ffffff;
  --mega-text: #111111;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  /* PC 헤더 네비·메가메뉴 공통 간격·폭 */
  --header-nav-gap: 3rem;
  --header-nav-cluster: min(920px, calc(100vw - 4rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #fff;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== PC / Mobile visibility ========== */
.header--desktop,
.hero--desktop,
.footer--desktop {
  display: none;
}

.header--mobile,
.footer--mobile,
.mobile-home {
  display: block;
}

@media (min-width: 1025px) {
  .header--desktop,
  .hero--desktop,
  .footer--desktop {
    display: block;
  }

  .header--mobile,
  .footer--mobile,
  .mobile-home {
    display: none;
  }
}

/* 모바일 하단 고정 배너 → 방문예약 (m-banner.png) */
.m-fixed-banner {
  display: none;
}

@media (max-width: 1024px) {
  :root {
    --m-banner-slot: 60px;
  }

  .m-fixed-banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom) 0;
    min-height: calc(env(safe-area-inset-bottom) + var(--m-banner-slot));
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    line-height: 0;
  }

  .m-fixed-banner__link {
    display: block;
    flex-shrink: 0;
    width: 100%;
    overflow: hidden;
    background: #0a2438;
    -webkit-tap-highlight-color: transparent;
  }

  .m-fixed-banner__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }

  .m-fixed-banner img {
    display: block;
    width: 100%;
    max-width: none;
    height: var(--m-banner-slot);
    max-height: var(--m-banner-slot);
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    vertical-align: bottom;
  }

  /* 고정 배너 높이만큼 본문 하단 여백 (푸터·콘텐츠 가림 방지) */
  body {
    padding-bottom: calc(env(safe-area-inset-bottom) + var(--m-banner-slot));
  }
}

/* ========== PC Header ========== */
.header--desktop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 1rem 2rem;
  transition:
    background 0.28s ease,
    box-shadow 0.28s ease;
  overflow: visible;
}

/* 스크롤 또는 네비(·메가메뉴) 호버 시 동일 스타일 */
.header--desktop.is-scrolled,
.header--desktop:has(.header__nav-wrap:hover),
.header--desktop:has(.header__nav-wrap:focus-within) {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 28px rgba(0, 0, 0, 0.06);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__logo img {
  display: block;
  max-height: 44px;
  width: auto;
  transition: filter 0.28s ease;
  /* 히어로 위: 배경과 살짝 분리 */
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
}

.header--desktop.is-scrolled .header__logo img,
.header--desktop:has(.header__nav-wrap:hover) .header__logo img,
.header--desktop:has(.header__nav-wrap:focus-within) .header__logo img {
  filter: none;
}

.header__nav-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
}

/* 네비 5열 = 메가메뉴 5열과 동일 그리드로 정렬 */
.header__nav-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--header-nav-gap);
  row-gap: 0;
  width: 100%;
  max-width: var(--header-nav-cluster);
  margin: 0 auto;
  justify-items: center;
}

.header__nav {
  display: contents;
}

.header__nav-list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-list > li {
  min-width: 0;
  text-align: center;
}

.header__nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  cursor: default;
  padding: 0.5rem 0.85rem;
  display: inline-block;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.header--desktop.is-scrolled .header__nav-link,
.header--desktop:has(.header__nav-wrap:hover) .header__nav-link,
.header--desktop:has(.header__nav-wrap:focus-within) .header__nav-link {
  color: var(--brown-deep);
  text-shadow: none;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.header__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.header__cta-tel {
  white-space: nowrap;
}

/* Mega menu — 전체 너비(뷰포트) 한 패널, 호버 시 자연스럽게 펼침 */
.header__nav-wrap:hover .mega,
.header__nav-wrap:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 100vw;
  margin-left: -50vw;
  background: var(--mega-bg);
  color: var(--mega-text);
  border-radius: 0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 0;
  z-index: 120;
}

/* 모바일: 100vw 브레이크아웃이 가로 스크롤·우측 빈틈을 만들 수 있어 무력화 (PC 헤더는 숨김) */
@media (max-width: 1024px) {
  .mega {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    left: 0;
  }
}

/* 호버 끊김 방지 */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.mega__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--header-nav-gap);
  row-gap: 0;
  align-items: start;
  width: 100%;
  max-width: var(--header-nav-cluster);
  margin: 0 auto;
  padding: 1.75rem 2rem 2.25rem;
  box-sizing: border-box;
}

.mega__col {
  padding: 0;
  min-height: 100%;
}

.mega__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega__sub li {
  margin-bottom: 0.5rem;
}

.mega__sub li:last-child {
  margin-bottom: 0;
}

.mega__sub a {
  font-size: 0.95rem;
  color: var(--brown-deep);
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mega__sub a:hover {
  color: #fff;
  background: var(--brown);
}

/* ========== PC Hero (모바일에서는 표시 안 함 — display:flex가 none을 덮지 않도록 미디어쿼리 안에만 배치) */
@media (min-width: 1025px) {
  .hero--desktop {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6rem 3rem 4rem;
    overflow: hidden;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    background: url("../images/main-bg.jpg") center / cover no-repeat;
    z-index: 0;
    transform: scale(1.12);
    will-change: transform;
    animation: hero-bg-zoom-out 2.8s ease-out forwards;
  }

  @keyframes hero-bg-zoom-out {
    from {
      transform: scale(1.12);
    }

    to {
      transform: scale(1);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__bg {
      animation: none;
      transform: none;
      will-change: auto;
    }
  }

  .hero__content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .hero__card {
    max-width: min(800px, 92vw);
    padding: 2rem 2.25rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .hero__card-logo {
    margin-bottom: 0.75rem;
  }

  .hero__strong {
    margin: 0 0 1rem;
    font-size: 1.85rem;
    line-height: 1.35;
    font-weight: 800;
    color: var(--brown-deep);
    word-break: keep-all;
    white-space: nowrap;
  }

  .hero__sub {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #555;
    word-break: keep-all;
  }

  @media (max-width: 1100px) {
    .hero__strong {
      font-size: 1.55rem;
      white-space: normal;
    }
    .hero__sub {
      font-size: 1.05rem;
    }
  }
}

/* ========== Mobile Header ========== */
.header--mobile {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--brown-header);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-m__inner {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.header-m__menu-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
}

.header-m__menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-m__menu-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff;
}

.header-m__logo {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-m__logo img {
  margin: 0 auto;
  max-height: 40px;
  width: auto;
}

.header-m__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
}

.header-m__phone-num {
  letter-spacing: -0.02em;
}

@media (max-width: 380px) {
  .header-m__phone-num {
    font-size: 0.68rem;
  }
}

.header-m__interest {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #ffffff;
  color: var(--brown-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  max-width: 100%;
}

.header-m__interest:active {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 380px) {
  .header-m__interest {
    padding: 0.45rem 0.55rem;
    font-size: 0.68rem;
  }
}

.header__cta-icon--sm {
  width: 26px;
  height: 26px;
  font-size: 0;
}

/* ========== Drawer ========== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(88vw, 320px);
  height: 100%;
  background: #faf8f6;
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: var(--brown-header);
  color: #fff;
}

.drawer__title {
  font-weight: 700;
  font-size: 1rem;
}

.drawer__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0;
}

.accordion__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown-deep);
  cursor: pointer;
  text-align: left;
}

.accordion__chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.accordion__item.is-open .accordion__chev {
  transform: rotate(225deg);
  margin-top: 4px;
}

.accordion__panel {
  display: none;
  flex-direction: column;
  padding: 0 1.1rem 0.85rem 1.5rem;
  gap: 0.5rem;
}

.accordion__item.is-open .accordion__panel {
  display: flex;
}

.accordion__panel a {
  font-size: 0.9rem;
  color: #333;
  padding: 0.25rem 0;
}

.accordion__panel a:hover {
  color: var(--accent);
}

.drawer__actions {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn--outline {
  background: #fff;
  color: var(--brown-deep);
  border: 2px solid var(--brown);
}

.btn--gold {
  background: var(--brown);
  color: #fff;
}

.btn--dark {
  background: var(--brown-deep);
  color: #fff;
}

/* ========== Mobile sections & inquiry ========== */
.m-section {
  margin: 0;
  padding: 0;
  background: #fff;
}

/* 영상: 폭 100%, 세로는 원본 비율(잘림 없음). 모바일 홈 세부는 미디어쿼리 */
.m-section > video,
.m-section--stack > video {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  object-fit: contain;
  object-position: center center;
  vertical-align: top;
}

.m-section--stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.m-section--stack > video {
  flex: 0 1 auto;
  align-self: stretch;
}

.inquiry--mobile {
  padding: 1.25rem 1rem 1.5rem;
  background: #f5f2ef;
}

/* 방문예약: 이미지(약 600×420) + 문의 폼 */
.visit-page {
  max-width: 640px;
  margin: 0 auto;
}

.visit-page__figure {
  margin: 0 auto 1.5rem;
  max-width: 600px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(22, 70, 96, 0.06);
}

.visit-page__figure img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
}

.inquiry--visit {
  padding: 1.25rem 1rem 1.5rem;
  background: #f5f2ef;
  border-radius: 8px;
}

.inquiry__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown-deep);
  text-align: center;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 480px;
  margin: 0 auto;
}

.inquiry-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #333;
}

.inquiry-form__row span {
  font-weight: 600;
}

.inquiry-form__row input,
.inquiry-form__row textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

.inquiry-form__row textarea {
  resize: vertical;
  min-height: 80px;
}

.inquiry-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #444;
}

.inquiry-form__check input {
  margin-top: 0.2rem;
}

.inquiry-form__privacy-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  justify-content: center;
}

.inquiry-form__privacy-wrap .inquiry-form__check {
  flex: 1 1 auto;
  min-width: 0;
}

.inquiry-form__privacy-view {
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.inquiry-form__privacy-view:hover {
  color: var(--brown);
}

.btn--submit {
  margin-top: 0.25rem;
  background: var(--brown);
  color: #fff;
  padding: 0.85rem;
  font-size: 1rem;
}

.btn--submit:hover {
  filter: brightness(1.05);
}

/* 개인정보취급방침 모달 (문의 폼) */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.privacy-modal[hidden] {
  display: none !important;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 24, 0.55);
  backdrop-filter: blur(2px);
}

.privacy-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(85vh, 560px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #faf7f3 100%);
  border: 1px solid rgba(22, 70, 96, 0.18);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.privacy-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 6px;
  background: rgba(22, 70, 96, 0.08);
  color: var(--brown-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.privacy-modal__close:hover {
  background: rgba(22, 70, 96, 0.15);
}

.privacy-modal__title {
  margin: 0;
  padding: 1.25rem 2.75rem 0.75rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brown-deep);
  border-bottom: 1px solid rgba(22, 70, 96, 0.1);
}

.privacy-modal__body {
  padding: 1rem 1.25rem 1.35rem;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #333;
}

.privacy-modal__lead {
  margin: 0 0 1rem;
  color: #444;
}

.privacy-modal__section {
  margin-bottom: 1.1rem;
}

.privacy-modal__section:last-child {
  margin-bottom: 0;
}

.privacy-modal__h {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brown-deep);
}

.privacy-modal__list {
  margin: 0;
  padding-left: 1.15rem;
}

.privacy-modal__list li {
  margin-bottom: 0.25rem;
}

body.modal-open {
  overflow: hidden;
}

/* 문의 결과 모달 */
.inquiry-result-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.inquiry-result-modal[hidden] {
  display: none !important;
}

.inquiry-result-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 24, 0.6);
  backdrop-filter: blur(3px);
}

.inquiry-result-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #faf7f3 100%);
  border: 1px solid rgba(22, 70, 96, 0.15);
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.inquiry-result-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.inquiry-result-modal__icon--success {
  background: linear-gradient(145deg, #2d8a4e 0%, #1f6b3a 100%);
  box-shadow: 0 8px 20px rgba(45, 138, 78, 0.35);
}

.inquiry-result-modal__icon--error {
  background: linear-gradient(145deg, #c45c4a 0%, #a33d2e 100%);
  box-shadow: 0 8px 20px rgba(196, 92, 74, 0.35);
}

.inquiry-result-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brown-deep);
}

.inquiry-result-modal__msg {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
  white-space: pre-line;
}

.inquiry-result-modal__btn {
  width: 100%;
  max-width: 200px;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--brown);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.inquiry-result-modal__btn:hover {
  filter: brightness(1.08);
}

/* Type slider — 6-1 / 6-2 (크로스페이드, 전환 구간을 넉넉히) */
.m-section--carousel {
  overflow: hidden;
  background: #000;
}

.type-slider {
  position: relative;
  width: 100%;
  line-height: 0;
}

.type-slider--fade img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.type-slider--fade img:first-child {
  position: relative;
  z-index: 1;
  animation: typeFadeA 12s ease-in-out infinite;
}

.type-slider--fade img:last-child {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  animation: typeFadeB 12s ease-in-out infinite;
}

@keyframes typeFadeA {
  0%,
  32% {
    opacity: 1;
  }
  38%,
  48% {
    opacity: 0;
  }
  54%,
  86% {
    opacity: 0;
  }
  92%,
  100% {
    opacity: 1;
  }
}

@keyframes typeFadeB {
  0%,
  32% {
    opacity: 0;
  }
  38%,
  48% {
    opacity: 1;
  }
  54%,
  86% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}

.m-section--type-carousel {
  margin: 0;
  padding: 0;
  background: #0a2438;
}

.m-type-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.m-type-carousel__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.m-type-carousel__track {
  display: flex;
  width: 500%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.m-type-carousel__slide {
  flex: 0 0 20%;
  width: 20%;
  max-width: 20%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.m-type-carousel__slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
}

.m-type-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(246, 150, 70, 0.45);
  border-radius: 50%;
  background: rgba(10, 36, 56, 0.72);
  color: #ffe4c0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.m-type-carousel__arrow:hover,
.m-type-carousel__arrow:focus-visible {
  background: rgba(10, 36, 56, 0.9);
  border-color: rgba(246, 150, 70, 0.85);
  outline: none;
}

.m-type-carousel__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.m-type-carousel__arrow--prev {
  left: 0.65rem;
}

.m-type-carousel__arrow--next {
  right: 0.65rem;
}

.inquiry--mobile-home {
  margin: 0;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .type-slider--fade img {
    animation: none !important;
  }

  .type-slider--fade img:last-child {
    opacity: 0;
  }

  .m-type-carousel__track {
    transition: none !important;
  }

}

/* ========== Footer ========== */
.footer {
  background: var(--brown-deep);
  color: rgba(255, 255, 255, 0.92);
  padding: 1.5rem 1.25rem 2rem;
}

@media (max-width: 1024px) {
  .footer--mobile.footer {
    padding-bottom: 1.25rem;
  }
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2rem;
}

.footer__logo {
  flex-shrink: 0;
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

/* 모바일 푸터만: 이전처럼 로고 흰 플레이트 */
.footer--mobile .footer__logo-wrap {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.footer--mobile .footer__logo-wrap .footer__logo {
  filter: none;
  max-height: 32px;
}

.footer__info {
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer__info p {
  margin: 0;
}

.footer__label {
  display: inline-block;
  min-width: 5.5rem;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 0.35rem;
}

.footer__value {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.footer-site-anchor {
  height: 0;
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}

.footer a:hover {
  text-decoration: underline;
}

@media (min-width: 1025px) {
  .footer__inner {
    justify-content: space-between;
    align-items: center;
  }

  .footer__logo {
    max-height: 52px;
  }
}

body.drawer-open {
  overflow: hidden;
}

/* ========== 서브페이지: 사업개요 등 ========== */
.sub-main {
  padding-top: 5.25rem;
  min-height: 50vh;
  background: #f7f5f2;
}

@media (max-width: 1024px) {
  .sub-main {
    padding-top: 0;
  }
}

.sub-page-head {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  min-height: 260px;
  color: #fff;
}

/* 상단 배경: images/detail-bg.webp */
.sub-page-head__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--brown-deep);
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.22), rgba(22, 70, 96, 0.55)),
    url("../images/detail-bg.jpg");
  background-size: cover;
  background-position: center;
}

.sub-page-head__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  box-sizing: border-box;
}

.sub-page-head__breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.sub-page-head__breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sub-page-head__breadcrumb a:hover {
  text-decoration: underline;
}

.sub-page-head__breadcrumb-sep {
  display: inline-block;
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.sub-page-head__breadcrumb-current {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.sub-page-head__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.sub-page-head__tagline {
  margin: 0 auto;
  max-width: 38em;
  font-size: clamp(0.88rem, 1.45vw, 1.02rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1025px) {
  .sub-page-head {
    min-height: 360px;
  }

  .sub-page-head__inner {
    min-height: 360px;
    padding: 3rem 2rem 3.25rem;
  }

  .sub-page-head__breadcrumb {
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
  }

  .sub-page-head__title {
    margin-bottom: 1.15rem;
  }
}

@media (min-width: 1280px) {
  .sub-page-head {
    min-height: 420px;
  }

  .sub-page-head__inner {
    min-height: 420px;
  }
}

.sub-page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.sub-page-media {
  position: relative;
}

/* 중분류 탭: 이미지 위 직사각 플레이트(plate) 안에서만 사용 */
.sub-page-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  width: 100%;
  max-width: none;
}

.sub-page-tabs__btn {
  flex: 1 1 auto;
  min-width: 6.5rem;
  padding: 0.55rem 0.85rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brown-deep);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 70, 96, 0.22);
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sub-page-tabs__btn:hover {
  background: #fff;
  border-color: rgba(22, 70, 96, 0.38);
}

.sub-page-tabs__btn.is-active {
  color: #fff;
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  box-shadow: 0 4px 16px rgba(22, 70, 96, 0.22);
  font-weight: 600;
}

@media (min-width: 1025px) {
  .sub-page-tabs__btn {
    font-size: 0.86rem;
    padding: 0.58rem 1.1rem;
    min-width: 7rem;
  }
}

/* 세대안내 > 타입안내: 59A·59B·84A·84B 서브 탭 */
.unit-type-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.unit-type-tabs .sub-page-tabs__btn {
  flex: 0 1 auto;
  min-width: 4.25rem;
  padding: 0.48rem 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.unit-type-panel[hidden] {
  display: none !important;
}

.unit-type-panel {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sub-page-panels {
  width: 100%;
}

.sub-page-panel[hidden] {
  display: none !important;
}

/* 이미지 위: 직사각 플레이트 + 사업개요 */
.sub-page-media__deco {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sub-page-media__plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 0.85rem 2rem;
  border: 1px solid rgba(22, 70, 96, 0.28);
  border-top: 3px solid #7a5c45;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f3 55%, #f5f0ea 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 36px rgba(22, 70, 96, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 플레이트 안에 탭만 넣을 때(제목 대신 버튼 행) */
.sub-page-media__plate--with-tabs {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: min(100%, 640px);
  padding: 1rem 1.15rem 1.05rem;
}

.sub-page-media__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--brown-deep);
  line-height: 1.3;
}

@media (min-width: 1025px) {
  .sub-page-media__deco {
    margin-bottom: 2rem;
  }

  .sub-page-media__plate {
    min-width: 320px;
    padding: 1rem 2.75rem 1.05rem;
    border-top-width: 4px;
  }

  .sub-page-media__plate--with-tabs {
    min-width: min(100%, 720px);
    padding: 1.1rem 1.5rem 1.1rem;
  }

  .sub-page-media__title {
    font-size: 1.4rem;
    letter-spacing: 0.48em;
    text-indent: 0.48em;
  }
}

.sub-page-figure {
  margin: 0 0 1.5rem;
  padding: 0;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(22, 70, 96, 0.06);
}

.sub-page-figure:last-child {
  margin-bottom: 0;
}

.sub-page-figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* 타입안내: t-1~t-5 세로 카드 중앙 정렬 */
.sub-page-figure--unit-type {
  width: 100%;
  max-width: min(100%, 420px);
  margin: 0 auto 1.5rem;
  background: #0a2438;
  border: none;
  box-shadow: 0 10px 36px rgba(10, 36, 56, 0.18);
}

.sub-page-figure--unit-type:last-child {
  margin-bottom: 0;
}

.sub-page-figure--unit-type img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* 사업개요·프리미엄·단지안내·세대안내 PC: 네비 텍스트 진한 갈색 + 헤더 밝은 배경 */
@media (min-width: 1025px) {
  .page-overview .header--desktop,
  .page-premium .header--desktop,
  .page-complex .header--desktop,
  .page-unit .header--desktop,
  .page-visit .header--desktop {
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 28px rgba(0, 0, 0, 0.06);
  }

  .page-overview .header__logo img,
  .page-premium .header__logo img,
  .page-complex .header__logo img,
  .page-unit .header__logo img,
  .page-visit .header__logo img {
    filter: none;
  }

  .page-overview .header--desktop .header__nav-link,
  .page-premium .header--desktop .header__nav-link,
  .page-complex .header--desktop .header__nav-link,
  .page-unit .header--desktop .header__nav-link,
  .page-visit .header--desktop .header__nav-link {
    color: var(--brown-deep);
    text-shadow: none;
  }

  .page-overview .header--desktop.is-scrolled .header__nav-link,
  .page-overview .header--desktop:has(.header__nav-wrap:hover) .header__nav-link,
  .page-overview .header--desktop:has(.header__nav-wrap:focus-within) .header__nav-link,
  .page-premium .header--desktop.is-scrolled .header__nav-link,
  .page-premium .header--desktop:has(.header__nav-wrap:hover) .header__nav-link,
  .page-premium .header--desktop:has(.header__nav-wrap:focus-within) .header__nav-link,
  .page-complex .header--desktop.is-scrolled .header__nav-link,
  .page-complex .header--desktop:has(.header__nav-wrap:hover) .header__nav-link,
  .page-complex .header--desktop:has(.header__nav-wrap:focus-within) .header__nav-link,
  .page-unit .header--desktop.is-scrolled .header__nav-link,
  .page-unit .header--desktop:has(.header__nav-wrap:hover) .header__nav-link,
  .page-unit .header--desktop:has(.header__nav-wrap:focus-within) .header__nav-link,
  .page-visit .header--desktop.is-scrolled .header__nav-link,
  .page-visit .header--desktop:has(.header__nav-wrap:hover) .header__nav-link,
  .page-visit .header--desktop:has(.header__nav-wrap:focus-within) .header__nav-link {
    color: var(--brown-deep);
    text-shadow: none;
  }
}

/* ========== 모바일: 좌우 여백 없이 풀폭, 가로 스크롤 방지 ========== */
@media (max-width: 1024px) {
  .header--mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
  }

  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* yongin-iaan index와 동일: 헤더(고정+safe-area) 높이만큼만 밀어 여분 띠(흰/검) 최소화 */
  main {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.1rem);
  }

  .sub-main {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .mobile-home {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .m-section {
    max-width: 100%;
    min-width: 0;
  }

  .mobile-home .m-section:has(> video),
  .mobile-home .m-section--stack:has(> video) {
    margin-inline: 0;
    padding-inline: 0;
    background: #000;
  }

  .mobile-home .m-section > img,
  .mobile-home .m-section--stack > img,
  .mobile-home .m-type-carousel__slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* 모바일 홈 mp4: 가로 100%·원본 비율 전체 표시(cover/aspect 고정 시 상단이 잘리거나 헤더와 겹쳐 보일 수 있음) */
  .mobile-home .m-section > video,
  .mobile-home .m-section--stack > video {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    -webkit-transform: translateZ(0);
  }

  .m-fixed-banner,
  .m-fixed-banner__link {
    max-width: 100%;
  }

  .footer--mobile .footer__inner {
    max-width: 100%;
    min-width: 0;
  }

  .sub-page-body {
    max-width: 100%;
    box-sizing: border-box;
  }

  .sub-page-tabs {
    max-width: 100%;
    box-sizing: border-box;
  }

  .sub-page-tabs__btn {
    min-width: 0;
    flex: 1 1 calc(50% - 0.3rem);
  }
}

/* ========== 문의 접수 로딩 ========== */
.inquiry-loading {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  background: rgba(2, 8, 23, 0.42);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}
.inquiry-loading.is-active { pointer-events: auto; opacity: 1; }
.inquiry-loading__panel {
  width: min(360px, 100%);
  padding: 24px;
  border-radius: 22px;
  color: var(--accent, #111);
  font-weight: 800;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  text-align: center;
}
.inquiry-loading__hint { margin: 10px 0 0; font-size: .88rem; font-weight: 500; color: #666; }
.inquiry-loading__bar { position: relative; height: 8px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: #edf0f5; }
.inquiry-loading__bar i {
  position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: inherit;
  background: linear-gradient(135deg, var(--accent, #111), #1a2a4a);
  animation: inquiryLoadingBar .9s ease-in-out infinite;
}
.inquiry-form.is-submitting { pointer-events: none; }
body.inquiry-loading .m-fixed-banner { pointer-events: none; }
@keyframes inquiryLoadingBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }


/* ===================== 콘텐츠 블록 ===================== */
:root {
  --cs-gold: #ef9f55;
  --cs-gold-soft: rgba(239, 159, 85, 0.18);
  --cs-line: rgba(10, 36, 56, 0.1);
  --cs-text: #1d3442;
  --cs-muted: #5f7886;
}

.sub-page-media__plate {
  border-top-color: var(--cs-gold);
}

.cs-title {
  margin: 2.75rem 0 1.5rem;
  text-align: center;
}

.cs-card .cs-title {
  margin-top: 0;
}

.cs-title__eng {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--cs-gold);
}

.cs-title__h {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brown-deep);
  word-break: keep-all;
}

.cs-title__desc {
  margin: 0.75rem auto 0;
  max-width: 40em;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cs-muted);
  word-break: keep-all;
}

.cs-card {
  margin: 1.5rem 0 0;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-top: 3px solid var(--brown-deep);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1025px) {
  .cs-card {
    padding: 2.75rem 3rem;
  }
}

.cs-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--cs-muted);
}

.cs-note--center {
  text-align: center;
}

.cs-note a {
  color: var(--brown-deep);
  font-weight: 600;
  text-decoration: none;
}

/* 표 */
.cs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: var(--cs-text);
  border-top: 2px solid var(--brown-deep);
}

.cs-table th,
.cs-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--cs-line);
  text-align: left;
  line-height: 1.55;
  word-break: keep-all;
}

.cs-table tbody th {
  width: 32%;
  font-weight: 600;
  color: var(--brown-deep);
  background: var(--color-surface-brand);
}

.cs-table--grid th,
.cs-table--grid td {
  text-align: center;
  white-space: nowrap;
}

.cs-table--grid thead th {
  font-weight: 600;
  color: #fff;
  background: var(--brown-deep);
}

.cs-table--grid tbody th {
  width: auto;
}

.cs-table--dark {
  border-top-color: var(--cs-gold);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
}

.cs-table--dark th,
.cs-table--dark td {
  padding: 0.75rem 0.5rem;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.cs-table--dark tbody th {
  width: 28%;
  color: var(--cs-gold);
  background: transparent;
}

/* 입지 키워드 */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.cs-stats__item {
  padding: 0.9rem 0.25rem;
  text-align: center;
  background: var(--brown-deep);
  color: #fff;
}

.cs-stats__item span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--cs-gold);
}

.cs-stats__item strong {
  font-size: 0.95rem;
  font-weight: 600;
}

/* 이미지 + 텍스트 카드 */
.cs-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cs-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.cs-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cs-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.cs-feature__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3f5;
}

.cs-feature__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cs-feature:hover .cs-feature__img img {
  transform: scale(1.04);
}

.cs-feature__body {
  position: relative;
  padding: 1.5rem 1.35rem 1.65rem;
}

.cs-feature__icon {
  position: absolute;
  top: -28px;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 50%;
  background: var(--brown-deep);
  box-shadow: 0 6px 18px rgba(10, 36, 56, 0.3);
  box-sizing: border-box;
}

.cs-feature__num {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cs-gold);
}

.cs-feature__h {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brown-deep);
  word-break: keep-all;
}

.cs-feature__p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--cs-muted);
  word-break: keep-all;
}

/* 커뮤니티 갤러리 */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 1025px) {
  .cs-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.cs-gallery__item {
  background: #fff;
  border: 1px solid var(--cs-line);
  overflow: hidden;
}

.cs-gallery__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.cs-gallery__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cs-gallery__cap {
  padding: 0.9rem 0.85rem 1.1rem;
}

.cs-gallery__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cs-gold);
}

.cs-gallery__cap h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown-deep);
  word-break: keep-all;
}

.cs-gallery__cap p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--cs-muted);
  word-break: keep-all;
}

/* 영상 */
.cs-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cs-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 인테리어 */
.cs-interior {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.cs-interior__item {
  position: relative;
  grid-column: span 12;
  margin: 0;
  overflow: hidden;
  background: #eef3f5;
}

.cs-interior__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cs-interior__item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(10, 36, 56, 0.78);
}

.cs-interior__item--tall4,
.cs-interior__item--tall3 {
  grid-column: span 6;
}

@media (min-width: 768px) {
  .cs-interior {
    gap: 1rem;
  }

  .cs-interior__item--wide {
    grid-column: span 6;
  }

  .cs-interior__item--tall4 {
    grid-column: span 3;
  }

  .cs-interior__item--tall3 {
    grid-column: span 4;
  }
}

/* 타입안내 */
.cs-unit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-top: 3px solid var(--brown-deep);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.cs-unit__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.25rem 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--cs-line);
}

.cs-unit__eng {
  flex: 1 0 100%;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cs-gold);
}

.cs-unit__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brown-deep);
}

.cs-unit__title small {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cs-muted);
}

.cs-unit__badge {
  margin-left: auto;
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown-deep);
  border: 2px solid var(--cs-gold);
  border-radius: 999px;
}

.cs-unit__plan,
.cs-unit__iso,
.cs-unit__key {
  margin: 0;
  background: #fff;
}

.cs-unit__plan img,
.cs-unit__iso img,
.cs-unit__key img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-unit__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cs-unit__iso,
.cs-unit__key {
  border: 1px solid var(--cs-line);
}

.cs-unit__iso figcaption,
.cs-unit__key figcaption {
  padding: 0.4rem 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  color: #fff;
  background: var(--brown-deep);
}

.cs-unit__table {
  font-size: 0.9rem;
}

@media (min-width: 1025px) {
  .cs-unit {
    grid-template-columns: 1.55fr 1fr;
    gap: 1.5rem 2rem;
    padding: 2rem 2.25rem;
  }

  .cs-unit__head {
    grid-column: 1 / -1;
  }

  .cs-unit__plan {
    grid-row: span 2;
    align-self: center;
  }

  .cs-unit__side {
    grid-template-columns: 1fr;
  }
}

/* 방문예약 */
.visit-page__figure--wide img {
  max-height: none;
}

/* ===================== 모바일 메인 ===================== */
.m-hero {
  position: relative;
  overflow: hidden;
  background: var(--brown-deep);
}

.m-hero__img {
  display: block;
  width: 100%;
  height: 100vw;
  max-height: 520px;
  object-fit: cover;
  object-position: 45% center;
  animation: m-hero-zoom 2.8s ease-out both;
}

@keyframes m-hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.m-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 36, 56, 0) 35%, rgba(10, 36, 56, 0.88) 100%);
  pointer-events: none;
}

.m-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 1.25rem 1.6rem;
  color: #fff;
}

.m-hero__eng {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--cs-gold);
}

.m-hero__h {
  margin: 0 0 0.45rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.m-hero__p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.m-block {
  padding: 2.1rem 1.25rem 1.9rem;
  text-align: center;
  color: #fff;
  background: var(--brown-deep);
}

.m-block--light {
  padding: 1.5rem 1.25rem 1.75rem;
  color: var(--cs-text);
  background: #fff;
}

.m-block__eng {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cs-gold);
}

.m-block__h {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  word-break: keep-all;
}

.m-block__sub {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-deep);
  word-break: keep-all;
}

.m-block__p {
  margin: 0.6rem 0 0;
  font-size: 0.86rem;
  line-height: 1.7;
  opacity: 0.88;
  word-break: keep-all;
}

.m-block--light .m-block__p {
  margin-top: 0;
  color: var(--cs-muted);
  opacity: 1;
}

.m-block .cs-table {
  margin-top: 1.1rem;
  text-align: left;
}

.m-premium-card {
  position: relative;
  background-size: cover;
  background-position: center;
}

.m-premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 36, 56, 0.86), rgba(10, 36, 56, 0.45));
}

.m-premium-card__inner {
  position: relative;
  padding: 2rem 1.35rem;
  color: #fff;
}

.m-premium-card__inner img {
  width: 44px;
  height: 44px;
  display: block;
  margin-bottom: 0.75rem;
}

.m-premium-card__eng {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cs-gold);
}

.m-premium-card__h {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  word-break: keep-all;
}

.m-premium-card__p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  word-break: keep-all;
}

.m-section--type-carousel {
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .m-hero__img {
    animation: none;
  }
}

/* ===================== 모바일 index 전용 GIF 랜딩 (mlx) ===================== */
.mlx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mlx-bar,
.mlx-float,
.mlx-sheet,
.pcq-side,
.pcq-bar {
  display: none;
}

.drawer__actions .drawer__call {
  background: #0a2438;
  color: #ffd9a8;
  font-weight: 800;
}

@media (max-width: 1024px) {
  body {
    --m-banner-slot: 74px;
  }

  body.page-mlx {
    background: #04111d;
  }

  .page-mlx .header--mobile {
    background: #0a2438;
    border-bottom: 1px solid rgba(239, 159, 85, 0.45);
  }

  .header-m__call {
    gap: 0.25rem;
    border: 0;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    animation: mlx-pulse 1.8s ease-in-out infinite;
  }

  .mlx {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
  }

  .mlx img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .mlx-sec {
    display: block;
    position: relative;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .mlx-rise {
    overflow: hidden;
    background: #fff;
    line-height: 0;
  }

  .mlx-rise img {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s;
  }

  .mlx-rise.is-in img {
    transform: none;
    opacity: 1;
  }

  /* 인라인 문의 폼 */
  .mlx-form--inline {
    margin: 0;
    padding: 1.75rem 1.25rem 2rem;
    border-radius: 0;
    background: linear-gradient(180deg, #0a2438, #04111d);
    border-top: 1px solid rgba(239, 159, 85, 0.5);
    border-bottom: 1px solid rgba(239, 159, 85, 0.5);
  }

  .mlx-form .inquiry__title {
    margin-bottom: 1.1rem;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    color: #ffd9a8;
  }

  .mlx-form--inline .inquiry-form__row span,
  .mlx-form--inline .inquiry-form__check span {
    color: rgba(255, 255, 255, 0.85);
  }

  .mlx-form .inquiry-form input[type="text"],
  .mlx-form .inquiry-form input[type="tel"],
  .mlx-form .inquiry-form textarea {
    border-radius: 12px;
    font-size: 16px;
  }

  .mlx-form .btn--submit {
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .mlx-legal {
    margin: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    background: #f4f1ea;
    font-size: 0.72rem;
    line-height: 1.65;
    color: #7c919e;
    word-break: keep-all;
  }

  /* 하단 고정 바 */
  .mlx-bar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 110;
    width: 100%;
    max-width: 700px;
    transform: translateX(-50%);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    background: linear-gradient(to top, #04111d 72%, rgba(4, 17, 29, 0.85));
    border-top: 1px solid rgba(239, 159, 85, 0.45);
  }

  .mlx-bar__call,
  .mlx-bar__reg {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: -0.03em;
    cursor: pointer;
  }

  .mlx-bar__call {
    gap: 8px;
    flex: 1.25;
    background: #0a2438;
    border: 1.5px solid #ef9f55;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.1;
  }

  .mlx-bar__call small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #ffd9a8;
  }

  .mlx-bar__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.05rem;
    animation: mlx-ring 2.4s ease-in-out infinite;
  }

  .mlx-bar__reg {
    border: 0;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.08rem;
  }

  /* 플로팅 전화 버튼 */
  .mlx-float {
    display: block;
    position: fixed;
    right: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 105;
    width: 74px;
    height: 74px;
    border-radius: 50%;
  }

  .mlx-float::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 217, 168, 0.9);
    animation: mlx-wave 1.8s ease-out infinite;
  }

  .mlx-float img {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* 관심고객 바텀시트 */
  .mlx-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    visibility: hidden;
    pointer-events: none;
  }

  .mlx-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mlx-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 18, 0.72);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .mlx-sheet.is-open .mlx-sheet__backdrop {
    opacity: 1;
  }

  .mlx-sheet__panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 1.6rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    background: #faf7f0;
    transform: translate(-50%, 105%);
    transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .mlx-sheet.is-open .mlx-sheet__panel {
    transform: translate(-50%, 0);
  }

  .mlx-sheet__x {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
  }

  .mlx-sheet__eng {
    margin: 0 0 0.2rem;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    color: #c4612a;
  }

  .mlx-sheet .mlx-form {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .mlx-sheet .mlx-form .inquiry__title {
    color: #0a2438;
  }

  .mlx-sheet__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    height: 50px;
    border-radius: 14px;
    border: 1.5px solid #0a2438;
    color: #0a2438;
    font-weight: 800;
  }

  body.mlx-sheet-open {
    overflow: hidden;
  }

  @keyframes mlx-pulse {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(255, 217, 168, 0.55);
    }
    50% {
      box-shadow: 0 0 0 7px rgba(255, 217, 168, 0);
    }
  }

  @keyframes mlx-wave {
    from {
      transform: scale(0.95);
      opacity: 1;
    }
    to {
      transform: scale(1.45);
      opacity: 0;
    }
  }

  @keyframes mlx-ring {
    0%,
    60%,
    100% {
      transform: rotate(0);
    }
    65%,
    75%,
    85% {
      transform: rotate(-14deg);
    }
    70%,
    80%,
    90% {
      transform: rotate(14deg);
    }
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .header-m__call,
  .mlx-bar__ico,
  .mlx-float::before {
    animation: none;
  }

  .mlx-rise img {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* ========== 모바일 index 역동 애니메이션 (검색창·티커·등장) ========== */
@media (max-width: 1024px) {
  .mlx-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 130;
    height: 3px;
    pointer-events: none;
  }

  .mlx-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #f0a35a, #fff0d8, #ffbf7a);
    box-shadow: 0 0 8px rgba(255, 226, 180, 0.9);
  }

  /* 상단 흐르는 티커 */
  .mlx-ticker {
    overflow: hidden;
    background: linear-gradient(90deg, #d9481f, #e0262f, #d9481f);
    color: #fff;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
  }

  .mlx-ticker__in {
    display: inline-flex;
    gap: 34px;
    padding: 11px 0;
    animation: mlx-tick 22s linear infinite;
  }

  .mlx-ticker b {
    color: #ffe98a;
  }

  /* 히어로 반짝이·광택 */
  .mlx-hero {
    overflow: hidden;
  }

  .mlx-spark {
    position: absolute;
    z-index: 2;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
      0 0 12px 4px rgba(255, 244, 200, 0.95),
      0 0 26px 8px rgba(255, 176, 112, 0.6);
    pointer-events: none;
    opacity: 0;
    animation: mlx-spark 2.6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
  }

  .mlx-spark::before,
  .mlx-spark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: translate(-50%, -50%);
  }

  .mlx-spark::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .mlx-glint,
  .mlx-shine::after {
    content: "";
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: -70%;
    z-index: 2;
    width: 45%;
    pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-18deg);
    animation: mlx-sweep 4.2s ease-in-out infinite;
  }

  .mlx-shine {
    overflow: hidden;
  }

  .mlx-shine::after {
    animation-delay: 1.2s;
  }

  /* 실시간 검색 섹션 */
  .mlx-hot {
    position: relative;
    overflow: hidden;
    padding: 1.6rem 1rem 1.4rem;
    background:
      radial-gradient(circle at 15% 0%, rgba(239, 159, 85, 0.28), transparent 45%),
      radial-gradient(circle at 100% 70%, rgba(214, 22, 30, 0.22), transparent 45%),
      linear-gradient(180deg, #0a2438, #04111d);
    color: #fff;
    text-align: center;
  }

  .mlx-hot__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0.8rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .mlx-hot__live i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
    animation: mlx-live 1.4s ease-out infinite;
  }

  .mlx-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 0 6px 0 18px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid #f0a35a;
    box-shadow:
      0 0 0 4px rgba(240, 163, 90, 0.25),
      0 12px 26px rgba(0, 0, 0, 0.35);
    color: #0a2438;
    animation: mlx-glow 2.4s ease-in-out infinite;
  }

  .mlx-search svg {
    flex: none;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #0a2438;
    stroke-width: 2.8;
    stroke-linecap: round;
  }

  .mlx-typing {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    white-space: nowrap;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .mlx-typing::after {
    content: "|";
    margin-left: 2px;
    font-weight: 400;
    color: #f0a35a;
    animation: mlx-blink 1s steps(1) infinite;
  }

  .mlx-search__btn {
    flex: none;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
  }

  .mlx-rank {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0.75rem;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(239, 159, 85, 0.35);
    text-align: left;
  }

  .mlx-rank strong {
    flex: none;
    font-size: 0.72rem;
    line-height: 1.2;
    color: #ff6b6b;
  }

  .mlx-rank__list {
    flex: 1;
    height: 30px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
  }

  .mlx-rank__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    transition: transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1);
    transform: translateY(calc(var(--roll, 0) * -30px));
  }

  .mlx-rank__list b {
    width: 20px;
    color: #ffd9a8;
    font-size: 1.05rem;
  }

  .mlx-rank__list em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.72rem;
    color: #ff6b6b;
  }

  .mlx-rank__list em.up {
    padding: 2px 6px;
    border-radius: 6px;
    background: #ff3b3b;
    color: #fff;
  }

  .mlx-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0.9rem 0 1.1rem;
    padding: 0;
    list-style: none;
  }

  .mlx-chips li {
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(239, 159, 85, 0.16);
    border: 1px solid rgba(239, 159, 85, 0.55);
    color: #ffd9a8;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .mlx-grid6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mlx-grid6 > div {
    padding: 12px 4px 10px;
    border-radius: 14px;
    background: #fff;
    color: #0a2438;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transition:
      transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4),
      box-shadow 0.35s,
      background 0.35s,
      opacity 0.7s;
  }

  .mlx-grid6 > div.on {
    transform: translateY(-6px) scale(1.04) !important;
    background: linear-gradient(180deg, #fff6ea, #ffd19a);
    box-shadow:
      0 0 0 3px #ffd75e,
      0 14px 24px rgba(0, 0, 0, 0.35) !important;
  }

  .mlx-grid6 svg {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto 6px;
    fill: none;
    stroke: #0a2438;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mlx-grid6 p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.3;
    color: #4a6474;
    word-break: keep-all;
  }

  .mlx-grid6 p b {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0a2438;
    letter-spacing: -0.04em;
  }

  .mlx-big {
    margin: 1.3rem 0 0.9rem;
    line-height: 1.15;
  }

  .mlx-big__s {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
  }

  .mlx-big__s b {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: line-through;
    text-decoration-color: #ff3b3b;
    text-decoration-thickness: 3px;
  }

  .mlx-big__l {
    margin: 0.2rem 0 0.35rem;
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.05em;
  }

  .mlx-big__l em {
    font-style: normal;
    color: #ffd75e;
    text-shadow: 0 0 18px rgba(255, 215, 94, 0.55);
    animation: mlx-flash 1.2s steps(1) infinite;
  }

  .mlx-big__xs {
    margin: 0;
    font-size: 0.92rem;
    color: #ffd9a8;
  }

  .mlx-cta {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff4d4d, #d6161e);
    color: #fff;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6);
    animation: mlx-ctapulse 1.6s ease-out infinite;
  }

  .mlx-cta b {
    color: #ffe98a;
    font-weight: 900;
  }

  .mlx-cta::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    animation: mlx-sweep 2.6s ease-in-out infinite;
  }

  .mlx-hot__note {
    margin: 0.7rem 0 0;
    font-size: 0.68rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    word-break: keep-all;
  }

  /* 진입 애니메이션 (로드 시) */
  .mlx-drop {
    animation: mlx-dropin 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.35) both;
  }

  .mlx-floatin {
    animation:
      mlx-floatin 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.3) both,
      mlx-glow 2.4s ease-in-out 1s infinite;
    animation-delay: var(--d, 0s), 1s;
  }

  .mlx-rank.mlx-floatin {
    animation: mlx-floatin 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
    animation-delay: var(--d, 0s);
  }

  .mlx-wiggle {
    animation: mlx-wiggle 2s ease-in-out infinite;
  }

  .mlx-hop {
    animation: mlx-hop 1.8s cubic-bezier(0.3, 1.6, 0.5, 1) infinite;
    animation-delay: var(--d, 0s);
  }

  .mlx-bounce img {
    animation: mlx-bob 2.4s ease-in-out infinite;
  }

  /* 스크롤 등장 (JS 가 html.mlx-js 를 붙인 경우에만 숨김) */
  .mlx-js .mlx-rv,
  .mlx-js .mlx-pop {
    opacity: 0;
    transition:
      opacity 0.7s ease,
      transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1.15);
    transition-delay: var(--d, 0s);
  }

  .mlx-js .mlx-rv {
    transform: translateY(40px);
  }

  .mlx-js .mlx-rv--z {
    transform: scale(0.7);
  }

  .mlx-js .mlx-rv--l {
    transform: translateX(-70px);
  }

  .mlx-js .mlx-rv--r {
    transform: translateX(70px);
  }

  .mlx-js .mlx-rv--d {
    transform: translateY(-40px);
  }

  .mlx-js .mlx-rv--f {
    transform: perspective(700px) rotateX(-70deg);
    transform-origin: 50% 0;
  }

  .mlx-js .mlx-pop {
    transform: scale(0.3);
    transition-timing-function: ease, cubic-bezier(0.2, 0.9, 0.3, 1.6);
  }

  .mlx-js .mlx-rv.go,
  .mlx-js .mlx-pop.go {
    opacity: 1;
    transform: none;
  }

  @keyframes mlx-tick {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  @keyframes mlx-spark {
    0%,
    100% {
      opacity: 0;
      transform: scale(0.2) rotate(0);
    }
    50% {
      opacity: 1;
      transform: scale(1) rotate(45deg);
    }
  }

  @keyframes mlx-sweep {
    0% {
      left: -70%;
    }
    55%,
    100% {
      left: 130%;
    }
  }

  @keyframes mlx-live {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
    }
    100% {
      box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
    }
  }

  @keyframes mlx-glow {
    0%,
    100% {
      box-shadow:
        0 0 0 4px rgba(240, 163, 90, 0.25),
        0 12px 26px rgba(0, 0, 0, 0.35);
    }
    50% {
      box-shadow:
        0 0 0 9px rgba(240, 163, 90, 0.12),
        0 0 30px rgba(255, 226, 180, 0.55);
    }
  }

  @keyframes mlx-blink {
    50% {
      opacity: 0;
    }
  }

  @keyframes mlx-flash {
    50% {
      color: #fff;
    }
  }

  @keyframes mlx-ctapulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6);
    }
    100% {
      box-shadow: 0 0 0 16px rgba(255, 77, 77, 0);
    }
  }

  @keyframes mlx-dropin {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes mlx-floatin {
    from {
      opacity: 0;
      transform: translateY(40px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes mlx-wiggle {
    0%,
    60%,
    100% {
      transform: rotate(0);
    }
    70% {
      transform: rotate(-14deg);
    }
    80% {
      transform: rotate(12deg);
    }
    90% {
      transform: rotate(-6deg);
    }
  }

  @keyframes mlx-hop {
    0%,
    55%,
    100% {
      transform: translateY(0);
    }
    70% {
      transform: translateY(-9px);
    }
  }

  @keyframes mlx-bob {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.025);
    }
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .mlx-ticker__in,
  .mlx-spark,
  .mlx-glint,
  .mlx-shine::after,
  .mlx-search,
  .mlx-floatin,
  .mlx-wiggle,
  .mlx-hop,
  .mlx-bounce img,
  .mlx-cta,
  .mlx-cta::after,
  .mlx-big__l em {
    animation: none;
  }

  .mlx-js .mlx-rv,
  .mlx-js .mlx-pop {
    opacity: 1;
    transform: none;
  }
}

/* ========== PC 전화·관심고객 유도 (pcq) ========== */
@media (min-width: 1025px) {
  body {
    padding-bottom: 96px;
  }

  /* 헤더 CTA */
  .header__ctas {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
  }

  .header__call {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 1.1rem 0.35rem 0.4rem;
    border-radius: 999px;
    background: #0a2438;
    border: 1.5px solid #ef9f55;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(10, 36, 56, 0.25);
  }

  .header__call-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.05rem;
    animation: pcq-ring 2.4s ease-in-out infinite;
  }

  .header__call-txt {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .header__call-txt small {
    font-size: 0.68rem;
    font-weight: 600;
    color: #ffd9a8;
    letter-spacing: 0;
  }

  .header__reg {
    height: 46px;
    padding: 0 1.3rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    cursor: pointer;
    animation: pcq-pulse 2s ease-in-out infinite;
  }

  /* 메인 히어로 CTA */
  .hero--desktop .hero__content {
    padding-right: 96px;
    box-sizing: border-box;
  }

  .hero__points {
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
  }

  .hero__points li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 1.05rem;
    color: #1d3442;
    word-break: keep-all;
  }

  .hero__points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e0803e;
    font-weight: 800;
  }

  .hero__points b {
    color: #0a2438;
    font-weight: 800;
  }

  .hero__cta {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.3rem;
  }

  .hero__cta-call,
  .hero__cta-reg {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 58px;
    padding: 0 1.2rem;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
  }

  .hero__cta-call {
    background: #0a2438;
    border: 1.5px solid #ef9f55;
    color: #ffd9a8;
  }

  .hero__cta-reg {
    border: 0;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    animation: pcq-pulse 2s ease-in-out infinite;
  }

  .hero__note {
    margin: 0.7rem 0 0;
    font-size: 0.72rem;
    color: #8ea1ad;
  }

  /* 우측 퀵메뉴 */
  .pcq-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 95;
    width: 92px;
    transform: translateY(-50%);
  }

  .pcq-side__call,
  .pcq-side__btn,
  .pcq-side__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(4, 17, 29, 0.25);
  }

  .pcq-side__call {
    gap: 4px;
    padding: 14px 6px 12px;
    background: #0a2438;
    border: 1.5px solid #ef9f55;
    color: #fff;
  }

  .pcq-side__ring {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.3rem;
    animation: pcq-ring 2.4s ease-in-out infinite;
  }

  .pcq-side__ring::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 217, 168, 0.9);
    animation: pcq-wave 1.8s ease-out infinite;
  }

  .pcq-side__call small {
    font-size: 0.72rem;
    color: #ffd9a8;
  }

  .pcq-side__call strong {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
  }

  .pcq-side__btn {
    height: 70px;
    border: 1px solid #e3d6bb;
    background: #fff;
    color: #0a2438;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .pcq-side__btn--gold {
    border: 0;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
  }

  .pcq-side__top {
    height: 40px;
    border: 0;
    background: #2f4b5c;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  /* 하단 고정 관심고객 바 */
  .pcq-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 96;
    background: linear-gradient(90deg, #04111d, #0a2438 45%, #04111d);
    border-top: 2px solid #ef9f55;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  }

  .pcq-bar__inner {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    max-width: 1400px;
    height: 94px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
  }

  .pcq-bar__call {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
  }

  .pcq-bar__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.6rem;
    animation: pcq-ring 2.4s ease-in-out infinite;
  }

  .pcq-bar__txt {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .pcq-bar__txt small {
    font-size: 0.8rem;
    color: #ffd9a8;
  }

  .pcq-bar__txt strong {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    background: linear-gradient(100deg, #fff 30%, #ffe2b4 45%, #fff 60%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pcq-shine 3.2s linear infinite;
  }

  .pcq-bar__form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 0 0 1.6rem;
    border-left: 1px solid rgba(239, 159, 85, 0.4);
  }

  .pcq-bar__label {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffd9a8;
  }

  .pcq-bar__form input[type="text"],
  .pcq-bar__form input[type="tel"] {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
  }

  .pcq-bar__agree {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    cursor: pointer;
  }

  .pcq-bar__view {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.8rem;
    color: #ffd9a8;
    text-decoration: underline;
    cursor: pointer;
  }

  .pcq-bar__submit {
    flex-shrink: 0;
    height: 50px;
    padding: 0 1.8rem;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-family: inherit;
    font-size: 1.08rem;
    font-weight: 800;
    cursor: pointer;
  }

  @media (max-width: 1280px) {
    .pcq-bar__txt small,
    .pcq-bar__label {
      display: none;
    }

    .pcq-bar__txt strong {
      font-size: 1.7rem;
    }

    .header__call-txt small {
      display: none;
    }
  }

  /* 관심고객 등록 모달 (PC) */
  .mlx-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    visibility: hidden;
    pointer-events: none;
  }

  .mlx-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mlx-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 18, 0.72);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .mlx-sheet.is-open .mlx-sheet__backdrop {
    opacity: 1;
  }

  .mlx-sheet__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 2rem 1.8rem 1.6rem;
    border-radius: 22px;
    border-top: 4px solid #ef9f55;
    background: #faf7f0;
    opacity: 0;
    transform: translate(-50%, -44%);
    transition:
      transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
      opacity 0.3s;
  }

  .mlx-sheet.is-open .mlx-sheet__panel {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .mlx-sheet__x {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
  }

  .mlx-sheet__eng {
    margin: 0 0 0.2rem;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    color: #c4612a;
  }

  .mlx-sheet .mlx-form {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .mlx-sheet .mlx-form .inquiry__title {
    margin-bottom: 1.1rem;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
    color: #0a2438;
  }

  .mlx-sheet .btn--submit {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffe2b4, #f0a35a 55%, #ffbf7a);
    color: #0a2438;
    font-size: 1.1rem;
    font-weight: 800;
  }

  .mlx-sheet__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    height: 52px;
    border-radius: 14px;
    border: 1.5px solid #0a2438;
    color: #0a2438;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
  }

  body.mlx-sheet-open {
    overflow: hidden;
  }

  @keyframes pcq-pulse {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(239, 159, 85, 0.6);
    }
    50% {
      box-shadow: 0 0 0 8px rgba(239, 159, 85, 0);
    }
  }

  @keyframes pcq-wave {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(1.5);
      opacity: 0;
    }
  }

  @keyframes pcq-ring {
    0%,
    60%,
    100% {
      transform: rotate(0);
    }
    65%,
    75%,
    85% {
      transform: rotate(-14deg);
    }
    70%,
    80%,
    90% {
      transform: rotate(14deg);
    }
  }

  @keyframes pcq-shine {
    from {
      background-position: 100% 0;
    }
    to {
      background-position: -150% 0;
    }
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .header__call-ico,
  .header__reg,
  .hero__cta-reg,
  .pcq-side__ring,
  .pcq-side__ring::after,
  .pcq-bar__ico,
  .pcq-bar__txt strong {
    animation: none;
  }
}

/* ===================== 일광 더에스 동일스위트 전용 (OCEAN SUNRISE) ===================== */
:root {
  --ds-navy: #0a2438;
  --ds-deep: #04111d;
  --ds-teal: #1e96b2;
  --ds-teal-l: #78d6e8;
  --ds-amber: #f6aa58;
  --ds-amber-l: #ffe0ac;
  --ds-coral: #e2522c;
  --ds-sand: #f6f3ec;
  --ds-sun: linear-gradient(120deg, #ffe7bf 0%, #ffbf6e 38%, #f37f43 72%, #ffd29a 100%);
  --ds-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --cl-red: var(--ds-coral);
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: -0.01em;
}

/* ---------- 헤더 로고 (투명 → 흰 로고 / 스크롤·서브 → 컬러 로고) ---------- */
.header__logo {
  position: relative;
  display: block;
}

.header__logo .header__logo-img {
  max-height: 40px;
  width: auto;
  filter: none;
  transition: opacity 0.28s ease;
}

.header__logo .header__logo-img--dark {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.header--desktop.is-scrolled .header__logo-img--white,
.header--desktop:has(.header__nav-wrap:hover) .header__logo-img--white,
.header--desktop:has(.header__nav-wrap:focus-within) .header__logo-img--white,
.page-sub .header--desktop .header__logo-img--white {
  opacity: 0;
}

.header--desktop.is-scrolled .header__logo-img--dark,
.header--desktop:has(.header__nav-wrap:hover) .header__logo-img--dark,
.header--desktop:has(.header__nav-wrap:focus-within) .header__logo-img--dark,
.page-sub .header--desktop .header__logo-img--dark {
  opacity: 1;
}

.header__logo .header__logo-img--white {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.header-m__logo img {
  max-height: 30px;
  width: auto;
}

button.header-m__interest {
  font-family: inherit;
  cursor: pointer;
}

.header__reg,
.pcq-bar__submit,
.pcq-side__btn--gold,
.btn--gold,
.btn--submit,
.mlx-bar__reg {
  background: var(--ds-sun) !important;
  background-size: 200% 100% !important;
  color: var(--ds-deep) !important;
  border: 0 !important;
  animation: ds-sun-slide 5s ease-in-out infinite;
}

@keyframes ds-sun-slide {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.footer__logo {
  width: auto;
  max-height: 40px;
}

.footer__info p.footer__legal {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  word-break: keep-all;
}

@media (min-width: 1025px) {
  .pcq-bar__form {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- 공통 버튼 ---------- */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ds-ease),
    box-shadow 0.25s ease;
}

.ds-btn--sun {
  color: var(--ds-deep);
  background: var(--ds-sun);
  background-size: 200% 100%;
  border: 0;
  box-shadow: 0 10px 28px rgba(243, 127, 67, 0.35);
  animation: ds-sun-slide 5s ease-in-out infinite;
}

.ds-btn--line {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.ds-btn:hover {
  transform: translateY(-2px);
}

/* ---------- 스크롤 리빌 ---------- */
.ds-js .ds-rv {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ds-ease),
    transform 0.9s var(--ds-ease);
  transition-delay: var(--d, 0s);
}

.ds-js .ds-rv.go {
  opacity: 1;
  transform: none;
}

/* ================================================================== */
/* PC 히어로                                                           */
/* ================================================================== */
@media (min-width: 1025px) {
  .ds-hero {
    display: block;
    min-height: 100vh;
    padding: 0 2rem;
    background: var(--ds-deep);
  }

  .ds-hero .hero__bg {
    background-position: 64% 60%;
    transform: scale(1.18);
    animation: ds-hero-zoom 9s cubic-bezier(0.16, 0.6, 0.24, 1) forwards;
  }

  @keyframes ds-hero-zoom {
    from {
      transform: scale(1.18);
      filter: saturate(0.6) brightness(0.7);
    }
    to {
      transform: scale(1.02);
      filter: none;
    }
  }

  .ds-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(4, 17, 29, 0.88) 0%, rgba(4, 17, 29, 0.62) 30%, rgba(4, 17, 29, 0.12) 55%, rgba(4, 17, 29, 0) 70%),
      linear-gradient(to bottom, rgba(4, 17, 29, 0.6), rgba(4, 17, 29, 0) 22%),
      linear-gradient(to top, rgba(4, 17, 29, 0.85) 0%, rgba(4, 17, 29, 0) 34%);
    pointer-events: none;
  }

  .ds-hero__sun {
    position: absolute;
    z-index: 1;
    left: 18%;
    top: 60%;
    width: 44vw;
    height: 44vw;
    max-width: 720px;
    max-height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 170, 0.5) 0%, rgba(255, 176, 96, 0.28) 20%, rgba(243, 127, 67, 0.1) 44%, rgba(243, 127, 67, 0) 66%);
    transform: translate(-50%, -10%) scale(0.6);
    opacity: 0;
    mix-blend-mode: screen;
    animation:
      ds-sunrise 3.2s 0.4s var(--ds-ease) forwards,
      ds-sun-breathe 6s 3.6s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes ds-sunrise {
    to {
      transform: translate(-50%, -62%) scale(1);
      opacity: 1;
    }
  }

  @keyframes ds-sun-breathe {
    0%,
    100% {
      transform: translate(-50%, -62%) scale(1);
      opacity: 1;
    }
    50% {
      transform: translate(-50%, -62%) scale(1.08);
      opacity: 0.82;
    }
  }

  /* 헤더(약 80px) ~ 하단 상담바(96px) 사이 가용 영역 */
  .ds-hero__wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 1fr auto;
    max-width: 1400px;
    min-height: calc(100vh - 96px);
    margin: 0 auto;
    padding: 96px 0 0;
    box-sizing: border-box;
  }

  .ds-hero__content {
    align-self: center;
    max-width: 640px;
    color: #fff;
  }

  .ds-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 1.6rem;
    white-space: nowrap;
    font-family: "Cinzel", serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: rgba(255, 255, 255, 0.72);
    opacity: 0;
    animation: ds-fade-up 1s 0.5s var(--ds-ease) forwards;
  }

  .ds-hero__eyebrow span {
    color: var(--ds-amber-l);
  }

  .ds-hero__eyebrow i {
    flex: 0 0 48px;
    width: 48px;
    height: 1px;
    background: var(--ds-sun);
  }

  .ds-hero__title {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    line-height: 1.02;
  }

  .ds-hero__name,
  .ds-hero__brand {
    display: block;
    font-weight: 900;
    letter-spacing: -0.045em;
    white-space: nowrap;
  }

  .ds-hero__name {
    font-size: clamp(4rem, 6.4vw, 6.4rem);
  }

  .ds-hero__brand {
    font-size: clamp(3rem, 4.8vw, 4.8rem);
  }

  .ds-hero__name span,
  .ds-hero__brand span {
    display: inline-block;
    opacity: 0;
    transform: translateY(60%) rotate(6deg);
    animation: ds-char-in 0.9s calc(0.9s + var(--i) * 0.07s) var(--ds-ease) forwards;
  }

  .ds-hero__name span {
    background: var(--ds-sun);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 24px rgba(243, 127, 67, 0.35));
    animation:
      ds-char-in 0.9s calc(0.9s + var(--i) * 0.07s) var(--ds-ease) forwards,
      ds-sun-slide 6s 2.4s ease-in-out infinite;
  }

  .ds-hero__brand span {
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    animation-delay: calc(1.35s + var(--i) * 0.07s);
  }

  .ds-hero__name .ds-sp,
  .ds-hero__brand .ds-sp {
    width: 0.26em;
  }

  @keyframes ds-char-in {
    to {
      opacity: 1;
      transform: none;
    }
  }

  .ds-hero__kicker {
    margin: 1.8rem 0 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 224, 172, 0.35);
    max-width: 520px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    opacity: 0;
    animation: ds-fade-up 1s 1.9s var(--ds-ease) forwards;
  }

  .ds-hero__sub {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    opacity: 0;
    animation: ds-fade-up 1s 2.05s var(--ds-ease) forwards;
  }

  .ds-hero__sub b {
    color: var(--ds-amber-l);
  }

  .ds-hero__cta {
    display: flex;
    gap: 0.75rem;
    margin-top: 2.2rem;
    opacity: 0;
    animation: ds-fade-up 1s 2.25s var(--ds-ease) forwards;
  }

  .ds-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 180px));
    margin: 0 0 2.6rem;
    padding: 0;
    list-style: none;
    opacity: 0;
    animation: ds-fade-up 1s 2.45s var(--ds-ease) forwards;
  }

  .ds-hero__stats li {
    display: grid;
    gap: 0.25rem;
    padding: 0 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .ds-hero__stats li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .ds-hero__stats span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
  }

  .ds-hero__stats strong {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
  }

  .ds-hero__stats strong b {
    margin-right: 0.15rem;
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--ds-amber);
  }

  @keyframes ds-fade-up {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .ds-hero__waves {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 200%;
    height: 110px;
    pointer-events: none;
  }

  .ds-hero__waves .w1 {
    fill: rgba(255, 255, 255, 0.06);
    animation: ds-wave-x 14s linear infinite;
  }

  .ds-hero__waves .w2 {
    fill: rgba(30, 150, 178, 0.12);
    animation: ds-wave-x 9s linear infinite reverse;
  }

  @keyframes ds-wave-x {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  .ds-hero__note {
    position: absolute;
    right: 2rem;
    bottom: calc(96px + 1rem);
    z-index: 2;
    margin: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .ds-hero .hero__bg,
  .ds-hero__sun,
  .ds-hero__name span,
  .ds-hero__brand span,
  .ds-hero__eyebrow,
  .ds-hero__kicker,
  .ds-hero__sub,
  .ds-hero__stats,
  .ds-hero__cta,
  .ds-hero__waves path {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ================================================================== */
/* PC 메인 하단 섹션                                                   */
/* ================================================================== */
.ds-pc {
  display: none;
}

@media (min-width: 1025px) {
  .ds-pc {
    display: block;
    position: relative;
  }

  .ds-pc__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .ds-landmark {
    padding: 7rem 0 6rem;
    background:
      radial-gradient(circle at 85% 10%, rgba(30, 150, 178, 0.25), transparent 40%),
      linear-gradient(180deg, var(--ds-deep), var(--ds-navy));
    color: #fff;
  }

  .ds-pc__head {
    margin-bottom: 3rem;
    text-align: center;
  }

  .ds-pc__eng {
    margin: 0 0 0.75rem;
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: var(--ds-amber);
  }

  .ds-pc__h {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .ds-pc__h em {
    font-style: normal;
    background: var(--ds-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .ds-pc__p {
    margin: 1rem 0 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .ds-soon {
    padding: 7rem 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
  }

  .ds-soon__bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(4, 17, 29, 0.75), rgba(120, 54, 40, 0.65)),
      url("../images/사업안내/브랜드/bg-1.jpg") center / cover no-repeat;
  }

  .ds-soon__inner {
    position: relative;
  }

  .ds-soon__h {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .ds-soon__h em {
    font-style: normal;
    color: var(--ds-amber-l);
  }

  .ds-soon__p {
    margin: 1rem 0 1.75rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
  }

  .ds-soon__types {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .ds-soon__types span {
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 224, 172, 0.6);
    border-radius: 999px;
    background: rgba(4, 17, 29, 0.4);
  }
}

/* ---------- 시티플랜 카드 (PC 메인 · 프리미엄 공통) ---------- */
.ds-city {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ds-city {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .ds-city {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.ds-city__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 1.6rem 1.5rem;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}

.ds-city__item img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ds-ease);
}

.ds-city__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 17, 29, 0.1) 20%, rgba(4, 17, 29, 0.88));
  transition: background 0.5s ease;
}

.ds-city__item::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 0;
  height: 3px;
  background: var(--ds-sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ds-ease);
}

.ds-city__item:hover img {
  transform: scale(1.08);
}

.ds-city__item:hover::after {
  transform: scaleX(1);
}

.ds-city__num {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: "Cinzel", serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 224, 172, 0.75);
}

.ds-city__eng {
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ds-amber);
}

.ds-city__h {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.ds-city__p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  word-break: keep-all;
}

/* ================================================================== */
/* 모바일 index 특화                                                    */
/* ================================================================== */
@media (max-width: 1024px) {
  .mobile-home {
    overflow-x: clip;
  }

  .page-mlx .header--mobile {
    background: #04111d;
    border-bottom: 1px solid rgba(255, 191, 110, 0.35);
  }

  .header-m__interest {
    color: var(--ds-deep);
    border: 0;
    background: var(--ds-sun);
    background-size: 200% 100%;
    animation: ds-sun-slide 4s ease-in-out infinite;
  }

  /* 티커 → 일출 라인 위 아웃라인 마키 */
  .mlx-ticker {
    background: #04111d;
    border-bottom: 1px solid rgba(255, 191, 110, 0.35);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
  }

  .mlx-ticker::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--ds-sun);
    background-size: 200% 100%;
    animation: ds-sun-slide 3s linear infinite;
  }

  .mlx-ticker {
    position: relative;
  }

  .mlx-ticker__in span::before {
    content: "✦";
    margin-right: 14px;
    color: var(--ds-coral);
  }

  .mlx-ticker b {
    background: var(--ds-sun);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* ---------- 키네틱 타이포 섹션 ---------- */
  .ds-kin {
    position: relative;
    overflow: hidden;
    padding: 2.2rem 0 1.6rem;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    background:
      radial-gradient(circle at 50% 120%, rgba(240, 90, 44, 0.45), transparent 55%),
      linear-gradient(180deg, #04111d 0%, #0a2438 60%, #3a1d22 100%);
    isolation: isolate;
  }

  .ds-kin__sun {
    position: absolute;
    left: 50%;
    bottom: -38%;
    z-index: -1;
    width: 150%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      repeating-conic-gradient(from 0deg, rgba(255, 224, 172, 0.12) 0 6deg, transparent 6deg 18deg),
      radial-gradient(circle, rgba(255, 210, 140, 0.55) 0 12%, rgba(243, 127, 67, 0.25) 30%, transparent 62%);
    transform: translateX(-50%);
    animation: ds-spin 40s linear infinite;
    -webkit-mask: radial-gradient(circle, #000 30%, transparent 68%);
    mask: radial-gradient(circle, #000 30%, transparent 68%);
  }

  @keyframes ds-spin {
    to {
      transform: translateX(-50%) rotate(360deg);
    }
  }

  .ds-kin__marq {
    position: absolute;
    top: 0.6rem;
    left: 0;
    z-index: -1;
    display: flex;
    white-space: nowrap;
    font-family: "Cinzel", serif;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(120, 214, 232, 0.16);
    animation: ds-marq 26s linear infinite;
  }

  @keyframes ds-marq {
    to {
      transform: translateX(-50%);
    }
  }

  .ds-kin__live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1.1rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ds-amber-l);
    border: 1px solid rgba(255, 191, 110, 0.5);
    border-radius: 999px;
    background: rgba(4, 17, 29, 0.6);
  }

  .ds-kin__live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ds-coral);
    box-shadow: 0 0 0 0 rgba(240, 90, 44, 0.7);
    animation: ds-ping 1.4s ease-out infinite;
  }

  @keyframes ds-ping {
    to {
      box-shadow: 0 0 0 10px rgba(240, 90, 44, 0);
    }
  }

  .ds-kin__rows {
    display: grid;
    gap: 0.1rem;
    margin: 0;
    font-size: inherit;
  }

  .ds-kin__row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.6rem;
    white-space: nowrap;
    will-change: transform;
  }

  .ds-kin__row b {
    font-size: 2.9rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.12;
  }

  .ds-kin__row i {
    font-style: normal;
    font-family: "Cinzel", serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(255, 224, 172, 0.85);
  }

  .ds-kin__row--sun b {
    background: var(--ds-sun);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 20px rgba(243, 127, 67, 0.45));
    animation: ds-sun-slide 3.5s ease-in-out infinite;
  }

  .ds-kin__sub {
    margin: 1rem 1.2rem 1.4rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .ds-kin__sub b {
    color: var(--ds-amber-l);
  }

  .ds-kin__sub strong {
    font-size: 1.15rem;
    color: #fff;
  }

  .ds-rings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    margin: 0 0.8rem 1.4rem;
    padding: 0;
    list-style: none;
  }

  .ds-ring {
    position: relative;
    display: grid;
    justify-items: center;
  }

  .ds-ring svg {
    width: 100%;
    max-width: 86px;
    transform: rotate(-90deg);
    overflow: visible;
  }

  .ds-ring circle {
    fill: none;
    stroke-width: 6;
  }

  .ds-ring__bg {
    stroke: rgba(255, 255, 255, 0.1);
  }

  .ds-ring__fg {
    stroke: url(#dsSun);
    stroke-linecap: round;
    stroke-dasharray: 276.5;
    stroke-dashoffset: 276.5;
    filter: drop-shadow(0 0 4px rgba(255, 176, 96, 0.7));
    transition: stroke-dashoffset 1.8s var(--ds-ease) calc(var(--d, 0s) + 0.2s);
  }

  .ds-ring.go .ds-ring__fg,
  html:not(.mlx-js) .ds-ring__fg {
    stroke-dashoffset: calc(276.5 * (1 - var(--v, 1)));
  }

  .ds-ring strong {
    position: absolute;
    top: 0;
    left: 50%;
    width: 86px;
    max-width: 100%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    display: grid;
    place-content: center;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .ds-ring strong small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--ds-amber-l);
  }

  .ds-ring em {
    margin-top: 0.35rem;
    font-style: normal;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
  }

  .ds-kin__cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: calc(100% - 2rem);
    margin: 0 auto;
    padding: 0.9rem 1.2rem;
    border: 0;
    border-radius: 18px;
    font-family: inherit;
    text-align: left;
    color: var(--ds-deep);
    background: var(--ds-sun);
    background-size: 200% 100%;
    box-shadow: 0 14px 32px rgba(243, 127, 67, 0.45);
    animation: ds-sun-slide 4s ease-in-out infinite;
    cursor: pointer;
    overflow: hidden;
  }

  .ds-kin__cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: ds-glint 2.6s ease-in-out infinite;
  }

  @keyframes ds-glint {
    60%,
    100% {
      transform: translateX(100%);
    }
  }

  .ds-kin__cta span {
    font-size: 0.82rem;
    font-weight: 700;
  }

  .ds-kin__cta b {
    grid-column: 1;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
  }

  .ds-kin__cta i {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 900;
    animation: ds-nudge 1s ease-in-out infinite;
  }

  @keyframes ds-nudge {
    50% {
      transform: translateX(6px);
    }
  }

  .ds-kin__note {
    margin: 1rem 1rem 0;
    font-size: 0.66rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
    word-break: keep-all;
  }

  /* ---------- 스티키 카드 스택 ---------- */
  .ds-stack {
    position: relative;
    padding-bottom: 1px;
    background: var(--ds-deep);
  }

  .ds-stack__card {
    position: sticky;
    top: calc(58px + env(safe-area-inset-top, 0px));
    overflow: hidden;
    border-radius: 0 0 22px 22px;
    transform-origin: 50% 0;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.45);
    will-change: transform;
  }

  .ds-stack__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #04111d;
    opacity: var(--dim, 0);
    pointer-events: none;
  }

  .ds-stack__card + .ds-stack__card {
    border-radius: 22px 22px 22px 22px;
    margin-top: 1.2rem;
  }

  .ds-stack__card:last-child {
    will-change: auto;
  }

  /* 세로 상승 대신 좌→우 일출 라인 와이프 */
  .mlx-rise {
    background: transparent;
  }

  .mlx-js .mlx-rise img {
    transform: none;
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transition: clip-path 0.9s var(--ds-ease);
  }

  .mlx-js .mlx-rise.is-in img {
    clip-path: inset(0 0 0 0);
  }

  .mlx-form--inline {
    background:
      radial-gradient(circle at 50% 0%, rgba(243, 127, 67, 0.25), transparent 50%),
      linear-gradient(180deg, #0a2438, #04111d);
    border-color: rgba(255, 191, 110, 0.45);
  }

  .mlx-hero {
    overflow: hidden;
  }

  .ds-sunflare {
    position: absolute;
    left: 50%;
    top: 30%;
    width: 120%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 160, 0.22), rgba(255, 160, 90, 0) 55%);
    transform: translate(-50%, -50%) scale(0.8);
    will-change: transform, opacity;
    animation: ds-flare 5s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes ds-flare {
    0%,
    100% {
      transform: translate(-50%, -50%) scale(0.8);
      opacity: 0.4;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.05);
      opacity: 1;
    }
  }

  /* 섹션 사이 물결 디바이더 */
  .ds-wave {
    position: relative;
    height: 34px;
    overflow: hidden;
    background: linear-gradient(180deg, #04111d, #0a2438);
  }

  .ds-wave i {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 34' preserveAspectRatio='none'%3E%3Cpath d='M0 17 C150 0 300 34 450 17 S750 0 900 17 S1050 34 1200 17 V34 H0Z' fill='%23ffffff'/%3E%3C/svg%3E")
      repeat-x 0 100% / 50% 100%;
    opacity: 0.12;
    animation: ds-wave-x 7s linear infinite;
  }

  .ds-wave i + i {
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 34' preserveAspectRatio='none'%3E%3Cpath d='M0 20 C150 34 300 6 450 20 S750 34 900 20 S1050 6 1200 20 V34 H0Z' fill='%23ffbf6e'/%3E%3C/svg%3E");
    animation-duration: 11s;
    animation-direction: reverse;
  }

  @keyframes ds-wave-x {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  .mlx-legal {
    background: #04111d;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-wave i,
  .ds-sunflare,
  .mlx-ticker,
  .ds-kin__sun,
  .ds-kin__marq,
  .ds-kin__cta,
  .ds-kin__cta::after,
  .ds-kin__row--sun b {
    animation: none;
  }

  .ds-stack__card {
    position: relative;
    top: auto;
    transform: none;
    filter: none;
  }
}

/* ================================================================== */
/* 서브페이지 헤드                                                      */
/* ================================================================== */
.ds-head .sub-page-head__bg {
  background-image:
    linear-gradient(180deg, rgba(4, 17, 29, 0.55), rgba(10, 36, 56, 0.72)),
    var(--ds-head-bg, url("../images/detail-bg.jpg"));
  animation: ds-head-pan 18s ease-in-out infinite alternate;
}

@keyframes ds-head-pan {
  from {
    background-position: 50% 40%;
    transform: scale(1.04);
  }
  to {
    background-position: 50% 60%;
    transform: scale(1);
  }
}

.ds-head::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 0;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 110, 0.4), rgba(243, 127, 67, 0) 60%);
  transform: translate(-50%, -62%);
  pointer-events: none;
}

.ds-head__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: 46px;
  fill: #fff;
}

.ds-head__eng {
  margin: 0 0 0.6rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--ds-amber-l);
}

.sub-page-head__title {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cs-title__eng {
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.cs-title__h {
  font-weight: 800;
}

.cs-feature__eng {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ds-teal);
  vertical-align: 0.35rem;
}

.cs-table b {
  color: var(--ds-coral);
}

.ds-fig-glow img {
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(10, 36, 56, 0.45);
}

/* ---------- 핵심 수치 ---------- */
.ds-keystats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .ds-keystats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ds-keystats__item {
  padding: 1.25rem 0.5rem;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--ds-navy), var(--ds-deep));
  color: #fff;
}

.ds-keystats__item strong {
  font-size: 1rem;
  font-weight: 700;
}

.ds-keystats__item b {
  margin-right: 0.15rem;
  font-size: 2rem;
  font-weight: 900;
  background: var(--ds-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 브랜드 ---------- */
.ds-brand {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ds-brand {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.ds-brand__item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.ds-brand__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ds-ease);
}

.ds-brand__item:hover img {
  transform: scale(1.06);
}

.ds-brand__body {
  position: relative;
  width: 100%;
  padding: 5rem 1.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(4, 17, 29, 0), rgba(4, 17, 29, 0.9) 55%);
}

.ds-brand__eng {
  margin: 0 0 0.4rem;
  font-family: "Cinzel", serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--ds-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-brand__h {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.ds-brand__p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  word-break: keep-all;
}

.ds-mark {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ds-mark {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ds-mark__item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--cs-line);
  border-radius: 18px;
  background: #fff;
}

.ds-mark__icon {
  display: grid;
  place-items: center;
  height: 140px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 120%, rgba(243, 127, 67, 0.45), transparent 60%),
    linear-gradient(160deg, var(--ds-navy), var(--ds-deep));
}

.ds-mark__icon img {
  max-height: 96px;
  width: auto;
}

.ds-mark__eng {
  margin: 0 0 0.3rem;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ds-teal);
}

.ds-mark__h {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--brown-deep);
}

.ds-mark__p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--cs-muted);
  word-break: keep-all;
}

.ds-dongil {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: 18px;
  background: var(--ds-sand);
}

.ds-dongil img {
  max-width: 300px;
  width: 70%;
}

.ds-dongil p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cs-text);
  word-break: keep-all;
}

/* ---------- 히스토리 ---------- */
.ds-story {
  display: grid;
  gap: 1.5rem;
}

.ds-story__item {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--cs-line);
}

.ds-story__img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ds-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-story__item:first-child .ds-story__img img {
  filter: grayscale(1) contrast(1.05);
  transition: filter 1.2s ease;
}

.ds-story__item:first-child:hover .ds-story__img img {
  filter: none;
}

.ds-story__body {
  position: relative;
  padding: 1.75rem 1.5rem 2rem;
}

.ds-story__num {
  position: absolute;
  right: 1.25rem;
  top: 0.8rem;
  font-family: "Cinzel", serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(30, 150, 178, 0.45);
}

.ds-story__eng {
  margin: 0 0 0.4rem;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ds-coral);
}

.ds-story__h {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brown-deep);
}

.ds-story__p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cs-muted);
  word-break: keep-all;
}

@media (min-width: 900px) {
  .ds-story__item {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .ds-story__item--rev .ds-story__img {
    order: 2;
  }

  .ds-story__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }

  .ds-story__body {
    padding: 2.5rem;
  }
}

.ds-timeline {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0 0 1.6rem;
  list-style: none;
}

.ds-timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--ds-teal), var(--ds-amber));
}

.ds-timeline li {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cs-line);
}

.ds-timeline li::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ds-sun);
  box-shadow: 0 0 0 4px rgba(255, 191, 110, 0.25);
}

.ds-timeline__y {
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ds-teal);
}

.ds-timeline strong {
  font-size: 1.05rem;
  color: var(--brown-deep);
}

.ds-timeline li > span:last-child {
  font-size: 0.88rem;
  color: var(--cs-muted);
}

@media (min-width: 900px) {
  .ds-timeline {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.6rem 0 0;
  }

  .ds-timeline::before {
    left: 0;
    right: 0;
    top: 0.4rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--ds-teal), var(--ds-amber));
  }

  .ds-timeline li::before {
    left: 1.25rem;
    top: -1.65rem;
  }
}

/* ---------- 지도 ---------- */
.ds-map {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--cs-line);
  background: var(--ds-sand);
}

.ds-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.ds-map__card {
  display: grid;
  gap: 0.3rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(160deg, var(--ds-navy), var(--ds-deep));
  color: #fff;
}

.ds-map__card span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  word-break: keep-all;
}

.ds-map__card a {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ds-amber);
}

.ds-map__eng {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--ds-amber);
}

.ds-map__sub {
  margin-top: 0.6rem;
}

@media (min-width: 1025px) {
  .ds-map iframe {
    height: 480px;
  }

  .ds-map__card {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(4, 17, 29, 0.35);
  }
}

.ds-map--visit {
  max-width: 1100px;
  margin: 2.5rem auto 1rem;
}

/* ---------- 프리미엄 8 ---------- */
.ds-prem {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ds-prem {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.ds-prem__item {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--cs-line);
  box-shadow: 0 10px 34px rgba(10, 36, 56, 0.06);
}

.ds-prem__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ds-prem__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ds-ease);
}

.ds-prem__item:hover .ds-prem__img img {
  transform: scale(1.06);
}

.ds-prem__num {
  position: absolute;
  left: 1rem;
  bottom: 0.6rem;
  font-family: "Cinzel", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.ds-prem__body {
  padding: 1.4rem 1.4rem 1.6rem;
  border-top: 3px solid transparent;
  border-image: var(--ds-sun) 1;
}

.ds-prem__eng {
  margin: 0 0 0.35rem;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ds-teal);
}

.ds-prem__h {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown-deep);
  word-break: keep-all;
}

.ds-prem__p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--cs-muted);
  word-break: keep-all;
}

.ds-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .ds-areas {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ds-areas div {
  padding: 1.1rem 0.75rem;
  text-align: center;
  border-radius: 14px;
  background: var(--ds-sand);
}

.ds-areas span {
  display: block;
  font-size: 0.82rem;
  color: var(--cs-muted);
}

.ds-areas strong {
  font-size: 1.2rem;
  color: var(--brown-deep);
}

/* ---------- 커뮤니티 갤러리 ---------- */
.ds-gal__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ds-deep);
}

.ds-gal__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.ds-gal__slide.is-on {
  opacity: 1;
}

.ds-gal__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease-out;
}

.ds-gal__slide.is-on img {
  transform: scale(1);
}

.ds-gal__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.25rem;
  padding: 3.5rem 1.5rem 1.4rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 17, 29, 0), rgba(4, 17, 29, 0.88));
}

.ds-gal__slide figcaption span {
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--ds-amber);
}

.ds-gal__slide figcaption strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.ds-gal__slide figcaption em {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  word-break: keep-all;
}

.ds-gal__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  background: rgba(4, 17, 29, 0.5);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.ds-gal__arrow--prev {
  left: 0.75rem;
}

.ds-gal__arrow--next {
  right: 0.75rem;
}

.ds-gal__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ds-gal__thumb {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
}

.ds-gal__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ds-gal__thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.2rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(4, 17, 29, 0.65);
}

.ds-gal__thumb.is-on {
  opacity: 1;
  border-color: var(--ds-amber);
}

/* ---------- 공개 예정 (단지배치도) ---------- */
.ds-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 460px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
}

.ds-reveal__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) brightness(0.55);
  transform: scale(1.1);
}

.ds-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgba(120, 214, 232, 0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(120, 214, 232, 0.08) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, rgba(4, 17, 29, 0.55), rgba(10, 36, 56, 0.75));
}

.ds-reveal__body {
  padding: 3rem 1.5rem;
  max-width: 680px;
}

.ds-reveal__eng {
  margin: 0 0 0.6rem;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--ds-amber);
}

.ds-reveal__h {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
}

.ds-reveal__p {
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  word-break: keep-all;
}

.ds-reveal__list {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.ds-reveal__list li {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 224, 172, 0.5);
  border-radius: 999px;
  background: rgba(4, 17, 29, 0.45);
}

.ds-reveal__list b {
  margin-right: 0.15rem;
  font-size: 1.1rem;
  color: var(--ds-amber-l);
}

/* ---------- 세대구성 도넛 ---------- */
.ds-mix {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--ds-sand);
}

@media (min-width: 900px) {
  .ds-mix {
    grid-template-columns: 1fr 1.2fr;
    padding: 2.5rem;
  }
}

.ds-mix__donut {
  position: relative;
  width: min(300px, 76vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--conic);
  -webkit-mask: radial-gradient(circle, transparent 0 0, #000 0);
  mask: none;
  box-shadow: 0 20px 50px rgba(10, 36, 56, 0.18);
}

.ds-js .ds-mix.ds-rv .ds-mix__donut {
  clip-path: circle(0 at 50% 50%);
  transition: clip-path 1.4s var(--ds-ease) 0.2s;
}

.ds-js .ds-mix.ds-rv.go .ds-mix__donut {
  clip-path: circle(75% at 50% 50%);
}

.ds-mix__center {
  position: absolute;
  inset: 22%;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.ds-mix__center strong {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brown-deep);
}

.ds-mix__center span {
  font-size: 0.85rem;
  color: var(--cs-muted);
}

.ds-mix__legend {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-mix__legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
}

.ds-mix__legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.ds-mix__legend strong {
  font-size: 1rem;
  color: var(--brown-deep);
}

.ds-mix__legend span {
  display: none;
}

.ds-mix__legend b {
  font-size: 1rem;
  color: var(--ds-coral);
}

.ds-mix__legend em {
  min-width: 3.5em;
  font-style: normal;
  font-size: 0.85rem;
  text-align: right;
  color: var(--cs-muted);
}

/* ---------- 분양안내 ---------- */
.ds-price {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 130%, rgba(243, 127, 67, 0.55), transparent 55%),
    linear-gradient(160deg, var(--ds-navy), var(--ds-deep));
}

.ds-price__eng {
  margin: 0 0 0.5rem;
  font-family: "Cinzel", serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  color: var(--ds-amber);
}

.ds-price__h {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
}

.ds-price__h em {
  font-style: normal;
  background: var(--ds-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-price__p {
  margin: 1rem auto 1.5rem;
  max-width: 34em;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  word-break: keep-all;
}

.ds-sched {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

@media (min-width: 900px) {
  .ds-sched {
    grid-template-columns: repeat(5, 1fr);
  }
}

.ds-sched__item {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding: 1.25rem 1.1rem 1.4rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--cs-line);
}

.ds-sched__step {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(30, 150, 178, 0.35);
}

.ds-sched__eng {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ds-teal);
}

.ds-sched__item strong {
  font-size: 1rem;
  color: var(--brown-deep);
  word-break: keep-all;
}

.ds-sched__item > span:last-of-type {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--cs-muted);
  word-break: keep-all;
}

.ds-sched__item.is-now {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(160deg, var(--ds-navy), var(--ds-deep));
  box-shadow: 0 16px 36px rgba(10, 36, 56, 0.3);
}

.ds-sched__item.is-now strong {
  color: #fff;
}

.ds-sched__item.is-now > span:last-of-type {
  color: rgba(255, 255, 255, 0.75);
}

.ds-sched__item em {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.25rem 0.6rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ds-deep);
  border-radius: 999px;
  background: var(--ds-sun);
  animation: ds-blink 1.6s ease-in-out infinite;
}

/* ---------- 방문예약 ---------- */
@media (min-width: 1025px) {
  .page-visit .visit-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    align-items: start;
  }
}

.ds-visit-soon {
  border-radius: 16px;
}

.ds-perks {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-perks li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--ds-sand);
}

.ds-perks b {
  grid-row: span 2;
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  background: var(--ds-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-perks strong {
  font-size: 1rem;
  color: var(--brown-deep);
}

.ds-perks span {
  font-size: 0.85rem;
  color: var(--cs-muted);
}

/* ---------- 언론보도 ---------- */
.cs-press {
  display: grid;
  gap: 0.85rem;
}

.cs-press__item {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-left: 4px solid var(--ds-teal);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cs-press__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10, 36, 56, 0.1);
}

.cs-press__src {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ds-coral);
}

.cs-press__h {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--brown-deep);
  word-break: keep-all;
}

.cs-press__p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--cs-muted);
  word-break: keep-all;
}

.cs-press__more {
  justify-self: end;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ds-teal);
}

.cs-interior__item {
  border-radius: 14px;
}

.cs-interior__item figcaption {
  border-top-right-radius: 10px;
  background: rgba(4, 17, 29, 0.78);
}

.cs-interior__item--full {
  grid-column: span 12;
}

/* ================================================================== */
/* 404                                                                  */
/* ================================================================== */
.ds-404 {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-height: 70vh;
  padding: 9rem 1.5rem 6rem;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, #16465f, var(--ds-deep) 70%);
  align-content: center;
}

.ds-404__code {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 1;
  background: var(--ds-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-404__h {
  margin: 0;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  word-break: keep-all;
}

.ds-404__p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}

.ds-404__p a {
  color: var(--ds-amber);
  font-weight: 800;
  text-decoration: none;
}

.ds-404__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ================================================================== */
/* 분양문의 전화                                                        */
/* ================================================================== */
@keyframes ds-tel-ring {
  0%,
  55%,
  100% {
    transform: rotate(0);
  }
  60%,
  70%,
  80% {
    transform: rotate(-16deg);
  }
  65%,
  75% {
    transform: rotate(16deg);
  }
}

@keyframes ds-tel-wave {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.header__call {
  background: var(--ds-navy, #0a2438);
  border-color: rgba(246, 170, 88, 0.75);
  box-shadow: 0 6px 18px rgba(4, 17, 29, 0.35);
}

.header__call-ico,
.pcq-side__ring,
.pcq-bar__ico,
.mlx-bar__ico {
  background: var(--ds-sun);
  color: var(--ds-deep);
}

.header__call-txt small,
.pcq-side__call small,
.pcq-bar__txt small,
.mlx-bar__call small {
  color: var(--ds-amber-l, #ffd9a0);
}

.pcq-side__call,
.mlx-bar__call,
.drawer__actions .drawer__call {
  background: var(--ds-navy, #0a2438);
  border-color: rgba(246, 170, 88, 0.75);
  color: #fff;
}

.drawer__actions .drawer__call {
  color: var(--ds-amber-l, #ffd9a0);
}

.mlx-sheet__tel {
  color: var(--ds-deep);
  background: var(--ds-sun);
  border: 0;
}

.footer__tel {
  color: var(--ds-amber, #f6aa58);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

a.header-m__call {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

a.header-m__call span {
  display: inline-block;
  animation: ds-tel-ring 2.4s ease-in-out infinite;
}

/* PC 히어로 · 오픈예정 */
.ds-hero__tel {
  display: none;
}

@media (min-width: 1025px) {
  .ds-hero__tel {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.4rem;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    animation: ds-fade-up 1s 2.35s var(--ds-ease) forwards;
  }

  .ds-hero__tel i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-style: normal;
    font-size: 1.15rem;
    color: var(--ds-deep);
    background: var(--ds-sun);
  }

  .ds-hero__tel i::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid var(--ds-amber, #f6aa58);
    border-radius: 50%;
    animation: ds-tel-wave 1.8s ease-out infinite;
  }

  .ds-hero__tel span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
  }

  .ds-hero__tel b {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    color: var(--ds-amber, #f6aa58);
  }

  .ds-soon__cta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .ds-hero__tel,
  .ds-hero__tel i::after {
    animation: none;
    opacity: 1;
  }
}

/* 모바일 키네틱 섹션 전화 */
.ds-kin__tel {
  display: none;
}

@media (max-width: 1024px) {
  .ds-kin__tel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: calc(100% - 2rem);
    margin: 0.7rem auto 0;
    padding: 0.75rem 1.1rem;
    border: 1.5px solid rgba(246, 170, 88, 0.7);
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
  }

  .ds-kin__tel i {
    position: relative;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 50%;
    font-style: normal;
    font-size: 1.05rem;
    color: var(--ds-deep);
    background: var(--ds-sun);
    animation: ds-tel-ring 2.4s ease-in-out infinite;
  }

  .ds-kin__tel i::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid var(--ds-amber, #f6aa58);
    border-radius: 50%;
    animation: ds-tel-wave 1.8s ease-out infinite;
  }

  .ds-kin__tel span {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
  }

  .ds-kin__tel b {
    margin-left: auto;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    color: var(--ds-amber, #f6aa58);
  }

  .ds-kin__tel i,
  .ds-kin__tel i::after,
  a.header-m__call span {
    will-change: transform;
  }
}

/* 방문예약 페이지 */
.ds-visit-tel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, var(--ds-deep, #04111d), var(--ds-navy, #0a2438));
  box-shadow: 0 14px 30px rgba(4, 17, 29, 0.22);
}

.ds-visit-tel i {
  position: relative;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 50%;
  font-style: normal;
  font-size: 1.35rem;
  color: var(--ds-deep);
  background: var(--ds-sun);
  animation: ds-tel-ring 2.4s ease-in-out infinite;
}

.ds-visit-tel span {
  display: grid;
  gap: 0.2rem;
}

.ds-visit-tel small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.ds-visit-tel b {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--ds-amber, #f6aa58);
}

/* ================================================================== */
/* 모바일 스크롤 성능: 무한 애니메이션은 transform / opacity 만 사용      */
/* ================================================================== */
@media (max-width: 1024px) {
  .header-m__interest,
  .header__reg,
  .btn--gold,
  .btn--submit,
  .pcq-bar__submit,
  .mlx-bar__reg,
  .ds-btn--sun,
  .ds-kin__cta,
  .ds-kin__row--sun b,
  .mlx-ticker::before {
    animation: none !important;
  }

  .ds-kin__row--sun b {
    background-position: 30% 50%;
  }

  .mlx-glint,
  .mlx-shine::after {
    left: -70%;
    will-change: transform;
  }

  @keyframes mlx-sweep {
    0% {
      transform: translateX(0) skewX(-18deg);
    }
    55%,
    100% {
      transform: translateX(450%) skewX(-18deg);
    }
  }

  .ds-kin__live i {
    box-shadow: none;
    animation: ds-dot 1.2s ease-in-out infinite;
  }

  @keyframes ds-dot {
    50% {
      opacity: 0.25;
      transform: scale(0.7);
    }
  }

  .mlx-progress i {
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
  }

  .ds-kin__row {
    transform: none;
  }

  .ds-kin__sun,
  .ds-kin__marq,
  .mlx-ticker__in,
  .ds-wave i {
    will-change: transform;
  }

  /* 화면 밖 섹션은 애니메이션 일시정지 (JS: .ds-paused) */
  .ds-paused,
  .ds-paused::before,
  .ds-paused::after,
  .ds-paused *,
  .ds-paused *::before,
  .ds-paused *::after {
    animation-play-state: paused !important;
  }
}
