/* =========================================================
   index.css — 메인(index) 페이지 섹션 스타일
   head 순서: token.css → header.css → index.css
   색·폰트·글자크기·여백은 모두 token.css의 var(--token) 사용.
   ========================================================= */

/* ============================================================
   #hero — 로딩 인트로 다음 첫 화면(메인 비주얼)
   스크롤 연동: 풀스크린 영상 → 스크롤 시 영상이 축소되며
   뒤의 배경 이미지가 드러남(대체). (JS가 진행도 계산해 transform)
   - .hero        : 스크롤 구간 확보용 높이(200vh)
   - .hero__sticky: 화면에 고정(sticky)되는 무대(100vh)
   - .hero__bg    : 뒤 배경 이미지
   - .hero__video-wrap : 앞 영상(축소 대상)
   ============================================================ */
.hero {
  position: relative;
  height: 200vh;                 /* 전환에 쓸 스크롤 길이 */
  background-color: var(--color-primary-900);
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  color: var(--color-neutral-0);
}

/* 뒤 배경 이미지 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(36, 25, 23, 0.28);
}

/* 앞 영상 (스크롤에 따라 가로 넓은 프레임으로 축소 → 뒤 배경 이미지 노출)
   clip-path로 잘라내므로 영상은 왜곡 없이 center-cover 유지 */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 0 0 0 round 0);
  will-change: clip-path;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__video-wrap::after {       /* 헤드라인 가독성용 오버레이 */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36, 25, 23, 0.25),
    rgba(36, 25, 23, 0.50)
  );
}

/* 헤드라인 (센터 한 줄 고정 — 스크롤해도 이동/페이드 없음) */
.hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-inline: var(--gutter);
}
.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: var(--fw-medium);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
  color: var(--color-neutral-0);
  text-shadow: 0 2px 24px rgba(36, 25, 23, 0.35);
}
.hero__title .line { display: block; }
.hero__title em   { font-style: italic; }

/* 스크롤 인디케이터 */
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-neutral-0);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-neutral-0), transparent);
  transform-origin: top;
  animation: heroScroll 1.8s var(--ease) infinite;
}
@keyframes heroScroll {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* --- 반응형 --- */
@media screen and (max-width: 820px) {
  .hero { height: 180vh; }
}

/* --- 모션 최소화: 전환 없이 영상 풀스크린 고정 --- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; }
  .hero__video-wrap { clip-path: inset(0 0 0 0 round 0) !important; }
  .hero__scroll-line { animation: none; opacity: 0.6; }
}

/* ============================================================
   #overview — 두 번째 섹션: 사업개요
   풀블리드 배경 이미지 + 중앙 로고 + 좌하단 개요(라벨/값).
   ============================================================ */
.overview {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--color-neutral-0);
  background-color: var(--color-primary-900);
  scroll-margin-top: 90px;
}

.overview__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.overview__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.overview__bg::after {                 /* 텍스트 가독성용 오버레이 (영상 위) */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36, 25, 23, 0.15),
    rgba(36, 25, 23, 0.45)
  );
}

/* 중앙 로고 */
.overview__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
}
.overview__logo {
  width: clamp(240px, 28vw, 400px);   /* 원본보단 작게, 절반보단 조금 크게 */
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 20px rgba(36, 25, 23, 0.35));
}

/* 좌하단 사업개요 패널 */
.overview__panel {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: clamp(var(--space-6), 6vw, var(--space-9));
}
.overview__inner {
  max-width: var(--container);
  margin-inline: 0;              /* 가운데 정렬 대신 좌측에 붙임 (원본과 동일) */
  padding-inline: var(--gutter);
}

.overview__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h4);
  letter-spacing: var(--ls-wide);
  color: var(--color-neutral-0);
}

.overview__specs {
  margin: 0;
  padding: var(--space-5) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.overview__row {                       /* 한 줄 = 여러 항목(원본: 2개 / 3개) */
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
}
.overview__spec {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}
.overview__spec dt {
  flex-shrink: 0;
  font-size: var(--fs-base);
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.7);
}
.overview__spec dd {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--color-neutral-0);
}

/* --- 반응형 --- */
@media screen and (max-width: 820px) {
  /* 로고: 작게 + 상단 배치 (세로 중앙 대신 위로) */
  .overview__center {
    align-items: flex-start;
    padding-top: clamp(96px, 16vh, 150px);   /* 고정 헤더 아래 */
    padding-bottom: 0;
  }
  .overview__logo {
    width: clamp(150px, 44vw, 230px);
  }

  /* 사업개요 */
  .overview__title {
    font-size: var(--fs-base);
  }
  .overview__row {
    gap: var(--space-5) var(--space-4);   /* 세로 간격 / 가로 간격 */
  }
  .overview__spec {
    flex: 0 0 calc(50% - var(--space-2));  /* 한 줄에 2개(50%씩) */
    flex-direction: column;                /* 라벨 위 · 값 아래 */
    align-items: flex-start;
    gap: var(--space-1);
  }
  .overview__spec dt {
    width: auto;
    font-size: var(--fs-xs);
  }
  .overview__spec dd {
    font-size: var(--fs-xs);
  }
}

