/* XI-BUKOSAN2 only — Paperlogy site-wide + hero/inquiry overrides */

@font-face {
  font-family: 'Paperlogy';
  src: url('https://framerusercontent.com/assets/hK9UzwOKw3tyH5qNqjdwNUaazGU.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://framerusercontent.com/assets/lbMH2iYmyrPQ49LGEcV0RA2Vxxo.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://framerusercontent.com/assets/JI4C6xNQBdPMqMAJcoLSWHCgrg.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://framerusercontent.com/assets/5KEs6th84SArgCnoMfsblYRz2g.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: 'Paperlogy';
  src: url('https://framerusercontent.com/assets/P5UwaHAZrdb3qbU8Fs6Qz3XIbo.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

/* 800 요청 시 Bold 파일 매핑 (헤더 전화 등) */
@font-face {
  font-family: 'Paperlogy';
  src: url('https://framerusercontent.com/assets/P5UwaHAZrdb3qbU8Fs6Qz3XIbo.woff2')
    format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --font-sans: 'Paperlogy', 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo',
    sans-serif;
}

html,
body {
  font-family: var(--font-sans);
}

button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}

#hero.hero.hero--video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: unset !important;
  overflow: hidden;
  background: #081426;
  color: #fff;
}

#hero.hero.hero--video .hero__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  line-height: 0;
  opacity: 1;
  animation: none;
  transform: none;
}

#hero.hero.hero--video .hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
  pointer-events: none;
}

/* ---- Hero copy overlay ---- */
#hero.hero.hero--video .hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(48px, 8vw, 160px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(640px, 56vw);
  text-align: left;
}

#hero.hero.hero--video .hero__copy-inner {
  position: relative;
  z-index: 1;
}

/* 스크림 비활성 — 가독성은 text-shadow로 (이미지 스크림 쓸 때만 다시 킴) */
#hero.hero.hero--video .hero__copy-scrim {
  display: none;
}

#hero.hero.hero--video .hero__copy-scrim-img {
  display: none;
}

#hero.hero.hero--video
  .hero__copy:has(.hero__copy-scrim-img[src]:not([src='']))
  .hero__copy-scrim {
  display: block;
  position: absolute;
  z-index: 0;
  inset: -80px -100px;
  pointer-events: none;
}

#hero.hero.hero--video
  .hero__copy:has(.hero__copy-scrim-img[src]:not([src='']))
  .hero__copy-scrim-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero.hero.hero--video .hero__line {
  margin: 0;
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  color: #fff;
  /* PC·모바일 공통: 진한 색 + 넓은 블러 그림자 */
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.75),
    0 0 48px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(0, 0, 0, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.55);
}

#hero.hero.hero--video .hero__line--sub {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#hero.hero.hero--video .hero__line--main {
  margin-top: 0.35em;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* 영상 아래 기존 히어로 스틸 이미지 */
.hero-still {
  margin: 0;
  padding: 0;
  background: #081426;
  line-height: 0;
  scroll-margin-top: var(--header-height, 64px);
}

.hero-still__picture {
  display: block;
  width: 100%;
}

.hero-still__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
}

/* ---- Inquiry strip (영상 ↔ 이미지) ----
   참고 사이트: 단일 가로 마퀴
   여기: 상단 브랜드/전화 + 하단 반대방향 이중 티커(채움/외곽선) */
.inquiry-strip {
  --inquiry-navy: #0b1a33;
  --inquiry-gold: #d4af37;
  position: relative;
  z-index: 2;
  background: var(--inquiry-navy);
  color: #fff;
  overflow: hidden;
  scroll-margin-top: var(--header-height, 64px);
}

.inquiry-strip__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(28px, 4vw, 44px) 20px 18px;
  text-align: center;
}

