/* ==========================================================================
   코르디아 분양 홍보 사이트 — 공통 스타일
   - 사용법·부품 예시는 FRONTEND.md
   - 기준점: PC ≥1024px / 태블릿 768~1023px / 모바일 ≤767px
   - 색은 아래 변수만 바꾸면 전체가 바뀝니다. site.json "theme" 값이 base.html 에서 덮어씁니다.
   ========================================================================== */

:root {
  --primary: #1c1c1c;        /* 차콜: 상단 띠, 버튼, 표 머리선 */
  --accent: #b08d57;         /* 샴페인 골드: 강조선, 포인트 */
  --accent-ink: #8a6a3b;     /* 골드 글자(흰 배경에서 읽히는 진한 골드) */
  --on-primary: #ffffff;
  --on-accent: #1c1c1c;
  --bg: #faf8f4;             /* 웜 화이트 */
  --surface: #ffffff;
  --surface-2: #f2eee7;      /* 연한 베이지(폼 섹션, 탭 비활성) */
  --surface-3: #e7e1d7;      /* 이미지 자리 */
  --text: #2a2826;
  --text-2: #5c5750;
  --text-3: #8c867d;
  --line: #e3ddd3;
  --line-2: #cfc7ba;
  --danger: #b3261e;
  --success: #2f6b3a;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --topbar-h: 44px;
  --header-h: 84px;
  --header-h-m: 56px;
  --bar-h: 56px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --shadow: 0 6px 24px rgba(28, 28, 28, .08);
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root { --accent-ink: color-mix(in srgb, var(--accent) 74%, #000); }
}

/* --------------------------------------------------------------------------
   리셋 · 기본
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (max-width: 1023px) { html { scroll-padding-top: calc(var(--header-h-m) + 12px); } }
body {
  margin: 0; min-width: 320px; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.7; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
html.is-locked, html.is-locked body { overflow: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 3000; padding: 10px 16px;
  background: var(--primary); color: var(--on-primary); font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6;
        stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* 화면별 표시 */
@media (max-width: 1023px) { .only-pc { display: none !important; } }
@media (min-width: 1024px) { .only-m { display: none !important; } }
.br-pc { display: none; }
@media (min-width: 1024px) { .br-pc { display: inline; } }

/* --------------------------------------------------------------------------
   레이아웃: 컨테이너 · 섹션 · 그리드
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: calc(1600px + var(--gutter) * 2); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.container--full { max-width: none; padding: 0; }
@media (max-width: 767px) { :root { --gutter: 16px; } }

.section { padding: 120px 0; }
.section--sm { padding: 72px 0; }
.section--flush { padding: 0; }
.section--tint { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--dark { background: var(--primary); color: var(--on-primary); }
.section + .section--same { padding-top: 0; }
@media (max-width: 1023px) { .section { padding: 80px 0; } .section--sm { padding: 48px 0; } }
@media (max-width: 767px) { .section { padding: 56px 0; } .section--sm { padding: 40px 0; } }

.stack > * + * { margin-top: var(--stack, 24px); }
.mt-0 { margin-top: 0 !important; } .mt-s { margin-top: 16px !important; } .mt-m { margin-top: 32px !important; } .mt-l { margin-top: 64px !important; }
.center { text-align: center; }
.narrow { max-width: 1000px; margin-left: auto; margin-right: auto; }
.narrow--sm { max-width: 760px; }

.grid { display: grid; gap: var(--gap, 24px); grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; }
.grid--tight { --gap: 8px; }
@media (max-width: 1023px) { .grid--3, .grid--4 { --cols: 2; } }
@media (max-width: 767px) { .grid--2, .grid--3 { --cols: 1; } .grid--4 { --cols: 2; --gap: 12px; } .grid--tight { --gap: 6px; } }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse > :first-child { order: 0; }
}

/* --------------------------------------------------------------------------
   상단 전화 띠 (PC)
   -------------------------------------------------------------------------- */
.topbar { background: var(--primary); color: var(--on-primary); font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 20px; height: var(--topbar-h); }
.topbar__text { color: rgba(255, 255, 255, .72); }
.topbar__text:hover { color: #fff; }
.topbar__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .25); }
.topbar__tel { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tel .icon { font-size: 16px; color: var(--accent); }
.topbar__label { color: rgba(255, 255, 255, .72); }
.topbar__num { font-size: 17px; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 1023px) { .topbar { display: none; } }

/* --------------------------------------------------------------------------
   헤더 · GNB (position: sticky → 스크롤해도 본문이 튀지 않음)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: var(--surface);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(0, 0, 0, .07); }
.site-header__inner { display: flex; align-items: center; height: var(--header-h); }
.header-sentinel { height: 0; }

.logo { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1; color: var(--primary); }
.logo__text { font-size: 24px; font-weight: 600; letter-spacing: .32em; margin-right: -.32em; }
.logo__sub { margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: .28em; color: var(--text-3); }
.logo__img { max-height: 46px; width: auto; }

.gnb { margin-left: auto; height: 100%; }
.gnb__list { display: flex; height: 100%; }
.gnb__item { position: relative; height: 100%; }
.gnb__link {
  position: relative; display: flex; align-items: center; justify-content: center; height: 100%;
  min-width: 116px; padding: 0 18px; font-size: 17px; font-weight: 600; color: var(--text);
  white-space: nowrap; transition: background-color .2s, color .2s;
}
.gnb__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--accent); opacity: 0; transition: opacity .2s;
}
.gnb__item.is-active > .gnb__link { color: var(--accent-ink); }
.gnb__item.is-active > .gnb__link::after { opacity: 1; }
.gnb__item:hover > .gnb__link, .gnb__item.is-open > .gnb__link, .gnb__link:focus-visible {
  background: var(--primary); color: var(--on-primary);
}
.gnb__ext { width: 12px; height: 12px; margin-left: 4px; opacity: .6; }
.gnb__sub {
  position: absolute; top: 100%; left: 0; min-width: 100%; padding-top: 1px;
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
}
.gnb__sub ul { background: var(--surface); border: 1px solid var(--line); border-top: 0; box-shadow: var(--shadow); }
.gnb__sub a {
  display: block; padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--text-2);
  text-align: center; white-space: nowrap; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .15s, color .15s;
}
.gnb__sub li:first-child a { border-top: 0; }
.gnb__sub li:nth-child(2) a { transition-delay: .04s; } .gnb__sub li:nth-child(3) a { transition-delay: .08s; }
.gnb__sub li:nth-child(4) a { transition-delay: .12s; } .gnb__sub li:nth-child(5) a { transition-delay: .16s; }
.gnb__sub li:nth-child(n+6) a { transition-delay: .2s; }
.gnb__sub a:hover, .gnb__sub a:focus-visible { background: var(--accent-ink); color: #fff; }
.gnb__sub li.is-active a { color: var(--accent-ink); font-weight: 600; }
.gnb__sub li.is-active a:hover { color: #fff; }
.gnb__item:hover > .gnb__sub, .gnb__item:focus-within > .gnb__sub, .gnb__item.is-open > .gnb__sub {
  visibility: visible; opacity: 1; transition: opacity .2s;
}
.gnb__item:hover > .gnb__sub a, .gnb__item:focus-within > .gnb__sub a, .gnb__item.is-open > .gnb__sub a { opacity: 1; transform: none; }

.nav-toggle, .header-call { display: none; }

@media (max-width: 1023px) {
  .site-header__inner { height: var(--header-h-m); justify-content: center; position: relative; }
  .gnb { display: none; }
  .logo { align-items: center; }
  .logo__text { font-size: 20px; }
  .logo__sub { font-size: 9px; margin-top: 4px; }
  .logo__img { max-height: 34px; }
  .nav-toggle, .header-call {
    position: absolute; top: 0; display: flex; align-items: center; justify-content: center;
    width: var(--header-h-m); height: var(--header-h-m); color: var(--primary);
  }
  .nav-toggle { left: 0; }
  .header-call { right: 0; font-size: 22px; }
  .nav-toggle__bars { position: relative; width: 22px; height: 14px; }
  .nav-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
    transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
  }
  .nav-toggle__bars span:nth-child(1) { top: 0; }
  .nav-toggle__bars span:nth-child(2) { top: 6px; }
  .nav-toggle__bars span:nth-child(3) { top: 12px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
}

/* 모바일 드로어 (왼쪽에서 열림, 아코디언) */
.drawer, .drawer-dim { display: none; }
@media (max-width: 1023px) {
  .drawer {
    display: flex; flex-direction: column; position: fixed; z-index: 990; left: 0; top: var(--header-h-m); bottom: 0;
    width: min(300px, 84vw); background: var(--surface); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
  }
  .drawer.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .drawer-dim {
    display: block; position: fixed; z-index: 980; inset: var(--header-h-m) 0 0 0; background: rgba(0, 0, 0, .55);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  .drawer-dim.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
}
.dnav__item { border-bottom: 1px solid var(--line); }
.dnav__link, .dnav__toggle {
  display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0 20px;
  font-size: 16px; font-weight: 600; color: var(--text); text-align: left; background: var(--surface);
}
.dnav__item.is-active > .dnav__link, .dnav__item.is-active > .dnav__toggle { color: var(--accent-ink); }
.dnav__toggle .icon { margin-left: auto; font-size: 16px; color: var(--text-3); transition: transform .25s; }
.dnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dnav__link .icon { margin-left: auto; font-size: 14px; color: var(--text-3); }
.dnav__sub { background: var(--surface-2); padding: 6px 0; }
.dnav__sub a { display: block; padding: 11px 20px 11px 32px; font-size: 15px; color: var(--text-2); }
.dnav__sub li.is-active a { color: var(--accent-ink); font-weight: 600; }
.drawer__foot { margin-top: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__label { font-size: 13px; color: var(--text-3); }
.drawer__tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 22px; font-weight: 700; color: var(--primary); }
.drawer__tel .icon { color: var(--accent); }
.drawer__foot .btn { width: 100%; margin-top: 16px; }

/* --------------------------------------------------------------------------
   서브 페이지 상단: 제목 + 브레드크럼 + 2차 메뉴(LNB)
   -------------------------------------------------------------------------- */
.sub-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.sub-head__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 22px; }
.sub-head__eyebrow { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
.sub-head__title { font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; color: var(--primary); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-3); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: ""; width: 5px; height: 5px; margin: 0 10px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); opacity: .7;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }
.breadcrumb .icon { font-size: 15px; }
.sub-head__mbar { display: none; }
.lnb { border-top: 1px solid var(--line); }
.lnb__list { display: flex; justify-content: center; }
.lnb__link {
  position: relative; display: block; padding: 16px 28px; font-size: 16px; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.lnb__link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 2px; background: var(--accent); transition: left .25s var(--ease), right .25s var(--ease); }
.lnb__link:hover { color: var(--text); }
.lnb__link.is-active { color: var(--primary); font-weight: 700; }
.lnb__link.is-active::after { left: 20px; right: 20px; }
@media (max-width: 1023px) {
  .sub-head__inner { display: none; }
  .sub-head__mbar {
    position: relative; display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 52px;
    background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 600;
  }
  .sub-head__mbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sub-head__mbar .icon { position: absolute; left: 14px; top: 50%; margin-top: -10px; font-size: 20px; }
  .lnb { border-top: 0; }
  .lnb .container { padding: 0; }
  .lnb__list { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lnb__list::-webkit-scrollbar { display: none; }
  .lnb__list li { flex: 1 0 auto; }
  .lnb__link { padding: 13px 18px; font-size: 15px; text-align: center; }
  .lnb__link.is-active::after { left: 12px; right: 12px; }
}

/* --------------------------------------------------------------------------
   섹션 제목 (영문 소제목 + 국문 대제목 + 설명)
   -------------------------------------------------------------------------- */
.sec-title { margin-bottom: 56px; text-align: center; }
.sec-title--left { text-align: left; }
.sec-title__en {
  display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-ink);
}
.sec-title__ko { font-size: 40px; font-weight: 700; line-height: 1.35; letter-spacing: -0.035em; color: var(--primary); }
.sec-title__desc { max-width: 760px; margin: 20px auto 0; font-size: 17px; line-height: 1.8; color: var(--text-2); }
.sec-title--left .sec-title__desc { margin-left: 0; }
.sec-title--page .sec-title__ko { font-size: 52px; }
.section--dark .sec-title__ko, .on-dark .sec-title__ko { color: #fff; }
.section--dark .sec-title__desc, .on-dark .sec-title__desc { color: rgba(255, 255, 255, .72); }
.section--dark .sec-title__en, .on-dark .sec-title__en { color: var(--accent); }
.sec-title__ko::after { content: none; }
.sec-title--line .sec-title__ko::after { content: ""; display: block; width: 40px; height: 1px; margin: 24px auto 0; background: var(--accent); }
.sec-title--left.sec-title--line .sec-title__ko::after { margin-left: 0; }
@media (max-width: 1023px) {
  .sec-title { margin-bottom: 40px; }
  .sec-title__ko { font-size: 30px; }
  .sec-title--page .sec-title__ko { font-size: 34px; }
  .sec-title__desc { font-size: 16px; }
}
@media (max-width: 767px) {
  .sec-title { margin-bottom: 32px; }
  .sec-title__en { margin-bottom: 10px; font-size: 11px; }
  .sec-title__ko { font-size: 24px; }
  .sec-title--page .sec-title__ko { font-size: 26px; }
  .sec-title__desc { margin-top: 14px; font-size: 15px; }
}
.lead-text { font-size: 18px; line-height: 1.85; color: var(--text-2); }
@media (max-width: 767px) { .lead-text { font-size: 16px; } }

/* --------------------------------------------------------------------------
   버튼
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px;
  border: 1px solid var(--primary); border-radius: var(--radius); background: var(--primary); color: var(--on-primary);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #000; border-color: #000; }
.btn--line { background: transparent; color: var(--primary); }
.btn--line:hover { background: var(--primary); color: var(--on-primary); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--primary); }
.btn--white:hover { background: transparent; color: #fff; }
.btn--ghost-white { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--primary); }
.btn--pill { border-radius: 999px; }
.btn--lg { min-height: 60px; padding: 0 44px; font-size: 17px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn .icon { font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* --------------------------------------------------------------------------
   이미지 · 이미지 자리 · 캡션(CG 면책)
   -------------------------------------------------------------------------- */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
  aspect-ratio: var(--ph-ratio, 16 / 9); background: var(--surface-3);
  background-image: linear-gradient(135deg, transparent 49.6%, rgba(0, 0, 0, .06) 50%, transparent 50.4%),
                    linear-gradient(45deg, transparent 49.6%, rgba(0, 0, 0, .06) 50%, transparent 50.4%);
  color: var(--text-3); font-size: 14px; text-align: center;
}
.ph > span { padding: 6px 12px; background: rgba(255, 255, 255, .78); }
.ph--dark { background-color: #3a3835; color: rgba(255, 255, 255, .7); }
.ph--dark > span { background: rgba(0, 0, 0, .35); }
.ph--fill { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }

.media { position: relative; overflow: hidden; background: var(--surface-3); }
.media > img, .media > video { width: 100%; }
.media--cover { aspect-ratio: var(--ratio, 16 / 9); }
.media--cover > img, .media--cover > video { width: 100%; height: 100%; object-fit: cover; }

.figure { position: relative; }
.figure__media { position: relative; overflow: hidden; }
.figure__media > img { width: 100%; }
.figure__cg {
  position: absolute; right: 0; bottom: 0; max-width: 100%; padding: 6px 10px;
  background: rgba(0, 0, 0, .42); color: rgba(255, 255, 255, .92); font-size: 12px; line-height: 1.4;
}
.figure__cap { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.figure__cap--center { text-align: center; }
@media (max-width: 767px) { .figure__cg { font-size: 10px; padding: 4px 8px; } .figure__cap { font-size: 13px; } }
.zoomable { cursor: zoom-in; }

/* --------------------------------------------------------------------------
   공지 박스 · 각주
   -------------------------------------------------------------------------- */
.notice { padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--primary); }
.notice__title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: var(--primary); }
.notice__title .icon { color: var(--accent-ink); font-size: 18px; }
.notice__list li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.notice__list li + li { margin-top: 4px; }
.notice__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 4px; height: 4px; background: var(--text-3); border-radius: 50%; }
.notice--tint { background: var(--surface-2); border-color: transparent; border-top-color: var(--primary); }
.footnote { margin-top: 16px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.footnote p { position: relative; padding-left: 1.2em; }
.footnote p::before { content: "※"; position: absolute; left: 0; }
@media (max-width: 767px) { .notice { padding: 20px; } .footnote { font-size: 12px; } }

/* --------------------------------------------------------------------------
   탭
   -------------------------------------------------------------------------- */
.tabs__nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 40px; }
.tabs__nav--narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.tabs__nav--auto { display: flex; justify-content: center; flex-wrap: wrap; }
.tabs__btn {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 8px 20px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-3);
  font-size: 17px; font-weight: 600; line-height: 1.3; text-align: center; transition: color .2s, background-color .2s;
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent); opacity: 0; transition: opacity .2s; }
.tabs__btn.is-active, .tabs__btn[aria-selected="true"] { background: var(--surface); color: var(--primary); }
.tabs__btn.is-active::before, .tabs__btn[aria-selected="true"]::before { opacity: 1; }
.tabs__panel:focus-visible { outline-offset: 6px; }
@media (max-width: 1023px) { .tabs__btn { min-height: 50px; font-size: 15px; padding: 6px 12px; } .tabs__nav { margin-bottom: 28px; } }
@media (max-width: 767px) {
  .tabs__nav { grid-auto-columns: minmax(76px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .tabs__nav::-webkit-scrollbar { display: none; }
  .tabs__btn { min-height: 46px; font-size: 14px; padding: 6px 8px; }
  .tabs__btn::before { height: 2px; }
}

/* --------------------------------------------------------------------------
   슬라이더 (data-slider) — 화살표·점·썸네일은 JS가 만듭니다
   -------------------------------------------------------------------------- */
.slider { position: relative; --slider-speed: 450ms; }
.slider__viewport { position: relative; overflow: hidden; touch-action: pan-y; background: var(--surface-3); }
.slider__track { display: flex; will-change: transform; transition: transform var(--slider-speed) var(--ease); user-select: none; -webkit-user-select: none; }
.slider__slide { position: relative; flex: 0 0 100%; min-width: 0; }
.slider__slide img { width: 100%; -webkit-user-drag: none; }
.slider[data-ratio] .slider__slide { aspect-ratio: var(--ratio); }
.slider[data-ratio] .slider__slide > img, .slider[data-ratio] .slider__slide > picture > img,
.slider[data-ratio] .slider__slide > video { width: 100%; height: 100%; object-fit: cover; }
.slider[data-ratio] .slider__slide > .ph { height: 100%; aspect-ratio: auto; }
.slider.is-dragging .slider__track { transition: none; cursor: grabbing; }
.slider.is-zoom .slider__slide { cursor: zoom-in; }
.slider__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 20px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 14px;
}
/* 페이드 효과 */
.slider--fade .slider__track { display: grid; transform: none !important; }
.slider--fade .slider__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slider--fade .slider__slide.is-current { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }
/* 화살표 */
.slider__arrow {
  position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-top: -24px; color: #fff; background: rgba(0, 0, 0, .28); font-size: 22px;
  opacity: .85; transition: opacity .2s, background-color .2s;
}
.slider__arrow:hover { opacity: 1; background: rgba(0, 0, 0, .5); }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__arrow .icon { stroke-width: 1.4; }
/* 점 */
.slider__dots { display: flex; justify-content: center; gap: 10px; padding: 18px 0 0; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: background-color .2s, transform .2s; position: relative; }
.slider__dot::after { content: ""; position: absolute; inset: -8px; }
.slider__dot.is-active { background: var(--primary); transform: scale(1.15); }
.slider--dots-in .slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; padding: 0; }
.slider--dots-in .slider__dot { background: rgba(255, 255, 255, .5); }
.slider--dots-in .slider__dot.is-active { background: #fff; }
/* 썸네일 */
.slider__thumbs {
  display: grid; gap: 6px; margin-top: 6px;
  grid-template-columns: repeat(var(--tc-m, 3), minmax(0, 1fr));
}
@media (min-width: 768px) { .slider__thumbs { grid-template-columns: repeat(var(--tc-t, 5), minmax(0, 1fr)); } }
@media (min-width: 1024px) { .slider__thumbs { grid-template-columns: repeat(var(--tc-d, 6), minmax(0, 1fr)); } }
.slider__thumb { position: relative; display: block; aspect-ratio: var(--thumb-ratio, 3 / 2); overflow: hidden; background: var(--surface-3); opacity: .45; transition: opacity .2s; }
.slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.slider__thumb:hover { opacity: .8; }
.slider__thumb.is-active { opacity: 1; }
.slider__thumb.is-active::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--accent); }
.slider__count { position: absolute; right: 14px; top: 14px; z-index: 3; padding: 2px 10px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; border-radius: 999px; }
/* 1장뿐이면 조작 요소 없음 */
.slider.is-single .slider__arrow, .slider.is-single .slider__dots, .slider.is-single .slider__thumbs { display: none; }
@media (max-width: 767px) {
  .slider__arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 18px; }
  .slider__dots { padding-top: 14px; gap: 8px; }
  .slider__thumbs { gap: 4px; margin-top: 4px; }
}

