/* PC_MAIN DEDICATED FILE */
/* =========================================================
   41_section2.css (PC 전용)
   - MAIN SECTION 2 / LOCATION
   ========================================================= */

#section2.location-section{
  --loc-title-top-size: clamp(50px, calc(var(--pcvw, 1vw) * 4.2), 62px);
  --loc-title-bottom-size: clamp(36px, calc(var(--pcvw, 1vw) * 3), 46px);
  --loc-copy-main-gap: 28px;
  --loc-copy-fixed-gap: 56px;
  --loc-icon-nav-width: 360px;
  --loc-icon-nav-safe-bottom: calc(22px + 68px + 18px);
  --loc-icon-size: 66px;
  --loc-icon-svg-size: 38px;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: var(--header-h) 0 0;
  box-sizing: border-box;
  background: #efefed;
  overflow: hidden;
}

#section2 .location-inner{
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(420px, 31.5%) minmax(0, 68.5%);
  align-items: stretch;
  background: #fff;
}

#section2 .location-info,
#section2 .location-map{
  min-width: 0;
  min-height: 0;
}

#section2 .location-info{
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 34px 44px 26px 74px;
  box-sizing: border-box;
  background: #fff;
  color: #182d43;
}

#section2 .loc-copy-wrap{
  width: 100%;
  max-width: 404px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#section2 .loc-copy-content{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#section2 .loc-title{
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0;
}

#section2 .loc-title-line{
  display: block;
  overflow: hidden;
}

#section2 .loc-title-word{
  display: inline-block;
  font-family: "Montserrat", "Pretendard", "Noto Sans KR", sans-serif;
  line-height: .9;
  font-weight: 600;
  letter-spacing: .045em;
  color: #16324b;
  transform: translateY(112%);
  opacity: 0;
  transition:
    transform .9s cubic-bezier(.22,.61,.36,1),
    opacity .9s ease,
    letter-spacing 1.1s cubic-bezier(.16,1,.3,1);
}

/* section2 타이틀 위 1줄 크기 */
#section2 .loc-title-word--top{
  font-size: var(--loc-title-top-size);
}

/* section2 타이틀 아래 1줄 크기 */
#section2 .loc-title-word--bottom{
  font-size: var(--loc-title-bottom-size);
}

#section2.is-active .loc-title-word{
  transform: translateY(0);
  opacity: 1;
  letter-spacing: .04em;
}

#section2.is-active .loc-title-line:nth-child(2) .loc-title-word{
  transition-delay: .16s;
}

#section2 .loc-copy-stage{
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity .78s ease .18s,
    transform .78s cubic-bezier(.22,.61,.36,1) .18s;
}

#section2.is-active .loc-copy-stage{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#section2 .loc-copy-stage.is-switching{
  opacity: .08 !important;
  transform: translate3d(0, 12px, 0) !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

#section2 .loc-copy-main,
#section2 .loc-copy-sub,
#section2 .loc-copy-fixed{
  margin: 0;
  word-break: keep-all;
}

#section2 .loc-copy-main{
  margin-bottom: var(--loc-copy-main-gap);
  font-size: 20px;
  line-height: 1.58;
  font-weight: 700;
  letter-spacing: -.045em;
  color: #17324a;
}

#section2 .loc-copy-sub{
  font-size: 15px;
  line-height: 1.92;
  font-weight: 600;
  color: #4d5d6c;
  letter-spacing: -.01em;
}

#section2 .loc-copy-fixed{
  margin-top: var(--loc-copy-fixed-gap);
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .78s ease .28s,
    transform .78s cubic-bezier(.22,.61,.36,1) .28s;
}

#section2.is-active .loc-copy-fixed{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#section2 .loc-fixed-row{
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#section2 .loc-fixed-row + .loc-fixed-row{
  margin-top: 2px;
}

#section2 .loc-fixed-label{
  flex: 0 0 46px;
  padding-top: 1px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
  color: #24384a;
  letter-spacing: .03em;
}

#section2 .loc-fixed-value{
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 600;
  color: #5b6b79;
  letter-spacing: -.02em;
}

#section2 .loc-icon-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: var(--loc-icon-nav-width);
  margin-top: auto;
  padding-bottom: var(--loc-icon-nav-safe-bottom);
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .78s ease .36s,
    transform .78s cubic-bezier(.22,.61,.36,1) .36s;
}

#section2.is-active .loc-icon-nav{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#section2 .loc-icon-btn{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

#section2 .loc-icon-box{
  width: var(--loc-icon-size);
  height: var(--loc-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #d9d2ca 0%, #c3b6aa 100%);
  color: #ffffff;
  transition:
    background .28s ease,
    transform .28s ease,
    color .28s ease;
}

#section2 .loc-icon-btn svg{
  width: var(--loc-icon-svg-size);
  height: var(--loc-icon-svg-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#section2 .loc-icon-btn svg .loc-icon-fill{
  fill: currentColor;
  stroke: none;
}

#section2 .loc-icon-btn:hover .loc-icon-box,
#section2 .loc-icon-btn:focus-visible .loc-icon-box{
  transform: translateY(-3px);
}

#section2 .loc-icon-btn.is-active .loc-icon-box{
  background: linear-gradient(180deg, #2b4355 0%, #1a2f40 100%);
}

#section2 .loc-icon-btn:focus-visible{
  outline: none;
}

#section2 .loc-icon-btn:focus-visible .loc-icon-box{
  outline: 3px solid rgba(34,56,71,.18);
  outline-offset: 3px;
}

#section2 .location-map{
  position: relative;
  overflow: hidden;
  background: #ececeb;
}

#section2 .location-map-shell{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ececeb;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.035);
  transform-origin: center center;
  will-change: opacity, transform;
  transition:
    opacity .38s ease,
    transform .72s cubic-bezier(.22,.61,.36,1),
    visibility 0s linear .38s;
}

#section2.is-active .location-map-shell.is-map-ready,
#section2.is-map-mounted .location-map-shell.is-map-ready{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition:
    opacity .38s ease,
    transform .72s cubic-bezier(.22,.61,.36,1),
    visibility 0s linear 0s;
}

#section2 .location-map-view{
  position: absolute;
  inset: 0;
  z-index: 1;
}

#section2 #section2NaverMap,
#section2 #section2NaverMap > div{
  width: 100%;
  height: 100%;
}

#section2 .location-map-fallback{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#section2 .location-map-badge{
  position: absolute;
  right: 11.5%;
  bottom: 36.5%;
  z-index: 3;
  padding: 12px 28px;
  border-radius: 999px;
  background: #1f3547;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: 0 18px 40px rgba(24,45,67,.15);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity .85s ease .48s, transform .95s cubic-bezier(.22,.61,.36,1) .48s;
}

#section2 .location-map-side{
  position: absolute;
  right: 1.8%;
  top: 31.5%;
  z-index: 3;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(24,45,67,.7);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s ease .6s, transform .95s cubic-bezier(.22,.61,.36,1) .6s;
}

#section2.is-active .location-map-badge,
#section2.is-active .location-map-side{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#section2 .location-map-shell.is-map-ready .location-map-fallback,
#section2.is-map-mounted .location-map-fallback{
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s;
}

@media (prefers-reduced-motion: reduce){
  #section2 .loc-title-word,
  #section2 .loc-copy-stage,
  #section2 .loc-copy-fixed,
  #section2 .loc-icon-nav,
  #section2 .loc-icon-box,
  #section2 .location-map-badge,
  #section2 .location-map-side,
  #section2 .location-map-shell{
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
