/**
 * 문수로 비스타 더파크 공식 홈페이지 스타일시트 (분양팀 방문예약 1866-4660)
 * Official Brand Accent: #c30028 (Deep Burgundy / Crimson), Dark: #212121 / #363636
 */

:root {
  --crimson: #c30028;
  --crimson-dark: #9e0020;
  --crimson-light: #fff0f3;
  --charcoal: #363636;
  --text-main: #212121;
  --text-sub: #555555;
  --text-muted: #888888;
  --border-color: #e5e5e5;
  --border-input: #d5d5d5;
  --bg-white: #ffffff;
  --bg-gray: #f6f6f6;
  --header-height: 84px;
  --mobile-header-height: 60px;
  --mobile-bar-height: 54px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: "Pretendard", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
}

body {
  padding-top: var(--header-height);
  overflow-x: hidden;
  line-height: 1.5;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   1. INITIAL LAYER POPUPS (정식 홈페이지 #popup83 동일 4단 가로 레이아웃 + 반응형)
   ========================================================= */
.bgpopup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popuplayer-box {
  width: 100%;
  max-width: 1440px;
  background: transparent;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.popup-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background: transparent;
}

.popup-slide-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 360 / 533.33;
}

.popup-card-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* 견본주택 방문예약 EVENT 팝업: 좌측 백화점상품권 + 우측 고급 타올 세트(3개입) 사진 및 1,2,3번 전체 동일 폰트/아이콘 통합 패치 */
.popup-voucher-photo-patch {
  position: absolute;
  left: 9.2%;
  top: 28.0%;
  width: 40.0%;
  height: 28.2%;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.popup-voucher-photo-patch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-towel-photo-patch {
  position: absolute;
  left: 50.8%;
  top: 28.0%;
  width: 40.0%;
  height: 28.2%;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.popup-towel-photo-patch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-event-list-patch {
  position: absolute;
  left: 9.0%;
  right: 8.5%;
  top: 66.2%;
  height: 18.0%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popup-event-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  border-bottom: 1px solid #e9e9e9;
}

.popup-event-row:last-child {
  border-bottom: none;
}

.popup-event-row .event-num {
  width: clamp(17px, 1.55vw, 22px);
  height: clamp(17px, 1.55vw, 22px);
  border-radius: 50%;
  border: 1.8px solid #8b0037;
  color: #8b0037;
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-size: clamp(10.5px, 0.98vw, 13.5px);
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popup-event-row .event-txt {
  font-family: "Pretendard", sans-serif;
  font-size: clamp(11.5px, 1.15vw, 16.5px);
  font-weight: 800;
  color: #0b1930;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.popup-event-row .event-txt strong {
  color: #8b0037;
  font-weight: 900;
}

/* 정식홈페이지 팝업 1 (선착순 동호지정 계약중) 하단 전화번호(1551-8454) 영역을 1866-4660으로 완벽 교체 */
.popup-official1-phone-patch {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 9.5%;
  height: 13%;
  background: #f3f3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.popup-official1-phone-patch span {
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-size: clamp(22px, 2.35vw, 35px);
  font-weight: 800;
  color: #8b0037;
  letter-spacing: -0.02em;
}

.popup-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F7F7F7;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #222;
  border-top: 1px solid #ddd;
}

.popup-today-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
}

.popup-today-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.popup-close-x {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #222;
  cursor: pointer;
  padding: 0 6px;
}

.popup-close-x:hover {
  color: var(--crimson);
}

/* =========================================================
   2. HEADER (공식 홈페이지 고정 헤더)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  z-index: 1500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1420px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-trigger {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-trigger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: 0.2s;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-desktop {
  width: 202px;
  height: auto;
}

.logo-mobile {
  display: none;
  width: 155px;
  height: auto;
}

/* 데스크톱 GNB */
.desktop-gnb {
  height: 100%;
  display: flex;
  align-items: center;
}

.gnb-list {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 6px;
}

.gnb-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.gnb-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.gnb-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  background: var(--crimson);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.gnb-item:hover .gnb-link,
.gnb-link.active {
  color: var(--crimson);
}

.gnb-item:hover .gnb-link::after,
.gnb-link.active::after {
  transform: scaleX(1);
}

/* 드롭다운 서브메뉴 */
.gnb-dropdown {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 170px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--crimson);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1600;
}

.gnb-item:hover .gnb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.gnb-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: #444;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.gnb-dropdown li a:hover {
  background: var(--crimson-light);
  color: var(--crimson);
  font-weight: 700;
}