/* --------------------------------------------------------------------------
   라이트박스 (이미지 확대)
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: rgba(12, 12, 12, .94); color: #fff;
  opacity: 0; transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; padding: 56px 72px 12px; }
.lightbox__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none;
  transform-origin: center center; transition: transform .2s ease-out; cursor: zoom-in;
}
.lightbox.is-zoomed .lightbox__img { cursor: grab; }
.lightbox.is-panning .lightbox__img { transition: none; cursor: grabbing; }
.lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 8px 16px calc(12px + env(safe-area-inset-bottom)); font-size: 14px; color: rgba(255, 255, 255, .8); text-align: center; }
.lightbox__count { flex: none; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .6); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff; opacity: .8; transition: opacity .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 6px; right: 6px; width: 52px; height: 52px; font-size: 26px; }
.lightbox__nav { top: 50%; width: 60px; height: 80px; margin-top: -40px; font-size: 34px; }
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }
.lightbox__nav .icon, .lightbox__close .icon { stroke-width: 1.3; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { display: none; }
@media (max-width: 767px) {
  .lightbox__stage { padding: 52px 0 8px; }
  .lightbox__nav { width: 44px; height: 60px; margin-top: -30px; font-size: 26px; background: rgba(0, 0, 0, .25); }
}

/* --------------------------------------------------------------------------
   전후 비교 슬라이더 (data-compare)
   -------------------------------------------------------------------------- */
