/* ═══════════ 갤럭시M타워 — Premium Leasing Site ═══════════ */
:root {
  --navy: #0b1f3a;
  --navy2: #122b4e;
  --navy3: #1a3a66;
  --gold: #c9a227;
  --gold2: #e3c56a;
  --ink: #1c2430;
  --gray: #5b6675;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --max: 1200px;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(11, 31, 58, .10);
  --shadow-lg: 0 22px 60px rgba(11, 31, 58, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif;
  font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--bg);
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 860px; }
.pc-br { display: inline; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 17px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b89120); color: #fff; }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold2), var(--gold)); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy3); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.26); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline-w { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-w:hover { background: rgba(255,255,255,.12); }
.btn.wide { width: 100%; }
.btn-mini {
  display: inline-block; padding: 7px 16px; border-radius: 8px; background: var(--navy);
  color: #fff; font-size: 15px; font-weight: 700; transition: background .2s, transform .2s;
}
.btn-mini:hover { background: var(--gold); transform: translateY(-2px); }

/* ═══════════ 헤더 ═══════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 31, 58, .0); transition: background .35s ease, box-shadow .35s ease, padding .35s;
}
.site-header.solid { background: rgba(11, 31, 58, .96); box-shadow: 0 4px 24px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  transition: padding .3s;
}
.site-header.solid .header-inner { padding: 10px 22px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), #a8841a); color: #fff;
  font-weight: 900; font-size: 17px; letter-spacing: -.5px;
  box-shadow: 0 4px 14px rgba(201,162,39,.4);
}
.brand-text { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.brand-text b { color: var(--gold2); }
.gnb { display: flex; gap: 6px; }
.gnb a {
  color: rgba(255,255,255,.88); font-weight: 600; font-size: 17px; padding: 9px 16px;
  border-radius: 8px; position: relative; transition: color .2s, background .2s;
}
.gnb a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2.5px;
  background: var(--gold2); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  border-radius: 2px;
}
.gnb a:hover, .gnb a.on { color: #fff; }
.gnb a:hover::after, .gnb a.on::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-call {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: 999px;
  background: var(--gold); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 18px rgba(201,162,39,.45); transition: transform .2s, box-shadow .2s;
}
.btn-call:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(201,162,39,.6); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .4; transform: scale(.7);} }
.ham { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.ham span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }
.ham.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; background: var(--navy);
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-menu a { color: #fff; font-size: 19px; font-weight: 700; padding: 16px 26px; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu .mm-call { background: var(--gold); text-align: center; }

/* ═══════════ 히어로 ═══════════ */
.hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease; transform: scale(1);
}
.hero-slide.on { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,18,36,.88) 8%, rgba(7,18,36,.55) 45%, rgba(7,18,36,.28) 100%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; }
.hero-eyebrow { font-size: 15px; letter-spacing: 4px; color: var(--gold2); font-weight: 700; margin-bottom: 18px; }
.hero-title { font-size: 56px; line-height: 1.22; font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero-title .gold { color: var(--gold2); }
.hero-sub { font-size: 21px; color: rgba(255,255,255,.92); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: 3px; z-index: 2; text-align: center;
}
.hero-scroll span { display: block; font-size: 18px; animation: bob 1.6s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

/* 진입 애니메이션 */
.slide-up { opacity: 0; transform: translateY(34px); animation: slideUp .9s ease forwards; }
.slide-up.d1 { animation-delay: .18s; }
.slide-up.d2 { animation-delay: .36s; }
.slide-up.d3 { animation-delay: .54s; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* 스크롤 리빌 */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════ 티커 ═══════════ */
.ticker { display: flex; background: var(--gold); color: #fff; overflow: hidden; }
.ticker-label {
  flex: 0 0 auto; background: var(--navy); padding: 12px 22px; font-weight: 900; letter-spacing: 2px;
  display: flex; align-items: center; font-size: 15px;
}
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-move { display: flex; gap: 60px; white-space: nowrap; animation: ticker 28s linear infinite; font-weight: 700; font-size: 17px; }
.ticker-move span { padding: 12px 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ 섹션 공통 ═══════════ */
.section { padding: 96px 0; }
.section.dark { background: var(--navy); color: #fff; }
.section.dark2 { background: var(--bg-soft); }
.section-eyebrow { font-size: 14px; letter-spacing: 4px; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.section.dark .section-eyebrow { color: var(--gold2); }
.section-title { font-size: 40px; font-weight: 900; letter-spacing: -.8px; line-height: 1.25; margin-bottom: 18px; }
.section-desc { font-size: 19px; color: var(--gray); margin-bottom: 42px; }
.section.dark .section-desc { color: rgba(255,255,255,.78); }

/* ═══════════ 이슈 섹션 ═══════════ */
.issue-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0 56px; }
.istat {
  background: linear-gradient(160deg, var(--navy), var(--navy3)); color: #fff;
  border-radius: var(--radius); padding: 30px 20px; text-align: center;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.istat:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.istat em { font-style: normal; font-size: 52px; font-weight: 900; color: var(--gold2); line-height: 1; }
.istat i { font-style: normal; font-size: 20px; font-weight: 700; color: var(--gold2); margin-left: 3px; }
.istat p { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.85); }

.news-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 190px; background-size: cover; background-position: center; transition: transform .5s; }
.news-card:hover .news-thumb { transform: scale(1.04); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-meta { font-size: 14px; color: var(--gold); font-weight: 700; }
.news-body h3 { font-size: 19px; line-height: 1.4; font-weight: 800; }
.news-body p { font-size: 16px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: auto; }
.news-card:hover .news-more { color: var(--gold); }

/* ═══════════ 스태킹 다이어그램 ═══════════ */
.stack-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.stack-diagram { display: flex; flex-direction: column; gap: 7px; }
.stack-floor {
  display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: 12px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s ease, background .25s ease, border-color .25s;
}
.stack-floor b { font-size: 21px; font-weight: 900; color: var(--gold2); }
.stack-floor span { font-size: 17px; font-weight: 600; }
.stack-floor i { font-style: normal; font-size: 14px; color: rgba(255,255,255,.6); opacity: 0; transform: translateX(-8px); transition: .25s; }
.stack-floor:not(.nolink):hover { transform: translateX(10px) scale(1.015); background: rgba(201,162,39,.2); border-color: var(--gold); }
.stack-floor:not(.nolink):hover i { opacity: 1; transform: translateX(0); color: var(--gold2); }
.z-sky { background: linear-gradient(90deg, rgba(120,80,160,.35), rgba(255,255,255,.06)); }
.z-office { background: linear-gradient(90deg, rgba(40,90,160,.4), rgba(255,255,255,.06)); }
.z-med { background: linear-gradient(90deg, rgba(30,140,120,.4), rgba(255,255,255,.06)); }
.z-retail { background: linear-gradient(90deg, rgba(200,120,40,.35), rgba(255,255,255,.06)); }
.z-retail1 { background: linear-gradient(90deg, rgba(201,162,39,.4), rgba(255,255,255,.06)); }
.z-park { opacity: .65; }
.stack-side { display: flex; flex-direction: column; gap: 26px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spec { background: rgba(255,255,255,.07); border-radius: 10px; padding: 16px 18px; }
.spec b { display: block; font-size: 14px; color: var(--gold2); margin-bottom: 4px; }
.spec span { font-size: 16.5px; font-weight: 600; }
.stack-cta {
  background: linear-gradient(135deg, rgba(201,162,39,.25), rgba(201,162,39,.08));
  border: 1px solid rgba(201,162,39,.4); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.stack-cta em { font-style: normal; font-size: 58px; font-weight: 900; color: var(--gold2); line-height: 1; }
.stack-cta span { font-size: 18px; margin-bottom: 10px; }

/* ═══════════ 공실 카드 ═══════════ */
.unit-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.unit-card {
  position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 60px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s;
  overflow: hidden;
}
.unit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold2)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.unit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.unit-card:hover::before { transform: scaleX(1); }
.unit-floor { font-size: 14px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
.unit-ho { font-size: 30px; font-weight: 900; color: var(--navy); margin: 2px 0 8px; }
.unit-use { font-size: 16px; color: var(--gray); }
.unit-area { font-size: 17px; font-weight: 700; margin-top: 8px; }
.unit-rent { font-size: 19px; font-weight: 900; color: var(--navy); margin-top: 4px; }
.unit-go {
  position: absolute; bottom: 18px; left: 24px; font-size: 15px; font-weight: 700; color: var(--gold);
  opacity: 0; transform: translateY(6px); transition: .28s;
}
.unit-card:hover .unit-go { opacity: 1; transform: translateY(0); }

/* ═══════════ 입지 ═══════════ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.loc-visual {
  border-radius: var(--radius); background-size: cover; background-position: center; min-height: 460px;
  position: relative; box-shadow: var(--shadow-lg); overflow: hidden;
}
.loc-badge {
  position: absolute; left: 18px; bottom: 18px; background: rgba(11,31,58,.85); color: #fff;
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
}
.loc-points { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.loc-point {
  display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 22px 24px;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.loc-point:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.loc-point i { font-style: normal; font-size: 34px; }
.loc-point b { font-size: 19px; display: block; margin-bottom: 4px; }
.loc-point p { font-size: 16px; color: var(--gray); }

/* ═══════════ 업종 손익 ═══════════ */
.biz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.biz-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.biz-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.biz-card b { font-size: 18px; display: block; margin-bottom: 12px; }
.biz-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--gray); padding: 5px 0; border-top: 1px dashed var(--line); }
.biz-row em { font-style: normal; font-weight: 800; color: var(--ink); }
.biz-row.profit em { color: #0a7d43; font-size: 17px; }
.biz-note { margin-top: 22px; font-size: 14.5px; color: #8a94a3; }
.biz-cards.small .biz-card { padding: 16px 14px; }
.biz-inline { margin-top: 42px; background: var(--bg-soft); border-radius: var(--radius); padding: 30px; }
.biz-inline h3 { font-size: 22px; margin-bottom: 18px; }

/* ═══════════ 페이지 히어로 ═══════════ */
.page-hero, .page-hero.small {
  position: relative; height: 480px; padding: 0; display: flex; align-items: flex-end;
  width: min(var(--max), calc(100% - 44px)); margin: 92px auto 0;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  background-size: cover; background-position: center; color: #fff;
}
.page-hero .container { width: 100%; padding-bottom: 44px; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,18,36,.82), rgba(7,18,36,.55)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 44px; font-weight: 900; letter-spacing: -.5px; }
.page-hero p { font-size: 19px; margin-top: 10px; color: rgba(255,255,255,.88); }

/* ═══════════ 임대현황 ═══════════ */
.floor-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; position: sticky; top: 66px; z-index: 40; background: rgba(255,255,255,.94); padding: 12px 0; backdrop-filter: blur(8px); }
.floor-tab {
  position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: 12px;
  padding: 10px 18px; cursor: pointer; font-family: inherit; text-align: center;
  transition: border-color .2s, background .2s, transform .2s;
}
.floor-tab b { display: block; font-size: 19px; color: var(--navy); }
.floor-tab span { font-size: 12.5px; color: var(--gray); }
.floor-tab:hover { transform: translateY(-3px); border-color: var(--gold); }
.floor-tab.on { background: var(--navy); border-color: var(--navy); }
.floor-tab.on b, .floor-tab.on span { color: #fff; }
.vac-badge {
  position: absolute; top: -8px; right: -8px; background: #e0342f; color: #fff; font-style: normal;
  font-size: 12.5px; font-weight: 800; min-width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 5px; box-shadow: 0 2px 8px rgba(224,52,47,.5);
  animation: pop 2.4s infinite;
}
@keyframes pop { 0%,100% { transform: scale(1);} 50% { transform: scale(1.14);} }
.floor-panel { display: none; animation: fadeIn .45s ease; }
.floor-panel.on { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none;} }
.floor-head h2 { font-size: 30px; font-weight: 900; margin-bottom: 6px; }
.floor-note { color: var(--gray); font-size: 16.5px; margin-bottom: 8px; }
.floor-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; margin-top: 26px; align-items: start; }
.floor-plan { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.floor-plan img { width: 100%; transition: transform .4s; }
.floor-plan:hover img { transform: scale(1.02); }
.floor-table-wrap { overflow-x: auto; }
.unit-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.unit-table th {
  background: var(--navy); color: #fff; font-size: 15.5px; padding: 13px 14px; text-align: left; white-space: nowrap;
}
.unit-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 600; color: #222b38; }
.unit-table tr:last-child td { border-bottom: 0; }
.td-ho { font-weight: 800; color: var(--navy); }
.td-rent { font-weight: 800; }
.td-muted { color: #a6aeb9; }
.row-vacant { transition: background .2s; }
.row-vacant:hover { background: #fdf8ea; }
.row-leased { background: #fafbfc; color: #4d5665; }
.row-leased .td-ho { color: #4d5665; }
.st { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.st-vac { background: #e7f6ec; color: #0a7d43; }
.st-talk { background: #fff3e0; color: #c05e00; }
.st-leased { background: #e2e7ee; color: #4d5665; }
.empty-msg { padding: 40px; text-align: center; color: var(--gray); background: var(--bg-soft); border-radius: var(--radius); }
.rent-help { margin-top: 70px; text-align: center; background: var(--bg-soft); border-radius: var(--radius); padding: 42px 24px; }
.rent-help p { font-size: 19px; margin-bottom: 18px; }

/* ═══════════ 건물 안내 ═══════════ */
.ov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ov { background: var(--bg-soft); border-radius: 12px; padding: 20px 22px; transition: transform .22s, background .22s; }
.ov:hover { transform: translateY(-4px); background: #eef3f9; }
.ov b { display: block; font-size: 14px; color: var(--gold); margin-bottom: 5px; letter-spacing: .5px; }
.ov span { font-size: 17px; font-weight: 600; }
.str-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.str {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .28s, background .28s, border-color .28s;
}
.str:hover { transform: translateY(-8px); background: rgba(201,162,39,.14); border-color: rgba(201,162,39,.5); }
.str i { font-style: normal; font-size: 38px; display: block; margin-bottom: 12px; }
.str b { font-size: 20px; display: block; margin-bottom: 8px; }
.str p { font-size: 16px; color: rgba(255,255,255,.78); }
.gal-sub { font-size: 22px; font-weight: 800; margin: 40px 0 18px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gal-item { border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; box-shadow: 0 4px 16px rgba(11,31,58,.08); }
.gal-item img { width: 100%; height: 210px; object-fit: cover; transition: transform .45s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; font-size: 13.5px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

/* 라이트박스 */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300; background: rgba(7,14,26,.92);
  place-items: center; padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.on { display: grid; animation: fadeIn .25s; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 22px; right: 30px; color: #fff; font-size: 30px; cursor: pointer; }

/* ═══════════ 입지&뉴스 ═══════════ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 50px; }
.why {
  text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 34px 16px 26px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.why:hover { transform: translateY(-7px); border-color: var(--gold); box-shadow: var(--shadow); }
.why em { font-style: normal; font-size: 50px; font-weight: 900; color: var(--navy); line-height: 1; }
.why i { font-style: normal; font-size: 19px; font-weight: 800; color: var(--gold); }
.why p { margin-top: 10px; font-size: 15.5px; color: var(--gray); }
.loc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-list { display: flex; flex-direction: column; gap: 22px; }
.news-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 26px; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); transition: transform .28s, box-shadow .28s;
}
.news-row:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-row-thumbs { position: relative; min-height: 210px; }
.nrt { position: absolute; background-size: cover; background-position: center; border-radius: 0; }
.nrt0 { inset: 0; }
.nrt1 { width: 42%; height: 42%; right: 10px; bottom: 10px; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.nrt2 { display: none; }
.news-row-body { padding: 26px 28px 26px 4px; display: flex; flex-direction: column; gap: 9px; }
.news-row-body h3 { font-size: 22px; font-weight: 800; line-height: 1.35; }
.news-row-body p { font-size: 16.5px; color: var(--gray); }

/* ═══════════ 뉴스 상세 ═══════════ */
.article-section { padding-top: 140px; }
.back-link { display: inline-block; color: var(--gray); font-size: 15.5px; margin-bottom: 22px; font-weight: 600; }
.back-link:hover { color: var(--gold); }
.article-title { font-size: 34px; font-weight: 900; line-height: 1.35; margin: 8px 0 26px; }
.article-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 30px; }
.article-photos img { height: 220px; object-fit: cover; width: 100%; border-radius: 10px; }
.article-body p { margin-bottom: 20px; font-size: 18px; color: #333c48; }
.article-src { color: var(--gray); font-size: 15.5px; margin: 24px 0; }
.article-src a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.article-cta {
  background: var(--bg-soft); border-radius: var(--radius); padding: 30px; text-align: center; margin: 36px 0;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.article-cta p { font-size: 19px; font-weight: 700; }
.article-cta .btn { margin: 0 5px; }
.article-others { border-top: 1px solid var(--line); padding-top: 24px; }
.article-others h3 { font-size: 19px; margin-bottom: 14px; }
.article-others a { display: block; padding: 10px 0; font-size: 16.5px; border-bottom: 1px dashed var(--line); }
.article-others a:hover { color: var(--gold); }
.article-others span { color: var(--gray); font-size: 14px; margin-right: 10px; }

/* ═══════════ 문의 ═══════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-grid h2 { font-size: 28px; font-weight: 900; margin-bottom: 20px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.map-frame iframe { width: 100%; height: 340px; border: 0; }
.addr-box { background: var(--bg-soft); border-radius: 12px; padding: 20px 22px; margin-bottom: 16px; }
.addr-box p { font-size: 16.5px; padding: 5px 0; }
.addr-box b { color: var(--gold); margin-right: 10px; font-size: 14.5px; }
.inq-form { display: flex; flex-direction: column; gap: 16px; }
.inq-form label { font-weight: 700; font-size: 16px; display: flex; flex-direction: column; gap: 7px; }
.inq-form input, .inq-form textarea {
  font-family: inherit; font-size: 17px; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.inq-form input:focus, .inq-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.15);
}
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: #8a94a3; }
.form-done { background: #e7f6ec; border: 1.5px solid #b9e4c8; border-radius: var(--radius); padding: 34px; text-align: center; }
.form-done b { font-size: 21px; display: block; margin-bottom: 10px; }
.form-done p { margin-bottom: 18px; color: var(--gray); }
.direct-call {
  margin-top: 26px; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.direct-call span { display: block; font-size: 15px; color: rgba(255,255,255,.7); }
.direct-call a { display: block; font-size: 34px; font-weight: 900; color: var(--gold2); margin: 6px 0; }
.direct-call em { font-style: normal; font-size: 14.5px; color: rgba(255,255,255,.6); }

/* ═══════════ CTA 밴드 / 푸터 ═══════════ */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy3)); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { font-size: 32px; font-weight: 900; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 18px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #081527; color: rgba(255,255,255,.75); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 46px 22px; flex-wrap: wrap; }
.footer-brand p { font-size: 15.5px; margin-top: 8px; }
.footer-brand a { color: var(--gold2); font-weight: 700; }
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 15.5px; font-weight: 600; }
.footer-links a:hover { color: var(--gold2); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 14px; color: rgba(255,255,255,.45); }

/* 모바일 하단 전화바 */
.mobile-callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(135deg, var(--gold), #b89120); color: #fff; text-align: center;
  padding: 15px; font-size: 19px; font-weight: 900; box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}

/* ═══════════ 반응형 ═══════════ */
@media (max-width: 1024px) {
  .stack-wrap, .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .floor-grid { grid-template-columns: 1fr; }
  .issue-stats, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .str-grid, .ov-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 44px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .gnb { display: none; }
  .ham { display: block; }
  .mobile-menu { display: flex; }
  .btn-call { display: none; }
  .hero { min-height: 560px; }
  .hero-title { font-size: 33px; }
  .hero-sub { font-size: 17.5px; }
  .section { padding: 62px 0; }
  .section-title { font-size: 28px; }
  .page-hero h1 { font-size: 31px; }
  .page-hero, .page-hero.small { height: 320px; margin-top: 76px; border-radius: 14px; }
  .page-hero .container { padding-bottom: 34px; }
  .istat em { font-size: 38px; }
  .str-grid, .ov-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .news-row-body { padding: 4px 22px 24px; }
  .news-row-thumbs { min-height: 200px; }
  .loc-photos { grid-template-columns: 1fr 1fr; }
  .mobile-callbar { display: block; }
  body { padding-bottom: 58px; }
  .floor-tabs { top: 58px; }
  .floor-tab { padding: 8px 12px; }
  .floor-tab span { display: none; }
  .stack-floor { grid-template-columns: 64px 1fr; }
  .stack-floor i { display: none; }
  .pc-br { display: none; }
  .cta-band h2 { font-size: 25px; }
  .why em { font-size: 38px; }
}

/* 주차장 강조 (B1~B4) */
.stack-floor.z-park {
  opacity: 1;
  background: linear-gradient(90deg, rgba(30,110,200,.38), rgba(255,255,255,.05));
  border: 1.5px dashed rgba(120,180,255,.55);
}
.stack-floor.z-park b { color: #8ec3ff; }
.hero-sub b.gold { color: var(--gold2); font-weight: 800; }

/* ═══════════ 삼성 협력사 전용 섹션 ═══════════ */
.partner-section { padding-top: 0; }
.partner-box {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px;
  background: linear-gradient(125deg, #071b36 0%, #0d2c55 55%, #123a6e 100%);
  border-radius: 22px; padding: 54px 52px; color: #fff;
  box-shadow: 0 26px 70px rgba(11,31,58,.35);
  position: relative; overflow: hidden;
}
.partner-box::before {
  content: ''; position: absolute; top: -120px; right: -120px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.28), transparent 70%);
}
.partner-eyebrow { font-size: 14px; letter-spacing: 4px; font-weight: 800; color: #7db4ff; margin-bottom: 14px; }
.partner-box h2 { font-size: 38px; font-weight: 900; line-height: 1.3; letter-spacing: -.6px; margin-bottom: 16px; }
.partner-box h2 span { color: var(--gold2); }
.partner-desc { font-size: 18.5px; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.partner-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.partner-points li {
  display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 18px;
  transition: transform .25s, background .25s, border-color .25s;
}
.partner-points li:hover { transform: translateX(8px); background: rgba(125,180,255,.14); border-color: rgba(125,180,255,.45); }
.partner-points i { font-style: normal; font-size: 26px; }
.partner-points b { display: block; font-size: 17.5px; }
.partner-points span { font-size: 15px; color: rgba(255,255,255,.72); }
.partner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.partner-actions .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.partner-actions .btn-outline:hover { background: rgba(255,255,255,.12); }
.partner-right { display: flex; flex-direction: column; gap: 18px; }
.partner-visual {
  flex: 1; min-height: 250px; border-radius: 14px; background-size: cover; background-position: center;
  box-shadow: 0 14px 40px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15);
}
.partner-fit { background: rgba(255,255,255,.08); border-radius: 14px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.12); }
.partner-fit b { display: block; font-size: 16px; color: var(--gold2); margin-bottom: 12px; }
.fit-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-tags span {
  background: rgba(125,180,255,.16); border: 1px solid rgba(125,180,255,.35); color: #d8e8ff;
  padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.fit-tags span:hover { background: rgba(125,180,255,.32); transform: translateY(-2px); }
@media (max-width: 1024px) { .partner-box { grid-template-columns: 1fr; padding: 40px 30px; } }
@media (max-width: 720px) {
  .partner-box h2 { font-size: 27px; }
  .partner-box { padding: 30px 22px; border-radius: 16px; }
}

/* ═══════════ 동영상 섹션 ═══════════ */
.video-section { background: var(--bg-soft); }
.video-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(11,31,58,.28); background: #000;
  max-width: 980px; margin: 0 auto;
}
.video-frame video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; background: linear-gradient(180deg, rgba(7,18,36,.25), rgba(7,18,36,.55));
  border: 0; cursor: pointer; transition: background .3s;
}
.video-play:hover { background: linear-gradient(180deg, rgba(7,18,36,.15), rgba(7,18,36,.45)); }
.vp-circle {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), #b89120); color: #fff; font-size: 30px;
  padding-left: 6px; box-shadow: 0 10px 40px rgba(201,162,39,.55);
  animation: vpPulse 2.2s infinite; transition: transform .25s;
}
.video-play:hover .vp-circle { transform: scale(1.12); }
@keyframes vpPulse {
  0%,100% { box-shadow: 0 10px 40px rgba(201,162,39,.55), 0 0 0 0 rgba(201,162,39,.45); }
  50% { box-shadow: 0 10px 40px rgba(201,162,39,.55), 0 0 0 22px rgba(201,162,39,0); }
}
.vp-label {
  color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .3px;
  background: rgba(0,0,0,.35); padding: 8px 20px; border-radius: 999px; backdrop-filter: blur(4px);
}
@media (max-width: 720px) {
  .vp-circle { width: 64px; height: 64px; font-size: 22px; }
  .vp-label { font-size: 15px; }
}

/* 브랜드 로고 (원본 GM 로고) */
.brand-chip {
  display: inline-flex; align-items: center; background: #fff; border-radius: 10px;
  padding: 6px 14px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s;
}
.brand:hover .brand-chip { transform: scale(1.04); }
.brand-logo { height: 32px; width: auto; display: block; }
.site-header.solid .brand-logo { height: 28px; }
.site-footer .brand-chip { box-shadow: none; }
@media (max-width: 720px) { .brand-logo { height: 26px; } .brand-chip { padding: 5px 10px; } }

/* 지도 열기 버튼 2개 */
.map-links { display: flex; gap: 10px; }
.map-links .btn { flex: 1; }
#gmMap { width: 100%; height: 340px; }

/* 오시는길 3:2 분할 + 지도 높이 */
.contact-grid { grid-template-columns: 3fr 2fr; }
#gmMap { height: 420px; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } #gmMap { height: 320px; } }

/* ═══════════ 문의 페이지 (호실현황 + 폼) ═══════════ */
.inquiry-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 44px; align-items: start; }
.inq-units h2, .inq-side h2 { font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.inq-units-desc { color: var(--gray); font-size: 16px; margin-bottom: 20px; }
.acc { border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: #fff; transition: box-shadow .25s, border-color .25s; }
.acc:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  background: #fff; border: 0; cursor: pointer; font-family: inherit; text-align: left;
}
.acc-head .acc-floor { font-size: 20px; font-weight: 900; color: var(--navy); min-width: 46px; }
.acc-head .acc-use { font-size: 16px; font-weight: 700; }
.acc-head .acc-meta { margin-left: auto; font-size: 14.5px; color: var(--gray); }
.acc-head .acc-vac { color: #0a7d43; }
.acc-head .acc-arrow { font-size: 15px; color: var(--gold); transition: transform .3s; }
.acc-head.open .acc-arrow { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.acc-panel.open { max-height: 6000px; }
.acc-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.inq-table { width: 100%; border-collapse: collapse; }
.inq-table th { background: var(--bg-soft); font-size: 14px; color: var(--gray); padding: 9px 12px; text-align: left; white-space: nowrap; }
.inq-table td { padding: 9px 12px; border-top: 1px solid #eef1f5; font-size: 15.5px; white-space: nowrap; font-weight: 600; color: #222b38; }
.inq-table .m2 { font-style: normal; color: #6d7684; font-size: 13px; margin-left: 4px; font-weight: 500; }
.inq-table .row-leased { color: #4d5665; background: #fbfcfd; }
.inq-table .row-leased .td-ho { color: #4d5665; }
.inq-note { margin-top: 14px; font-size: 14px; color: #8a94a3; }
.inq-side .inq-sticky { position: sticky; top: 90px; }
.inq-form input.flash { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.25); }
.btn-call.on { background: #fff; color: var(--navy); }
@media (max-width: 1024px) {
  .inquiry-grid { grid-template-columns: 1fr; }
  .inq-side .inq-sticky { position: static; }
}

/* 회사보유분 음영 (내부 식별용 — 은은하게) */
.inq-table tr.row-own td { background: #cfe0f5; }
.inq-table tr.row-own.row-leased td { background: #d9e4f2; }
.inq-table tr.row-own.row-vacant:hover td { background: #bcd4f0; }

/* 임대현황 표 — 회사보유 음영 (문의페이지와 동일 규칙) */
.unit-table tr.row-own td { background: #cfe0f5; }
.unit-table tr.row-own.row-leased td { background: #d9e4f2; }
.unit-table tr.row-own.row-vacant:hover td { background: #bcd4f0; }
.unit-table .m2 { font-style: normal; color: #6d7684; font-size: 13px; margin-left: 3px; font-weight: 500; }
.unit-table td { white-space: nowrap; }