/* 우측 방문예약 알약 버튼 & 대표번호 1866-4660 */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-reserve-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--crimson);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.header-reserve-pill:hover {
  background: var(--crimson-dark);
  transform: translateY(-1px);
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--crimson);
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.phone-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--crimson);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   3. MOBILE SLIDE DRAWER (모바일 드로어 메뉴)
   ========================================================= */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-logo {
  width: 150px;
}

.btn-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.mobile-drawer-cta {
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: var(--crimson);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 6px;
}

.drawer-res-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
}

.mobile-accordion-nav {
  padding: 10px 0 30px;
}

.drawer-group {
  border-bottom: 1px solid #f0f0f0;
}

.drawer-group-title {
  padding: 13px 20px 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--crimson);
}

.drawer-sub-links {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.drawer-sub-links a {
  padding: 8px 26px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.drawer-sub-links a:hover {
  background: var(--crimson-light);
  color: var(--crimson);
}

/* =========================================================
   4. HERO SLIDER SECTION (정식 홈페이지 .mainvisual 100vh 풀스크린 & 줌 애니메이션 완벽 재현)
   ========================================================= */
.mainvisual {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 620px;
  overflow: hidden;
  background: #0d1726;
  z-index: 10;
}

.mainvisual .visualbox {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mainvisual .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.mainvisual .hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

/* 정식 홈페이지 배경 이미지 cover & 1.12 -> 1.0 줌아웃 애니메이션 */
.mainvisual .mainimg1 {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover !important;
  transform: scale(1.12);
  transition: transform 0.4s ease 0.8s;
}

.mainvisual .hero-slide.active .mainimg1 {
  transform: scale(1);
  transition: transform 4.5s ease 0.1s;
}

/* 중앙 타이틀 & 그래픽 텍스트 오버레이 애니메이션 */
.mainvisual .visualtxt1 {
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 780px;
  text-align: center;
  color: #ffffff;
  z-index: 5;
  pointer-events: none;
}

.mainvisual .visualtxt1 .txt2 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
  display: flex;
  justify-content: center;
}

.mainvisual .visualtxt1 .txt2 img {
  width: 544px;
  max-width: 88vw;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.22));
}

.mainvisual .hero-slide.active .visualtxt1 .txt2 {
  opacity: 1;
  transform: translateY(0);
}

.mainvisual .visualtxt1.t2 p {
  color: #ffffff;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.mainvisual .visualtxt1.t2 p strong {
  font-weight: 800;
}

.mainvisual .hero-slide.active .visualtxt1.t2 p {
  opacity: 1;
  transform: translateY(0);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.hero-arrow:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* 정식 홈페이지 하단 슬라이드 번호 & 프로그레스 바 (.vctrbox1) */
.mainvisual .vctrbox1 {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mainvisual .vline1 {
  width: 320px;
  max-width: 50vw;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.mainvisual .vline1 span {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform-origin: left center;
  transition: transform 0.5s ease;
}

/* 좌측 하단 SCROLL DOWN 인디케이터 (.pop1) */
.mainvisual .pop1 {
  position: absolute;
  left: 64px;
  bottom: 44px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.mainvisual .pop1 em {
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mainvisual .scroll-pill {
  width: 36px;
  height: 74px;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainvisual .scroll-arrow {
  font-style: normal;
  font-size: 18px;
  animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(-6px); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* =========================================================
   5. MAIN RESERVATION SECTION (견본주택 방문예약 안내 + 접수 폼)
   ========================================================= */
.main-reservation-section {
  padding: 72px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.reservation-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.reservation-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.res-card-graphic {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.res-guide-img {
  width: 100%;
  height: auto;
}

.res-info-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-gray);
  border-left: 4px solid var(--crimson);
}

.res-call-badge {
  display: flex;
  flex-direction: column;
}

.res-call-badge span {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
}

.res-call-number {
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--crimson);
  letter-spacing: -0.02em;
}

.btn-res-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--crimson);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn-res-pill:hover {
  background: var(--crimson-dark);
}

/* 공식 홈페이지 방문예약 폼 스타일 (Imweb 폼 위젯 완벽 호환) */
.official-form-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 32px 30px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.official-form-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text-main);
}

.form-badge-crimson {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.official-form-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.official-form-sub {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-top: 4px;
}

.imweb-field-group {
  margin-bottom: 18px;
}

.imweb-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 7px;
}

.req-dot {
  color: var(--crimson);
  margin-left: 2px;
}

.imweb-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-input);
  background: #fff;
  font-size: 14.5px;
  color: var(--text-main);
  border-radius: 0;
  transition: border-color 0.15s;
}

.imweb-input:focus {
  outline: none;
  border-color: var(--charcoal);
}

/* 3칸 연락처 입력 */
.phone-triple-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-part {
  text-align: center;
  font-weight: 600;
}

.phone-dash {
  color: #777;
  font-weight: 600;
}

/* 예약인원 라디오 + 기타 직접입력 */
.visitor-radio-wrap,
.unit-choice-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.imweb-radio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
}