.inquiry-strip__brand {
  margin: 0;
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.inquiry-strip__phone {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45em 0.65em;
  color: inherit;
  text-decoration: none;
}

.inquiry-strip__phone:hover .inquiry-strip__phone-number,
.inquiry-strip__phone:focus-visible .inquiry-strip__phone-number {
  color: var(--inquiry-gold);
}

.inquiry-strip__phone-label {
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.inquiry-strip__phone-number {
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s ease;
}

.inquiry-strip__ticker {
  display: grid;
  gap: 4px;
  padding: 8px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* PC: 티커 폭을 좁히고 양옆 강한 페이드·블러 */
@media (min-width: 768px) {
  .inquiry-strip__ticker {
    position: relative;
    width: min(860px, 62vw);
    max-width: 860px;
    margin-inline: auto;
    padding-inline: 0;
    isolation: isolate;
  }

  .inquiry-strip__ticker::before,
  .inquiry-strip__ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(72px, 12%, 120px);
    z-index: 3;
    pointer-events: none;
  }

  .inquiry-strip__ticker::before {
    left: 0;
    background: linear-gradient(
      90deg,
      var(--inquiry-navy) 0%,
      rgba(11, 26, 51, 0.92) 28%,
      rgba(11, 26, 51, 0.45) 62%,
      transparent 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
  }

  .inquiry-strip__ticker::after {
    right: 0;
    background: linear-gradient(
      270deg,
      var(--inquiry-navy) 0%,
      rgba(11, 26, 51, 0.92) 28%,
      rgba(11, 26, 51, 0.45) 62%,
      transparent 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(270deg, #000 0%, #000 55%, transparent 100%);
  }

  .inquiry-strip__rail {
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    );
  }
}

.inquiry-strip__rail {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.inquiry-strip__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.inquiry-strip__set {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
}

.inquiry-strip__rail--fwd .inquiry-strip__track {
  animation: xb2TickerFwd 78s linear infinite;
}

.inquiry-strip__rail--rev .inquiry-strip__track {
  animation: xb2TickerRev 88s linear infinite;
}

.inquiry-strip__phrase {
  flex: 0 0 auto;
  padding-inline: 0.15em;
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
  color: #ffffff;
}

.inquiry-strip__phrase--outline {
  color: transparent;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 1.2px rgba(212, 175, 55, 0.85);
  text-stroke: 1.2px rgba(212, 175, 55, 0.85);
  opacity: 0.95;
}

.inquiry-strip__rail--fwd {
  margin-bottom: 0;
}

.inquiry-strip__rail--rev {
  margin-top: 0;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .inquiry-strip__rail--fwd .inquiry-strip__track,
  .inquiry-strip__rail--rev .inquiry-strip__track {
    animation: none;
    transform: none;
  }
}

/* ---- Scroll cue (PC + mobile) ---- */
#hero.hero.hero--video .hero-scroll {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 56px);
  z-index: 3;
  width: auto;
  min-width: 72px;
  height: auto;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translate(-50%, 16px);
  filter: none;
  animation: xb2HeroScrollIn 0.7s ease-out 0.9s forwards;
}

#hero.hero.hero--video .hero-scroll-label {
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-indent: 0.22em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

#hero.hero.hero--video .hero-scroll-icon {
  width: 28px;
  height: 28px;
  margin-top: 0;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  animation: xb2HeroScrollBob 1.55s ease-in-out 1.5s infinite;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

@keyframes xb2HeroScrollIn {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes xb2HeroScrollBob {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(12px) rotate(45deg);
  }
}

/* PC: 히어로(상단)에서는 헤더 숨김 → 스크롤 시 표시 */
@media (min-width: 768px) {
  body:has(#hero.hero--video) #site-header {
    transition:
      background-color 0.35s ease,
      background 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease,
      min-height 0.35s ease,
      color 0.35s ease,
      text-shadow 0.35s ease,
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0.35s ease;
  }

  body:has(#hero.hero--video) #site-header:not(.is-scrolled) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
  }

  body:has(#hero.hero--video) #site-header.is-scrolled {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* ---- Header notice (스크롤 시 헤더·메뉴 아래 고정) ---- */
body:has(#hero.hero--video) .header-notice {
  display: grid;
  grid-template-rows: 0fr;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  background: linear-gradient(
    90deg,
    #071526 0%,
    #0f2744 42%,
    #163556 50%,
    #0f2744 58%,
    #071526 100%
  );
  color: #f5f7fa;
  border-top: 0 solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s ease,
    border-top-width 0.35s ease;
}

body:has(#hero.hero--video) .header-notice > .header-notice__text {
  overflow: hidden;
  min-height: 0;
}

body:has(#hero.hero--video) .site-header.is-scrolled .header-notice {
  grid-template-rows: 1fr;
  min-height: 0;
  padding: 9px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body:has(#hero.hero--video) .site-header.is-scrolled {
  /* 흰 헤더 아래 붙는 공지 — 흰 헤더와 대비되는 네이비 톤 */
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.12);
}

body:has(#hero.hero--video) .header-notice__text {
  margin: 0;
  max-width: 1100px;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45em 0.55em;
  font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}

body:has(#hero.hero--video) .header-notice__accent {
  display: inline-block;
  flex-shrink: 0;
  margin-right: 0;
  padding: 0.15em 0.45em;
  border-radius: 3px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #e8c86a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  vertical-align: 0.05em;
}

body:has(#hero.hero--video) .header-notice__flap {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1px;
  perspective: 600px;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

body:has(#hero.hero--video) .header-notice__flap-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.72em;
  height: 1.45em;
  padding: 0 0.04em;
  border-radius: 2px;
  background: linear-gradient(180deg, #1a314f 0%, #0c1a2e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform-style: preserve-3d;
}

body:has(#hero.hero--video) .header-notice__flap-cell.is-space {
  min-width: 0.38em;
  background: transparent;
  box-shadow: none;
}

body:has(#hero.hero--video) .header-notice__flap-cell::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}

body:has(#hero.hero--video) .header-notice__flap-cell.is-space::after {
  display: none;
}

body:has(#hero.hero--video) .header-notice__flap-face {
  display: block;
  transform-origin: center center;
  backface-visibility: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-variant-numeric: tabular-nums;
}

body:has(#hero.hero--video) .header-notice__flap-cell.is-flipping .header-notice__flap-face {
  animation: headerNoticeFlapFlip 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes headerNoticeFlapFlip {
  0% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
  45% {
    transform: rotateX(-90deg);
    filter: brightness(0.55);
  }
  55% {
    transform: rotateX(90deg);
    filter: brightness(0.55);
  }
  100% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
}

@media (max-width: 767px) {
  body:has(#hero.hero--video) .header-notice {
    padding-left: 10px;
    padding-right: 10px;
  }

  body:has(#hero.hero--video) .site-header.is-scrolled .header-notice {
    padding: 8px 10px;
  }

  body:has(#hero.hero--video) .header-notice__text {
    font-size: 15px;
    gap: 0.4em;
  }

  body:has(#hero.hero--video) .header-notice__accent {
    font-size: 10px;
    padding: 0.14em 0.42em;
    letter-spacing: 0.1em;
  }

  body:has(#hero.hero--video) .header-notice__flap-cell {
    min-width: 0.7em;
    height: 1.4em;
    padding: 0 0.03em;
  }

  body:has(#hero.hero--video) .header-notice__flap-cell.is-space {
    min-width: 0.32em;
  }

  /* Mobile header: brand left, phone right (same as PC) */
  body:has(#hero.hero--video) .site-header__bar {
    position: relative;
    justify-content: space-between;
    gap: 10px;
  }

  body:has(#hero.hero--video) .brand {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  body:has(#hero.hero--video) .brand-text {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  body:has(#hero.hero--video) .header-cta {
    position: static;
    transform: none;
    flex: 0 0 auto;
    align-items: flex-end;
    z-index: 2;
  }

  body:has(#hero.hero--video) .header-phone {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  /* Narrow gaps, larger type, side padding — no edge clipping */
  body:has(#hero.hero--video) .mobile-nav-row {
    gap: clamp(4px, 1.2vw, 8px);
    padding-inline: 12px;
    justify-content: space-between;
    overflow-x: hidden;
  }

  body:has(#hero.hero--video) .mobile-nav-row a {
    font-size: clamp(14.5px, 3.9vw, 16px);
    padding-inline: 0;
    letter-spacing: -0.045em;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(#hero.hero--video) .header-notice {
    transition: none;
    transform: none;
  }

  body:has(#hero.hero--video) .header-notice__flap-cell.is-flipping .header-notice__flap-face {
    animation: none;
  }
}

@media (max-width: 767px) {
  #hero.hero.hero--video {
    aspect-ratio: auto !important;
    width: 100%;
    height: 100svh !important;
    min-height: 100svh !important;
  }

  #hero.hero.hero--video .hero__media,
  #hero.hero.hero--video .hero__video {
    width: 100% !important;
    height: 100% !important;
  }

  #hero.hero.hero--video .hero__video {
    object-fit: cover;
    object-position: center center;
  }

  #hero.hero.hero--video .hero__copy {
    left: 50%;
    right: auto;
    top: 48%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    max-width: 92vw;
    text-align: center;
  }

  #hero.hero.hero--video .hero__line--sub,
  #hero.hero.hero--video .hero__line--main {
    font-size: clamp(20px, 5.6vw, 28px);
  }

  #hero.hero.hero--video .hero-scroll {
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }

  #hero.hero.hero--video .hero-scroll-label {
    font-size: 10px;
  }

  #hero.hero.hero--video .hero-scroll-icon {
    width: 32px;
    height: 32px;
    border-right-width: 3.5px;
    border-bottom-width: 3.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero.hero.hero--video .hero__media {
    animation: none;
  }

  #hero.hero.hero--video .hero-scroll {
    animation: none;
    opacity: 1;
    transform: translate(-50%, 0);
  }

  #hero.hero.hero--video .hero-scroll-icon {
    animation: none;
    transform: rotate(45deg);
  }
}

/* =========================================================
   Premium zigzag (mobile diagonal stagger / PC card grid)
   ========================================================= */
#premium.premium-zigzag {
  --pz-navy: #0b1a33;
  --pz-gold: #c4a035;
  --pz-muted: #5a6578;
  --pz-bg: #eef1f5;
  background: var(--pz-bg);
  /* padding은 .premium-gallery / responsive 와 동일하게 유지 */
}

#premium.premium-zigzag .premium-zigzag__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 0;
  width: 100%;
}

#premium.premium-zigzag .premium-zigzag__header {
  max-width: 900px;
  margin-bottom: clamp(54px, 6vw, 84px);
  padding-inline: 0;
  text-align: left;
}

