/* 더샵 퍼스트월드 오피스텔 — 터미널 출발 안내판을 한 가지 강조 요소로, 나머지는 절제 */
:root {
  --navy: #0c1838;      /* THE SHARP 남색, 기본 바탕 */
  --night: #070f26;     /* 어두운 구역 */
  --paper: #eef1f6;     /* 밝은 구역 */
  --ink: #142041;       /* 본문 글자 */
  --mute: #5b6680;      /* 보조 글자 */
  --line: #d6dce8;
  --brand: #ee4d9b;     /* 예약·전화 버튼에만 */
  --led: #f5b544;       /* 출발 안내판에만 */
  --display: 'Wanted Sans Variable', 'Wanted Sans', 'Pretendard Variable', Pretendard, sans-serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --gut: 20px;
  --hd: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1120px, 100% - var(--gut) * 2); margin-inline: auto; }
.sec { padding: 72px 0; }
.sec--paper { background: var(--paper); }
.sec--night { background: var(--night); color: #e8ecf5; }
.h2 { font-family: var(--display); font-weight: 750; font-size: clamp(28px, 6.4vw, 46px); line-height: 1.28; letter-spacing: -0.035em; margin: 0 0 16px; color: var(--navy); }
.sec--night .h2 { color: #fff; }
.h2--sm { font-size: clamp(22px, 4.6vw, 30px); margin: 0; }
.h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; color: var(--navy); }
.lead { font-size: 17px; color: var(--mute); max-width: 36em; margin: 0 0 24px; }
.sec--night .lead { color: #b9c2d6; }
.sub { font-size: 15px; color: var(--mute); margin: 8px 0 0; }
.fine { font-size: 12.5px; line-height: 1.55; color: #7a849b; margin: 12px 0 0; }
.fine--light { color: #8d97ad; }
.link { color: var(--brand); font-weight: 700; text-decoration: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: #d93d88; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--line { background: #fff; color: var(--navy); border: 1px solid var(--line); min-height: 46px; }
.btn--block { width: 100%; }
.ico-tel { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* 헤더 */
.hd { position: fixed; inset: 0 0 auto; height: var(--hd); z-index: 50; display: flex; align-items: center; gap: 16px; padding: 0 var(--gut); background: rgba(12,24,56,.0); transition: background .25s; }
.hd.is-scrolled { background: rgba(12,24,56,.94); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.hd__logo img { height: 34px; width: auto; }
.gnb { display: none; margin-left: auto; gap: 24px; }
.gnb a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; opacity: .85; }
.gnb a:hover { opacity: 1; }
.hd__tel { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; background: var(--brand); padding: 8px 14px; border-radius: 999px; }

/* 첫 화면 */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { display: block; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,38,.55) 0%, rgba(7,15,38,0) 28%, rgba(7,15,38,.15) 50%, rgba(7,15,38,.9) 100%); }
.hero__body { position: relative; padding: 0 var(--gut) 40px; width: min(1120px, 100%); margin-inline: auto; }
.hero__kicker { margin: 0 0 12px; font-size: 15px; color: #ffd1e6; font-weight: 600; }
.hero__title { font-family: var(--display); font-weight: 820; font-size: clamp(36px, 9.6vw, 76px); line-height: 1.18; letter-spacing: -0.045em; margin: 0 0 18px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__lead { margin: 0 0 26px; font-size: 18px; line-height: 1.5; color: #e6ebf5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__note { position: relative; margin: 0; padding: 0 var(--gut) 92px; font-size: 11.5px; color: rgba(255,255,255,.6); width: min(1120px, 100%); margin-inline: auto; }

/* 사업 개요 */
.overview { display: grid; gap: 36px; }
.spec { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.spec > div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--mute); font-size: 14px; padding-top: 2px; }
.spec dd { margin: 0; font-weight: 600; }

/* 오피스텔 조건 */
.benefit { display: grid; gap: 32px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 16px 16px 16px 52px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.checks li::before { content: ''; position: absolute; left: 16px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { display: block; font-size: 17px; color: var(--navy); }
.checks span { font-size: 14.5px; color: var(--mute); }
.compare { border-top: 2px solid var(--navy); }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
.compare__row span:nth-child(2) { color: var(--mute); }
.compare__row span:nth-child(3) { font-weight: 800; color: var(--navy); }
.compare__row--head { font-size: 13px; color: var(--mute); padding: 10px 0; }
.compare__row--head span:nth-child(3) { color: var(--brand); }

/* 교통 */
.transit { display: grid; gap: 40px; }
.board { margin-top: 8px; background: #050b1c; border: 1px solid #1e2a4a; border-radius: 12px; padding: 14px 14px 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.35); }
.board__head, .board__list li { display: grid; grid-template-columns: 1fr 1.15fr 64px; gap: 10px; align-items: center; }
.board__head { font-size: 12px; color: #6f7a96; padding: 0 6px 8px; border-bottom: 1px solid #1a2442; }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__list li { padding: 11px 6px; border-bottom: 1px dashed #1a2442; }
.board__list li:last-child { border-bottom: 0; }
.board__dest { font-weight: 800; color: #fff; font-size: 17px; }
.board__line { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #c4cbe0; }
.board__line i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.board__time { text-align: right; font-family: var(--display); font-variant-numeric: tabular-nums; color: var(--led); font-weight: 800; font-size: 20px; text-shadow: 0 0 10px rgba(245,181,68,.45); }
.board__time small { font-size: 12px; font-weight: 600; margin-left: 2px; }
.board__time .digit { display: inline-block; }
.board__time .digit.is-flip { animation: flip .5s cubic-bezier(.3,.7,.3,1) both; }
@keyframes flip { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.board__foot { margin: 8px 6px 0; font-size: 11px; color: #4a5576; letter-spacing: .04em; }

/* 지도 */
.map { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 13; background: #0a1230; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,.75); text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.map__label { font: 800 40px var(--sans); fill: #fff; paint-order: stroke; stroke: rgba(5,11,28,.85); stroke-width: 8px; }
.map__chip { font: 800 26px var(--sans); fill: #fff; }
.map .line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map.is-ready .line--draw { transition: stroke-dashoffset 1.4s cubic-bezier(.6,.05,.3,1); }

/* 생활 */
.life { display: grid; gap: 36px; }
.near { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.near li { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.near img { height: 26px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }
.near .near__txt { font-weight: 900; font-size: 20px; color: #e2492a; line-height: 26px; }
.near b { font-size: 15px; color: var(--navy); }
.mall { margin-top: 28px; display: grid; gap: 14px; }
.mall img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mall p { margin: 0; color: var(--mute); }

/* 전용 공간 */
.space { display: grid; gap: 32px; }
.tiles { display: grid; gap: 8px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles figure { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #dfe4ee; }
.tiles video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tiles--1 video { aspect-ratio: 16 / 9; }
.tiles figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(5,11,28,.8)); }

/* 실내 */
.unit { display: grid; gap: 32px; align-items: center; }
.unit__media video { width: 100%; max-width: 420px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; margin-inline: auto; }
.notice { padding: 14px 16px; background: #fff; border-left: 4px solid var(--navy); border-radius: 0 8px 8px 0; font-weight: 600; margin: 0; }

/* 영상 */
.film { display: grid; gap: 28px; align-items: center; }
.film__frame { width: min(360px, 100%); margin-inline: auto; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.film__frame video { width: 100%; aspect-ratio: 9 / 16; }

/* 예약 + 게시판 */
.reserve { display: grid; gap: 48px; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--navy); padding: 0; }
.field small { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c6cedd; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(12,24,56,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid #c6cedd; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--mute); background: #fff; cursor: pointer; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; }
.agree { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.agree input { width: 20px; height: 20px; accent-color: var(--navy); }
.privacy { font-size: 13.5px; color: var(--mute); margin-top: -8px; }
.privacy summary { cursor: pointer; }
.privacy p { margin: 8px 0 0; line-height: 1.6; }
.form__msg { margin: 0; font-weight: 700; min-height: 1.4em; }
.form__msg.is-ok { color: #0d7a4f; }
.form__msg.is-err { color: #c4264f; }
.qna__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qna__count { font-size: 14px; color: var(--mute); }
.qna { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; border-top: 2px solid var(--navy); }
.qna th { font-size: 12.5px; color: var(--mute); font-weight: 600; text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.qna td { padding: 13px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.qna td:first-child, .qna th:first-child { color: var(--mute); width: 46px; font-variant-numeric: tabular-nums; }
.qna__title { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.qna__title::before { content: ''; width: 12px; height: 12px; flex: none; background: #9aa4ba; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center/contain no-repeat; }
.qna__state { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.st-new { background: #fde7f1; color: #b8256c; }
.st-call { background: #e5ecfb; color: #2a4fa8; }
.st-done { background: #e7f4ee; color: #17704a; }
.qna__empty { text-align: center; color: var(--mute); padding: 32px 0 !important; }
.qna tr.is-mine td { background: #fff7fb; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.pager button { min-width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 6px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.pager button[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 오시는 길 */
.visit { display: grid; gap: 28px; }
.addr { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0; }
.visit__links { display: flex; gap: 8px; margin-top: 18px; }
.visit__call { padding: 24px; background: var(--navy); color: #fff; border-radius: 14px; }
.visit__call p { margin: 0; }
.visit__call .sub { color: #aab4cc; }
.visit__tel { display: block; font-family: var(--display); font-size: clamp(36px, 10vw, 52px); font-weight: 900; text-decoration: none; letter-spacing: -0.02em; margin: 4px 0; color: #fff; }

/* 푸터 */
.ft { background: var(--night); color: #8d97ad; font-size: 13px; padding: 40px 0 120px; }
.ft__logo { height: 28px; width: auto; margin-bottom: 16px; }
.ft p { margin: 0 0 6px; }
.ft__notes { margin: 16px 0 0; padding-left: 16px; line-height: 1.6; }

/* 모바일 하단 고정 */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.3fr; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: rgba(7,15,38,.94); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .3s; }
body.show-dock .dock { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 8px; font-weight: 800; text-decoration: none; color: #fff; }
.dock__call { background: rgba(255,255,255,.12); }
.dock__reserve { background: var(--brand); }

@media (min-width: 900px) {
  :root { --gut: 40px; --hd: 72px; }
  .sec { padding: 112px 0; }
  .gnb { display: flex; }
  .hd__tel { margin-left: 24px; }
  .hero__video { display: none; }
  .hero__body { padding-bottom: 56px; }
  .hero__note { padding-bottom: 32px; }
  .overview { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .benefit { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .transit { grid-template-columns: 1fr 0.9fr; gap: 64px; align-items: start; }
  .life { grid-template-columns: 0.9fr 1fr; gap: 64px; align-items: start; }
  .near { grid-template-columns: repeat(4, 1fr); }
  .mall { grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
  .space { grid-template-columns: 1fr 1fr; }
  .space__group:first-child { grid-column: 1 / -1; }
  .unit { grid-template-columns: 0.8fr 1fr; gap: 72px; }
  .film { grid-template-columns: 1fr 1fr; }
  .reserve { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .visit { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .dock { display: none; }
  .ft { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .map.is-ready .line--draw, .board__time .digit.is-flip { transition: none; animation: none; }
}
.near img.is-red { background: #e31837; padding: 3px 8px; border-radius: 4px; height: 28px; }

.link .js-tel-text{white-space:nowrap}
