/* ====================================================================
   (가칭)울산신복역 비스타 메트로 — Design System
   컬러: #4A0080 purple → #C800A1 magenta · #FFE000 yellow · #0D0D1A dark
   ==================================================================== */

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-text-size-adjust:100%}
body{
  font-family:'Pretendard','Noto Sans KR',sans-serif;
  background:#ffffff !important;
  color:#1a1a1a;
  overflow-x:hidden;
  padding-bottom:60px
}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
button{cursor:pointer;border:none;background:none;font-family:'Pretendard','Noto Sans KR',inherit}
ul,ol{list-style:none}

/* ── 전역 폰트 강제 적용 ── */
*{
  font-family:'Pretendard','Noto Sans KR',-apple-system,BlinkMacSystemFont,sans-serif !important;
}

/* ── Variables ── */
:root{
  --purple:#4A0080;
  --magenta:#C800A1;
  --yellow:#FFE000;
  --dark:#0D0D1A;
  --dark2:#12122A;
  --dark3:#1A1A35;
  --white:#FFFFFF;
  --text-muted:rgba(255,255,255,.55);
  --grad-main:linear-gradient(135deg,#4A0080 0%,#C800A1 100%);
  --grad-dark:linear-gradient(180deg,#0D0D1A 0%,#12122A 100%);
  --header-h:62px;
  --bottom-h:56px;
  --radius:14px;
  --radius-sm:8px;
}

/* ====================================================================
   POPUP
   ==================================================================== */
.popup-overlay{
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,.8);
  display:flex;align-items:center;justify-content:center;
  padding:12px 16px;
  opacity:0;pointer-events:none;
  transition:opacity .35s ease;
  overflow-y:auto;
}
.popup-overlay.show{opacity:1;pointer-events:all}

.popup-wrap{
  width:100%;max-width:620px;
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
  background:transparent;
  display:flex;flex-direction:column;gap:0;
  transform:translateY(24px);
  transition:transform .35s ease;
  border-radius:var(--radius);
}
.popup-overlay.show .popup-wrap{transform:translateY(0)}

.popup-card{
  padding:20px 20px;
  border-radius:0;
  flex-shrink:0;
}
.popup-left{
  background:linear-gradient(160deg,#3d0b72 0%,#7b1fa2 100%);
  border-radius:var(--radius) var(--radius) 0 0;
  border-bottom:1px solid rgba(255,255,255,.15);
}
.popup-right{
  background:linear-gradient(160deg,#5a0d9e 0%,#3d0b72 100%);
}
.popup-brand{
  display:flex;align-items:center;gap:8px;
  font-size:12px;color:rgba(255,255,255,.8);margin-bottom:16px;
}
.popup-brand b{color:#fff}
.pbadge{
  background:var(--yellow);color:#1a0040;
  font-size:10px;font-weight:700;
  padding:2px 6px;border-radius:4px;
}
.popup-sub{
  font-size:14px;color:rgba(255,255,255,.85);
  line-height:1.6;margin-bottom:12px;text-align:center;
}
.popup-main-text{
  display:flex;flex-direction:column;align-items:center;
  gap:2px;margin-bottom:20px;
}
.popup-main-text span{
  font-size:clamp(24px,7vw,42px);font-weight:900;
  color:var(--yellow);line-height:1.15;
}
.popup-tel-btn{
  display:block;text-align:center;
  background:var(--yellow);color:#1a0040;
  font-size:15px;font-weight:700;
  padding:13px;border-radius:10px;
  letter-spacing:.5px;
  transition:opacity .2s;
}
.popup-tel-btn:active{opacity:.85}
.popup-firework{font-size:26px;text-align:center;margin-bottom:6px}
.popup-headline{
  font-size:clamp(18px,5vw,28px);font-weight:900;
  color:var(--yellow);text-align:center;
  line-height:1.3;margin-bottom:16px;
}
.popup-benefits{display:flex;flex-direction:column;gap:10px}
.popup-benefits li{
  display:flex;align-items:center;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;padding:12px 16px;
}
.pb-icon{display:none}
.pb-txt{color:#fff;font-size:17px;line-height:1.4}
.pb-icon{font-size:20px;flex-shrink:0}
.pb-txt{color:#fff;font-size:15px}
.pb-txt b{font-weight:700}
.pb-txt small{font-size:11px;opacity:.75;margin-left:4px}

.popup-bottom{
  background:#111;
  border-radius:0 0 var(--radius) var(--radius);
  padding:14px 20px;
  display:flex;align-items:center;justify-content:space-between;
}
.popup-no-show{
  display:flex;align-items:center;gap:8px;
  font-size:13px;color:rgba(255,255,255,.6);cursor:pointer;
}
.popup-no-show input{accent-color:var(--yellow);width:15px;height:15px}
.popup-close-btn{
  font-size:13px;color:rgba(255,255,255,.7);
  padding:6px 14px;border:1px solid rgba(255,255,255,.2);border-radius:6px;
}

/* ====================================================================
   HEADER
   ==================================================================== */

#site-header{
  position:fixed;top:0;left:0;right:0;
  height:var(--header-h);z-index:800;
  background:#0f1c3c;
  backdrop-filter:blur(0);
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:background .3s;
}
#site-header.scrolled{background:#0a1428}
.hd-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:100%;padding:0 20px;
  max-width:100%;margin:0 auto;
}
/* 햄버거 — 좌측 고정 */
.hd-menu{
  display:flex;flex-direction:column;gap:5px;padding:6px;
  flex-shrink:0;
  order:0;
}
.hd-menu span{
  display:block;width:24px;height:2px;
  background:#ffffff;border-radius:2px;
  transition:transform .3s,opacity .3s;
}
/* 브랜드 — 가운데 */
.hd-brand{
  display:flex;align-items:center;gap:8px;
  flex:1;
  justify-content:center;
  order:1;
}
.hd-badge{
  background:var(--yellow);color:#1a0040;
  font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;
  flex-shrink:0;
}
.hd-name{
  color:#ffffff;
  font-size:clamp(15px,4vw,19px);
  font-weight:800;
  letter-spacing:-.3px;
  white-space:nowrap;
}
.hd-name b{
  font-weight:900;
  color:#ffffff;
}
/* 전화 아이콘 — 우측 고정 */
.hd-tel{
  color:#FFE000;
  font-size:22px;padding:6px;
  display:flex;align-items:center;
  flex-shrink:0;
  order:2;
  filter:drop-shadow(0 0 4px rgba(255,224,0,.5));
}

/* ====================================================================
   NAV DRAWER
   ==================================================================== */
.nav-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:850;
  opacity:0;pointer-events:none;transition:opacity .3s;
}
.nav-overlay.show{opacity:1;pointer-events:all}
.nav-drawer{
  position:fixed;top:0;left:0;
  width:75%;max-width:300px;height:100%;
  background:#ffffff;z-index:860;
  transform:translateX(-100%);transition:transform .3s ease;
  padding:24px 0 40px;overflow-y:auto;
  border-right:1px solid rgba(0,0,0,.08);
}
.nav-drawer.open{transform:translateX(0)}
.nav-drawer-close{
  position:absolute;top:16px;right:16px;
  font-size:22px;color:rgba(0,0,0,.5);
}
.nav-list{margin-top:50px}
.nav-list li{border-bottom:1px solid rgba(0,0,0,.07)}
.nav-link{
  display:block;padding:16px 24px;
  font-size:16px;font-weight:500;color:#333;
  transition:color .2s,padding-left .2s;
}
.nav-link:hover{color:var(--magenta);padding-left:30px}
.nav-tel{
  display:block;margin:24px 16px 0;
  text-align:center;background:var(--grad-main);
  color:#fff;font-size:15px;font-weight:700;
  padding:14px;border-radius:10px;
}

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  background:#1A1A1A;color:#FFFFFF;
  font-size:15px;font-weight:700;
  padding:14px 24px;border-radius:0;
  transition:transform .15s,box-shadow .15s,opacity .2s;
  white-space:nowrap;
  letter-spacing:.3px;
}
.btn-primary:active{transform:scale(.97);opacity:.85}
.btn-primary.btn-lg{font-size:17px;padding:16px 32px}
.btn-outline{
  display:inline-flex;align-items:center;justify-content:center;
  border:2px solid rgba(0,0,0,.3);color:#333;
  font-size:14px;font-weight:600;
  padding:13px 22px;border-radius:0;
  transition:border-color .2s,background .2s;
  white-space:nowrap;
}
.btn-outline:hover{border-color:#1a1a1a;background:rgba(0,0,0,.05)}

/* ====================================================================
   SECTION BASE
   ==================================================================== */
.sec-header{text-align:center;padding:56px 20px 32px}
.sec-header-light{padding-bottom:32px}
.sec-eyebrow{
  display:inline-block;
  font-size:11px;font-weight:700;letter-spacing:3px;
  color:var(--magenta);text-transform:uppercase;
  margin-bottom:12px;
}
.sec-eyebrow.light{color:rgba(255,255,255,.5)}
.sec-title{
  font-size:clamp(22px,5.5vw,32px);font-weight:900;
  color:#E8000A;line-height:1.35;margin-bottom:12px;
  text-shadow:none;
  -webkit-text-stroke:0;
}
.sec-title em{
  color:#E8000A;font-style:normal;
  text-shadow:none;
  -webkit-text-stroke:0;
}
.sec-title.light{color:#fff}
.sec-desc{font-size:14px;color:var(--text-muted);line-height:1.7}

/* ====================================================================
   HERO
   ==================================================================== */
.hero-section{
  position:relative;height:100svh;min-height:580px;
  margin-top:var(--header-h);overflow:hidden;
  display:flex;align-items:flex-end;
}
.hero-video-wrap{
  position:absolute;inset:0;
}
.hero-video-wrap video{
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  filter:contrast(1.05) saturate(1.1) brightness(1.05);
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(
    180deg,
    rgba(13,13,26,.30) 0%,
    rgba(13,13,26,.20) 35%,
    rgba(13,13,26,.58) 75%,
    rgba(13,13,26,.88) 100%
  );
}
/* 컬러 가로줄 — 역세권시대의 텍스트 중간을 관통 */
.hero-stripes{
  position:absolute;
  left:0;right:0;
  top:108px;
  pointer-events:none;z-index:2;
  display:flex;flex-direction:column;gap:0;
}
.stripe{
  height:7px;opacity:0;
  transform:scaleX(0);transform-origin:left center;
}
.s1{background:#00E5FF;animation:stripeIn 0.6s 0.8s cubic-bezier(.22,1,.36,1) forwards}
.s2{background:#FF4081;animation:stripeIn 0.6s 1.0s cubic-bezier(.22,1,.36,1) forwards}
.s3{background:#FF9100;animation:stripeIn 0.6s 1.2s cubic-bezier(.22,1,.36,1) forwards}
.s4{background:#69F0AE;animation:stripeIn 0.6s 1.4s cubic-bezier(.22,1,.36,1) forwards}
.s5{background:#FFE000;animation:stripeIn 0.6s 1.6s cubic-bezier(.22,1,.36,1) forwards}
@keyframes stripeIn{to{opacity:.7;transform:scaleX(1)}}

/* hero 텍스트 — px 고정값으로 모바일 안정화 */
.hero-content{
  position:absolute;
  top:0;left:0;right:0;
  z-index:5;
  padding:84px 24px 0;
  width:100%;
}
.hero-eyebrow{
  font-size:14px;font-weight:600;color:#fff;
  margin-bottom:4px;
  opacity:0;animation:fadeUp .7s 0.5s ease forwards;
  text-shadow:0 1px 10px rgba(0,0,0,.95), 0 0 20px rgba(0,0,0,.8);
}
.hero-title{
  display:flex;flex-direction:column;gap:2px;
  margin-bottom:0;
}
  margin-bottom:16px;
}
.ht-line{
  font-size:clamp(34px,9.5vw,56px);font-weight:900;
  color:#fff;line-height:1.1;display:block;
  opacity:0;transform:translateY(20px);
  animation:fadeUp .6s ease forwards;
  text-shadow:0 2px 16px rgba(0,0,0,.95), 0 1px 6px rgba(0,0,0,1), 0 0 30px rgba(0,0,0,.7);
}
.ht-line:nth-child(1){animation-delay:.6s}
.ht-accent{color:var(--yellow)!important;animation-delay:.8s!important}
.hero-desc{
  font-size:14px;color:#fff;line-height:1.65;
  margin-top:14px;
  margin-bottom:20px;
  opacity:0;animation:fadeUp .6s 1s ease forwards;
  text-shadow:0 1px 10px rgba(0,0,0,.95), 0 0 20px rgba(0,0,0,.8);
}
/* hero 섹션 내 outline 버튼은 흰색 유지 */
.hero-section .btn-outline{
  border-color:rgba(255,255,255,.7);
  color:#fff;
}
.hero-section .btn-outline:hover{
  border-color:#fff;background:rgba(255,255,255,.1);
}
.hero-scroll-arrow{
  position:absolute;bottom:68px;left:50%;
  transform:translateX(-50%);z-index:3;
  opacity:.7;animation:bounce 2s 2s infinite;
}
@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)}}

/* ====================================================================
   SHOCK SECTION
   ==================================================================== */
.shock-section{
  background:#ffffff;
  padding:0 0 60px;
  border-bottom:1px solid #eee;
}
.shock-inner{padding:0 16px}
.shock-eyebrow{
  display:block;text-align:center;
  font-size:11px;font-weight:700;letter-spacing:3px;
  color:var(--magenta);text-transform:uppercase;
  padding-top:56px;margin-bottom:8px;
}
.shock-title{
  text-align:center;
  font-size:clamp(22px,5.5vw,30px);font-weight:900;
  color:#E8000A;line-height:1.35;margin-bottom:32px;
  text-shadow:none;
}
.shock-title em{
  color:#E8000A;font-style:normal;
  text-shadow:none;
  -webkit-text-stroke:0;
}
.shock-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:12px;
}
.shock-card{
  border-radius:var(--radius);padding:22px 16px;
  display:flex;flex-direction:column;gap:6px;
}
.sc-yellow{background:#1a1600;border:2px solid var(--yellow)}
.sc-purple{background:linear-gradient(135deg,rgba(74,0,128,.5),rgba(200,0,161,.3));border:1px solid rgba(200,0,161,.4)}
.sc-dark{background:#f5f5f5;border:1px solid #e0e0e0}
.sc-dark .sc-label{color:#888}
.sc-dark .sc-num{color:#1a1a1a}
.sc-dark .sc-unit{color:#555}
.sc-dark .sc-text-big{color:#1a1a1a}
.sc-dark .sc-sub{color:#666}
.sc-gradient{
  background:var(--grad-main);
  grid-column:1/-1;
  align-items:center;text-align:center;gap:16px;
}
.full-width{grid-column:1/-1}
.sc-label{font-size:12px;font-weight:700;color:rgba(255,255,255,.7);letter-spacing:1px;text-transform:uppercase}
.sc-num{
  font-size:clamp(32px,9vw,48px);font-weight:900;
  color:#fff;line-height:1;
  display:flex;align-items:baseline;gap:4px;
}
.sc-unit{font-size:18px;font-weight:700;color:rgba(255,255,255,.85)}
.sc-text-big{font-size:clamp(26px,7vw,38px);color:#fff}
.sc-sub{font-size:12px;color:rgba(255,255,255,.7);line-height:1.5}
.sc-badge-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.sc-badge{
  background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.3);
  color:#fff;font-size:12px;font-weight:600;
  padding:6px 14px;border-radius:20px;
}
.sc-cta-text{color:rgba(255,255,255,.85);font-size:14px}

/* ====================================================================
   LOCATION SECTION
   ==================================================================== */
.location-section{
  background:#f8f8f8;
  padding-bottom:60px;
}
/* 노선 인포그래픽 */
.route-infographic{
  padding:0 16px 32px;
  display:flex;flex-direction:column;gap:24px;
}
.route-map-wrap{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:16px;
  max-width:400px;margin:0 auto;width:100%;
}
#route-svg{width:100%;height:auto}
/* 노선 애니메이션은 JS에서 제어 */
.route-legend{
  display:flex;flex-direction:column;gap:10px;
}
.rl-item{
  display:flex;align-items:center;gap:12px;
  background:rgba(255,255,255,.04);
  border-radius:10px;padding:12px 16px;
}
.rl-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0}
.rl-item div{display:flex;flex-direction:column;gap:2px}
.rl-item strong{font-size:13px;color:#fff;font-weight:700}
.rl-item span{font-size:11px;color:var(--text-muted)}

/* 트램 영상 */
.tram-video-wrap{
  margin:0 16px 32px;
  border-radius:var(--radius);overflow:hidden;
  position:relative;
}
.tram-video{width:100%;display:block;max-height:300px;object-fit:cover}
.tram-video-label{
  position:absolute;top:0;left:0;right:0;
  background:linear-gradient(180deg,rgba(0,0,0,.7) 0%,transparent 100%);
  padding:16px 20px;z-index:2;
}
.tv-badge{
  display:inline-block;
  background:var(--magenta);color:#fff;
  font-size:11px;font-weight:700;padding:4px 10px;border-radius:20px;
  margin-bottom:6px;
}
.tram-video-label p{font-size:13px;color:rgba(255,255,255,.85);font-weight:500}

/* 인프라 그리드 */
.infra-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:12px;padding:0 16px 24px;
}
.infra-card{
  border-radius:var(--radius);padding:20px 16px;
  background:#fff;
  border:1px solid #e8e8e8;
}
.ic-transport{border-color:rgba(0,180,210,.3);background:rgba(0,229,255,.04)}
.ic-road{border-color:rgba(200,160,0,.3);background:rgba(255,224,0,.04)}
.ic-edu{border-color:rgba(80,180,120,.3);background:rgba(105,240,174,.04)}
.ic-life{border-color:rgba(200,0,100,.2);background:rgba(255,64,129,.04)}
.ic-icon{font-size:28px;margin-bottom:12px}
.infra-card h3{font-size:17px;font-weight:800;color:#1a1a1a;margin-bottom:12px}
.infra-card ul{display:flex;flex-direction:column;gap:7px}
.infra-card li{font-size:14px;color:#444;padding-left:12px;position:relative;line-height:1.6}
.infra-card li::before{content:'·';position:absolute;left:0;color:var(--text-muted)}

.loc-disclaimer{font-size:11px;color:rgba(255,255,255,.3);padding:0 16px;line-height:1.7}

/* ====================================================================
   PREMIUM SWIPER
   ==================================================================== */
.premium-section{
  background:#ffffff;
  padding-bottom:56px;
}
.premium-swiper{padding:0 16px 40px!important}
.prem-slide{
  background:#f5f0fc;
  border:1px solid #e0d0f0;
  border-radius:var(--radius);
  padding:28px 24px;
  height:auto!important;
  display:flex;flex-direction:column;gap:12px;
}
.prem-num{
  font-size:52px;font-weight:900;
  color:rgba(155,63,200,.15);line-height:1;
}
.prem-icon{font-size:32px}
.prem-slide h3{
  font-size:17px;font-weight:700;color:#1a1a1a;line-height:1.45;
}
.prem-slide p{font-size:13px;color:#555;line-height:1.7}
.prem-pagination{margin-top:16px!important}
.prem-pagination .swiper-pagination-bullet{background:rgba(255,255,255,.3)!important}
.prem-pagination .swiper-pagination-bullet-active{background:var(--yellow)!important}

/* ====================================================================
   SUPPLY SECTION
   ==================================================================== */
.supply-section{background:#ffffff;padding-bottom:60px}
.supply-tabs{
  display:flex;gap:8px;overflow-x:auto;
  padding:0 16px 20px;
  scrollbar-width:none;
}
.supply-tabs::-webkit-scrollbar{display:none}
.stab{
  flex-shrink:0;padding:9px 18px;
  border-radius:20px;
  font-size:13px;font-weight:700;
  color:rgba(255,255,255,.5);
  border:1px solid rgba(255,255,255,.15);
  transition:all .2s;
}
.stab.active{
  background:var(--yellow);color:#1a0040;border-color:var(--yellow);
}
.supply-panel-wrap{padding:0 16px}
.supply-panel{display:none}
.supply-panel.active{display:block;animation:fadeIn .3s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.sp-header{
  display:flex;align-items:center;gap:12px;margin-bottom:16px;
}
.sp-type-badge{
  font-size:16px;font-weight:900;color:#1a0040;
  padding:8px 20px;border-radius:8px;
}
.sp-units{font-size:22px;font-weight:700;color:#fff}
.sp-table{width:100%;border-collapse:collapse}
.sp-table tr{border-bottom:1px solid rgba(255,255,255,.08)}
.sp-table th{
  width:38%;padding:13px 12px;
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.6);font-size:13px;font-weight:600;
  text-align:left;
}
.sp-table td{padding:13px 12px;color:#fff;font-size:13px}

/* 세대수 바 */
.supply-bar-section{padding:32px 16px 0}
.supply-bar-title{
  font-size:15px;font-weight:700;color:#fff;margin-bottom:16px;
}
.supply-bars{display:flex;flex-direction:column;gap:10px}
.sbar-row{display:flex;align-items:center;gap:10px}
.sbar-label{font-size:13px;font-weight:700;width:30px;flex-shrink:0}
.sbar-track{
  flex:1;height:10px;background:rgba(255,255,255,.08);
  border-radius:5px;overflow:hidden;
}
.sbar-fill{
  height:100%;border-radius:5px;
  transition:width 1.2s cubic-bezier(.22,1,.36,1);
}
.sbar-count{font-size:12px;color:var(--text-muted);width:52px;text-align:right;flex-shrink:0}
.sbar-total{
  margin-top:16px;font-size:13px;color:var(--text-muted);text-align:right;
}
.sbar-total strong{color:var(--yellow);font-size:15px}

/* ====================================================================
   COMMUNITY
   ==================================================================== */
.community-section{background:var(--dark2);padding-bottom:60px}
.community-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:2px;padding:0 0 32px;
}
.comm-card{position:relative;overflow:hidden}
.comm-card img{
  width:100%;aspect-ratio:1;object-fit:cover;
  transition:transform .4s ease;
  display:block;
}
.comm-card:hover img{transform:scale(1.05)}
.comm-label{
  position:absolute;bottom:0;left:0;right:0;
  background:linear-gradient(transparent,rgba(0,0,0,.85));
  color:rgba(255,255,255,.7);
  font-size:9px;font-weight:700;letter-spacing:1.5px;
  padding:24px 10px 6px;
  text-align:center;
}
.comm-info{
  position:absolute;bottom:0;left:0;right:0;
  background:linear-gradient(transparent,rgba(0,0,0,.9));
  padding:20px 12px 12px;
  transform:translateY(30px);
  transition:transform .3s ease;
}
.comm-card:hover .comm-info{transform:translateY(0)}
.comm-info h4{font-size:13px;font-weight:700;color:#fff;margin-bottom:3px}
.comm-info p{font-size:11px;color:rgba(255,255,255,.7)}

/* 스마트 특화 */
.smart-features{padding:0 16px}
.smart-title{font-size:17px;font-weight:700;color:#1a1a1a;margin-bottom:16px;text-align:center}
.smart-grid{display:flex;flex-direction:column;gap:12px}
.smart-item{
  display:flex;gap:16px;align-items:flex-start;
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:var(--radius);padding:16px 18px;
}
.smart-ico{font-size:28px;flex-shrink:0}
.smart-item strong{display:block;font-size:14px;color:#1a1a1a;margin-bottom:4px}
.smart-item p{font-size:13px;color:var(--text-muted);line-height:1.6}

/* ====================================================================
   TRUST SECTION
   ==================================================================== */
.trust-section{background:#f8f8f8;padding-bottom:60px}
.trust-stats{
  display:grid;grid-template-columns:1fr 1fr;
  gap:12px;padding:0 16px 24px;
}
.ts-card{
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:var(--radius);
  padding:22px 16px;text-align:center;
}
.ts-highlight{
  background:var(--grad-main);border-color:transparent;
}
.ts-num{
  font-size:clamp(28px,8vw,40px);font-weight:900;
  color:var(--magenta);line-height:1;
  display:flex;align-items:baseline;justify-content:center;gap:3px;
}
.ts-unit{font-size:18px;font-weight:700}
.ts-label{font-size:12px;color:#888;margin-top:6px}
.ts-highlight .ts-label{color:rgba(255,255,255,.75)}

.trust-badges{
  display:grid;grid-template-columns:1fr 1fr;
  gap:12px;padding:0 16px;
}
.tb-item{
  background:#fff;border:1px solid #e8e8e8;
  border-radius:var(--radius);padding:20px 12px;text-align:center;
}
.tb-grade{
  font-size:26px;font-weight:900;
  color:var(--yellow);margin-bottom:8px;
}
.tb-item p{font-size:12px;color:var(--text-muted);line-height:1.6}

/* ====================================================================
   FORM SECTION — 모델하우스 방문 예약
   ==================================================================== */
.form-section{
  background:#0f1c3c;
  padding-bottom:80px;
}

/* 헤더 */
.form-sec-header{
  padding:60px 20px 32px;
  text-align:center;
}
.form-eyebrow{
  display:inline-block;
  font-size:11px;font-weight:700;letter-spacing:4px;
  color:#C8A96E;text-transform:uppercase;
  margin-bottom:14px;
}
.form-sec-title{
  font-size:clamp(24px,6vw,34px);font-weight:900;
  color:#ffffff;line-height:1.3;
  margin-bottom:10px;
}
.form-sec-desc{
  font-size:14px;color:rgba(180,200,230,.75);
  line-height:1.7;
}

/* 전화 상담 박스 */
.form-tel-box{
  margin:0 16px 28px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:22px 24px;
  display:flex;flex-direction:column;gap:6px;
}
.form-tel-label{
  font-size:12px;color:rgba(200,220,255,.6);
  font-weight:500;letter-spacing:.5px;
}
.form-tel-num{
  font-size:clamp(26px,7vw,38px);font-weight:700;
  color:#C8A96E;
  font-family:'Georgia',serif;
  letter-spacing:1px;
  text-decoration:none;
  line-height:1.2;
}
.form-tel-time{
  font-size:12px;color:rgba(200,220,255,.5);
  letter-spacing:.3px;
}

/* 폼 카드 — 흰 배경 플로팅 카드 */
.form-card{
  margin:0 16px;
  background:#ffffff;
  border:none;
  border-radius:16px;
  padding:32px 24px 28px;
  box-shadow:0 8px 40px rgba(0,0,0,.25);
}
.fg{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.fg label{
  font-size:14px;font-weight:600;color:#222;
  letter-spacing:.1px;
}
.req{color:#e53935}
.agree-link{
  color:#1565c0;font-size:13px;
  text-decoration:underline;
}
.fg input,.fg select{
  background:#ffffff;
  border:1px solid #d8d8d8;
  border-radius:8px;
  padding:14px 16px;
  font-size:15px;font-family:inherit;
  color:#222;outline:none;
  transition:border-color .2s,box-shadow .2s;
  -webkit-appearance:none;
}
.fg input::placeholder{color:#bbb}
.fg input:focus,.fg select:focus{
  border-color:#1a3a6c;
  box-shadow:0 0 0 3px rgba(26,58,108,.1);
}
.fg select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  padding-right:40px;
  cursor:pointer;
  color:#555;
}
.fg select option{background:#fff;color:#222}
.fg-check{
  flex-direction:row !important;
  align-items:flex-start;gap:12px !important;
  margin-bottom:24px;
}
.fg-check input{
  width:18px;height:18px;
  accent-color:#1a3a6c;
  flex-shrink:0;
  margin-top:2px;
  cursor:pointer;
}
.fg-check label{
  font-size:13px;color:#555;
  font-weight:400 !important;
  cursor:pointer;
  line-height:1.55;
}
.form-submit{
  width:100%;padding:17px;
  background:#1a3a6c;
  color:#fff;font-size:16px;font-weight:700;
  border-radius:10px;margin-top:4px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  transition:opacity .2s,transform .15s;
  letter-spacing:.5px;
}
.form-submit:active{transform:scale(.98);opacity:.9}
.form-submit:hover{background:#234a88}
.form-contact-bar{
  text-align:center;padding:24px 16px 0;
  display:flex;flex-direction:column;align-items:center;gap:12px;
}
.form-contact-bar p{font-size:13px;color:rgba(200,220,255,.6)}
.btn-tel-big{font-size:18px;padding:16px 36px}

/* ====================================================================
   플로팅 전화기 FAB 버튼
   ==================================================================== */
.tel-fab{
  position:fixed;
  bottom:76px; /* 하단바 위 */
  right:20px;
  width:58px;height:58px;
  border-radius:50%;
  background:linear-gradient(135deg,#f5c842 0%,#e0a800 100%);
  display:flex;align-items:center;justify-content:center;
  z-index:750;
  box-shadow:0 4px 20px rgba(224,168,0,.5);
  color:#1a1a1a;
  text-decoration:none;
  transition:transform .2s;
}
.tel-fab:active{transform:scale(.93)}
.tel-fab-icon{
  position:relative;z-index:2;
  color:#1a1a1a;
}
/* 파동 링 애니메이션 */
.tel-fab-ring{
  position:absolute;
  inset:-4px;
  border-radius:50%;
  border:2px solid rgba(245,200,66,.6);
  animation:tel-pulse 2s ease-out infinite;
}
.tel-fab-ring2{
  inset:-10px;
  border-color:rgba(245,200,66,.3);
  animation-delay:.7s;
}
@keyframes tel-pulse{
  0%{transform:scale(1);opacity:1}
  80%{transform:scale(1.45);opacity:0}
  100%{transform:scale(1.45);opacity:0}
}

/* ====================================================================
   FOOTER
   ==================================================================== */
#site-footer{
  background:#1a1a1a;
  padding:32px 20px;
  border-top:none;
}
.footer-agency{
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,.35);
  letter-spacing:.04em;
  margin-bottom:10px;
}
.footer-brand{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.footer-info{font-size:12px;color:rgba(255,255,255,.4);line-height:1.8;margin-bottom:12px}
.footer-disc{font-size:11px;color:rgba(255,255,255,.25);line-height:1.8;margin-bottom:12px}
.footer-copy{font-size:11px;color:rgba(255,255,255,.2)}

/* ====================================================================
   FIXED BOTTOM CTA BAR
   ==================================================================== */
.bottom-cta-bar{
  position:fixed;bottom:0;left:0;right:0;
  height:var(--bottom-h);
  display:flex;align-items:center;justify-content:center;
  background:#1A1A1A;
  z-index:700;
}
.bcb-register{
  background:var(--yellow);
  color:#1A1A1A;
  font-size:16px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;
  letter-spacing:.5px;
  transition:filter .2s;
}
.bcb-register:hover{filter:brightness(1.08)}

/* ====================================================================
   TOP BUTTON
   ==================================================================== */
.top-btn{
  position:fixed;right:16px;bottom:72px;
  width:46px;height:46px;border-radius:50%;
  background:#e53935;color:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  font-size:9px;font-weight:700;
  box-shadow:0 4px 16px rgba(0,0,0,.35);z-index:600;
  opacity:0;pointer-events:none;
  transition:opacity .3s,transform .2s;
}
.top-btn.visible{opacity:1;pointer-events:all}
.top-btn:active{transform:scale(.93)}

/* ====================================================================
   RESULT MODAL
   ==================================================================== */
.result-modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.7);
  z-index:9000;display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;pointer-events:none;transition:opacity .3s;
}
.result-modal-overlay.show{opacity:1;pointer-events:all}
.result-modal-box{
  background:#1A1A35;border:1px solid rgba(255,255,255,.12);
  border-radius:20px;padding:36px 28px;text-align:center;
  width:100%;max-width:320px;
  transform:scale(.95);transition:transform .3s;
}
.result-modal-overlay.show .result-modal-box{transform:scale(1)}
.rm-icon{font-size:52px;margin-bottom:14px}
.result-modal-box h3{font-size:20px;font-weight:700;color:#fff;margin-bottom:10px}
.result-modal-box p{font-size:14px;color:var(--text-muted);line-height:1.7;margin-bottom:24px}
.result-modal-box a{color:var(--yellow)}
.rm-close{
  background:var(--grad-main);color:#fff;
  font-size:15px;font-weight:700;
  padding:13px 40px;border-radius:10px;
}

/* ====================================================================
   SCROLL REVEAL (기본 상태)
   ==================================================================== */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:translateY(0)}

/* ====================================================================
   ANIMATED ROUTES WRAP (입지환경 섹션 — 노선 인포그래픽 iframe)
   ==================================================================== */

/* 구 animated-routes-wrap 레거시 호환 */
.animated-routes-wrap{
  margin:0 16px 32px;
  border-radius:var(--radius);overflow:hidden;
  position:relative;
}
.ar-label{
  position:absolute;top:0;left:0;right:0;
  background:linear-gradient(180deg,rgba(0,0,0,.7) 0%,transparent 100%);
  padding:16px 20px;z-index:2;
  pointer-events:none;
}
.ar-label p{font-size:13px;color:rgba(255,255,255,.85);font-weight:500}

/* 메인 노선 iframe 래퍼 — 1920×1080 슬라이드를 16:9 비율로 스케일 */
.ar-main-wrap{
  margin:0 16px 20px;
  border-radius:var(--radius);overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.08);
}
.ar-main-wrap .ar-iframe-container{
  width:100%;
  /* 16:9 비율 유지 */
  aspect-ratio: 16 / 9;
  position:relative;
  background:#0B1530;
  overflow:hidden;
  min-height:220px;
}
/* aspect-ratio 미지원 폴백 */
@supports not (aspect-ratio: 16/9){
  .ar-main-wrap .ar-iframe-container{
    height:0;
    padding-top:56.25%;
  }
}

/* 공통 iframe */
.ar-iframe-container{
  width:100%;
  height:300px;
  position:relative;
  background:#0B1530;
  padding-top:0;
}
/* 1920×1080 슬라이드를 컨테이너 너비에 맞게 축소 */
.ar-iframe{
  position:absolute;top:0;left:0;
  width:1920px;
  height:1080px;
  border:none;
  transform-origin: top left;
  /* JS로 동적 scale 설정 */
}

/* 트램 영상 하단 금색 가로줄 (헤더에서 이동) */
.tram-gold-line{
  width:100%;
  height:2px;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 20%, #D4AF37 80%, transparent 100%);
  display:block;
}

/* ====================================================================
   PREMIUM LIGHT — 이미지 그대로 재현 (라이트 핑크/퍼플 그리드)
   ==================================================================== */
.premium-section.premium-light{
  background:#fff;
  padding-bottom:56px;
}
.premium-light .sec-header{
  padding-top:48px;
  padding-bottom:8px;
}
.premium-light .sec-eyebrow{
  color:#FF0080!important;
  font-weight:700;
}
.premium-light .sec-title{
  color:#E8000A!important;
  font-size:clamp(22px,6vw,28px);
  font-weight:900;
}
.premium-light .sec-desc{
  color:#666!important;
}

/* 프리미엄 그리드 전체 래퍼 */
.premium-grid-wrap{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
  padding:16px 16px 28px;
}

/* PREMIUM 7 메인 박스 — 퍼플 그라디언트 */
.prem-main-box{
  grid-column:1 / 3;
  grid-row:1;
  background:linear-gradient(150deg,#7B2FBE 0%,#B0306A 60%,#C13582 100%);
  border-radius:16px;
  padding:20px 16px 16px;
  display:flex;flex-direction:column;
  justify-content:flex-start;
  min-height:160px;
  position:relative;
  overflow:hidden;
}
.prem-main-brand{
  color:rgba(255,255,255,.85);
  font-size:10px;font-weight:600;
  line-height:1.4;
  margin-bottom:10px;
}
.prem-main-label{
  color:#fff;
  font-size:18px;font-weight:900;
  letter-spacing:0.05em;
  margin-bottom:2px;
}
.prem-main-num{
  color:rgba(255,255,255,.25);
  font-size:80px;font-weight:900;
  line-height:0.85;
  position:absolute;bottom:-8px;right:8px;
  font-style:italic;
  letter-spacing:-4px;
}

/* 프리미엄 카드 공통 — 연핑크/라벤더 */
.prem-card{
  background:#FDF0F5;
  border-radius:16px;
  padding:16px 14px 18px;
  display:flex;flex-direction:column;
  gap:0;
  min-height:160px;
  border:1px solid #F0D4E0;
}
.prem-card-3,.prem-card-4{
  background:#F5F0FD;
  border:1px solid #DDD0F0;
}

.prem-card-top{
  display:flex;align-items:flex-start;justify-content:space-between;
  margin-bottom:6px;
}
.prem-card-num{
  font-size:32px;font-weight:900;
  color:#C86099;
  line-height:1;
}
.prem-card-3 .prem-card-num,
.prem-card-4 .prem-card-num{
  color:#9B5FC8;
}
.prem-card-icon{
  font-size:24px;
  margin-top:2px;
}
.prem-card-title{
  font-size:14px;font-weight:800;
  color:#1a1a1a;
  line-height:1.4;
  margin-bottom:8px;
}
.prem-card-desc{
  font-size:11px;
  color:#666;
  line-height:1.65;
}

/* 카드 5,6,7 (3행) */
.prem-card-5{
  background:#FDF0F5;
  border:1px solid #F0D4E0;
}
/* 카드 6 — 연라벤더 */
.prem-card-6{
  background:#F5F0FD;
  border:1px solid #DDD0F0;
}
.prem-card-6 .prem-card-num{
  color:#9B5FC8;
}
/* 카드 7 — 퍼플 딥 */
.prem-card-7{
  background:#EEE8FB;
  border:1px solid #C8B0E8;
}
.prem-card-7 .prem-card-num{
  color:#7B3FC8;
}

/* ====================================================================
   FLOOR PLAN SECTION (평면도 + 단지배치도)
   ==================================================================== */
.floorplan-section{
  background:#fff;
  padding-bottom:60px;
}
.floorplan-section .sec-eyebrow{color:#E8000A;font-size:clamp(22px,5vw,36px);letter-spacing:1px;font-weight:900;text-transform:none}
.floorplan-section .sec-title{
  color:#1a1a1a;
  text-shadow:none;
}
.floorplan-section .sec-title em{color:var(--magenta)}
.floorplan-section .sec-desc{color:#555;font-size:14px}

/* 평면도 / 단지배치도 이미지 */
.fp-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:0 16px 32px;
}
.fp-img-wrap{
  margin:0;
}
.fp-img-label{
  font-size:15px;font-weight:700;color:#1a1a1a;
  padding-left:12px;
  border-left:4px solid var(--magenta);
  margin-bottom:12px;
}
.fp-full-img{
  width:100%;border-radius:var(--radius);
  border:1px solid #e8e8e8;
  display:block;
}
.fp-sub-title{
  font-size:16px;font-weight:700;color:#1a1a1a;
  padding:0 16px 14px;
  border-left:4px solid var(--magenta);
  padding-left:20px;
  margin:0 16px 16px;
}

/* ====================================================================
   E-모델하우스 버튼 + 모달
   ==================================================================== */
/* 버튼 래퍼 */
.emodel-btn-wrap{
  padding:24px 16px 40px;
  display:flex;
  justify-content:center;
}
.emodel-open-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:#1a1a1a;
  color:#FFE000;
  border:2px solid #FFE000;
  border-radius:50px;
  padding:16px 32px;
  font-size:17px;font-weight:800;
  cursor:pointer;
  transition:background .2s, color .2s, transform .15s;
  letter-spacing:.02em;
}
.emodel-open-btn:hover{
  background:#FFE000;
  color:#1a1a1a;
  transform:translateY(-2px);
}
.emodel-btn-icon{ font-size:20px; }
.emodel-btn-arrow{
  font-size:20px;
  transition:transform .2s;
}
.emodel-open-btn:hover .emodel-btn-arrow{
  transform:translateX(4px);
}

/* 오버레이 */
.emodel-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.72);
  z-index:900;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;
  transition:opacity .3s ease;
  backdrop-filter:blur(4px);
}
.emodel-overlay.show{
  opacity:1;pointer-events:all;
}

/* 모달 박스 */
.emodel-modal{
  position:relative;
  background:linear-gradient(160deg,#0f1c3a 0%,#1a1a1a 100%);
  border:1px solid rgba(212,175,55,.4);
  border-radius:16px;
  padding:40px 32px 36px;
  width:calc(100% - 40px);
  max-width:480px;
  box-shadow:0 20px 60px rgba(0,0,0,.7);
  transform:translateY(20px);
  transition:transform .3s ease;
}
.emodel-overlay.show .emodel-modal{
  transform:translateY(0);
}

/* 닫기 버튼 */
.emodel-close{
  position:absolute;top:16px;right:16px;
  width:36px;height:36px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:50%;
  color:#fff;font-size:16px;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s;
}
.emodel-close:hover{ background:rgba(255,255,255,.18); }

/* 모달 헤더 */
.emodel-modal-header{
  text-align:center;
  margin-bottom:32px;
}
.emodel-modal-eyebrow{
  display:block;
  font-size:11px;font-weight:700;letter-spacing:4px;
  color:rgba(212,175,55,.8);
  text-transform:uppercase;
  margin-bottom:8px;
}
.emodel-modal-title{
  font-size:26px;font-weight:900;
  color:#fff;
  letter-spacing:.02em;
}

/* 타입 버튼 그리드 */
.emodel-type-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}
.emodel-type-btn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;
  width:calc(33.333% - 10px);
  min-width:100px;
  padding:18px 12px;
  background:rgba(255,255,255,.05);
  border:2px solid rgba(255,224,0,.35);
  border-radius:12px;
  text-decoration:none;
  transition:background .2s, border-color .2s, transform .15s;
}
.emodel-type-btn:hover{
  background:rgba(255,224,0,.12);
  border-color:#FFE000;
  transform:translateY(-3px);
}
.emodel-type-num{
  font-size:22px;font-weight:900;
  color:#FFE000;
  letter-spacing:.05em;
}
.emodel-type-label{
  font-size:12px;font-weight:500;
  color:rgba(255,255,255,.5);
}

/* 4번째·5번째 버튼 (2열 가운데) */
.emodel-type-btn:nth-child(4),
.emodel-type-btn:nth-child(5){
  width:calc(33.333% - 10px);
}

@media(max-width:360px){
  .emodel-type-btn{ width:calc(50% - 8px); }
  .emodel-modal{ padding:32px 20px 28px; }
}

/* 평면도 탭 */
.fp-tabs-wrap{margin-bottom:12px}
.fp-tabs{
  display:flex;gap:8px;overflow-x:auto;
  padding:0 16px 16px;
  scrollbar-width:none;
}
.fp-tabs::-webkit-scrollbar{display:none}
.fp-tab{
  flex-shrink:0;padding:9px 18px;
  border-radius:20px;
  font-size:13px;font-weight:700;
  color:#666;
  border:1px solid #ddd;
  background:#fff;
  transition:all .2s;
}
.fp-tab.active{
  background:var(--magenta);color:#fff;border-color:var(--magenta);
}

/* 평면도 패널 */
.fp-panel{display:none;padding:0 16px}
.fp-panel.active{display:block;animation:fadeIn .3s ease}

.fp-panel-header{
  display:flex;align-items:center;gap:12px;margin-bottom:16px;
}
.fp-badge{
  font-size:16px;font-weight:900;color:#1a0040;
  padding:8px 20px;border-radius:8px;
}
.fp-units{font-size:22px;font-weight:700;color:#333}

.fp-content-row{
  display:grid;grid-template-columns:1fr 1fr;
  gap:12px;
}
@media(max-width:480px){
  .fp-content-row{grid-template-columns:1fr}
}

/* 평면도 이미지 박스 */
.fp-image-box{
  background:#f5f5f5;
  border:1px solid #e0e0e0;
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:4/3;
  display:flex;align-items:center;justify-content:center;
}
/* 실제 3D 평면도 이미지 */
.fp-real-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:var(--radius);
}
.fp-img-placeholder{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#1A1A35 0%,#12122A 100%);
  padding:12px;
}
.fp-placeholder-inner{
  width:100%;height:100%;
  position:relative;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:8px;
}
.fp-type-big{
  font-size:20px;font-weight:900;
  opacity:0.9;
  text-align:center;
}

/* 평면도 방 배치 시각화 */
.fp-room-layout{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(4,1fr);
  gap:3px;
  flex:1;
  max-height:130px;
}
.fp-room{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:3px;
  display:flex;align-items:center;justify-content:center;
  font-size:8px;color:rgba(255,255,255,.5);
  font-weight:600;
  text-align:center;
  line-height:1.2;
  padding:2px;
}
.fp-livingroom{grid-column:1/3;grid-row:1/3;background:rgba(255,255,255,.1);color:rgba(255,255,255,.75)}
.fp-kitchen{grid-column:3;grid-row:1/3;background:rgba(255,224,0,.07)}
.fp-bedroom1{grid-column:1;grid-row:3/5;background:rgba(79,195,247,.07)}
.fp-bedroom2{grid-column:2;grid-row:3}
.fp-bedroom3{grid-column:2;grid-row:4}
.fp-dressroom{grid-column:3;grid-row:3;font-size:7px}
.fp-bath1{grid-column:3;grid-row:4;font-size:7px}
.fp-bath2{display:none}
.fp-entryway{display:none}
.fp-balcony{display:none}

/* 면적 정보 테이블 */
.fp-info-box{
  display:flex;flex-direction:column;
}
.fp-table{
  width:100%;border-collapse:collapse;
}
.fp-table tr{border-bottom:1px solid #eee}
.fp-table tr:last-child{border-bottom:none}
.fp-table th{
  width:45%;padding:10px 10px;
  background:#f8f8f8;
  color:#888;font-size:11px;font-weight:600;
  text-align:left;vertical-align:middle;
}
.fp-table td{
  padding:10px 10px;
  color:#1a1a1a;font-size:12px;
  vertical-align:middle;
}
.fp-table td small{color:#aaa;font-size:10px}

/* 세대수 바 (floorplan용) */
.fp-bar-section{padding:32px 16px 0}
.fp-bar-title{font-size:15px;font-weight:700;color:#1a1a1a;margin-bottom:16px}
.fp-bars{display:flex;flex-direction:column;gap:10px}
.fpb-row{display:flex;align-items:center;gap:10px}
.fpb-label{font-size:13px;font-weight:700;width:30px;flex-shrink:0}
.fpb-track{
  flex:1;height:10px;background:#ebebeb;
  border-radius:5px;overflow:hidden;
}
.fpb-fill{
  height:100%;border-radius:5px;width:0%;
  transition:width 1.2s cubic-bezier(.22,1,.36,1);
}
.fpb-count{font-size:12px;color:#888;width:52px;text-align:right;flex-shrink:0}
.fpb-total{
  margin-top:16px;font-size:13px;color:var(--text-muted);text-align:right;
}
.fpb-total strong{color:var(--yellow);font-size:15px}

/* 단지배치도 */
.site-plan-wrap{
  padding:40px 16px 0;
}
.site-plan-img-box{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid #e0e0e0;
  margin-bottom:16px;
}
.site-plan-img{
  width:100%;display:block;
}
.site-plan-legend{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:8px;
  padding:0 0 8px;
}
.spl-item{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  background:var(--dark3);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:10px 6px;
  text-align:center;
}
.spl-dot{
  width:16px;height:16px;border-radius:50%;
}
.spl-type{font-size:12px;font-weight:700;color:#fff}
.spl-count{font-size:11px;color:var(--text-muted)}
.spl-total{
  grid-column:3/5;
  background:rgba(255,224,0,.08);
  border-color:rgba(255,224,0,.2);
  flex-direction:row;
  justify-content:center;
  gap:8px;
}
.spl-total .spl-type{color:rgba(255,255,255,.7)}
.spl-total .spl-count strong{color:var(--yellow);font-size:14px}

/* 반응형: 단지배치도 범례 모바일 2열 */
@media(max-width:400px){
  .site-plan-legend{grid-template-columns:repeat(2,1fr)}
  .spl-total{grid-column:1/3}
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media(min-width:480px){
  .community-grid{grid-template-columns:repeat(3,1fr)}
  .infra-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:640px){
  .popup-card{padding:32px 32px}
  .shock-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:768px){
  body{max-width:768px;margin:0 auto}
  #site-header{max-width:100%;left:0;transform:none;right:0}
  .bottom-cta-bar{max-width:768px;left:50%;transform:translateX(-50%)}
  .top-btn{right:calc(50% - 368px)}
  .popup-wrap{flex-direction:row;flex-wrap:wrap;border-radius:var(--radius)}
  .popup-left,.popup-right{flex:1;min-width:0;border-radius:0}
  .popup-left{border-radius:var(--radius) 0 0 0;border-right:1px solid rgba(255,255,255,.15);border-bottom:none}
  .popup-right{border-radius:0 var(--radius) 0 0}
  .popup-bottom{grid-column:1/-1;border-radius:0 0 var(--radius) var(--radius);flex:0 0 100%}
  /* 데스크탑: hero 가로줄·텍스트 위치 조정 */
  .hero-stripes{top:140px}
  .hero-content{padding-top:120px}
}