#premium.premium-zigzag .premium-zigzag__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  padding: 0 0 8px;
}

#premium.premium-zigzag .premium-zigzag__row {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: stretch;
  min-height: 148px;
  overflow: hidden;
  background: transparent;
}

#premium.premium-zigzag .premium-zigzag__row--rtl {
  grid-template-columns: 1fr 1.08fr;
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__copy {
  order: 1;
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__media {
  order: 2;
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__media {
  order: 1;
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__copy {
  order: 2;
}

#premium.premium-zigzag .premium-zigzag__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 22px 18px 18px;
  background: #fff;
  color: var(--pz-navy);
  box-shadow: 0 8px 24px rgba(11, 26, 51, 0.08);
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__copy {
  /* 홀수: 텍스트 대각선만 반전 (위 넓게 → 아래 좁게) */
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  border-left: 5px solid var(--pz-navy);
  margin-right: -28px;
  padding-right: 40px;
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__copy {
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
  border-right: 5px solid var(--pz-navy);
  margin-left: -28px;
  padding-left: 40px;
  text-align: right;
  align-items: flex-end;
}

#premium.premium-zigzag .premium-zigzag__media {
  position: relative;
  z-index: 1;
  min-height: 148px;
  overflow: hidden;
  background: #1a2438;
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__media {
  /* 홀수 이미지 대각선은 기존 유지 */
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__media {
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

#premium.premium-zigzag .premium-zigzag__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  object-position: center;
}

#premium.premium-zigzag .premium-zigzag__badge {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-self: flex-start;
  display: grid;
  place-items: center;
  margin: 0 0 8px;
  border-radius: 50%;
  background: var(--pz-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(11, 26, 51, 0.25);
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__badge {
  align-self: flex-start;
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__badge {
  align-self: flex-end;
}

#premium.premium-zigzag .premium-zigzag__title {
  margin: 0;
  padding-top: 0;
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--pz-navy);
}

#premium.premium-zigzag .premium-zigzag__highlight {
  margin: 0;
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pz-gold);
}

#premium.premium-zigzag .premium-zigzag__desc {
  margin: 2px 0 0;
  font-size: clamp(12px, 3.1vw, 13px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--pz-muted);
}

/* Mobile enter animation: LTR text← image→ / RTL opposite */
#premium.premium-zigzag .premium-zigzag__copy,
#premium.premium-zigzag .premium-zigzag__media {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__copy {
  transform: translateX(-48px);
}

#premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__media {
  transform: translateX(48px);
  transition-delay: 0.08s;
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__copy {
  transform: translateX(48px);
}

#premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__media {
  transform: translateX(-48px);
  transition-delay: 0.08s;
}