.compare { position: relative; overflow: hidden; --pos: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--surface-3); }
.compare[data-ratio] { aspect-ratio: var(--ratio); }
.compare__before, .compare__after { display: block; width: 100%; -webkit-user-drag: none; pointer-events: none; }
.compare[data-ratio] .compare__before { height: 100%; object-fit: cover; }
.compare .ph.compare__before { height: 100%; }
.compare__after { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 0 0 var(--pos)); }
.compare__label {
  position: absolute; top: 16px; z-index: 2; padding: 4px 12px; background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: var(--accent); color: var(--on-accent); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); cursor: ew-resize; outline: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 2px;
  width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25); font-size: 14px;
}
.compare__handle:focus-visible .compare__knob { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare__hint { margin-top: 10px; font-size: 13px; color: var(--text-3); text-align: center; }
@media (max-width: 767px) { .compare__knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .compare__label { top: 10px; font-size: 12px; } .compare__label--before { left: 10px; } .compare__label--after { right: 10px; } }

/* --------------------------------------------------------------------------
   영상 (mp4 · 유튜브)
   -------------------------------------------------------------------------- */
.video { position: relative; aspect-ratio: var(--ratio, 16 / 9); background: #000; overflow: hidden; }
.video--vertical { --ratio: 9 / 16; max-width: 420px; margin: 0 auto; }
.video > video, .video > iframe, .video > .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video > video { object-fit: contain; background: #000; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .3s; }
.video__play:hover img { transform: scale(1.03); opacity: .9; }
.video__icon {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; transition: background-color .2s;
}
.video__icon .icon { margin-left: 4px; }
.video__play:hover .video__icon { background: var(--accent); border-color: var(--accent); }
.video__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 18px 14px; color: #fff; font-size: 15px; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.video__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: underline; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.video-cap { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
@media (max-width: 767px) { .video-grid { grid-template-columns: 1fr; gap: 16px; } .video__icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 20px; } }

/* --------------------------------------------------------------------------
   정보 표 (사업개요형) — .spec (dl) / .data-table (table)
   -------------------------------------------------------------------------- */
.spec { border-top: 2px solid var(--primary); display: grid; grid-template-columns: 1fr; }
.spec--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.spec__row--full { grid-column: 1 / -1; }
.spec dt { display: flex; align-items: center; padding: 18px 24px; background: var(--surface-2); font-size: 15px; font-weight: 600; color: var(--primary); }
.spec dd { display: flex; align-items: center; padding: 18px 24px; background: var(--surface); font-size: 15px; color: var(--text-2); }
.spec dd small { margin-left: 6px; color: var(--text-3); }
@media (max-width: 1023px) {
  .spec--2col { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 130px minmax(0, 1fr); }
  .spec dt, .spec dd { padding: 14px 16px; font-size: 14px; }
}
@media (max-width: 767px) {
  .spec__row { grid-template-columns: 1fr; }
  .spec dt { padding: 12px 14px 4px; background: var(--surface); font-size: 13px; color: var(--text-3); font-weight: 500; }
  .spec dd { padding: 0 14px 12px; font-size: 15px; color: var(--text); font-weight: 500; }
}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 0; }
.data-table { width: 100%; border-top: 2px solid var(--primary); font-size: 15px; text-align: center; background: var(--surface); }
.data-table caption { padding-bottom: 10px; font-size: 13px; color: var(--text-3); text-align: right; caption-side: top; }
.data-table th, .data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.data-table th:first-child, .data-table td:first-child { border-left: 0; }
.data-table thead th { background: var(--surface-2); font-weight: 600; color: var(--primary); white-space: nowrap; }
.data-table tbody th { font-weight: 600; color: var(--primary); background: #fcfbf8; }
.data-table td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.data-table tr.is-total td, .data-table tr.is-total th { font-weight: 700; color: var(--primary); background: var(--surface-2); }
.table-hint { display: none; margin-bottom: 8px; font-size: 12px; color: var(--text-3); }
@media (max-width: 767px) {
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 8px; }
  .table-wrap .data-table { min-width: 560px; }
  .table-hint { display: block; }
  /* 카드형으로 바꾸기: <table class="data-table data-table--stack"> + td 에 data-label */
  .table-wrap .data-table--stack { min-width: 0; }
  .data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table--stack, .data-table--stack tbody, .data-table--stack tr, .data-table--stack th, .data-table--stack td { display: block; }
  .data-table--stack tr { border-bottom: 1px solid var(--line-2); }
  .data-table--stack tbody th { padding: 12px 14px; text-align: left; border: 0; background: var(--surface-2); }
  .data-table--stack td { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border: 0; border-top: 1px solid var(--line); text-align: right; }
  .data-table--stack td::before { content: attr(data-label); color: var(--text-3); text-align: left; }
}

/* ㎡/평 전환 */
.unit-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--surface); }
.unit-toggle button { min-width: 48px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.unit-toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   타입 카드 · 타입 상세
   -------------------------------------------------------------------------- */
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1023px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 599px) { .type-grid { grid-template-columns: 1fr; } }
.type-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
a.type-card:hover, .type-card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.type-card__media { position: relative; aspect-ratio: var(--ratio, 4 / 3); padding: 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.type-card__media > img { width: 100%; height: 100%; object-fit: contain; }
.type-card__media > .ph { height: 100%; aspect-ratio: auto; }
.type-card__body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.type-card__en { font-size: 12px; font-weight: 600; letter-spacing: .22em; color: var(--accent-ink); text-transform: uppercase; }
.type-card__name { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--primary); }
.type-card__meta { margin-top: 2px; font-size: 14px; color: var(--text-3); }
.type-card__area { margin-top: 16px; border-top: 1px solid var(--line); }
.type-card__area div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.type-card__area dt { color: var(--text-3); }
.type-card__area dd { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.type-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { display: inline-block; padding: 3px 10px; border: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); }
.tag--accent { border-color: var(--accent); color: var(--accent-ink); }
.type-card__foot { margin-top: auto; padding-top: 20px; }