/* ============================================================
   #myeongdang(.mm) — 세 번째 섹션: 명당 / 용산
   핀 고정 무대: 가운데 카피 고정 + 이미지들이 좌·우·하단에서
   스크롤에 따라 하나씩 등장(jakomosofa 방식).
   ============================================================ */
.mm {
  position: relative;
  height: 360vh;                 /* 이미지 4개 순차 등장용 스크롤 길이 */
  background-color: var(--color-primary-900);
  color: var(--color-neutral-0);
}
.mm__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* 1440 컨테이너 — 이미지/텍스트가 이 안에서만 배치됨(넓은 화면 가장자리 안 붙음) */
.mm__stage {
  position: relative;
  height: 100%;
  width: 96%;
  max-width: var(--container);
  margin-inline: auto;
}

/* --- 가운데 카피 (고정) --- */
.mm__center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: var(--gutter);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.mm__center.is-visible { opacity: 1; transform: none; }

.mm__title {
  margin: 0 0 var(--space-6);
  max-width: 22ch;
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  color: var(--color-neutral-0);
}
.mm__title em {
  font-style: normal;
  color: var(--color-primary-300);   /* 골드톤 강조 */
}
.mm__desc {
  max-width: 780px;
}
.mm__desc p {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.72);
}
.mm__desc p:last-child { margin-bottom: 0; }

/* --- 떠 있는 이미지 (스크롤 시 등장) --- */
.mm__float {
  position: absolute;
  z-index: 2;
  margin: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.mm__float.is-visible { opacity: 1; transform: none; }

/* 이미지 박스 — 가장자리를 그라데이션으로 페이드시켜 배경에 자연스럽게 녹임 */
.mm__float .mm__img + .mm__img { margin-top: var(--space-4); }  /* 스택된 이미지 간격 */
.mm__img {
  aspect-ratio: 2 / 3;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-primary-800);   /* 파일 없을 때 폴백 */
  /* 상하좌우 4면 페이드 (dark bg로 자연스럽게 블렌드) */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-composite: intersect;
}

/* 캡션 (이미지 아래 타이틀 + 문구) */
.mm__cap {
  margin-top: var(--space-3);
  text-align: center;
}
.mm__era {
  margin: 0 0 var(--space-1);
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h4);
  color: var(--color-neutral-0);
}
.mm__era span {
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-neutral-400);
}
.mm__phrase {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  color: var(--color-primary-300);   /* 골드톤 */
}

/* 떠 있는 위치 (jakomosofa식 비대칭 배치) */
.mm__float--past    { left: 5%;  top: 13%;    width: clamp(160px, 16vw, 220px); }
.mm__float--present { right: 6%; top: 20%;    width: clamp(150px, 15vw, 205px); }
.mm__float--future  { right: 16%; bottom: 6%; width: clamp(170px, 17vw, 235px); }

/* --- 반응형: 핀 해제 → 가운데 텍스트 + 하단 2열 그리드 (캡처 스타일) --- */
@media screen and (max-width: 820px) {
  .mm { height: auto; }
  .mm__sticky {
    position: static;
    height: auto;
    padding-block: var(--section-py);
  }
  .mm__stage { height: auto; }
  .mm__center {
    position: static;
    padding-inline: 0;
    margin-bottom: var(--space-8);
    transform: translateY(20px);   /* IO로 등장 */
  }
  .mm__title { font-size: var(--fs-h3); }
  .mm__desc p { font-size: var(--fs-sm); }

  /* 이미지: 2열 그리드 — 과거(좌, 2행 차지) / 현재·미래(우 위·아래) */
  .mm__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-4);
    align-items: start;
  }
  .mm__float--past { grid-row: span 2; }
  .mm__float {
    position: static;
    width: auto;
    transform: translateY(30px);
  }
  .mm__float.is-visible { transform: none; }
  .mm__img {
    aspect-ratio: 4 / 3;                 /* 모바일은 가로형 카드 */
    -webkit-mask-image: none;            /* 그리드에선 페이드 제거(깔끔한 카드) */
            mask-image: none;
  }
  .mm__cap { margin-top: var(--space-2); }
  .mm__era { font-size: var(--fs-base); }
  .mm__phrase { font-size: var(--fs-sm); }
}

/* ============================================================
   #space(.space) — 네 번째 섹션: 프리미엄 공간
   thegardenclinic section-main6 구조 이식 · 색/톤은 우리 토큰(다크)
   ============================================================ */
.space {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--color-primary-900);
  color: var(--color-neutral-0);
  padding-top: clamp(5rem, 12vw, 9.375rem);
  padding-bottom: var(--section-py-sm);
}
.space .text-center { text-align: center; }
.space .d-block { display: block; }
@media (min-width: 992px) { .space .d-lg-none { display: none; } }