.imweb-radio-item input[type="radio"] {
  accent-color: var(--crimson);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.imweb-radio-etc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.etc-inline-input {
  width: 110px;
  height: 34px;
  font-size: 13.5px;
}

/* 방문예약 날짜 & 시간 */
.datetime-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* 개인정보 수집 동의 스크롤 박스 */
.privacy-scroll-box {
  height: 96px;
  overflow-y: auto;
  border: 1px solid var(--border-input);
  background: #fafafa;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 8px;
}

.imweb-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.imweb-checkbox-label input[type="checkbox"] {
  accent-color: var(--charcoal);
  width: 16px;
  height: 16px;
}

/* 공식 홈페이지와 동일한 다크 차콜 '작성' 버튼 */
.btn-imweb-submit {
  width: 100%;
  height: 48px;
  background: var(--charcoal);
  color: #ffffff;
  border: 1px solid var(--charcoal);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-imweb-submit:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

/* =========================================================
   6. MAIN VISUAL STREAM & NEW PREMIUM 7
   ========================================================= */
.main-visual-stream {
  background: #ffffff;
}

.stream-banner-full img {
  width: 100%;
  height: auto;
}

.stream-cards-container {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stream-feature-item {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.stream-feature-item:hover {
  transform: translateY(-2px);
}

.stream-feature-item img {
  width: 100%;
  height: auto;
}

/* NEW PREMIUM 7 Split Layout */
.new-premium-section {
  padding: 72px 0;
  background: var(--bg-gray);
}

.np7-split-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.np7-split-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
  margin-bottom: 0;
}

.np7-image-col img {
  width: 100%;
  height: auto;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.np7-heading-wrap {
  margin-bottom: 26px;
}

.np7-eyebrow {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--crimson);
  margin-bottom: 6px;
}

.np7-title {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.np7-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.np7-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.np7-en-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--crimson);
}

.np7-body strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.np7-body p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.55;
}

.np7-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-np7-more {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--crimson);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  transition: 0.2s;
}

.btn-np7-more.outline {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--charcoal);
}

.btn-np7-more:hover {
  background: var(--charcoal);
  color: #fff;
}

/* =========================================================
   7. CONTACT US (오시는 길 약도 섹션)
   ========================================================= */
.main-contact-section {
  padding: 64px 0 80px;
  background: #ffffff;
}

.contact-graphic-wrap {
  cursor: zoom-in;
  margin-bottom: 28px;
}

.contact-graphic-wrap img {
  width: 100%;
  height: auto;
}

.contact-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-addr-card {
  border: 1px solid var(--border-color);
  background: #fafafa;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addr-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  color: #fff;
}

.addr-badge.crimson { background: var(--crimson); }
.addr-badge.dark { background: var(--charcoal); }

.contact-addr-card strong {
  font-size: 17px;
  color: var(--text-main);
}

.addr-map-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.addr-map-btns a {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #333;
  transition: 0.15s;
}

