/* ===== 기본 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', 'NanumSquare', sans-serif;
  background: #fff;
  color: #444;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 네비게이션 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.nav-left .nav-menu {
  display: flex;
  gap: 5px;
}

.nav-menu a,
.nav-call {
  font-family: 'NanumSquare', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav--scrolled .nav-menu a,
.nav--scrolled .nav-call {
  color: #333333 !important;
  text-shadow: none;
}

.nav-menu a:hover,
.nav-call:hover {
  color: #e0af4e !important;
}

.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 30px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 10;
}

.nav--scrolled .nav-logo {
  opacity: 1;
  visibility: visible;
}

.nav-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-hover {
  opacity: 0;
}

.nav-logo:hover .logo-default {
  opacity: 0;
}

.nav-logo:hover .logo-hover {
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 25px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.nav--scrolled .hamburger span {
  background: #333;
}

/* ===== 메인 ===== */
.location-page {
  background: #fff;
}

.location-hero {
  width: 100%;
}

.location-visual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.location-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.location-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 60px 80px;
}

.location-split {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.location-left {
  color: #fff;
  padding-right: 20px;
}

.location-right {
  padding-left: 0;
}

.location-title {
  font-family: 'NanumSquare', sans-serif;
  font-weight: 800;
  font-size: 53pt;
  line-height: 1.1;
  margin-bottom: 56px;
  color: #fff;
}

.location-info-group {
  margin-bottom: 42px;
}

.location-label {
  font-family: 'NanumSquare', sans-serif;
  font-weight: 700;
  font-size: 20pt;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.location-text {
  font-family: 'Chosunilbo_myungjo', 'Nanum Myeongjo', serif;
  font-size: 18pt;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.96);
  word-break: keep-all;
}

/* ===== 지도 ===== */
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 480px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== 푸터 ===== */
.footer {
  background: #1a1a1a;
  color: #777;
  padding: 60px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-copy {
  margin-top: 30px;
  border-top: 1px solid #2a2a2a;
  padding-top: 30px;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
    z-index: 2100;
  }

  .nav-logo {
    left: 20px;
    transform: translateY(-50%);
    opacity: 1 !important;
    visibility: visible !important;
    width: 110px;
  }

  .nav-left {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 30px;
    transition: 0.4s;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-left.open {
    right: 0;
  }

  .nav-left .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

  .nav-left .nav-menu a {
    color: #333 !important;
    font-size: 18px;
    text-shadow: none;
    padding: 10px 0;
  }

  .nav-right .nav-call {
    display: none;
  }

  .location-overlay {
    padding: 120px 24px 60px;
  }

  .location-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-left {
    padding-right: 0;
  }

  .location-right {
    padding-left: 0;
  }

  .location-title {
    font-size: clamp(34px, 8vw, 48px);
    margin-bottom: 34px;
  }

  .location-label,
  .contact-label {
    font-size: clamp(16px, 4vw, 22px);
  }

  .location-text,
  .contact-phone {
    font-size: clamp(15px, 3.8vw, 20px);
    line-height: 1.7;
  }

  .contact-email {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .office-inline {
    display: block;
    white-space: normal;
  }

  .inline-label {
    display: block;
    margin-bottom: 10px;
  }

  .contact-row {
    grid-template-columns: 110px 1fr;
    column-gap: 12px;
  }

  .map-frame {
    min-height: 360px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  }
}
/* ===== 매물 접수 히어로 섹션 전용 스타일 ===== */

/* 메인 타이틀: 나눔스퀘어 Extra Bold 53pt */
.hero-title-main {
  font-family: 'NanumSquare', sans-serif !important;
  font-weight: 800 !important; /* Extra Bold */
  font-size: 53pt !important;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* 서브 설명: 나눔스퀘어 21pt */
.hero-desc-main {
  /* 1. 줄바꿈 및 공백 그대로 유지 (HTML의 <br> 없이도 줄바꿈 인식 가능) */
  white-space: pre-line; 
  
  /* 2. 글자 크기 조절 (요청하신 21pt 기준, 필요시 숫자만 변경) */
  font-size: 18pt !important; 
  font-family: 'NanumSquare', sans-serif !important;
  font-weight: 400;
  
  /* 3. 상단 텍스트(매물 접수)와의 여백 조절 */
  margin-top: 20px;    /* 위쪽 타이틀과의 간격 */
  margin-bottom: 100px; /* 아래쪽 요소와의 간격 */
  
  /* 기타 스타일 */
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* 프로세스 라벨 및 텍스트 정돈 */
.process-label {
  font-family: 'NanumSquare', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-color, #e0af4e);
}

.process-text {
  font-family: 'NanumSquare', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #ffffff;
}

/* 모바일 대응: 53pt는 모바일에서 너무 크므로 자동 조절 */
@media (max-width: 1024px) {
  .hero-title-main {
    font-size: 42pt !important;
  }
  .hero-desc-main {
    font-size: 18pt !important;
  }
}

@media (max-width: 768px) {
  .hero-title-main {
    font-size: 32pt !important; /* 모바일 최적화 크기 */
  }
  .hero-desc-main {
    font-size: 15pt !important;
    line-height: 1.4;
  }
}

/* ===== 하단 안내 문구 전용 스타일 (한 줄 보기) ===== */
.notice-text {
  /* 1. 나눔스퀘어 Light (300) 설정 */
  font-family: 'NanumSquare', sans-serif !important;
  font-weight: 300 !important; 
  
  /* 2. 글자 크기 15pt */
  font-size: 10pt !important;
  
  /* 3. 한 줄로 보기 설정 */
  white-space: nowrap;       /* 줄바꿈 강제 금지 */
  display: block;            /* 한 줄 전체 차지 */
  overflow: hidden;          /* 영역 넘어가면 숨김 (필요시) */
  text-overflow: ellipsis;   /* 너무 길면 ... 처리 (보험용) */

  /* 4. 시각적 정돈 */
  color: rgba(255, 255, 255, 0.7); 
  line-height: 1.8;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 모바일 대응: 한 줄 유지가 힘들면 크기를 더 줄임 */
@media (max-width: 768px) {
  .notice-text {
    font-size: 13pt !important;
    white-space: normal; /* 모바일은 화면이 좁아 한 줄이 안 될 수 있으므로 자동 줄바꿈 허용 */
    line-height: 1.5;
  }
}