/* 좌우 프레임 라인 (1440 컨테이너 경계) */
.space .frame-lines { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.space .frame-lines .line {
  position: absolute; top: 0; width: 1px; height: 100%;
  background: rgba(255, 255, 255, 0.14);
}
.space .frame-lines .line--left  { left: calc((100% - var(--container)) / 2); }
.space .frame-lines .line--right { right: calc((100% - var(--container)) / 2); }

/* 배경(깊이감용 은은한 그라데이션) */
.space .bg-bx {
  position: absolute; inset: 0; z-index: 0;
  background: var(--color-neutral-700);
  /* 상단 아치(돔)형 — 크게 둥글게 */
  border-radius: 50% 50% 0 0 / clamp(220px, 30vw, 560px) clamp(220px, 30vw, 560px) 0 0;
}

.space .container {
  position: relative; z-index: 1;
  width: 90%; max-width: 1340px; margin-inline: auto;
}

/* 타이틀 영역 */
.space .tit-wrap { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.space .space__wordmark {
  font-family: var(--font-sans); font-weight: var(--fw-regular);
  font-size: var(--fs-h4); letter-spacing: var(--ls-wider);
  color: var(--color-neutral-0);
}
.space .tit-wrap > .line { width: 1px; height: 100px; background: rgba(255, 255, 255, 0.5); }
.space .cate {
  margin: 0 0 var(--space-4);
  font-family: var(--font-serif); font-size: var(--fs-lg);
  letter-spacing: var(--ls-wide); color: var(--color-primary-300);
}
.space .tit {
  margin: 0; color: var(--color-neutral-0);
  font-family: var(--font-sans); font-weight: var(--fw-bold);
  font-size: var(--fs-h2); line-height: 1.35; letter-spacing: -0.02em;
}

/* 설명 */
.space .txt-desc { padding-block: 40px 70px; display: flex; justify-content: flex-end; }
.space .txt-desc .dec {
  width: fit-content; color: var(--color-neutral-0);
  font-size: var(--fs-lg); font-weight: var(--fw-regular);
  line-height: 1.6; letter-spacing: -0.02em;
}

/* 특징 리스트(알약형 카드) */
.space .space-list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.space .space-list > li {
  padding: 30px 40px; display: flex; align-items: center; gap: 20px;
  border-radius: 999px; border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.space .space-list > li .tit { display: flex; align-items: center; gap: 20px; }
.space .space-list > li .tit .icon {
  flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.space .space-list > li .tit .icon svg { width: 32px; height: 32px; }
.space .space-list > li .tit h4 {
  width: 240px; margin: 0; color: var(--color-text);
  font-family: 'Pretendard', var(--font-sans);
  font-size: var(--fs-h5); font-weight: var(--fw-medium);
  line-height: 1.3; letter-spacing: -0.02em;
}
.space .space-list > li .txt-bx p {
  margin: 0; color: var(--color-body-muted);
  font-size: var(--fs-lg); font-weight: var(--fw-medium);
  line-height: 1.3; letter-spacing: -0.02em;
}

/* 갤러리 (커버플로우) */
.space .gallery-wrap { position: relative; z-index: 5; width: 100%; padding-block: 6.75rem 0; overflow: hidden; }
.space .gallery-stage { position: relative; width: 100%; touch-action: pan-y; cursor: grab; }
.space .gallery-stage.is-dragging { cursor: grabbing; }
.space .gallery-track { position: relative; width: 100%; }
.space .gallery-item {
  position: absolute; top: 0; left: 0; padding: 0; border: none;
  background: none; cursor: pointer; overflow: hidden; border-radius: var(--radius);
}
.space .gallery-item.is-center { cursor: default; }
.space .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.space .gallery-progress { display: none; }
.space .gallery-progress .gallery-progress-track {
  position: relative; width: 12.9375rem; height: 0.1875rem; background: var(--color-neutral-700);
}
.space .gallery-progress .gallery-progress-fill {
  position: absolute; top: 0; left: 0; width: 32.37%; height: 100%; background: var(--color-primary-300);
}

/* --- 태블릿 --- */
@media screen and (max-width: 1024px) {
  .space .space-list > li { padding: 25px 35px; gap: 14px; }
  .space .space-list > li .tit h4 { font-size: var(--fs-base); }
  .space .space-list > li .txt-bx p { font-size: var(--fs-base); }
}

/* --- 모바일(≤768: 갤러리 JS isMobile 기준) --- */
@media screen and (max-width: 768px) {
  .space .frame-lines .line--left  { left: 16px; }
  .space .frame-lines .line--right { right: 16px; }
  .space .tit-wrap { gap: 20px; }
  .space .tit-wrap > .line { height: 50px; }
  .space .txt-desc { justify-content: flex-start; padding-left: 20px; padding-block: 36px 31px; }
  .space .txt-desc .dec { font-size: var(--fs-sm); }

  .space .space-list > li {
    padding: 20px; gap: 10px; flex-direction: column; justify-content: center; border-radius: 20px;
  }
  .space .space-list > li .tit { flex-direction: column; justify-content: center; }
  .space .space-list > li .tit h4 { width: 100%; text-align: center; }
  .space .space-list > li .txt-bx p { font-size: var(--fs-sm); text-align: center; }

  .space .gallery-wrap { display: flex; flex-direction: column; align-items: center; padding-block: 34px 0; }
  .space .gallery-progress { display: flex; justify-content: center; margin-top: 0.75rem; }
}

/* ============================================================
   #brand(.section-main4) — 다섯 번째 섹션: 프로필
   thegardenclinic section-main4 구조 이식 · 폰트/컬러는 우리 토큰
   ============================================================ */
.section-main4 { z-index: 1; position: relative; width: 100%; color: var(--color-neutral-0); }
.section-main4 .main4-pin { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.section-main4 .bg-bx {
  grid-row: 1; grid-column: 1; position: sticky; top: 0; z-index: 0;
  width: 100%; height: 100vh; align-self: start; pointer-events: none;
  /* 은은한 웜 다크 텍스처 + 가독성용 오버레이 (흰 글씨) */
  background:
    linear-gradient(rgba(28, 20, 12, 0.46), rgba(28, 20, 12, 0.64)),
    url('../image/section_asset/sc05_bg.jpg') center / cover no-repeat,
    var(--color-primary-900);
}
.section-main4 .main4-body { grid-row: 1; grid-column: 1; position: relative; z-index: 1; padding-block: 200px 180px; }

/* 표시 유틸 */
.section-main4 .d-none { display: none; }
.section-main4 .d-block { display: block; }
@media (min-width: 992px) {
  .section-main4 .d-lg-block { display: block; }
  .section-main4 .d-lg-none { display: none; }
}

/* 좌우 프레임 라인 */
.section-main4 .frame-lines { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.section-main4 .frame-lines .line { position: absolute; top: 0; width: 1px; height: 100%; background: rgba(255,255,255,0.14); }
.section-main4 .frame-lines .line--left { left: calc((100% - var(--container)) / 2); }
.section-main4 .frame-lines .line--right { right: calc((100% - var(--container)) / 2); }

.section-main4 .container { width: 100%; max-width: var(--container); margin-inline: auto; }

.section-main4 .stick-colbx2 {
  padding-inline: 88px 112px; display: flex; justify-content: space-between; align-items: stretch;
}
.section-main4 .stick-colbx2 .left-bx { width: 482px; flex-shrink: 0; align-self: stretch; }
.section-main4 .stick-colbx2 .left-bx .profile-bx {
  position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.section-main4 .stick-colbx2 .left-bx .profile-bx .txt-bx {
  margin-top: -37px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px;
}
.section-main4 .stick-colbx2 .left-bx .profile-bx .txt-bx .optima {
  font-family: var(--font-serif); color: var(--color-neutral-50); text-align: center;
  font-size: 30px; font-weight: var(--fw-regular); line-height: normal;
}
.section-main4 .stick-colbx2 .left-bx .profile-bx .txt-bx .name {
  font-family: var(--font-sans); color: var(--color-neutral-0); text-align: center;
  font-size: 15px; font-weight: var(--fw-medium); line-height: 1.3; letter-spacing: -0.03em; margin: 0;
}

.section-main4 .stick-colbx2 .right-bx { width: calc(100% - 482px - 210px); }
.section-main4 .stick-colbx2 .right-bx .txt-bx { width: 100%; }
.section-main4 .stick-colbx2 .right-bx .txt-bx.right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }

/* 프로필 이미지 (스크롤 진입 시 두 번째 이미지가 아래로 이동) */
.section-main4 .profile-bx .img-bx { position: relative; }
.section-main4 .profile-bx .img-bx img { display: block; width: 100%; height: auto; }
.section-main4 .profile-bx .img-bx .move { position: absolute; top: 0; left: 0; transition: transform 0.8s ease; will-change: transform; }
.section-main4 .profile-bx .img-bx.is-active .move { transform: translateY(40px); }

/* 타이틀 */
.section-main4 .main-title-bx .cate {
  font-family: var(--font-serif); font-size: var(--fs-lg); color: var(--color-primary-300);
  letter-spacing: var(--ls-wide); margin: 0 0 var(--space-3);
}
.section-main4 .main-title-bx .tit {
  font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: var(--fs-h2);
  line-height: var(--lh-heading); color: var(--color-neutral-0); margin: 0;
}

/* 본문/인용/리스트 */
.section-main4 .main4-desc {
  font-family: var(--font-sans); color: var(--color-neutral-0);
  font-size: 1.375rem; font-weight: var(--fw-regular); line-height: 1.6; letter-spacing: -0.02em; margin: 0;
}
.section-main4 .main4-desc.desc26 { font-size: 1.625rem; }
.section-main4 .main4-desc.lh20 { line-height: 2; }
.section-main4 .myeongjo {
  font-family: var(--font-serif); color: var(--color-neutral-0); text-align: right;
  font-size: 1.375rem; font-weight: var(--fw-regular); line-height: 1.8; letter-spacing: -0.03em; margin: 0;
}
.section-main4 .icon-bx { color: var(--color-primary-300); }
.section-main4 .icon-bx svg { width: 48px; height: 32px; }
.section-main4 .dot-list { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.section-main4 .dot-list li {
  display: flex; align-items: flex-start; gap: 5px; color: var(--color-neutral-0);
  font-family: var(--font-sans); font-size: 1.25rem; font-weight: var(--fw-regular); line-height: 1.5; letter-spacing: -0.03em;
}
.section-main4 .dot-list li::before { content: "·"; display: block; }

/* margin 유틸 — 블록 간격 넓혀 섹션을 길게(스크롤 확보) */
.section-main4 .mt-5 { margin-top: 24px; }
.section-main4 .mt-18 { margin-top: 48px; }
.section-main4 .mt-20 { margin-top: 72px; }
.section-main4 .mt-12 { margin-top: 44px; }
.section-main4 .mt-10 { margin-top: 44px; }
@media (min-width: 992px) {
  .section-main4 .mt-18 { margin-top: 64px; }
  .section-main4 .mt-20 { margin-top: 120px; }
  .section-main4 .mt-lg-30 { margin-top: 140px; }
  .section-main4 .mt-lg-22 { margin-top: 110px; }
}

/* --- 태블릿 --- */
@media screen and (max-width: 1200px) {
  .section-main4 .stick-colbx2 { padding-inline: 40px 80px; }
  .section-main4 .stick-colbx2 .left-bx { width: 380px; }
  .section-main4 .stick-colbx2 .right-bx { width: calc(100% - 380px - 100px); }
}

/* --- 모바일(≤992: lg 미만) --- */
@media screen and (max-width: 991px) {
  .section-main4 .main4-body { padding-block: 80px; }
  .section-main4 .frame-lines .line--left { left: 16px; }
  .section-main4 .frame-lines .line--right { right: 16px; }
  .section-main4 .stick-colbx2 { padding-inline: 20px; flex-direction: column; gap: 0; }
  .section-main4 .stick-colbx2 .left-bx { display: none; }
  .section-main4 .stick-colbx2 .right-bx { width: 100%; }

  /* 타이틀·설명·인용: 모바일 센터 정렬 */
  .section-main4 .stick-colbx2 .right-bx .txt-bx { text-align: center; }
  .section-main4 .stick-colbx2 .right-bx .txt-bx.right { align-items: center; }
  .section-main4 .myeongjo { text-align: center; }
  .section-main4 .dot-list { align-items: center; }
  .section-main4 .dot-list li { justify-content: center; }

  /* 프로필: 위 설명과 간격 확보 + 이미지 아래로 텍스트 깔끔히(겹침 제거) */
  .section-main4 .stick-colbx2 .right-bx .d-block.d-lg-none { margin-top: 56px; }
  .section-main4 .stick-colbx2 .right-bx .profile-bx { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-inline: 0; }
  .section-main4 .stick-colbx2 .right-bx .profile-bx .txt-bx { margin-top: 16px; align-items: center; gap: 5px; }
  .section-main4 .stick-colbx2 .right-bx .profile-bx .txt-bx .optima { font-family: var(--font-serif); color: var(--color-neutral-50); text-align: center; font-size: 20px; font-weight: var(--fw-regular); }

  .section-main4 .main-title-bx .tit { font-size: var(--fs-h3); }
  .section-main4 .main4-desc { font-size: 14px; letter-spacing: -0.04em; }
  .section-main4 .main4-desc.desc26 { font-size: 16px; }
  .section-main4 .main4-desc.lh20 { line-height: 1.6; }
  .section-main4 .myeongjo { font-size: 18px; letter-spacing: -0.03em; }
  .section-main4 .dot-list { gap: 3px; }
  .section-main4 .dot-list li { font-size: 14px; letter-spacing: -0.03em; }
}

/* ============================================================
   #lineup(.lineup) — 여섯 번째 섹션: 복합시설 라인업
   (thekosmos .main_villatype 이식 · 색/폰트/여백 전부 토큰화)
   PC   : 확장형 flex 패널(기본 1번 열림, hover 시 해당 패널 확장) — 순수 CSS
   모바일: 동일 마크업을 가로 스냅 캐러셀로 전환 + 진행바(JS)
   ============================================================ */
.lineup {
  background: var(--color-neutral-900);
  padding-block: var(--section-py);
  overflow: hidden;
}
.lineup__logo {
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter) var(--space-8);
}
.lineup__logo img {
  width: clamp(180px, 22vw, 320px);
  height: auto;
}

/* --- 패널 컨테이너 --- */
.lineup__panels {
  display: flex;
  gap: var(--space-1);
  height: min(52vw, 760px);
  padding-inline: var(--gutter);
}
.lineup__panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  color: var(--color-neutral-0);
  cursor: pointer;
  transition: flex 1s var(--ease);
}
.lineup__dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 25, 23, 0.25) 0%, rgba(36, 25, 23, 0.65) 100%);
  transition: background 1s var(--ease);
}

/* 접힘: 세로 라벨 */
.lineup__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  transition: opacity 0.6s var(--ease);
}

/* 펼침: 콘텐츠 */
.lineup__content {
  position: absolute;
  left: 50%;
  bottom: var(--space-7);
  transform: translateX(-50%);
  width: min(78%, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.lineup__num {
  font-family: var(--font-serif);
  font-size: var(--fs-h5);
  letter-spacing: var(--ls-wide);
  opacity: 0.8;
}
.lineup__name {
  margin: var(--space-3) 0 0;
  color: var(--color-neutral-0);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  line-height: var(--lh-heading);
}
.lineup__rule {
  width: 40px;
  height: 1px;
  margin: var(--space-4) 0;
  background: var(--color-neutral-0);
  opacity: 0.6;
}
.lineup__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--color-neutral-100);
}

/* 열림 로직(순수 CSS): 기본 첫 패널 열림 → hover 시 해당 패널 열림 */
.lineup__panels:not(:hover) .lineup__panel:first-child,
.lineup__panel:hover {
  flex: 3;
}
.lineup__panels:not(:hover) .lineup__panel:first-child .lineup__content,
.lineup__panel:hover .lineup__content {
  opacity: 1;
  pointer-events: auto;
}
.lineup__panels:not(:hover) .lineup__panel:first-child .lineup__label,
.lineup__panel:hover .lineup__label {
  opacity: 0;
}
.lineup__panels:not(:hover) .lineup__panel:first-child .lineup__dim,
.lineup__panel:hover .lineup__dim {
  background: linear-gradient(180deg, rgba(36, 25, 23, 0.12) 0%, rgba(36, 25, 23, 0.55) 100%);
}

/* 진행바(모바일 전용) — 기본 숨김 */
.lineup__bar { display: none; }

/* --- 모바일: 가로 스냅 캐러셀 --- */
@media (max-width: 768px) {
  .lineup__logo {
    padding-bottom: var(--space-7);
  }
  .lineup__logo img {
    width: clamp(160px, 52vw, 240px);
  }
  .lineup__panels {
    height: auto;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lineup__panels::-webkit-scrollbar { display: none; }

  /* hover 확장 로직 무력화 */
  .lineup__panels:not(:hover) .lineup__panel:first-child,
  .lineup__panel:hover {
    flex: 0 0 82%;
  }
  .lineup__panel {
    flex: 0 0 82%;
    height: 120vw;
    max-height: 560px;
    scroll-snap-align: center;
    cursor: default;
  }

  /* 세로 라벨 숨김 · 콘텐츠 항상 표시 */
  .lineup__label { display: none; }
  .lineup__content {
    opacity: 1;
    pointer-events: auto;
    width: min(84%, 320px);
    bottom: var(--space-6);
  }
  .lineup__panels:not(:hover) .lineup__panel:first-child .lineup__dim,
  .lineup__panel .lineup__dim {
    background: linear-gradient(180deg, rgba(36, 25, 23, 0.2) 0%, rgba(36, 25, 23, 0.62) 100%);
  }
  .lineup__name { font-size: var(--fs-h4); }

  .lineup__bar {
    display: block;
    height: 2px;
    margin: var(--space-6) var(--gutter) 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    overflow: hidden;
  }
  .lineup__bar-fill {
    display: block;
    height: 100%;
    width: 14%;
    background: var(--color-neutral-0);
    border-radius: var(--radius-full);
    transform: translateX(0);
    transition: transform 0.2s ease;
  }
}

/* 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .lineup__panel,
  .lineup__dim,
  .lineup__label,
  .lineup__content,
  .lineup__bar-fill { transition: none; }
}

/* ============================================================
   #heritage(.heritage) — 일곱 번째 섹션: 헤리티지
   (orsia .section06.heritage 이식 · 색/폰트/여백 전부 토큰화)
   다크 배경 + 텍스트 + 원형 프로필 3장(1+2)을 SVG 라인으로 연결.
   스크롤 진입 시(.active) 선이 그려지고 사진이 순차 페이드인.
   배경: theparksideseoul etc-main-create2.jpg → sc07_bg.jpg
   ============================================================ */
.heritage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-block: var(--section-py);
  color: var(--color-neutral-0);
  background: url('../image/section_asset/sc07_bg.jpg') no-repeat center/cover;
  overflow: hidden;
}
/* 흰 텍스트 가독용 다크 오버레이 */
.heritage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 25, 23, 0.74) 0%, rgba(36, 25, 23, 0.4) 55%, rgba(36, 25, 23, 0.2) 100%);
  z-index: 0;
}
.heritage__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 96%;
  max-width: var(--container);
  margin-inline: auto;
}

