/* 솔인디자인 홈페이지 — 다크 테마 (2026-10-03 대표 지시)
   톤: 애플처럼 깔끔하고 간결하게, 어두운 바탕에 흰 글씨, 포인트는 황동색 한 가지
   배치: 아파트멘터리 직영점 페이지의 장점 — 짧은 제목 하나 + 같은 크기 카드 격자, 카드마다 사진·이름·버튼 2개·정보 2줄 */

:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --card: #161617;
  --card-2: #1f1f21;
  --line: #2a2a2d;
  --line-2: #3d3d41;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #c9a56f;   /* 포인트 색 한 가지. 이 줄만 바꾸면 전체에 적용된다 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px;
  --content: 760px;
  --gut: 40px;
  --nav-h: 52px;
  --r: 16px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; background: var(--bg); }
html.lock { overflow: hidden; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: -.012em;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all; overflow-wrap: break-word;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ol, ul { list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#app:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 10px 16px; background: #fff; color: #000; }
.skip:focus { left: 8px; top: 8px; }
.m-only { display: none; }

.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- 글자 ---------- */
.h1 { font-size: clamp(27px, 3.8vw, 50px); font-weight: 700; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-size: clamp(23px, 3vw, 38px); font-weight: 700; line-height: 1.36; letter-spacing: -.032em; text-wrap: balance; }
.h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.4; letter-spacing: -.028em; }
.lead { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; color: var(--text-2); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.center { text-align: center; }
.head { max-width: var(--content); margin: 0 auto; text-align: center; }
.head .h2 { margin-top: 12px; }
.head .lead { margin-top: 14px; }

/* ---------- 버튼 · 링크 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px;
  border-radius: 980px; border: 1px solid var(--text); background: var(--text); color: #000;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: #fff; border-color: #fff; }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, .42); color: var(--text); }
.btn-line:hover { background: var(--text); border-color: var(--text); color: #000; }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.tlink { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; color: var(--text); transition: color .2s; }
.tlink::after { content: "\203A"; margin-left: 6px; color: var(--accent); }
.tlink:hover { color: var(--accent); }
.link-row { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ---------- 상단 메뉴 (오른쪽 위: 유튜브 · 인스타 · 블로그 + 실측 · 견적) ---------- */
.gnav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; background: rgba(0, 0, 0, .72); border-bottom: 1px solid rgba(255, 255, 255, .08); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); }
.gnav-in { max-width: calc(var(--wrap) + var(--gut) * 2); height: 100%; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { font-size: 15px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.wordmark span { font-weight: 400; color: var(--text-2); }
.gnav-links { display: flex; gap: 34px; font-size: 14px; color: var(--text-2); }
.gnav-links a { padding: 8px 0; transition: color .2s; }
.gnav-links a:hover, .gnav-links a[aria-current] { color: var(--text); }
.gnav-right { display: flex; align-items: center; gap: 2px; }
.chn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 44px; font-size: 0; transition: opacity .2s, transform .2s; }
.chn:hover { transform: scale(1.1); }
.chn svg { flex: none; width: 27px; height: 27px; }
.gnav-cta { margin-left: 8px; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -13px; }
.burger span { position: absolute; left: 13px; width: 18px; height: 1px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: #000; padding: calc(var(--nav-h) + 22px) 28px calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: 22px; font-weight: 600; line-height: 2.5; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
.menu-tel { font-size: 15px; color: var(--accent); }
.toast { position: fixed; left: 50%; top: calc(var(--nav-h) + 14px); transform: translate(-50%, -12px); z-index: 60; padding: 10px 16px; border-radius: 980px; background: var(--text); color: #000; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 실측 · 견적 탭 ---------- */
.tabs { display: inline-flex; padding: 4px; border-radius: 980px; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tabs button { min-height: 42px; padding: 0 22px; border-radius: 980px; font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--text); color: #000; }
.tab-panel { margin-top: 18px; }
.tab-panel[hidden] { display: none; }
.tab-panel p { font-size: 14px; color: var(--text-2); }
.tab-panel .cta-row { margin-top: 14px; }

/* ---------- 홈 1. 첫 화면 ---------- */
/* 첫 화면은 사진(영상) 모션만 보인다. 글과 버튼은 둘째 화면(.intro)에 있다 */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.on img { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.01); } to { transform: scale(1.06); } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, .62)); }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; text-align: center; }
.hero-bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .86); }