#premium.premium-zigzag .premium-zigzag__row.is-visible .premium-zigzag__copy,
#premium.premium-zigzag .premium-zigzag__row.is-visible .premium-zigzag__media {
  opacity: 1;
  transform: translateX(0);
}

#premium.premium-zigzag .premium-zigzag__header {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

#premium.premium-zigzag .premium-zigzag__header.is-visible {
  opacity: 1;
  transform: none;
}

/* PC: natural 3-column cards (no diagonal zigzag) */
@media (min-width: 768px) {
  #premium.premium-zigzag .premium-zigzag__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 8px 0 12px;
    margin-top: 40px;
  }

  #premium.premium-zigzag .premium-zigzag__row,
  #premium.premium-zigzag .premium-zigzag__row--ltr,
  #premium.premium-zigzag .premium-zigzag__row--rtl {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11, 26, 51, 0.08);
  }

  #premium.premium-zigzag .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__copy {
    order: 2;
    clip-path: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    align-items: flex-start;
    padding: 22px 22px 26px;
  }

  #premium.premium-zigzag .premium-zigzag__media,
  #premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__media,
  #premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__media {
    order: 1;
    clip-path: none;
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  #premium.premium-zigzag .premium-zigzag__media img {
    min-height: 0;
  }

  #premium.premium-zigzag .premium-zigzag__badge,
  #premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__badge,
  #premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__badge {
    align-self: flex-start;
    margin-bottom: 10px;
  }

  #premium.premium-zigzag .premium-zigzag__title {
    padding-top: 0;
    font-size: 22px;
  }

  #premium.premium-zigzag .premium-zigzag__highlight {
    font-size: 15px;
  }

  #premium.premium-zigzag .premium-zigzag__desc {
    font-size: 14px;
  }

  /* PC reveal: fade-up instead of left/right */
  #premium.premium-zigzag .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__media,
  #premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__row--ltr .premium-zigzag__media,
  #premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__row--rtl .premium-zigzag__media {
    transform: translateY(28px);
    transition-delay: 0s;
  }

  #premium.premium-zigzag .premium-zigzag__row.is-visible .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__row.is-visible .premium-zigzag__media {
    transform: translateY(0);
  }

  #premium.premium-zigzag .premium-zigzag__row.is-visible .premium-zigzag__media {
    transition-delay: 0.05s;
  }

  #premium.premium-zigzag .premium-zigzag__row.is-visible .premium-zigzag__copy {
    transition-delay: 0.12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #premium.premium-zigzag .premium-zigzag__copy,
  #premium.premium-zigzag .premium-zigzag__media,
  #premium.premium-zigzag .premium-zigzag__header {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Complex design (단지설계) ---- */
