/* 안내형 랜딩 공용 (2026-10-17) — showroom.html(부산 타일 전시장) · wholesale.html(업체 발주) · bath.html(욕실 자재)
   제품 랜딩(bigtile · foam · porcelain)보다 글 · 표 · 단계 중심. 색 · 글꼴은 tokens.css, 머리 · 발바닥은 site.css */
.ih { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); min-height: calc(100vh - var(--z-header)); max-height: 900px; }
.ih .copy { position: relative; z-index: 2; padding: var(--z-s6) var(--z-s4) var(--z-s5) var(--z-gutter); display: flex; flex-direction: column; justify-content: center; }
.ih .crumb { display: inline-flex; gap: 8px; margin-bottom: 18px; }
.ih h1 { font: 400 clamp(56px, 6.4vw, 104px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 14px 0 18px; word-break: keep-all; }
.ih h1 small { display: block; font: 400 .5em/1.2 var(--z-display-ko); color: var(--z-mute); margin-top: 14px; }
.ih .z-lead { color: var(--z-mute); margin: 0; }
.ih .sub { font-size: 16px; line-height: 1.75; margin: 12px 0 28px; max-width: 520px; }
.ih .stats { display: flex; gap: var(--z-s6); margin-top: var(--z-s6); }
.ih .stats b { display: block; font: 400 var(--z-fs-stat)/1 var(--z-display); color: var(--z-mute); }
.ih .stats b small { font-size: .5em; }
.ih .stats span { display: block; margin-top: 8px; letter-spacing: .04em; }
.ih .frame { position: relative; margin: var(--z-s6) 0 0; border-radius: var(--z-r-arc); overflow: hidden; background: var(--z-soft); }
.ih .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--z-ease); }
.ih .frame img.on { opacity: 1; }
.ih .frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.4), rgba(0,0,0,0) 34%); pointer-events: none; }
.ih .frame .scene { position: absolute; right: var(--z-gutter); bottom: 40px; z-index: 2; color: #fff; }
.ih .frame .bubble { left: 10%; top: 16%; }

.is { max-width: var(--z-max); margin: 0 auto; padding: var(--z-s7) var(--z-gutter); }
.is.tint { max-width: none; background: #f4f1ec; }
.is.tint > .in { max-width: var(--z-max); margin: 0 auto; }
.is.dark { max-width: none; background: var(--z-black); color: #fff; }
.is.dark > .in { max-width: var(--z-max); margin: 0 auto; }
.is.dark .sec-head .note, .is.dark .card4 span { color: #cfcfcf; }
.is .sec-head h2 { font: 400 clamp(48px, 6vw, 96px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 12px 0 10px; word-break: keep-all; }
.is .sec-head .z-lead { margin: 0; color: var(--z-mute); }
.is .sec-head .note { font-size: 16px; line-height: 1.75; color: #555; margin: 12px 0 0; max-width: 680px; }

/* 사진 카드 (층 · 공간) */
.floors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--z-s3); margin-top: var(--z-s6); }
.floors article { display: flex; flex-direction: column; }
.floors .ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 160px 160px 18px 18px; background: var(--z-soft); }
.floors article:nth-child(even) { margin-top: var(--z-s6); }
.floors img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--z-ease); }
.floors article:hover img { transform: scale(1.05); }
.floors b { display: block; font: 400 40px/1 var(--z-display); color: var(--z-red); margin-top: 16px; }
.floors strong { display: block; font: 400 26px/1.2 var(--z-display-ko); margin: 8px 0 6px; }
.floors span { font-size: 15px; line-height: 1.65; color: #555; }
.floors a.yt { margin-top: 10px; font: 700 12px/1 var(--z-ui); letter-spacing: .12em; color: var(--z-red); }

/* 네 칸 카드 */
.card4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--z-s4) var(--z-s3); margin-top: var(--z-s5); }
.card4.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card4 > div, .card4 > a { border-top: 1.5px solid currentColor; padding-top: 20px; color: inherit; }
.card4 b { display: block; font: 400 44px/1 var(--z-display); color: var(--z-red); }
.card4 strong { display: block; font: 400 24px/1.25 var(--z-display-ko); margin: 14px 0 8px; word-break: keep-all; }
.card4 span { font-size: 15px; line-height: 1.7; color: #555; display: block; }
.card4 a:hover strong { color: var(--z-red); }
.card4 i { font-style: normal; display: inline-block; margin-top: 10px; font: 700 12px/1 var(--z-ui); letter-spacing: .12em; }

/* 단계 */
.steps { list-style: none; margin: var(--z-s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--z-s3); counter-reset: st; }
.steps li { border-top: 1.5px solid var(--z-ink); padding-top: 18px; }
.steps li b { display: block; font: 400 40px/1 var(--z-display); color: var(--z-red); }
.steps li strong { display: block; font: 400 22px/1.25 var(--z-display-ko); margin: 12px 0 6px; word-break: keep-all; }
.steps li span { font-size: 15px; line-height: 1.65; color: #555; }

/* 표 */
.tbl { width: 100%; border-collapse: collapse; margin-top: var(--z-s5); }
.tbl th, .tbl td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--z-line); font-size: 15px; line-height: 1.55; vertical-align: top; }
.tbl thead th { font: 700 12px/1.4 var(--z-ui); letter-spacing: .14em; border-bottom: 1.5px solid var(--z-ink); }
.tbl tbody th { font: 400 20px/1.3 var(--z-display-ko); white-space: nowrap; }
.tbl td a { color: var(--z-red); font-weight: 700; white-space: nowrap; }