/* --- 텍스트 --- */
.heritage__txt { flex: 0 0 min(46%, 560px); }
.heritage__h2 {
  margin: 0 0 var(--space-7);
  color: var(--color-neutral-0);
  opacity: 0.55;
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-heading);
}
.heritage__year {
  margin: 0 0 var(--space-4);
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-wide);
}
.heritage__desc {
  margin: 0 0 var(--space-5);
  max-width: 44ch;
  opacity: 0.55;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
}
.heritage__desc2 {
  margin: 0 0 var(--space-6);
  max-width: min(90%, 800px);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}
.heritage__more {
  display: inline-block;
  min-width: 227px;
  padding: 0 var(--space-5);
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: var(--color-neutral-0);
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 1px solid var(--color-neutral-0);
  border-radius: var(--radius);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.heritage__more:hover {
  background-color: var(--color-neutral-0);
  color: var(--color-text);
  border-color: var(--color-neutral-0);
}

/* --- 원형 사진 + 연결선 --- */
.heritage__imgs {
  position: relative;
  flex: 1;
  align-self: stretch;
  min-height: min(72vh, 620px);
}
.heritage__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.heritage__line {
  fill: none;
  stroke: var(--color-neutral-0);
  stroke-opacity: 0.5;
  stroke-width: 1;
}
/* 로고 타일: 원형 대신 라운드 사각 + 밝은 반투명 면으로 브랜드 로고가 잘 보이게.
   (로고는 잘리지 않도록 object-fit: contain + 여백) */
.heritage__logo {
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 0;
  width: clamp(104px, 12.5vw, 158px);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.heritage__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.heritage__logo--1 { left: 26%; top: 16%; }
.heritage__logo--2 { left: 72%; top: 30%; }
.heritage__logo--3 { left: 28%; top: 50%; }
.heritage__logo--4 { left: 74%; top: 62%; }
.heritage__logo--5 { left: 30%; top: 84%; }
.heritage__logo--6 { left: 74%; top: 90%; }

/* --- 스크롤 진입 애니메이션 (.active 는 JS가 부여) --- */
.heritage.active .heritage__line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: heritageDraw 0.9s var(--ease) forwards;
}
.heritage.active .heritage__line:nth-of-type(1) { animation-delay: 0.2s; }
.heritage.active .heritage__line:nth-of-type(2) { animation-delay: 0.9s; }
.heritage.active .heritage__line:nth-of-type(3) { animation-delay: 1.6s; }
.heritage.active .heritage__line:nth-of-type(4) { animation-delay: 2.3s; }
.heritage.active .heritage__line:nth-of-type(5) { animation-delay: 3s; }

.heritage.active .heritage__logo {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 20px));
  animation: heritageLogoIn 0.7s var(--ease) forwards;
}
.heritage.active .heritage__logo--1 { animation-delay: 0.4s; }
.heritage.active .heritage__logo--2 { animation-delay: 0.9s; }
.heritage.active .heritage__logo--3 { animation-delay: 1.4s; }
.heritage.active .heritage__logo--4 { animation-delay: 1.9s; }
.heritage.active .heritage__logo--5 { animation-delay: 2.4s; }
.heritage.active .heritage__logo--6 { animation-delay: 2.9s; }