/* 둘째 화면: 문구·상담 버튼(왼쪽) + 건설업등록증(오른쪽) + 숫자 3개(아래) */
.sec.intro { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-h) + 44px); padding-bottom: 56px; display: flex; flex-direction: column; justify-content: center; }
.intro-in { width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: center; }
.intro .h1 { margin-top: 20px; }
.intro .lead { margin-top: 16px; }
.intro .tabs { margin-top: 32px; }
.intro-main .cta-row { justify-content: flex-start; }
.cert-note { padding: 14px 0 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--text-2); }
.intro-stats { width: 100%; max-width: var(--wrap); margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 72px; }
.intro-stats b { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.intro-stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.hero-line { position: relative; width: 110px; height: 1px; background: rgba(255, 255, 255, .28); }
.hero-line b { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--accent); }
.hero-line b.run { animation: prog 6s linear both; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.hero-arrow { position: relative; width: 40px; height: 40px; }
.hero-arrow::before { content: ""; position: absolute; top: 15px; width: 9px; height: 9px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.hero-arrow.prev::before { left: 17px; transform: rotate(-135deg); }
.hero-arrow.next::before { left: 12px; transform: rotate(45deg); }
.hero-cap { font-size: 12px; color: rgba(255, 255, 255, .6); }

/* ---------- 구역 공통 ---------- */
.sec { padding: 120px var(--gut); }
.sec.alt { background: var(--bg-2); }
.sec-in { max-width: var(--wrap); margin: 0 auto; }

/* ---------- 카드 격자: 사진 + 이름 + 버튼 2개 + 정보 2줄 ---------- */
.grid { max-width: var(--wrap); margin: 60px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 68px 44px; }
.card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--card); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .3s; }
.card-img:hover img { transform: scale(1.04); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.card-row b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.card-btns { flex: none; display: flex; gap: 6px; }
.mini { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 980px; border: 1px solid var(--text); background: var(--text); color: #000; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.mini:hover { background: #fff; }
.mini.line { background: transparent; border-color: rgba(255, 255, 255, .4); color: var(--text); }
.mini.line:hover { background: var(--text); color: #000; }
.card-meta { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
.card-meta span { display: block; color: var(--text-3); }
.more { text-align: center; margin-top: 64px; }
.empty { padding: 70px 0; text-align: center; color: var(--text-2); }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 980px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip[aria-current] { background: var(--text); border-color: var(--text); color: #000; }
.chip.off { opacity: .35; pointer-events: none; }

/* ---------- 숫자 · 팀 · 채널 ---------- */
.nums { max-width: 900px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.nums > div { padding: 2px 12px; text-align: center; }
.nums > div + div { border-left: 1px solid var(--line); }
.nums b { display: block; font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.nums span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.trio { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.box { display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--r); background: var(--card); text-align: left; }
.box .en { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.box b { margin-top: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.box b + b { margin-top: 6px; }
.box p { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.box .go { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--text); }
a.box { transition: background .25s var(--ease); }
a.box:hover { background: var(--card-2); }
.box.off .go { color: var(--text-3); }
.note { max-width: var(--content); margin: 22px auto 0; font-size: 13px; line-height: 1.6; color: var(--text-3); text-align: center; }

/* ---------- 영상 ---------- */
.player { position: relative; display: block; width: 100%; max-width: 980px; margin: 56px auto 0; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #111; }
.player img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.play::before { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.vcard .play { width: 46px; height: 46px; }
.vcard .play::before { left: 19px; top: 15px; border-width: 8px 0 8px 12px; }
.film-cap { position: absolute; left: 18px; right: 18px; bottom: 14px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .9); text-align: left; }
.film-cap small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.films { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vcard { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; }
.vcard img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.player iframe, .player video, .vcard iframe, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- 문의 ---------- */
.contact { text-align: center; }
.contact .tabs { margin-top: 30px; }
.tel { display: inline-flex; align-items: center; min-height: 44px; margin-top: 26px; font-size: 15px; color: var(--text-2); }
.tel b { margin-left: 8px; font-weight: 600; color: var(--text); }
.tel:hover b { color: var(--accent); }

/* ---------- 하단 ---------- */
.foot { border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; line-height: 1.8; padding: 30px var(--gut) 44px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; }
.foot-mark { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--text); margin-bottom: 10px; }
.foot a:hover { color: var(--text); }
.foot-copy { margin-top: 12px; }

/* ---------- 떠 있는 견적 버튼(PC) · 휴대폰 하단 바 ---------- */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 44; display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 980px; background: var(--accent); color: #000; font-size: 15px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.fab.on { opacity: 1; pointer-events: auto; transform: none; }
.fab.on:hover { transform: translateY(-2px); }
.fab[hidden] { display: none; }
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45; display: none; gap: 2px; padding: 5px; border-radius: 980px; background: rgba(38, 38, 40, .86); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); }
.dock a { display: flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 980px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.dock a[aria-current] { background: rgba(255, 255, 255, .16); color: var(--text); }
.dock a.go { background: var(--accent); color: #000; font-weight: 700; }

/* ---------- 안쪽 페이지 ---------- */
.page { padding: calc(var(--nav-h) + 84px) var(--gut) 120px; }
.d-top { padding: calc(var(--nav-h) + 76px) var(--gut) 0; text-align: center; }
.d-top .h2 { margin-top: 12px; }
.d-top .lead { margin-top: 12px; }
.d-top p.body { max-width: 680px; margin: 18px auto 0; font-size: 15px; line-height: 1.8; color: var(--text-2); }
.d-cover { display: block; width: 100%; max-width: var(--wrap); margin: 52px auto 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--card); }
.d-cover img { width: 100%; height: 100%; object-fit: cover; }
.shots { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 14px auto 0; padding: 0 var(--gut); columns: 2; column-gap: 14px; }
.shots figure { margin-bottom: 14px; break-inside: avoid; }
.shots button { display: block; width: 100%; background: var(--card); }
.shots img { width: 100%; height: auto; }
.shots figcaption { padding: 10px 2px 6px; font-size: 13px; line-height: 1.6; color: var(--text-2); text-align: left; }
.d-end { padding: 72px var(--gut) 0; text-align: center; }
.d-next { display: block; margin-top: 110px; padding: 84px var(--gut); background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.d-next small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
.d-next b { display: block; margin-top: 10px; font-size: clamp(21px, 2.8vw, 34px); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; transition: color .2s; }
.d-next:hover b { color: var(--accent); }

.lb { position: fixed; inset: 0; z-index: 90; background: #000; color: #fff; }
.lb[hidden] { display: none; }
.lb-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; padding: 56px 12px 52px; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-x { position: absolute; top: 4px; right: 10px; z-index: 2; min-height: 44px; padding: 0 14px; font-size: 15px; color: #fff; }
.lb-count { position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; letter-spacing: .1em; color: var(--text-2); }
.lb-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.lb-arrow::before { content: ""; position: absolute; top: 18px; width: 11px; height: 11px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; }
.lb-prev { left: 16px; }
.lb-prev::before { left: 21px; transform: rotate(-135deg); }
.lb-next { right: 16px; }
.lb-next::before { left: 15px; transform: rotate(45deg); }

/* ---------- 체크리스트 · 신청 양식 ---------- */
.wiz { max-width: 660px; margin: 0 auto; }
.wiz-head { text-align: center; }
.wiz-head .h2 { margin-top: 12px; }
.wiz-head .lead { margin-top: 10px; }
.prog { display: flex; gap: 6px; margin: 36px 0 4px; }
.prog i { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); }
.prog i.on { background: var(--accent); }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.kind { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); text-align: left; transition: background .25s var(--ease); }
.kind:hover { background: var(--card-2); }
.kind-img { aspect-ratio: 3 / 2; overflow: hidden; }
.kind-img img { width: 100%; height: 100%; object-fit: cover; }
.kind-in { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 24px 26px; }
.kind-in p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.kind-in .btn { margin-top: 20px; }
.q { margin-top: 32px; }
.ql { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.ql small { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.ql em { margin-left: 4px; font-style: normal; color: var(--accent); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 44px; padding: 0 17px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 15px; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.opt:hover { border-color: var(--text-2); }
.opt[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #000; font-weight: 600; }
.field { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); color: var(--text); font: inherit; letter-spacing: inherit; }
.field::placeholder { color: var(--text-3); }
textarea.field { min-height: 110px; resize: vertical; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201, 165, 111, .22); }
.wiz-tip { margin-top: 26px; padding: 14px 16px; border-radius: 12px; background: var(--card); font-size: 14px; line-height: 1.7; color: var(--text-2); }
.wiz-tip b { font-weight: 600; color: var(--accent); }
.sec-t { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.sec-t + .q { margin-top: 22px; }
.opt.unk { border-style: dashed; color: var(--text-2); }
.opt.unk[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); border-style: solid; color: #000; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.q-row .unit .field { max-width: none; }
.wh { margin-top: 12px; display: grid; gap: 8px; }
.wh-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 12px 100px 62px; align-items: center; gap: 8px; font-size: 15px; }
.wh-row .field { min-height: 44px; padding: 8px 10px; }
.wh-row i { font-style: normal; color: var(--text-3); text-align: center; }
.wh-row em { font-style: normal; font-size: 13px; color: var(--accent); text-align: right; }
@media (max-width: 520px) {
  .wh-row { grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 58px; }
  .wh-row span { grid-column: 1 / -1; margin-top: 6px; font-size: 14px; color: var(--text-2); }
}
.unit { display: flex; align-items: center; gap: 10px; }
.unit .field { max-width: 170px; }
.unit span { color: var(--text-2); }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.files span { padding: 6px 12px; border-radius: 980px; background: var(--card); font-size: 13px; color: var(--text-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 30px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.err { min-height: 22px; margin-top: 18px; font-size: 14px; color: #ff6961; }
.wiz-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.sum { margin-top: 32px; border-top: 1px solid var(--line); }
.sum > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum dt { color: var(--text-2); }
.next-steps { margin-top: 40px; }
.next-steps li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.next-steps .n { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--accent); padding-top: 2px; }
.next-steps b { font-size: 16px; font-weight: 600; }
.next-steps p { margin-top: 4px; font-size: 14px; color: var(--text-2); }

/* ---------- 회사 소개 · 문의 ---------- */
.about-msg { max-width: 680px; margin: 52px auto 0; }
.about-msg p { font-size: 15px; line-height: 2; color: var(--text-2); }
.about-msg p + p { margin-top: 18px; }
.policy { max-width: 680px; margin: 52px auto 0; }
.policy h2 { margin-top: 34px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.policy p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--text-2); }
.policy a, .agree a, .foot-copy a { text-decoration: underline; text-underline-offset: 3px; }
.agree a { color: var(--text); }
.policy .policy-date { margin-top: 34px; color: var(--text-3); }
.sign { max-width: 680px; margin: 32px auto 0; font-weight: 600; text-align: right; }
.info { width: 100%; max-width: 900px; margin: 52px auto 0; border-top: 1px solid var(--line); font-size: 15px; }
.info th, .info td { padding: 16px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info th { width: 150px; font-weight: 400; color: var(--text-2); }
.info a:hover { color: var(--accent); }
.steps { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 24px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 18px; }
.steps .n { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.steps b { display: block; margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.recog { max-width: 900px; margin: 52px auto 0; border-top: 1px solid var(--line); }
.recog li { display: grid; grid-template-columns: 120px 1fr auto; align-items: baseline; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.recog time { font-size: 13px; font-weight: 600; color: var(--accent); }
.recog strong { font-weight: 600; }
.recog span { font-size: 13px; color: var(--text-3); text-align: right; }
.acts { max-width: var(--wrap); margin: 56px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.acts .box { min-height: 150px; }

/* ---------- 첫 화면: 면허 표시 · 영상 ---------- */
.lic-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 980px; border: 1px solid rgba(201, 165, 111, .6); background: rgba(0, 0, 0, .4); color: var(--accent); font-size: 13px; font-weight: 600; }
.hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-bar[hidden] { display: none; }

/* ---------- 면허 강조: 건설업등록증 카드 ---------- */
.cert { padding: 28px 28px 12px; border-radius: var(--r); border: 1px solid rgba(201, 165, 111, .5); background: linear-gradient(160deg, #1b1812, #111113 65%); }
.cert-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.cert h3 { margin-top: 14px; font-size: 26px; font-weight: 700; letter-spacing: -.035em; }
.cert dl { margin-top: 18px; border-top: 1px solid var(--line); }
.cert dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; font-size: 14px; }
.cert dl > div + div { border-top: 1px solid var(--line); }
.cert dt { color: var(--text-2); }
.cert dd { font-weight: 600; }

/* ---------- 주거 / 상업 따로 + 오른쪽 채널(사진 + 버튼) ---------- */
.pf { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 60px; align-items: start; }
.block + .block { margin-top: 120px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; }
.block-head .h2 { margin-top: 10px; }
.block-head.wide { max-width: var(--wrap); margin: 72px auto 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.block-head.wide.gap { margin-top: 120px; }
.block-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.grid.two { max-width: none; margin: 40px 0 0; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
.grid.under { margin-top: 40px; }
.pf-side { position: sticky; top: calc(var(--nav-h) + 28px); }
.chan-list { margin-top: 18px; display: grid; gap: 14px; }
.chan { border-radius: var(--r); overflow: hidden; background: var(--card); }
.chan-img { aspect-ratio: 16 / 9; overflow: hidden; }
.chan-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); }
.chan-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; }
.chan-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chan-name svg { flex: none; width: 30px; height: 30px; }
.chan-in b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.chan-in small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); }
.mini.off { opacity: .5; pointer-events: none; }
@media (max-width: 1100px) {
  .intro-in { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .intro-main .cta-row { justify-content: center; }
  .intro .cert { width: 100%; max-width: 480px; margin: 0 auto; text-align: left; }
  .intro-stats { justify-content: space-around; gap: 0; text-align: center; margin-top: 52px; }
  .pf { grid-template-columns: 1fr; }
  .pf-side { position: static; margin-top: 96px; }
  .chan-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .block + .block { margin-top: 88px; }
  .block-head.wide.gap { margin-top: 88px; }
  .chan-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none; }
  .chan-list::-webkit-scrollbar { display: none; }
  .chan { scroll-snap-align: center; }
}
@media (max-width: 620px) {
  .grid.two { grid-template-columns: 1fr; gap: 48px; }
}

/* 화면 밖 구역은 그릴 때까지 미뤄서 휴대폰에서 가볍게 */
.sec { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.sec.intro { content-visibility: visible; }   /* 첫 화면 바로 아래라 미루지 않는다 */

/* ---------- 화면 크기별 ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 56px 28px; }
  .films { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .gnav-links, .gnav-cta { display: none; }
  .burger { display: block; }
  .trio { grid-template-columns: 1fr; }
  .box { padding: 26px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 38px 20px; }
  .acts { grid-template-columns: repeat(2, 1fr); }
  .fab { display: none; }
}
@media (max-width: 760px) {
  :root { --gut: 20px; --nav-h: 48px; }
  .m-only { display: inline; }
  .dock { display: flex; }
  .chn { width: 38px; }
  .chn svg { width: 25px; height: 25px; }
  .hero-ctrl { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero-line { width: 70px; }
  .intro .cert { padding: 22px 22px 8px; }
  .tabs button { padding: 0 18px; font-size: 14px; }
  .sec { padding-top: 88px; padding-bottom: 88px; }
  .nums { margin-top: 44px; }
  .trio { margin-top: 40px; }
  .grid { margin-top: 44px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .player { margin-top: 40px; }
  .films { grid-template-columns: 1fr; margin-top: 40px; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .page { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 92px; }
  .d-top { padding-top: calc(var(--nav-h) + 52px); }
  .d-cover { margin-top: 36px; aspect-ratio: 4 / 3; }
  .shots { columns: 1; }
  .d-next { margin-top: 80px; padding: 64px var(--gut); }
  .lb-arrow { display: none; }
  .kinds { grid-template-columns: 1fr; }
  .info th { width: 96px; }
  .sum > div { grid-template-columns: 96px 1fr; }
  .recog li { grid-template-columns: 1fr; gap: 2px; padding: 16px 2px; }
  .recog span { text-align: left; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .acts { grid-template-columns: 1fr; }
  .wordmark span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
  .hero-slide.on img, .hero-line b.run { animation: none; }
  .menu { transition: none; }
}