.type-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.type-detail__plan { background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.type-detail__head { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--primary); }
.type-detail__name { font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--primary); letter-spacing: -0.02em; }
.type-detail__name small { margin-left: 8px; font-size: 16px; font-weight: 500; color: var(--text-3); }
.type-detail__copy { margin-top: 8px; font-size: 16px; color: var(--accent-ink); }
.type-detail__desc { margin-top: 20px; font-size: 15px; color: var(--text-2); }
@media (max-width: 1023px) { .type-detail { grid-template-columns: 1fr; gap: 28px; } .type-detail__plan { padding: 16px; } .type-detail__name { font-size: 30px; } }

/* --------------------------------------------------------------------------
   카드 링크 (메인 바로가기 등)
   -------------------------------------------------------------------------- */
.quick-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1023px) { .quick-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.quick-card { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-3); color: #fff; }
.quick-card__media, .quick-card__media > img, .quick-card__media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.quick-card__media > img { object-fit: cover; transition: transform .6s var(--ease); }
.quick-card__media > .ph { aspect-ratio: auto; }
.quick-card:hover .quick-card__media > img { transform: scale(1.05); }
.quick-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 10px 18px; background: rgba(20, 20, 20, .62); font-size: 16px; font-weight: 600;
}
.quick-card__label .icon { font-size: 18px; transition: transform .25s var(--ease); }
.quick-card:hover .quick-card__label .icon { transform: translateX(4px); }
@media (max-width: 767px) { .quick-card__label { min-height: 40px; padding: 8px 12px; font-size: 14px; } }