@keyframes heritageDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes heritageLogoIn {
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* --- 모바일: 세로 스택 + 로고 타일 3x2 그리드 (연결선 숨김) --- */
@media (max-width: 820px) {
  .heritage {
    min-height: 0;
    background-position: center;
  }
  .heritage::before {
    background: linear-gradient(180deg, rgba(36, 25, 23, 0.55) 0%, rgba(36, 25, 23, 0.78) 100%);
  }
  .heritage__inner {
    flex-direction: column;
    gap: var(--space-7);
    text-align: center;
  }
  .heritage__txt { flex: none; width: 100%; }
  .heritage__desc,
  .heritage__desc2 { margin-inline: auto; }
  .heritage__imgs {
    width: 100%;
    min-height: 0;
    max-width: 360px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
  }
  .heritage__lines { display: none; }
  .heritage__logo {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: min(28%, 130px);
  }
  /* 모바일에선 등장 애니메이션의 translate 값도 정적 위치 기준으로 */
  .heritage.active .heritage__logo {
    transform: translateY(20px);
    animation-name: heritageLogoInMobile;
  }
}
@keyframes heritageLogoInMobile {
  to { opacity: 1; transform: translateY(0); }
}

/* 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .heritage.active .heritage__line,
  .heritage.active .heritage__logo {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%);
    stroke-dashoffset: 0;
  }
  .heritage__more { transition: none; }
}

/* ============================================================
   #showcase(.pshow) — 여덟 번째 섹션: 쇼케이스 슬라이드 + 오시는 길
   (kakkai .tour_wrap 슬라이드 + lotte .chain-ma-location 이식 · 전부 토큰화)
   슬라이드: Swiper 대신 네이티브 scroll-snap + JS(가운데 슬라이드 강조).
   ============================================================ */
.pshow {
  background: var(--color-neutral-0);
  color: var(--color-text);
  padding-block: var(--section-py);
  overflow: hidden;
}
.pshow__head {
  max-width: 900px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.pshow__eyebrow {
  margin: 0 0 var(--space-5);
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text);
}
.pshow__title {
  margin: 0 0 var(--space-6);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
}
.pshow__sub {
  margin: 0;
  color: var(--color-body-muted);
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  line-height: var(--lh-base);
}
/* 슬라이드 아래 컨트롤 행 (prev/next + designed by) */
.pshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
  margin-top: var(--space-7);
}
.pshow__nav-group { display: flex; gap: var(--space-3); }
.pshow__nav {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-fast);
}
.pshow__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  transition: border-color var(--transition-fast);
}
.pshow__prev::before { transform: translate(-30%, -50%) rotate(135deg); }
.pshow__next::before { transform: translate(-70%, -50%) rotate(-45deg); }
.pshow__nav:hover { background: var(--color-text); }
.pshow__nav:hover::before { border-color: var(--color-neutral-0); }
/* design by (기업 로고) — 로고가 다크라 화이트 배경에 그대로 노출 */
.pshow__designby {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}
.pshow__designby span {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  font-style: italic;
  color: var(--color-primary);
}
.pshow__designby img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* --- 슬라이드 (가운데 강조 캐러셀) --- */
.pshow__viewport { width: 100%; }
.pshow__track {
  display: flex;
  gap: var(--space-5);
  margin: 0;
  padding: var(--space-4) 0;
  padding-inline: max(var(--gutter), calc((100% - min(1040px, 88vw)) / 2));
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pshow__track::-webkit-scrollbar { display: none; }
.pshow__slide {
  flex: 0 0 min(1040px, 88vw);
  scroll-snap-align: center;
  transform: scale(0.9);
  opacity: 0.45;
  transition: transform var(--transition), opacity var(--transition);
}
.pshow__slide.is-active { transform: scale(1); opacity: 1; }
.pshow__img {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pshow__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- 오시는 길 (chain-ma-location) --- */
.chain-ma-location-lottehotels {
  margin-top: var(--space-9);
}
.chain-ma-inner {
  width: 90%;
  max-width: var(--container);
  margin-inline: auto;
}
/* 50:50 — 좌: 진한 메인컬러 + 흰 타이포 / 우: 흰 배경 + 지도(여백 두고 축소) */
.chain-ma-cont {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.location-col {
  box-sizing: border-box;
  min-width: 0;
}
.location-col.location-info {
  flex: 1 1 50%;
  background: var(--color-primary-900);
  color: var(--color-neutral-0);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.chain-ma-tit-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}
.chain-ma-tit01 {
  margin: 0;
  color: var(--color-neutral-0);
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
}
.chain-ma-sub-tit08 {
  color: var(--color-neutral-300);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  letter-spacing: var(--ls-wide);
}
.map-tit {
  margin-bottom: var(--space-5);
  color: var(--color-neutral-0);
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
}
.map-info-list { margin: 0; }
.map-info-item {
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-base);
}
.map-info-item .item-tit {
  flex: 0 0 96px;
  margin: 0;
  color: var(--color-neutral-400);
  font-family: var(--font-sans);
  letter-spacing: var(--ls-wide);
}
.map-info-item .item-txt {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-neutral-0);
  line-height: var(--lh-base);
}
.map-info-item .btn-mo-tel {
  padding: 2px var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--color-neutral-0);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.map-info-item .btn-mo-tel:hover { background: var(--color-neutral-0); color: var(--color-text); }
.location-col.location-map {
  flex: 1 1 50%;
  background: var(--color-neutral-0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  border: 1px solid var(--color-primary-900);
  border-left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.location-map .map {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 이미지로 꽉 채우지 않고 하얀 배경에 여백을 둠 */
.location-map .map img {
  width: 86%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* --- 반응형 --- */
@media (max-width: 900px) {
  .pshow__controls { flex-direction: column; gap: var(--space-5); }
  .chain-ma-cont { flex-direction: column; }
  .location-col.location-info,
  .location-col.location-map { flex: none; width: 100%; }
  /* 세로 스택: 위(정보)는 상단만, 아래(지도)는 하단만 둥글게 */
  .location-col.location-info { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .location-col.location-map {
    border-left: 1px solid var(--color-primary-900);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .location-map .map img { max-width: 360px; }
}
@media (max-width: 768px) {
  .pshow__slide { flex-basis: 88vw; }
  /* 정보 행: 라벨 위 · 값 아래로 쌓아 좁은 폭에서 버튼 잘림 방지 */
  .map-info-item { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .map-info-item .item-tit { flex: none; }
  .map-info-item .item-txt { flex-wrap: wrap; }
  .map-info-item .btn-mo-tel { flex-shrink: 0; }
}
.map-info-item .btn-mo-tel { white-space: nowrap; }

/* 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .pshow__slide { transition: none; }
  .pshow__nav, .map-info-item .btn-mo-tel { transition: none; }
}