/* 방문 정보 */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--z-s6); margin-top: var(--z-s5); align-items: start; }
.visit dl { margin: 0; border-top: 1.5px solid var(--z-ink); }
.visit dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--z-line); }
.visit dt { font: 400 11px/2 var(--z-mono); letter-spacing: var(--z-ls-mono); color: var(--z-mute); text-transform: uppercase; }
.visit dd { margin: 0; font-size: 16px; line-height: 1.6; }
.visit .ph { aspect-ratio: 4 / 3; border-radius: var(--z-r-card); overflow: hidden; background: var(--z-soft); }
.visit .ph img { width: 100%; height: 100%; object-fit: cover; }
.visit .acts { margin-top: var(--z-s4); }

/* 계산기 (욕실) */
.calcbox { background: var(--z-paper); border-radius: var(--z-r-card); padding: var(--z-s5); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.calcbox label { display: block; font: 700 12px/1 var(--z-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--z-mute); margin: 0 0 10px; }
.calcbox .row { display: flex; gap: 10px; align-items: center; }
.calcbox input[type=number] { flex: 1; min-width: 0; height: 60px; border: 1.5px solid var(--z-ink); border-radius: 14px; padding: 0 14px; font: 400 30px/1 var(--z-display); }
.calcbox .x { font: 400 26px var(--z-display); }
.res { margin-top: var(--z-s4); border-top: 1.5px solid var(--z-ink); }
.res div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--z-line); }
.res div span { font: 400 11px/1.8 var(--z-mono); letter-spacing: var(--z-ls-mono); color: var(--z-mute); text-transform: uppercase; }
.res div b { font: 400 36px/1 var(--z-display); }
.res div b small { font: 700 14px var(--z-body); margin-left: 4px; }
.res div b.red { color: var(--z-red); }
.res p { font-size: 13px; color: var(--z-mute); margin: 12px 0 0; line-height: 1.6; }
.calcwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--z-s6); align-items: center; }

/* 질문 */
.faq { max-width: 980px; margin: 0 auto; padding: var(--z-s7) var(--z-gutter) var(--z-s8); }
.faq details { border-bottom: 1px solid var(--z-line); }
.faq details:first-of-type { border-top: 1.5px solid var(--z-ink); margin-top: var(--z-s5); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 700 18px/1.45 var(--z-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font: 400 30px/1 var(--z-display); color: var(--z-red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: #444; max-width: 760px; }
.faq .sec-head h2 { font: 400 clamp(48px, 6vw, 96px)/1 var(--z-display-ko); letter-spacing: -.02em; margin: 12px 0 10px; }

.ask .stage { position: relative; height: 440px; }
.ask .stage .bubble { right: 8%; top: 10px; font-size: 18px; padding: 14px 24px; }
.ask .stage .z-btn { position: absolute; left: 6%; top: 40px; pointer-events: none; z-index: 3; }
.ask .stage img { position: absolute; bottom: 20px; left: 10%; width: 72%; height: 320px; object-fit: cover; transform: rotate(-4deg); box-shadow: 0 30px 40px -18px rgba(0,0,0,.4); border-radius: 4px; }

@media (max-width: 1024px) {
  .floors, .card4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card4.three { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit, .calcwrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ih { display: flex; flex-direction: column-reverse; min-height: 0; max-height: none; }
  .ih .frame { margin: 0; height: 52vh; min-height: 320px; border-radius: 0 0 50% 50% / 0 0 14% 14%; }
  .ih .frame .scene { left: 16px; right: auto; bottom: 30px; }
  .ih .copy { padding: 32px 16px 56px; }
  .ih h1 { font-size: 46px; }
  .ih .sub { font-size: 17px; }
  .ih .acts .z-btn { min-height: 52px; font-size: 13px; }
  .ih .stats { gap: 0; justify-content: space-between; margin-top: 40px; }
  .is { padding: 64px 16px; }
  .is .sec-head h2, .faq .sec-head h2 { font-size: 42px; }
  .floors { gap: 14px; margin-top: 32px; }
  .floors .ph { border-radius: 90px 90px 14px 14px; }
  .floors article:nth-child(even) { margin-top: 32px; }
  .floors strong { font-size: 21px; }
  .floors span { font-size: 14px; }
  .card4 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .card4 span { font-size: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 18px 0; }
  .steps li span { font-size: 16px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { border-bottom: 1px solid var(--z-line); padding: 14px 0; }
  .tbl th, .tbl td { border: 0; padding: 4px 0; font-size: 16px; }
  .visit dl div { grid-template-columns: 84px minmax(0, 1fr); }
  .calcbox { padding: 24px 16px; }
  .faq { padding: 64px 16px 80px; }
  .faq summary { font-size: 17px; }
  .ask .stage { height: 300px; }
  .ask .stage img { height: 220px; width: 84%; left: 8%; }
}

/* 장식 빨간 선이 글자 위로 지나가지 않게 (opaque + 바탕) */
.is.opaque:not(.tint):not(.dark), .faq.opaque { background: var(--z-paper); }
.is.opaque:not(.tint):not(.dark) { max-width: none; }
.is.opaque:not(.tint):not(.dark) > * { max-width: calc(var(--z-max) - 2 * var(--z-gutter)); margin-left: auto; margin-right: auto; }