/* --------------------------------------------------------------------------
   메인: 히어로 · 고정 배경 배너 · 영상 띠
   -------------------------------------------------------------------------- */
.hero { position: relative; background: #2b2a28; color: #fff; }
.hero .slider__viewport { background: #2b2a28; }
.hero .slider__slide { height: clamp(520px, calc(100svh - var(--topbar-h) - var(--header-h)), 920px); }
.hero .slider__slide > img, .hero .slider__slide > picture, .hero .slider__slide > picture > img { width: 100%; height: 100%; object-fit: cover; }
.hero .slider__slide > .ph { height: 100%; aspect-ratio: auto; }
.hero__shade { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .28); pointer-events: none; }
.hero__copy { position: absolute; left: 0; right: 0; bottom: 14%; z-index: 4; pointer-events: none; }
.hero__copy a, .hero__copy button { pointer-events: auto; }
.hero__eyebrow { display: block; font-size: 15px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.hero__eyebrow::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 20px; background: var(--accent); }
.hero__title { margin-top: 22px; font-size: 52px; font-weight: 600; line-height: 1.32; letter-spacing: -0.035em; text-shadow: 0 1px 18px rgba(0, 0, 0, .18); }
.hero__text { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.hero .slider__dots { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 4; padding: 0; }
.hero .slider__dot { background: rgba(255, 255, 255, .45); }
.hero .slider__dot.is-active { background: #fff; }
@media (max-width: 1023px) {
  .hero .slider__slide { height: clamp(440px, calc(100svh - var(--header-h-m) - var(--bar-h)), 760px); }
  .hero__copy { bottom: 64px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: .26em; }
  .hero__eyebrow::after { margin-top: 14px; }
  .hero__title { margin-top: 14px; font-size: 28px; }
  .hero__text { margin-top: 12px; font-size: 15px; }
  .hero .slider__dots { bottom: 28px; }
}

.parallax {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 440px; padding: 72px 0;
  background-color: #3a3835; background-image: var(--bg-image, none); background-size: cover; background-position: center; color: #fff; text-align: center;
}
@media (min-width: 1024px) and (hover: hover) { .parallax { background-attachment: fixed; } }
.parallax::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--shade, .42)); }
.parallax > .ph { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.parallax__inner { position: relative; z-index: 1; }
.parallax__en { display: block; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.parallax__title { margin-top: 14px; font-size: 38px; font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; }
.parallax__text { max-width: 760px; margin: 18px auto 0; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .85); }
.parallax .btn { margin-top: 32px; }
@media (max-width: 1023px) {
  .parallax { min-height: 340px; padding: 56px 0; }
  .parallax__title { font-size: 24px; }
  .parallax__text { font-size: 15px; }
  .parallax .btn { margin-top: 24px; }
}

.video-band__body { max-width: 1000px; margin: 0 auto; }
.video-band .btn-row { margin-top: 32px; }

/* --------------------------------------------------------------------------
   상담 신청 폼
   -------------------------------------------------------------------------- */
.lead-wrap { max-width: 1000px; margin: 0 auto; }
.lead-form { position: relative; }
.lead-rows { border-top: 2px solid var(--primary); background: var(--surface); }
.lead-field { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.lead-field__label {
  display: flex; align-items: center; gap: 4px; padding: 20px 24px; background: var(--surface-2);
  font-size: 16px; font-weight: 600; color: var(--primary);
}
.lead-field__label .req { color: var(--danger); font-style: normal; }
.lead-field__label .opt { font-size: 13px; font-weight: 400; color: var(--text-3); }
.lead-field__control { padding: 12px 16px; min-width: 0; }
.lead-input {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); font-size: 16px; line-height: 1.5; color: var(--text); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.lead-input::placeholder { color: #aaa49b; }
.lead-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
textarea.lead-input { min-height: 140px; resize: vertical; }
select.lead-input {
  padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c5750' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input[type="date"].lead-input { min-height: 48px; }
.lead-field__help { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.lead-field__error { display: none; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--danger); }
.lead-field.is-invalid .lead-input { border-color: var(--danger); }
.lead-field.is-invalid .lead-field__error, .lead-consent.is-invalid .lead-field__error { display: block; }
.lead-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead-pair .lead-field { grid-template-columns: 200px minmax(0, 1fr); }
.lead-pair .lead-field + .lead-field .lead-field__label { padding-left: 24px; }

.lead-consent { margin-top: 24px; }
.lead-consent__title { font-size: 15px; font-weight: 600; color: var(--primary); }
.lead-consent__box {
  max-height: 128px; overflow: auto; margin-top: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.75; color: var(--text-2);
}
.lead-consent__box li { position: relative; padding-left: 12px; }
.lead-consent__box li::before { content: "·"; position: absolute; left: 0; }
.lead-consent__check { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; color: var(--text); cursor: pointer; }
.lead-consent__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); flex: none; }
.lead-consent__check a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.lead-consent.is-invalid .lead-consent__check { color: var(--danger); }

.lead-submit { margin-top: 32px; text-align: center; }
.lead-submit .btn { min-width: 300px; min-height: 64px; font-size: 18px; }
.lead-submit .btn .spinner { display: none; }
.lead-form.is-loading .lead-submit .btn .spinner { display: inline-block; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.lead-result { margin-top: 0; padding: 0; border: 0 solid; font-size: 15px; line-height: 1.6; text-align: left; }
.lead-result.is-success, .lead-result.is-error { margin-top: 20px; padding: 14px 18px; border-width: 1px; }
.lead-result.is-success, .lead-result.is-error { display: flex; gap: 10px; align-items: flex-start; }
.lead-result .icon { flex: none; margin-top: 3px; font-size: 18px; }
.lead-result.is-success { border-color: color-mix(in srgb, var(--success) 40%, transparent); background: color-mix(in srgb, var(--success) 7%, #fff); color: var(--success); }
.lead-result.is-error { border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 6%, #fff); color: var(--danger); }
.lead-note { margin-top: 14px; font-size: 13px; color: var(--text-3); text-align: center; }

@media (max-width: 1023px) {
  .lead-pair { grid-template-columns: 1fr; }
  .lead-field, .lead-pair .lead-field { grid-template-columns: 1fr; padding: 14px 0; border-bottom: 0; }
  .lead-rows { background: transparent; padding-top: 8px; }
  .lead-field__label, .lead-pair .lead-field + .lead-field .lead-field__label { padding: 0 0 8px; background: none; font-size: 15px; }
  .lead-field__control { padding: 0; }
  .lead-submit .btn { width: 100%; min-width: 0; min-height: 56px; font-size: 17px; }
}

/* --------------------------------------------------------------------------
   스크롤 등장 효과 (data-reveal) — JS가 있을 때만 숨겼다가 보여줍니다
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .slider__track, .slider--fade .slider__slide { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   일반 본문 (약관 등)
   -------------------------------------------------------------------------- */
.prose { max-width: 880px; margin: 0 auto; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.prose h1 { font-size: 30px; color: var(--primary); margin-bottom: 24px; }
.prose h2 { margin: 36px 0 10px; font-size: 18px; color: var(--primary); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 10px; }
.prose ul { padding-left: 18px; list-style: disc; }
.prose ol { padding-left: 20px; list-style: decimal; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   푸터
   -------------------------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.footer-top { border-bottom: 1px solid var(--line); }
.footer-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
.footer-links { display: flex; align-items: center; flex: none; }
.footer-links li + li::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 12px; background: var(--line-2); vertical-align: middle; }
.footer-links a { font-weight: 600; color: var(--text-2); }
.footer-links a:hover { color: var(--primary); }
.footer-links .is-strong { color: var(--primary); }
.footer-disclaimer { font-size: 12px; color: var(--text-3); text-align: right; }
.footer-main__inner { display: flex; gap: 64px; padding-top: 32px; padding-bottom: 40px; }
.footer-cs { flex: none; }
.footer-cs__label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.footer-cs__tel { display: block; margin-top: 2px; font-size: 26px; font-weight: 700; letter-spacing: .01em; color: var(--primary); }
.footer-info p { line-height: 1.9; }
.footer-info p span { display: inline-block; margin-right: 14px; }
.footer-info .footer-role { color: var(--text); font-weight: 600; }
.footer-copy { margin-top: 10px; color: var(--text-3); }
.footer-cs__gallery { margin-top: 8px; max-width: 260px; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.footer-cs__gallery strong { display: block; color: var(--text-2); }
.footer-notices { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--text-3); }
.footer-notices li { position: relative; padding-left: 1.2em; }
.footer-notices li::before { content: "※"; position: absolute; left: 0; }
@media (max-width: 1023px) {
  .footer-top__inner { flex-direction: column-reverse; gap: 8px; padding-top: 14px; padding-bottom: 14px; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .footer-main__inner { flex-direction: column; gap: 16px; padding-top: 22px; padding-bottom: 28px; text-align: center; }
  .footer-cs__tel { font-size: 22px; }
  .footer-info p span { margin: 0 5px; }
  .footer-cs__gallery { max-width: none; }
  .footer-notices { text-align: left; }
}

/* 맨 위로 */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 900; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility 0s .25s, background-color .2s;
}
.to-top.is-visible { opacity: .92; visibility: visible; transform: none; transition: opacity .25s, transform .25s, background-color .2s; }
.to-top:hover { opacity: 1; background: #000; }

/* 모바일 하단 고정 바 (푸터를 가리지 않게 body 아래 여백 확보) */
.mbar { display: none; }
@media (max-width: 1023px) {
  body.has-mbar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom); background: var(--primary); box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
  }
  .mbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--bar-h); font-size: 16px; font-weight: 600; color: #fff; }
  .mbar__btn .icon { font-size: 19px; }
  .mbar__btn--call .icon { color: var(--accent); }
  .mbar__btn--consult { background: var(--accent); color: var(--on-accent); }
  body.has-mbar .to-top { bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); right: 14px; width: 42px; height: 42px; font-size: 18px; }
}

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound__code { font-size: 14px; letter-spacing: .3em; color: var(--accent-ink); }
.notfound h1 { margin-top: 12px; font-size: 30px; color: var(--primary); }
.notfound p { margin-top: 12px; color: var(--text-2); }

/* 부품 데모 페이지 전용 */
.demo-block { padding: 64px 0; border-bottom: 1px dashed var(--line-2); }
.demo-block > .container > h2.demo-h { margin-bottom: 8px; font-size: 22px; color: var(--primary); }
.demo-desc { margin-bottom: 28px; font-size: 14px; color: var(--text-3); }
.demo-code { margin-top: 20px; padding: 16px; overflow-x: auto; background: #23211f; color: #e8e2d6; font-size: 12.5px; line-height: 1.6; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { width: 120px; font-size: 12px; color: var(--text-3); }
.swatch i { display: block; height: 56px; margin-bottom: 6px; border: 1px solid var(--line); }

/* ==========================================================================
   추가 부품 (공통 틀 마무리): picture 대응 · 숫자 띠 · 히어로 버튼/CG · 상담 유도 · 안내 목록
   ========================================================================== */
picture { display: block; }
.figure__media > picture > img, .media > picture > img { width: 100%; }
.media--cover > picture { height: 100%; }
.media--cover > picture > img { width: 100%; height: 100%; object-fit: cover; }
.slider[data-ratio] .slider__slide > picture { height: 100%; }
.quick-card__media > picture { position: absolute; inset: 0; }
.quick-card__media > picture > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.quick-card:hover .quick-card__media > picture > img { transform: scale(1.05); }
.type-card__media > picture, .type-card__media > picture > img { width: 100%; height: 100%; }
.type-card__media > picture > img { object-fit: contain; }
.type-card__media--photo { padding: 0; }
.type-card__media--photo > picture > img, .type-card__media--photo > img { object-fit: cover; }

/* 히어로: 버튼 · CG 고지 */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cg { position: absolute; right: 16px; bottom: 12px; z-index: 4; max-width: 60%; font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .72); text-align: right; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
@media (max-width: 1023px) {
  .hero__actions { margin-top: 20px; }
  .hero__actions .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }
  .hero__cg { left: 16px; right: 16px; bottom: 6px; max-width: none; font-size: 10px; text-align: center; }
  .hero__cg .only-pc-inline { display: none; }
}

/* 핵심 숫자 띠 */
.stats { background: var(--primary); color: var(--on-primary); }
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats__item { padding: 40px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.stats__item:first-child { border-left: 0; }
.stats__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.stats__value { display: block; margin-top: 10px; font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.stats__value small { margin-left: 2px; font-size: .6em; font-weight: 500; }
.stats__value--text { font-size: 22px; }
.stats__note { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .64); }
@media (max-width: 1023px) {
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding: 24px 10px; }
  .stats__item:nth-child(odd) { border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .stats__value { font-size: 24px; margin-top: 6px; }
  .stats__value--text { font-size: 16px; }
  .stats__label, .stats__note { font-size: 12px; }
}

/* 점 목록 (본문용) */
.dot-list li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.dot-list li + li { margin-top: 6px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 1px; background: var(--accent); }
.btn-row--left { justify-content: flex-start; }

/* 고정 배경 배너 안의 고지문 */
.parallax__cap { position: absolute; left: 16px; right: 16px; bottom: 10px; z-index: 1; font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .62); text-align: center; }
.parallax--cap { padding-bottom: 96px; }

/* 상담 유도 블록 (서브 페이지 하단 partials/consult_cta.html, 메인 중간) */
.consult-cta { text-align: center; }
.consult-cta .sec-title { margin-bottom: 0; }
.consult-cta .btn-row { margin-top: 32px; }
.consult-inline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 48px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); }
.consult-inline p { font-size: 17px; font-weight: 600; color: var(--primary); }
@media (max-width: 767px) { .consult-inline { margin-top: 28px; padding: 22px 16px; } .consult-inline p { font-size: 15px; text-align: center; } .consult-inline .btn { width: 100%; } }

/* 영상 띠의 고지문 */
.section--dark .footnote { color: rgba(255, 255, 255, .55); }

/* 좌우 등장 효과가 화면 밖으로 밀려 가로 스크롤(모바일 화면 축소)을 만들지 않게 */
.site-main { overflow-x: clip; }
@media (max-width: 1023px) {
  .js [data-reveal="left"]:not(.is-revealed), .js [data-reveal="right"]:not(.is-revealed) { transform: translate3d(0, 28px, 0); }
}