#complex.complex-design {
  scroll-margin-top: var(--header-height);
  padding: clamp(104px, 9vw, 154px) clamp(48px, 6vw, 104px);
  background: #f3f5f8;
}

#complex.complex-design .complex-design__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

#complex.complex-design .complex-design__header {
  max-width: 900px;
  margin-bottom: clamp(36px, 4vw, 56px);
  text-align: left;
}

#complex.complex-design .complex-design__eyebrow {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a89274;
}

#complex.complex-design .complex-design__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #0b1f36;
}

#complex.complex-design .complex-design__description {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #5a6578;
}

#complex.complex-design .complex-design__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 26, 51, 0.08);
}

#complex.complex-design .complex-design__zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

#complex.complex-design .complex-design__zoom:focus-visible {
  outline: 2px solid #c4a035;
  outline-offset: 3px;
}

#complex.complex-design .complex-design__image {
  display: block;
  width: 100%;
  height: auto;
}

#complex.complex-design .complex-design__zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 26, 51, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  pointer-events: none;
}

body.complex-design-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  #complex.complex-design {
    padding: 25px 14px 29px;
  }

  #complex.complex-design .complex-design__header {
    margin-bottom: 20px;
  }

  #complex.complex-design .complex-design__title {
    font-size: clamp(26px, 7.2vw, 32px);
  }

  #complex.complex-design .complex-design__figure {
    border-radius: 14px;
  }
}

/* ---- Community interactive map ---- */
#community.community-showcase {
  scroll-margin-top: var(--header-height);
  padding: clamp(104px, 9vw, 154px) clamp(48px, 6vw, 104px);
  background: #f7f4ef;
}

#community.community-showcase .community-showcase__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

#community.community-showcase .community-showcase__header {
  max-width: 900px;
  margin-bottom: clamp(36px, 4vw, 56px);
  text-align: left;
}

#community.community-showcase .community-showcase__eyebrow {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a89274;
}

#community.community-showcase .community-showcase__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #0b1f36;
}

#community.community-showcase .community-showcase__title > span {
  display: block;
}

#community.community-showcase .community-showcase__description {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #5a6578;
}

#community.community-showcase .community-map {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  #community.community-showcase .community-map {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: start;
    gap: 36px;
  }
}

#community.community-showcase .community-map__stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 26, 51, 0.08);
}

#community.community-showcase .community-map__image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: contain;
  background: #fff;
  transition: filter 0.35s ease;
}

#community.community-showcase .community-map:has(.is-active) .community-map__image {
  filter: brightness(0.78) saturate(0.9);
}

#community.community-showcase .community-map__spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(11, 26, 51, 0.35);
  transform: translate(-50%, -50%) scale(1);
  cursor: pointer;
  z-index: 2;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.3s ease;
}

