/* PC_MAIN DEDICATED FILE */
/* =========================================================
   43_section4.css (PC 전용)
   - MAIN SECTION 4 : MODELHOUSE DIRECTIONS
   - section4 전체 한 덩어리 진입 / footer 에서만 숨김
   ========================================================= */

.pc-site #section4.modelhouse-section{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  color: #fff;
  background: #334955;
}

.pc-site #section4 .modelhouse-media,
.pc-site #section4 .modelhouse-video,
.pc-site #section4 .modelhouse-video-overlay{
  position: absolute;
  inset: 0;
}

.pc-site #section4 .modelhouse-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.82) saturate(.18) contrast(.52);
  opacity: .18;
  transform: scale(1.03);
}

.pc-site #section4 .modelhouse-video-overlay{
  background:
    linear-gradient(180deg, rgba(56,78,92,.10) 0%, rgba(56,78,92,.16) 36%, rgba(56,78,92,.22) 100%),
    linear-gradient(90deg, rgba(40,58,70,.20) 0%, rgba(40,58,70,.08) 34%, rgba(40,58,70,.08) 66%, rgba(40,58,70,.20) 100%),
    rgba(56,78,92,.18);
}

.pc-site #section4 .modelhouse-shell{
  --section4-shell-y: -60px;
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 120px));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(var(--section4-shell-y) - 18px))
  will-change: opacity, transform;
}

.pc-site #section4.is-entered .modelhouse-shell{
  opacity: 1;
  visibility: visible;
  transform: translateY(var(--section4-shell-y));
  transition:
    opacity .92s cubic-bezier(.25,.46,.45,.94) .40s,
    transform .92s cubic-bezier(.25,.46,.45,.94) .40s,
    visibility 0s linear .40s;
}

.pc-site #section4 .modelhouse-stage,
.pc-site #section4 .modelhouse-address-row{
  transition: opacity .58s cubic-bezier(.22,.61,.36,1), filter .58s cubic-bezier(.22,.61,.36,1);
}

body.show-footer #section4 .modelhouse-stage,
body.show-footer #section4 .modelhouse-address-row{
  opacity: 0;
  filter: brightness(.82);
  pointer-events: none;
}

.pc-site #section4 .modelhouse-stage{
  position: relative;
  width: min(860px, 100%);
  overflow: visible;
}

.pc-site #section4 .modelhouse-heading{
  position: absolute;
  top: 50%;
  left: -26px;
  transform: translate(-30%, -54%);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
  z-index: 4;
  color: #fff;
  text-align: right;
}

.pc-site #section4 .modelhouse-heading-main,
.pc-site #section4 .modelhouse-heading-sub{
  display: block;
  color: #fff;
  text-shadow: none;
  font-family: "Cormorant Garamond", serif;
}

.pc-site #section4 .modelhouse-heading-main{
  font-size: clamp(29px, calc(var(--pcvw, 1vw) * 2.45), 44px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: .18em;
}

.pc-site #section4 .modelhouse-heading-sub{
  align-self: flex-end;
  padding-right: .02em;
  font-size: clamp(20px, calc(var(--pcvw, 1vw) * 1.52), 30px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: .22em;
}

.pc-site #section4 .modelhouse-map-frame{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 356px;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}

.pc-site #section4 .modelhouse-map-plate{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(34, 46, 56, 0.28);
  pointer-events: none;
}

.pc-site #section4 .modelhouse-map-viewport{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: none;
}

.pc-site #section4 .frame-line{
  position: absolute;
  z-index: 3;
  background: #fff;
  opacity: 1;
  pointer-events: none;
}

.pc-site #section4 .line-top,
.pc-site #section4 .line-bottom{
  height: 1px;
  width: 0;
  transition: width .22s cubic-bezier(.4,0,.2,1);
}

.pc-site #section4 .line-top{ top: 0; left: 0; }
.pc-site #section4 .line-bottom{ right: 0; bottom: 0; }

.pc-site #section4 .line-left,
.pc-site #section4 .line-right{
  width: 1px;
  height: 0;
  transition: height .22s cubic-bezier(.4,0,.2,1) .02s;
}

.pc-site #section4 .line-left{ left: 0; bottom: 0; }
.pc-site #section4 .line-right{ top: 0; right: 0; }

.pc-site #section4 .modelhouse-map-frame:hover .line-top,
.pc-site #section4 .modelhouse-map-frame:focus-within .line-top,
.pc-site #section4 .modelhouse-map-frame:hover .line-bottom,
.pc-site #section4 .modelhouse-map-frame:focus-within .line-bottom{
  width: 100%;
}

.pc-site #section4 .modelhouse-map-frame:hover .line-left,
.pc-site #section4 .modelhouse-map-frame:focus-within .line-left,
.pc-site #section4 .modelhouse-map-frame:hover .line-right,
.pc-site #section4 .modelhouse-map-frame:focus-within .line-right{
  height: 100%;
}

.pc-site #section4 .modelhouse-map-image{
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
  object-fit: contain;
  object-position: right center;
  transform: none;
  backface-visibility: hidden;
}

.pc-site #section4 .modelhouse-address-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  width: min(860px, 100%);
  padding-top: 0;
}

.pc-site #section4 .modelhouse-address-item{
  flex: 0 1 auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  white-space: nowrap;
  text-align: center;
}

.pc-site #section4 .modelhouse-address-item strong{
  margin-right: 9px;
  color: #fff;
  font-weight: 500;
}
