/* ot-main.css — 2026-11-22. 오피스텔 메인 개편 (PM 지시 2026-11-22).
   공식 홈페이지 토큰만 쓴다: 주색 #004b45 · 짙은 초록 #032B20 · 금 #E2B565/#B5853A · 크림 #F7F3EA · 글꼴 SUIT/Aboreto.
   모든 페이지의 스타일 맨 뒤에서 불러온다. 동결 파일(style.css, pass02.css)과 기존 css는 고치지 않는다. */

:root { --ot-green: #004b45; --ot-deep: #032B20; --ot-gold: #E2B565; --ot-gold-line: #B5853A; --ot-cream: #F7F3EA; --ot-font: "SUIT", "Pretendard", sans-serif; --ot-en: "Aboreto", "SUIT", serif; }

/* ── 헤더: PC에서 메뉴가 오른쪽 버튼·전화번호와 겹치던 것을 푼다 ───────────────────
   메뉴 안의 「근린생활시설」은 헤더 오른쪽 버튼과 같은 링크라 PC에서는 한 번만 보인다. */
@media (min-width: 901px) {
  body .header #global-nav a.header-commercial { display: none; }
  body .header > a.header-commercial { flex: none; }
}
@media (min-width: 1025px) {
  body .header .header-tel { flex: none; white-space: nowrap; }
}
/* 1700px 이하에서는 가운데 고정을 풀고 로고 다음에 차례로 놓는다(겹침 없음). */
@media (min-width: 901px) and (max-width: 1700px) {
  body .header #global-nav { position: static; left: auto; transform: none; flex: 0 1 auto; margin: 0 16px 0 20px; }
}
@media (min-width: 1421px) and (max-width: 1560px) {
  body .header #global-nav { gap: 10px; }
  body .header #global-nav a, body .header #global-nav .nav-cta, body .header #global-nav .nav-visit { padding: 0 4px; font-size: 15px; }
}
/* 로고가 홈 링크이므로 좁은 PC 폭에서는 HOME 글자를 접는다. */
@media (min-width: 901px) and (max-width: 1360px) {
  body .header #global-nav a[href="/"]:first-child { display: none; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  body .header > a.header-commercial { display: none; }
  body .header #global-nav { margin: 0 12px 0 12px; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  body .header .header-tel { font-size: 20px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body .header #global-nav { gap: 0; margin: 0 8px; }
  body .header #global-nav a, body .header #global-nav .nav-cta, body .header #global-nav .nav-visit { padding: 0 4px; font-size: 13px; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  body .header #global-nav .nav-event { display: none; }
  body .header .wordmark.u-logo > .u-logo__txt { font-size: 18px; }
}

/* ── 공통 버튼 (금색 채움 / 크림 선) ─────────────────────────────────────── */
.ot-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px; font-family: var(--ot-font); font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; box-sizing: border-box; }
.ot-btn--gold { background: var(--ot-gold); color: var(--ot-deep); border: 1px solid var(--ot-gold); }
.ot-btn--gold:hover, .ot-btn--gold:focus-visible { background: #F0C87E; }
.ot-btn--line { background: transparent; color: var(--ot-cream); border: 1px solid rgba(247, 243, 234, 0.7); }
.ot-btn--line:hover, .ot-btn--line:focus-visible { background: rgba(247, 243, 234, 0.12); }
.ot-btn:focus-visible { outline: 3px solid var(--ot-gold); outline-offset: 3px; }

/* ── 홈: 히어로 바로 아래 장면 = 오피스텔 안내(주) + 아파트 평면도·공급금액(띠) ── */
.plans-banner-wrap.ot-scene { background: #000; }
.ot-scene__in { display: grid; gap: 16px; width: 100%; max-width: 1300px; margin: 0 auto; font-family: var(--ot-font); }
.ot-scene__in * { box-sizing: border-box; }
.ot-lead { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 50vh, 480px); overflow: hidden; border: 1px solid var(--ot-gold-line); border-radius: 8px; background: var(--ot-deep); color: var(--ot-cream); }
.ot-lead__bg { position: absolute; inset: 0; margin: 0; }
.ot-lead__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.ot-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 43, 32, 0.96) 0%, rgba(3, 43, 32, 0.86) 34%, rgba(3, 43, 32, 0.35) 66%, rgba(3, 43, 32, 0.08) 100%); pointer-events: none; }
.ot-lead__copy { position: relative; z-index: 1; width: 100%; max-width: 680px; padding: 40px 48px; }
.ot-lead__eyebrow { margin: 0 0 10px; color: var(--ot-gold); font-family: var(--ot-en); font-size: 15px; letter-spacing: 0.18em; line-height: 1.4; }
.ot-lead h2 { margin: 0; color: var(--ot-cream); font-family: var(--ot-font); font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; word-break: keep-all; }
.ot-lead h2 span { color: var(--ot-gold); }
.ot-lead__lead { margin: 10px 0 0; color: var(--ot-cream); font-size: 19px; line-height: 1.6; word-break: keep-all; }
.ot-lead__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ot-lead__facts li { padding: 7px 14px; border: 1px solid rgba(226, 181, 101, 0.6); border-radius: 999px; color: var(--ot-cream); font-size: 15px; font-weight: 600; line-height: 1.4; }
.ot-lead__facts b { color: var(--ot-gold); font-weight: 800; }
.ot-lead__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.ot-lead__note { margin: 16px 0 0; color: rgba(247, 243, 234, 0.78); font-size: 12px; line-height: 1.5; word-break: keep-all; }
.plans-banner.plans-banner--strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 28px; }
.plans-banner--strip .plans-banner__text { min-width: 0; }
.plans-banner--strip h3 { margin: 0; color: var(--ot-cream); font-family: var(--ot-font); font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.plans-banner--strip .plans-banner__price { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.plans-banner--strip .plans-banner__btn { flex: none; height: 44px; margin: 0; padding: 0 20px; font-size: 15px; white-space: nowrap; }
@media (min-width: 1025px) and (max-height: 800px) {
  .ot-lead { min-height: 0; }
  .ot-lead__copy { padding: 26px 36px; }
  .ot-lead h2 { font-size: 32px; }
  .ot-lead__lead { font-size: 17px; }
  .ot-lead__facts { margin-top: 12px; }
  .ot-lead__cta { margin-top: 14px; }
  .ot-btn { min-height: 46px; font-size: 16px; }
  .plans-banner.plans-banner--strip { padding: 12px 24px; }
}
@media (max-width: 1024px) {
  .ot-lead { min-height: 420px; }
  .ot-lead__bg img { object-position: 50% 30%; }
  .ot-lead::after { background: linear-gradient(180deg, rgba(3, 43, 32, 0.25) 0%, rgba(3, 43, 32, 0.82) 42%, rgba(3, 43, 32, 0.97) 100%); }
  .ot-lead__copy { padding: 28px 20px 24px; }
  .ot-lead__eyebrow { font-size: 13px; }
  .ot-lead h2 { font-size: 28px; }
  .ot-lead__lead { font-size: 16px; }
  .ot-lead__facts li { font-size: 14px; padding: 6px 12px; }
  .ot-lead__cta .ot-btn { flex: 1 1 100%; }
  .plans-banner.plans-banner--strip { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 20px; }
  .plans-banner--strip .plans-banner__btn { width: 100%; }
}

/* ── /officetel 오피스텔 안내 페이지 ─────────────────────────────────────── */
.ot-page .ot-hero { position: relative; margin: 0 0 12px; overflow: hidden; border-radius: 8px; background: var(--ot-deep); color: var(--ot-cream); font-family: var(--ot-font); }
.ot-page .ot-hero img { display: block; width: 100%; height: clamp(420px, 56vw, 640px); object-fit: cover; object-position: 50% 62%; }
.ot-page .ot-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 43, 32, 0.94) 0%, rgba(3, 43, 32, 0.74) 36%, rgba(3, 43, 32, 0.12) 70%, rgba(3, 43, 32, 0) 100%); pointer-events: none; }
.ot-page .ot-hero__copy { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; max-width: 640px; padding: 48px; box-sizing: border-box; }
.ot-page .ot-hero__en { margin: 0 0 12px; color: var(--ot-gold); font-family: var(--ot-en); font-size: 16px; letter-spacing: 0.2em; }
.ot-page .ot-hero__lead { margin: 0; color: var(--ot-cream); font-size: 36px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; word-break: keep-all; }
.ot-page .ot-hero__tag { margin: 12px 0 0; color: var(--ot-cream); font-size: 18px; line-height: 1.6; }
.ot-page .ot-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.ot-page .ot-answer { max-width: 860px; margin: 0 0 28px; font-size: 18px; line-height: 1.75; word-break: keep-all; }
.ot-page .ot-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 0; }
.ot-page .official-lineup.ot-lineup { grid-template-columns: minmax(0, 720px); gap: 0; }
.ot-page .ot-figure { margin: 20px 0 0; max-width: 814px; }
.ot-page .ot-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.ot-page .ot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.ot-link-row { margin: 16px 0 0; }
@media (max-width: 1024px) {
  .ot-page .ot-hero img { height: 520px; object-position: 50% 30%; }
  .ot-page .ot-hero::after { background: linear-gradient(180deg, rgba(3, 43, 32, 0.2) 0%, rgba(3, 43, 32, 0.8) 46%, rgba(3, 43, 32, 0.97) 100%); }
  .ot-page .ot-hero__copy { padding: 28px 20px 24px; }
  .ot-page .ot-hero__lead { font-size: 26px; }
  .ot-page .ot-hero__tag { font-size: 16px; }
  .ot-page .ot-hero__cta .ot-btn { flex: 1 1 100%; }
  .ot-page .ot-answer { font-size: 16px; }
  .ot-page .ot-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .ot-page .ot-facts strong { font-size: clamp(22px, 6.4vw, 35px); white-space: nowrap; }
}