#community.community-showcase .community-map__spot:hover {
  background: rgba(212, 175, 55, 0.85);
  transform: translate(-50%, -50%) scale(1.15);
}

#community.community-showcase .community-map__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.65);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

#community.community-showcase .community-map__spot.is-active {
  background: #d4af37;
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.55);
  box-shadow:
    0 0 0 6px rgba(212, 175, 55, 0.28),
    0 0 28px rgba(255, 220, 120, 0.85),
    0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

#community.community-showcase .community-map__spot.is-active .community-map__pulse {
  animation: communityPulse 1.4s ease-out infinite;
}

@keyframes communityPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(2.1);
  }
}

#community.community-showcase .community-map__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  display: grid;
  gap: 4px;
  max-width: min(72%, 320px);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 26, 51, 0.88);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 26, 51, 0.28);
  backdrop-filter: blur(8px);
  pointer-events: none;
  animation: communityCaptionIn 0.28s ease;
}

#community.community-showcase .community-map__caption[hidden] {
  display: none;
}

@keyframes communityCaptionIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#community.community-showcase .community-map__caption-floor {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4af37;
}

#community.community-showcase .community-map__caption-name {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

#community.community-showcase .community-map__caption-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

#community.community-showcase .community-map__caption-desc[hidden] {
  display: none;
}

#community.community-showcase .community-map__panels {
  display: grid;
  gap: 22px;
  align-content: start;
}

@media (min-width: 900px) {
  #community.community-showcase .community-map__panels {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
    padding-right: 4px;
  }
}

#community.community-showcase .community-map__group {
  display: grid;
  gap: 10px;
}

#community.community-showcase .community-map__floor {
  margin: 0;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a89274;
}

#community.community-showcase .community-map__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

#community.community-showcase .community-map__item {
  width: 100%;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(11, 26, 51, 0.08);
  border-radius: 12px;
  background: #fff;
  color: #0b1f36;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

#community.community-showcase .community-map__item-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#community.community-showcase .community-map__item-desc {
  font-size: 13px;
  font-weight: 400;
  color: #5a6578;
  letter-spacing: -0.01em;
}

#community.community-showcase .community-map__item.is-active {
  transform: scale(1.03);
  border-color: rgba(212, 175, 55, 0.65);
  background: linear-gradient(180deg, #fffdf6 0%, #fff 100%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.25),
    0 10px 28px rgba(212, 175, 55, 0.22);
}

#community.community-showcase .community-map__item.is-active .community-map__item-name {
  color: #0b1a33;
}

@media (max-width: 767px) {
  #community.community-showcase {
    padding: 25px 14px 29px;
  }

  #community.community-showcase .community-showcase__header {
    margin-bottom: 20px;
  }

  #community.community-showcase .community-showcase__title {
    font-size: clamp(26px, 7.2vw, 32px);
  }

  #community.community-showcase .community-map__stage {
    border-radius: 14px;
  }

  #community.community-showcase .community-map__caption {
    left: 10px;
    bottom: 10px;
    max-width: min(88%, 280px);
    padding: 12px 14px;
  }

  #community.community-showcase .community-map__caption-name {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #community.community-showcase .community-map__spot.is-active .community-map__pulse {
    animation: none;
  }

  #community.community-showcase .community-map__caption {
    animation: none;
  }

  #community.community-showcase .community-map__spot,
  #community.community-showcase .community-map__item,
  #community.community-showcase .community-map__image {
    transition: none;
  }
}

/* ── Desktop float CTA (XI-BUKOSAN2) ── */
aside.desktop-float-cta {
  width: auto !important;
  display: none;
  flex-direction: column;
  gap: 10px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 1024px) {
  aside.desktop-float-cta {
    display: flex !important;
  }
}

aside.desktop-float-cta .float-cta-item {
  box-sizing: border-box;
  width: 78px !important;
  min-height: 78px !important;
  height: auto;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, #1a2f4d 0%, #0c1a2e 100%) !important;
  color: #f5f0e6 !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  flex-direction: column;
  box-shadow:
    0 8px 22px rgba(8, 18, 36, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transform-origin: center center;
  animation: xiFixedCtaBreath 2.8s ease-in-out infinite;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

aside.desktop-float-cta .float-cta-item:nth-child(2),
aside.desktop-float-cta .float-cta-item:nth-child(3) {
  animation-delay: 0s;
}

aside.desktop-float-cta .float-cta-item:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(212, 175, 55, 0.6) !important;
}

aside.desktop-float-cta .float-cta-item--phone {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, transparent 48%),
    linear-gradient(180deg, #f6e7b8 0%, #e8c86a 100%) !important;
  border-color: rgba(255, 248, 220, 0.75) !important;
  color: #1a2740 !important;
}

aside.desktop-float-cta .float-cta-item--top {
  min-height: 70px !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, #243652 0%, #121f33 100%) !important;
  color: rgba(245, 240, 230, 0.92) !important;
}

aside.desktop-float-cta .float-cta-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e8c56a;
  font-size: 0;
  line-height: 0;
}

