/* 두산위브 트리니뷰 구명역 공통 스타일 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:  #0d1829;
  --navy2: #162040;
  --gold:  #c9a050;
  --gold-light: #e8c56e;
  --dark:  #0a0f1e;
  --gray:  #f5f5f5;
  --border: #e8e8e8;
  --text:  #111111;
}
html { font-size: 16px; }
body { font-family: 'Noto Sans KR', -apple-system, sans-serif; color: var(--text); background: #fff; max-width: 480px; margin: 0 auto; padding-bottom: 64px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 헤더 */
#header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 52px; background: var(--navy); box-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hd-logo { display: flex; flex-direction: column; line-height: 1.2; }
.hd-logo strong { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.hd-logo small { font-size: 9px; color: var(--gold); letter-spacing: 0.04em; font-weight: 500; }
.hd-right { display: flex; align-items: center; gap: 8px; }
.hd-call { display: flex; align-items: center; gap: 5px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 4px; letter-spacing: -0.02em; }
.hd-menu { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.hd-menu span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 1px; }

/* 드로어 */
#nav-drawer { display: none; position: fixed; top: 52px; right: 0; width: 200px; background: var(--navy2); z-index: 99; border-left: 1px solid rgba(255,255,255,0.1); box-shadow: -4px 0 16px rgba(0,0,0,0.3); }
#nav-drawer.open { display: flex; flex-direction: column; }
#nav-drawer a { padding: 14px 20px; color: #ccc; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
#nav-drawer a.active, #nav-drawer a:hover { color: var(--gold); }

/* 페이지 히어로 */
.page-hero { background: var(--navy); padding: 28px 20px 24px; text-align: center; }
.ph-en { font-size: 10px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.page-hero h1 { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 4px; }
.page-hero p { font-size: 12px; color: rgba(255,255,255,0.55); }

/* 섹션 */
.sec { padding: 28px 20px; }
.sec-en { font-size: 10px; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.sec-title { font-size: 18px; font-weight: 800; color: #111; letter-spacing: -0.04em; margin-bottom: 8px; }
.gold-bar { width: 28px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.divider { height: 8px; background: var(--gray); }

/* 슬라이드 */
.slide-wrap { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: #eee; }
.slide-track { display: flex; height: 100%; transition: transform 0.35s ease; }
.slide-item { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #ddd; color: #aaa; font-size: 12px; text-align: center; overflow: hidden; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); color: #fff; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slide-btn.prev { left: 8px; }
.slide-btn.next { right: 8px; }
.slide-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.slide-dot { width: 6px; height: 6px; border-radius: 50%; background: #ddd; }
.slide-dot.on { background: var(--gold); }

/* 사업개요 테이블 */
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.info-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.info-table td:first-child { width: 90px; color: #888; font-size: 12px; white-space: nowrap; }
.info-table td:last-child { font-weight: 600; }

/* 폼 */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; color: #555; margin-bottom: 5px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 10px 12px; font-size: 14px; font-family: inherit; outline: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--gold); }
.form-row textarea { height: 80px; resize: none; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #777; }
.form-check a { color: var(--gold); text-decoration: underline; }
.btn-submit { width: 100%; padding: 16px; background: var(--navy); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 800; cursor: pointer; letter-spacing: -0.02em; margin-top: 4px; }
.btn-submit:hover { background: var(--navy2); }

/* 하단 네비 */
#bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; border-top: 1px solid #eee; display: flex; z-index: 100; }
.bnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; color: #aaa; font-size: 10px; }
.bnav-item svg { width: 20px; height: 20px; fill: none; stroke: #aaa; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bnav-item.active, .bnav-item.active svg { color: var(--gold); stroke: var(--gold); }

/* 푸터 */
#footer { background: var(--navy); color: rgba(255,255,255,0.5); font-size: 11px; padding: 20px; line-height: 2; text-align: center; }
#footer strong { color: #fff; display: block; font-size: 13px; margin-bottom: 4px; }
#footer a { color: var(--gold); }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-top: 8px; font-size: 11px; }
.footer-links a { color: rgba(255,255,255,0.4); }
.footer-note { font-size: 10px; margin-top: 8px; color: rgba(255,255,255,0.25); line-height: 1.6; }

/* 최근 방문자 위젯 */
#recent-visitors { background: #fff; border-top: 1px solid #f0f0f0; padding: 16px 20px; }
#recent-visitors .rv-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.rv-list { display: flex; flex-direction: column; gap: 0; }
.rv-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f8f8f8; animation: rv-fadein 0.4s ease; }
.rv-dot { width: 7px; height: 7px; border-radius: 50%; background: #4caf50; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(76,175,80,0.15); }
.rv-name { font-size: 13px; font-weight: 700; color: #111; flex: 1; }
.rv-type { font-size: 11px; color: #999; }
.rv-time { font-size: 10px; color: #bbb; white-space: nowrap; }
@keyframes rv-fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