.addr-map-btns a.crimson-link {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

.addr-map-btns a:hover {
  border-color: var(--charcoal);
}

/* =========================================================
   8. SUBPAGE VIEW (모든 서브페이지 레이아웃)
   ========================================================= */
.subpage-hero {
  position: relative;
  height: 230px;
  background-image: url("https://cdn.imweb.me/thumbnail/20261112/201406d771147.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(25, 10, 15, 0.82) 100%);
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
}

.subpage-category {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffd0d9;
  margin-bottom: 6px;
}

.subpage-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.subpage-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

/* 서브페이지 LNB 탭 바 */
.subpage-lnb-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.subpage-lnb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.subpage-lnb-list li a {
  display: block;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.subpage-lnb-list li a:hover,
.subpage-lnb-list li a.active {
  color: var(--crimson);
  font-weight: 800;
  border-bottom-color: var(--crimson);
}

.subpage-body-wrap {
  padding: 52px 0 84px;
  background: #ffffff;
}

/* 3차 탭 (평면정보 68㎡ / 84㎡A / 84㎡B, 인테리어 84㎡A / 84㎡B) */
.subpage-third-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.third-tab-btn {
  padding: 12px 34px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #d0d0d0;
  background: #f8f8f8;
  color: #444;
  cursor: pointer;
  transition: 0.2s;
}

.third-tab-btn.active,
.third-tab-btn:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
}

/* PDF 다운로드 버튼 영역 */
.subpage-pdf-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.btn-pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--charcoal);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-pdf-download:hover {
  background: var(--crimson);
}

/* 서브페이지 그래픽 이미지 & 유튜브 영상 / 360 VR 플레이어 */
.subpage-videos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-bottom: 36px;
}

.video-player-card {
  width: 100%;
  max-width: 1080px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.video-player-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--crimson);
}

.video-aspect-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 비율 */
  height: 0;
  background: #000000;
  overflow: hidden;
}

.video-aspect-box.vr-aspect {
  padding-bottom: 65%;
  min-height: 540px;
}

.video-aspect-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.subpage-images-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.subpage-graphic-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  cursor: zoom-in;
}

/* 전용 방문예약 페이지 (/104) */
.subpage-res-banner {
  max-width: 860px;
  margin: 0 auto 28px;
}