aside.desktop-float-cta .float-cta-item--phone .float-cta-icon {
  background: rgba(12, 26, 46, 0.12);
  color: #0c1a2e;
}

aside.desktop-float-cta .float-cta-item--top .float-cta-icon {
  color: #f0dfb0;
}

aside.desktop-float-cta .float-cta-icon svg {
  display: block;
}

/* ── Mobile bottom CTA (XI-BUKOSAN2) — ivory + gold, mobile only ── */
div.mobile-bottom-cta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  left: 12px !important;
  right: 12px !important;
  bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  gap: 0 !important;
  min-height: 62px !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
  border: 1.5px solid transparent !important;
  border-radius: 999px !important;
  background:
    linear-gradient(#f7f1e4, #f7f1e4) padding-box,
    linear-gradient(
      110deg,
      #c9a43a 0%,
      #f0df9a 18%,
      #fff8dc 32%,
      #e4c56a 48%,
      #b8922e 62%,
      #f0df9a 78%,
      #c9a43a 100%
    )
      border-box !important;
  background-size: auto, 220% 100%;
  box-shadow:
    0 12px 36px rgba(11, 26, 51, 0.22),
    0 4px 12px rgba(11, 26, 51, 0.12),
    0 0 0 1px rgba(255, 248, 220, 0.65) inset !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transform-origin: center bottom;
  animation:
    xiMobileDockBreath 3.2s ease-in-out infinite,
    xiGoldBorderSweep 2.8s linear infinite;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (min-width: 1024px) {
  div.mobile-bottom-cta {
    display: none !important;
  }
}

div.mobile-bottom-cta .mobile-cta-item {
  position: relative;
  z-index: 1;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 62px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0b1f36 !important;
  font-size: 22px !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  box-shadow: none !important;
  animation: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

div.mobile-bottom-cta .mobile-cta-item + .mobile-cta-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(180, 150, 70, 0.35);
}

div.mobile-bottom-cta .mobile-cta-accent,
div.mobile-bottom-cta .mobile-cta-accent:first-child {
  background: transparent !important;
  color: #0b1f36 !important;
}

div.mobile-bottom-cta .mobile-cta-item.js-phone-conversion {
  color: #8a6a1e !important;
}

div.mobile-bottom-cta .mobile-cta-top {
  background: transparent !important;
  color: #5a6578 !important;
  font-weight: 600;
}

div.mobile-bottom-cta .mobile-cta-item:active {
  animation-play-state: paused;
  background: rgba(11, 26, 51, 0.04) !important;
}

div.mobile-bottom-cta .mobile-cta-icon {
  display: grid;
  place-items: center;
  color: currentColor;
  opacity: 0.9;
  line-height: 0;
}

div.mobile-bottom-cta .mobile-cta-item.js-phone-conversion .mobile-cta-icon {
  color: #b8922e;
}

div.mobile-bottom-cta .mobile-cta-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

@keyframes xiFixedCtaBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 10px 26px rgba(8, 18, 36, 0.28),
      0 0 10px 0 rgba(255, 255, 255, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: scale(1.055);
    box-shadow:
      0 16px 36px rgba(8, 18, 36, 0.32),
      0 0 28px 6px rgba(255, 255, 255, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

@keyframes xiMobileDockBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes xiGoldBorderSweep {
  0% {
    background-position: auto, 0% 50%;
  }
  100% {
    background-position: auto, 200% 50%;
  }
}

@keyframes xiMobileCtaBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom) + 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-float-cta .float-cta-item,
  .mobile-bottom-cta .mobile-cta-item,
  div.mobile-bottom-cta {
    animation: none;
  }
}

/* ── Lead count bubble copy (XI-BUKOSAN2) ── */
.lead-count-bubble {
  z-index: 70 !important;
  max-width: min(100%, calc(100vw - 32px));
  width: max-content;
}

.lead-count-text {
  white-space: nowrap;
  font-size: clamp(0.78rem, 3.4vw, 0.9rem);
  letter-spacing: -0.02em;
}

.lead-count-pc-br {
  display: inline;
}

@media (min-width: 1024px) {
  .lead-count-bubble {
    max-width: 280px;
    width: auto;
  }

  .lead-count-text {
    white-space: normal;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .lead-count-pc-br {
    display: block;
  }
}

/* ── Highlight stats cards (above reservation) ── */
.highlight-stats {
  scroll-margin-top: var(--header-height);
  padding: clamp(56px, 6vw, 88px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 48px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 60%),
    linear-gradient(180deg, #f4f1eb 0%, #ebe6dc 100%);
}

.highlight-stats__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.highlight-stats__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .highlight-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .highlight-stats__card--leads {
    grid-column: 1 / -1;
  }
}

.highlight-stats__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 148px;
  padding: 22px 20px;
  border: 1px solid rgba(11, 26, 51, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
  box-shadow: 0 14px 34px rgba(11, 26, 51, 0.08);
}

.highlight-stats__label {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #5a6578;
}

.highlight-stats__value {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #0b1f36;
}

.highlight-stats__number {
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #0b1f36;
}

.highlight-stats__unit {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3d4a5c;
}

.highlight-stats__card--promo {
  gap: 12px;
}

.highlight-stats__promo-line {
  margin: 0;
  display: grid;
  gap: 4px;
}

.highlight-stats__promo-key {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #5a6578;
}

.highlight-stats__promo-change {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.highlight-stats__from {
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 600;
  color: #8a93a3;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.highlight-stats__arrow {
  font-size: 14px;
  font-weight: 700;
  color: #5a6578;
}

.highlight-stats__to {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.highlight-stats__card--promo .highlight-stats__number {
  font-size: clamp(28px, 3.4vw, 40px);
  color: #0b1f36;
}

.highlight-stats__card--promo .highlight-stats__unit {
  color: #3d4a5c;
}

.highlight-stats__card--leads {
  position: relative;
  align-items: center;
  text-align: center;
  min-height: 132px;
  border-color: rgba(212, 175, 55, 0.35);
  background:
    linear-gradient(165deg, rgba(255, 252, 240, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
  animation: highlightLeadsBreath 3.2s ease-in-out infinite;
}

.highlight-stats__card--leads::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    rgba(232, 197, 106, 0.35),
    transparent 70%
  );
  opacity: 0.45;
  animation: highlightLeadsGlow 3.2s ease-in-out infinite;
  z-index: -1;
}

.highlight-stats__card--leads .highlight-stats__label {
  color: #7a6a4a;
}

.highlight-stats__card--leads .highlight-stats__number {
  color: #9a7420;
}

.highlight-stats__card--leads .highlight-stats__unit {
  color: #9a7420;
}

@keyframes highlightLeadsBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 12px 28px rgba(154, 116, 32, 0.12),
      0 0 0 0 rgba(232, 197, 106, 0.2);
  }
  50% {
    transform: scale(1.018);
    box-shadow:
      0 20px 44px rgba(154, 116, 32, 0.22),
      0 0 28px 4px rgba(232, 197, 106, 0.28);
  }
}

@keyframes highlightLeadsGlow {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

.highlight-stats__scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 10px 16px 6px;
  color: #7a6a4a;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.highlight-stats__scroll-cue:hover {
  color: #9a7420;
}

.highlight-stats__scroll-cue-text {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.highlight-stats__scroll-cue-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -2px;
  line-height: 0;
}

.highlight-stats__scroll-cue-arrows svg {
  display: block;
  width: 32px;
  height: 32px;
  margin-top: -14px;
  opacity: 0.35;
  animation: highlightScrollArrow 1.5s ease-in-out infinite;
}

.highlight-stats__scroll-cue-arrows svg:last-child {
  animation-delay: 0.28s;
  opacity: 0.75;
}

@keyframes highlightScrollArrow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.25;
  }
  45% {
    transform: translateY(5px);
    opacity: 0.95;
  }
}

@media (max-width: 767px) {
  .highlight-stats {
    padding: 28px 14px 16px;
  }

  .highlight-stats__card {
    min-height: 0;
    padding: 18px 16px;
  }

  .highlight-stats__card--leads {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-stats__card--leads,
  .highlight-stats__card--leads::before,
  .highlight-stats__scroll-cue-arrows svg {
    animation: none;
  }

  .highlight-stats__card--leads {
    box-shadow:
      0 14px 34px rgba(154, 116, 32, 0.16),
      0 0 18px rgba(232, 197, 106, 0.18);
  }
}

/* Landing popup image → phone (mobile only) */
.landing-popup-phone {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  pointer-events: none;
  cursor: default;
}

.landing-popup-phone .landing-popup-img {
  display: block;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .landing-popup-phone {
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}
