/* =========================================================
   두산위브더제니스 부천 오피스텔 — 브랜드 스타일 시스템
   Palette : Navy Deep #0B1A33 / Navy Ink #14294D / Brass Gold #B8935A
             Paper #F5F2EA / Ivory #FFFFFF / Ink Gray #4A5568
   Type    : 'Noto Serif KR' (display) + 'Pretendard, Noto Sans KR' (body)
   ========================================================= */

:root {
  --navy-deep: #0b1a33;
  --navy-ink: #132a4e;
  --navy-soft: #1c3a63;
  --gold: #b8935a;
  --gold-bright: #d4af74;
  --paper: #f5f2ea;
  --ivory: #ffffff;
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --line: rgba(11, 26, 51, 0.12);
  --line-gold: rgba(184, 147, 90, 0.45);
  --radius: 2px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Top notice bar ---------- */
.notice-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  font-size: 12.5px;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.01em;
}
.notice-bar strong { color: var(--gold-bright); font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 51, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184,147,90,0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark img { height: 30px; width: auto; }
.brand-mark .brand-text {
  color: var(--ivory);
  font-family: 'Noto Serif KR', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.brand-mark .brand-text small {
  display: block;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius);
  font-weight: 700;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-bright); color: var(--navy-deep) !important; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; color: #fff; background: none; border: 1px solid rgba(255,255,255,0.3); padding: 8px 12px; border-radius: var(--radius); }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-ink) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent 100%),
    repeating-linear-gradient(0deg, rgba(184,147,90,0.05) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-bright);
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.28;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright);
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 16.5px;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-navy { background: var(--navy-deep); color: #fff; }
.btn-navy:hover { background: var(--navy-ink); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stats div {
  padding: 22px 20px 26px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.hero-stats div:last-child { border-right: none; }
.hero-stats .num {
  font-family: 'Noto Serif KR', serif;
  font-size: 27px;
  color: var(--gold-bright);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.hero-stats .lbl { font-size: 12.5px; color: rgba(255,255,255,0.65); }

.hero-photo {
  position: relative;
  border: 1px solid rgba(184,147,90,0.4);
  padding: 10px;
}
.hero-photo img { width: 100%; height: auto; }
.hero-photo .corner {
  position: absolute; width: 16px; height: 16px; border-color: var(--gold-bright); border-style: solid; border-width: 0;
}
.hero-photo .c-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.hero-photo .c-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.hero-caption {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
}

/* ---------- Section basics ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--ivory); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.section-lead {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 62ch;
  margin-bottom: 44px;
}
.section-head { max-width: 720px; }

/* ---------- Overview / narrative blocks ---------- */
.narrative { max-width: 720px; }
.narrative p { margin-bottom: 18px; color: var(--ink-soft); font-size: 15.5px; }
.narrative h3 { font-size: 19px; margin: 34px 0 10px; color: var(--navy-deep); }

/* ---------- Type cards ---------- */
.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.type-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 32px 30px;
}
.type-card .type-name {
  font-family: 'Noto Serif KR', serif;
  font-size: 28px;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.type-card .type-tag { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 20px; }
.type-specs { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.type-specs li {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.type-specs li span:first-child { color: var(--ink-soft); }
.type-specs li span:last-child { font-weight: 600; color: var(--navy-deep); }
.type-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 760px) { .type-grid { grid-template-columns: 1fr; } }

/* ---------- Feature list (Have/Live/Save/Solve) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-cell { background: var(--ivory); padding: 30px 24px; }
.feature-cell .f-tag { color: var(--gold); font-family: 'Noto Serif KR', serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.feature-cell h4 { font-size: 16px; margin-bottom: 8px; }
.feature-cell p { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; }
.gallery-grid figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

@media (max-width: 880px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Community list ---------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.community-item {
  padding: 26px 24px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
}
.community-item h4 { font-size: 16px; margin-bottom: 8px; }
.community-item p { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 880px) { .community-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .community-grid { grid-template-columns: 1fr; } }

/* ---------- Transit table ---------- */
.transit-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.transit-table th, .transit-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.transit-table th { color: var(--navy-deep); font-weight: 700; background: rgba(184,147,90,0.08); }
.transit-table td.time { color: var(--gold); font-weight: 700; text-align: right; font-family: 'Noto Serif KR', serif; }
.transit-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Development pipeline list ---------- */
.pipeline-list { list-style: none; margin: 0; padding: 0; }
.pipeline-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.pipeline-list .status {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  height: fit-content;
}
.status-confirmed { background: rgba(11,26,51,0.08); color: var(--navy-deep); }
.status-planned { background: rgba(184,147,90,0.15); color: #8a6a3a; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold);
  font-family: 'Pretendard', sans-serif;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 68ch;
}

/* ---------- Terms banner reuse ---------- */
.terms-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  margin-top: 30px;
}
.terms-strip div { background: var(--navy-deep); padding: 22px 18px; text-align: center; }
.terms-strip .t-label { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.terms-strip .t-value { font-family: 'Noto Serif KR', serif; color: var(--gold-bright); font-size: 19px; font-weight: 700; }
@media (max-width: 760px) { .terms-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact / Form ---------- */
.contact-section { background: var(--navy-deep); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info h2 { color: #fff; }
.contact-channels { margin-top: 30px; list-style: none; padding: 0; }
.contact-channels li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14.5px; color: rgba(255,255,255,0.85);
}
.contact-channels li strong { display: block; color: var(--gold-bright); font-size: 13px; margin-bottom: 3px; }

.form-card {
  background: #fff;
  padding: 34px;
  border-top: 3px solid var(--gold);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-deep); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7d2c4;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--paper);
}
.form-row textarea { resize: vertical; min-height: 84px; }
.form-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.8px; color: var(--ink-soft); margin-bottom: 22px; }
.form-check a { color: var(--navy-deep); text-decoration: underline; }
.form-msg { font-size: 13.5px; margin-top: 14px; display: none; padding: 12px 14px; border-radius: var(--radius); }
.form-msg.show { display: block; }
.form-msg.ok { background: #eaf3ec; color: #2f6b45; }
.form-msg.err { background: #fbeceb; color: #a5342b; }
.form-submit { width: 100%; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,0.6); padding: 46px 0 30px; font-size: 12.8px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 22px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-legal { line-height: 1.9; }
.footer-legal strong { color: rgba(255,255,255,0.85); }

/* ---------- Breadcrumb / inner page hero ---------- */
.page-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 60px 0 44px;
}
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero .eyebrow::before { background: var(--gold-bright); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.page-hero p { color: rgba(255,255,255,0.72); margin-top: 14px; max-width: 60ch; font-size: 15px; }

.toc {
  display: flex; gap: 22px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 50px; font-size: 14px;
}
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--gold); }

.legal-box {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 20px 24px;
  font-size: 12.8px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 30px;
}