.subpage-form-box {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid #dcdcdc;
  padding: 36px 34px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 서브페이지 하단 공통 방문예약 유도 배너 */
.subpage-bottom-cta {
  margin-top: 56px;
  padding: 32px 36px;
  background: linear-gradient(135deg, #232323 0%, #383838 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-left: 6px solid var(--crimson);
}

.cta-tag {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.subpage-cta-left h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 4px;
}

.subpage-cta-left p {
  font-size: 14px;
  color: #d0d0d0;
}

.subpage-cta-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cta-phone {
  padding: 13px 24px;
  background: #ffffff;
  color: var(--text-main);
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.btn-cta-reserve {
  padding: 14px 28px;
  background: var(--crimson);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
}

.btn-cta-reserve:hover {
  background: var(--crimson-dark);
}

/* =========================================================
   9. OFFICIAL FOOTER (푸터)
   ========================================================= */
.official-footer {
  background: #222222;
  color: #b5b5b5;
  padding: 48px 0 60px;
  font-size: 13.5px;
  border-top: 1px solid #333;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #363636;
  margin-bottom: 22px;
}

.footer-logo-img {
  width: 185px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-builder-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.builder-label {
  font-size: 12.5px;
  color: #999;
}

.builder-name {
  font-size: 16px;
  color: #ffffff;
  font-weight: 800;
}

.footer-info-block {
  margin-bottom: 18px;
  line-height: 1.7;
}

.footer-main-meta {
  color: #e0e0e0;
  font-size: 14px;
}

.meta-divider {
  margin: 0 10px;
  color: #555;
}

.footer-tel-highlight {
  color: #ff4d6d;
  font-weight: 800;
  font-size: 16px;
}

.footer-sub-meta {
  color: #999;
}

.footer-disclaimers {
  color: #808080;
  font-size: 12.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #303030;
  font-size: 12px;
  color: #777;
}

.btn-footer-admin {
  background: none;
  border: 1px solid #444;
  color: #777;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
}

.btn-footer-admin:hover {
  color: #fff;
  border-color: #888;
}

/* =========================================================
   10. FLOATING QUICK MENU & MOBILE STICKY BAR
   ========================================================= */
.desktop-floating-quick {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1400;
  width: 96px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.quick-phone-box {
  background: var(--charcoal);
  color: #ffffff;
  padding: 12px 6px;
}

.quick-phone-label {
  display: block;
  font-size: 10.5px;
  color: #ccc;
  margin-bottom: 2px;
}

.quick-phone-num {
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
}

.quick-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid #eeeeee;
  transition: 0.15s;
}

.quick-menu-btn.crimson {
  background: var(--crimson);
  color: #ffffff;
}

.quick-menu-btn:hover {
  background: var(--crimson-light);
  color: var(--crimson);
}

.quick-menu-btn.crimson:hover {
  background: var(--crimson-dark);
  color: #ffffff;
}

.quick-top-btn {
  background: #f5f5f5;
  border: none;
  padding: 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
}

/* 모바일 하단 버건디 고정바 (공식 홈페이지 100% 동일: 방문예약 | 주차등록 | 1866-4660) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--mobile-bar-height);
  background: var(--crimson);
  color: #ffffff;
  z-index: 1800;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.2);
}

.m-bar-item {
  flex: 1;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.m-bar-item.phone {
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 15.5px;
}

.m-bar-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   11. MODALS & LIGHTBOX
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.modal-dialog.large {
  max-width: 1050px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--charcoal);
  color: #ffffff;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

#successModal .btn-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
}

.modal-body {
  padding: 28px 24px;
  max-height: 82vh;
  overflow-y: auto;
}

.success-box {
  text-align: center;
}

.success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--crimson);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 18px;
}

.success-tel-note {
  display: inline-block;
  margin-top: 6px;
  color: var(--crimson);
}

.success-info-table {
  text-align: left;
  background: #f8f8f8;
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  font-size: 13.5px;
  margin-bottom: 20px;
  line-height: 1.75;
}

.btn-modal-confirm {
  width: 100%;
  height: 46px;
  background: var(--charcoal);
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* 관리자 테이블 */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-admin-action {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--crimson);
  color: #ffffff;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
}

.admin-table th {
  background: #f4f4f4;
  font-weight: 700;
}

/* 라이트박스 */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 3500;
  display: none;
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13.5px;
}

.btn-lightbox-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-viewport {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

.lightbox-img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   12. RESPONSIVE BREAKPOINTS (태블릿 / 모바일 최적화)
   ========================================================= */
@media (max-width: 1100px) {
  .desktop-gnb,
  .header-reserve-pill,
  .header-phone-number,
  .desktop-floating-quick {
    display: none;
  }

  body {
    padding-top: var(--mobile-header-height);
    padding-bottom: var(--mobile-bar-height);
  }

  .site-header {
    height: var(--mobile-header-height);
  }

  .header-inner {
    padding: 0 16px;
  }

  .mobile-menu-trigger {
    display: flex;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .bgpopup-overlay {
    padding: 12px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .popuplayer-box {
    margin: 56px auto 24px;
  }

  .popup-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .popup-official1-phone-patch span {
    font-size: clamp(16px, 4.2vw, 24px);
  }

  .popup-event-row .event-txt {
    font-size: clamp(10px, 2.5vw, 14px);
  }

  .popup-event-row .event-num {
    width: clamp(15px, 3.4vw, 20px);
    height: clamp(15px, 3.4vw, 20px);
    font-size: clamp(9.5px, 2.1vw, 12.5px);
  }

  .mainvisual {
    height: calc(100vh - var(--mobile-header-height) - var(--mobile-bar-height));
    min-height: 480px;
  }

  .mainvisual .pop1 {
    display: none;
  }

  .mainvisual .vctrbox1 {
    bottom: 24px;
  }

  .reservation-split-grid,
  .np7-split-row,
  .np7-split-row.reverse,
  .contact-quick-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .main-reservation-section,
  .new-premium-section,
  .main-contact-section {
    padding: 44px 0;
  }

  .subpage-hero {
    height: 170px;
  }

  .subpage-title {
    font-size: 26px;
  }

  .subpage-lnb-list li a {
    padding: 12px 14px;
    font-size: 13.5px;
  }

  .subpage-form-box {
    padding: 24px 18px;
  }

  .subpage-bottom-cta {
    padding: 24px 20px;
  }
}