/* ── 사전등록 상품 팝업 스타일 (2026-11-24 종료, 화면에서는 쓰지 않음) ── */
body .prereg-pop--gold .gold-pop__head { position: relative; margin: -32px -32px 20px; padding: 28px 32px 24px; overflow: hidden; border-bottom: 2px solid var(--ot-gold-line); border-radius: 8px 8px 0 0; background: linear-gradient(135deg, var(--ot-deep) 0%, var(--ot-green) 100%); }
body .prereg-pop--gold .prereg-pop__panel .gold-pop__head p.gold-pop__eyebrow { margin: 0 0 8px; color: var(--ot-gold); font-family: var(--ot-en); font-size: 13px; letter-spacing: 0.22em; line-height: 1.4; }
body .prereg-pop--gold .prereg-pop__panel h2.gold-pop__title { margin: 0; padding-right: 40px; color: var(--ot-cream); font-family: var(--ot-font); font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; word-break: keep-all; }
body .prereg-pop--gold .prereg-pop__panel .gold-pop__head p.gold-pop__prize { margin: 14px 0 0; padding-right: 116px; color: var(--ot-cream); }
body .prereg-pop--gold .gold-pop__prize b { display: block; color: var(--ot-gold); font-size: clamp(34px, 9vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
body .prereg-pop--gold .gold-pop__prize span { display: block; margin-top: 6px; color: rgba(247, 243, 234, 0.88); font-size: 14px; line-height: 1.5; word-break: keep-all; }
body .prereg-pop--gold .gold-pop__bar { position: absolute; right: 24px; bottom: 22px; width: 104px; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }
body .prereg-pop--gold .prereg-pop__x { color: var(--ot-cream); }
body .prereg-pop--gold .prereg-pop__panel .prereg-promo { margin-bottom: 4px; }

/* 작업지시서 25 후속: 1101~1560px에서 메뉴가 전화번호를 뷰포트 밖으로 밀지 않게 간격만 줄인다.
   헤더 구조·클래스·항목은 그대로. 1024px 이하 아이콘 전화는 기존 규칙. */
@media (min-width: 1101px) and (max-width: 1560px) {
  body .header #global-nav { gap: 2px; margin: 0 8px 0 12px; }
  body .header #global-nav a,
  body .header #global-nav .nav-cta,
  body .header #global-nav .nav-visit { padding: 0 3px; font-size: 14px; }
  body .header > a.header-commercial { margin-right: 6px; padding: 8px 10px; }
}

/* 평면 공급금액표는 휴대폰에서 표 안에서만 가로로 움직인다. 페이지 자체는 넘치지 않는다. */
@media (max-width: 767px) {
  body[data-page="unit"] .section.wrap { overflow-x: clip; }
  body[data-page="unit"] .notice-table { overflow-x: auto; }
}
