/* ============================================================
   style.css  —  분양 랜딩페이지
   포인트 컬러 : #fe5d34  /  다크 네이비 : #101f3a  /  베이지 : #a79482
============================================================ */

/* ──────────────────────────────────────────
   Paperlogy 웹폰트
────────────────────────────────────────── */
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://framerusercontent.com/assets/lbMH2iYmyrPQ49LGEcV0RA2Vxxo.woff2') format('woff2');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('https://framerusercontent.com/assets/5KEs6th84SArgCnoMfsblYRz2g.woff2') format('woff2');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('https://framerusercontent.com/assets/P5UwaHAZrdb3qbU8Fs6Qz3XIbo.woff2') format('woff2');
}

/* ──────────────────────────────────────────
   0. Reset & CSS 변수
────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── UI 색상 (기존 호환) ── */
  --primary:       #fe5d34;
  --primary-dark:  #e04620;
  --primary-light: rgba(254, 93, 52, 0.12);
  --navy:          #101f3a;
  --navy-mid:      #1a2f52;
  --navy-light:    #243c6a;
  --beige:         #c4b8a4;
  --beige-light:   #f5f1eb;
  --white:         #ffffff;
  --gray-50:       #fafafa;
  --gray-100:      #f3f3f3;
  --gray-200:      #e8e8e8;
  --gray-400:      #aaaaaa;
  --gray-600:      #666666;
  --gray-800:      #333333;

  /* ── 시맨틱 텍스트 색상 ── */
  --color-title: #343a40;
  --color-body:  #495057;
  --color-sub:   #868e96;
  --color-point: #fe5d34;
  --color-dark:  #101f3a;
  --color-beige: #a79482;

  /* ── 폰트 패밀리 ── */
  --font: 'Paperlogy', sans-serif;

  /* ── 타이포그래피 스케일 (PC) ── */
  --fs-h1:    32px;  /* 대제목 */
  --fs-h2:    28px;  /* 중제목 */
  --fs-h3:    22px;  /* 소제목 */
  --fs-card:  20px;  /* 카드제목 */
  --fs-body:  18px;  /* 본문 */
  --fs-small: 16px;  /* 작은본문 */
  --fs-badge: 14px;  /* 뱃지/라벨 */
  --fs-sub:   14px;  /* 보조텍스트 */

  /* ── 폰트 웨이트 ── */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* ── 행간 ── */
  --lh-heading: 1.2;
  --lh-body:    1.5;

  /* ── 자간 ── */
  --ls-default: 0em;
  --ls-badge:   0.2em;

  /* ── 레이아웃 ── */
  --nav-h:      68px;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --transition: 0.28s ease;
}

html { scroll-behavior: auto; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  overflow-x: hidden;
  padding-bottom: 64px;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────────
   버튼
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(254,93,52,0.35); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* ──────────────────────────────────────────
   섹션 공통
────────────────────────────────────────── */
section { padding: 88px 0; }

.section-header { text-align: center; margin-bottom: 52px; }

/* 뱃지/라벨 */
.section-tag {
  display: inline-block;
  font-size: var(--fs-badge);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  color: var(--color-point);
  margin-bottom: 12px;
}

/* 중제목 h2 */
.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--color-title);
}

/* 작은본문 */
.section-desc {
  margin-top: 14px;
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-body);
}

/* ══════════════════════════════════════════
   1. 네비게이션
══════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
  opacity: 0;
  transform: translateY(-100%);
  transition: background var(--transition), box-shadow var(--transition),
              backdrop-filter var(--transition),
              opacity 0.4s ease, transform 0.4s ease;
}
.nav-header.visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-header.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 24px;
}

/* 소제목 h3 수준 */
.nav-logo {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--navy);
  flex-shrink: 0;
}
.nav-logo strong { color: var(--primary); }

.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.nav-menu ul { display: flex; gap: 32px; flex-wrap: nowrap; }
/* 작은본문 */
.nav-menu ul li a {
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: rgba(30,40,60,0.72);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-menu ul li a:hover { color: var(--navy); }
.nav-menu ul li a:hover::after { width: 100%; }

/* 현재 섹션 활성 메뉴 */
.nav-menu ul li a.active {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}
.nav-menu ul li a.active::after {
  width: 100%;
}

/* 맨 위로 버튼 */
.nav-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  background: transparent;
  color: rgba(30,40,60,0.55);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.nav-top-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(26,45,96,0.06);
}

/* 텍스트형 전화 CTA — 점등형 컬러 애니메이션 */
.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  color: var(--navy-mid);
  font-size: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--transition);
  animation: phoneColorPulse 3s ease-in-out infinite;
}
.nav-phone-btn:hover {
  background: none;
  transform: none;
  animation-play-state: paused;
  color: #c9a038;
}

@keyframes phoneColorPulse {
  0%, 100% { color: #1a2f52; }
  50%       { color: #c9a038; }
}

/* 전화 아이콘 — 텍스트보다 10% 크게, 색상 버튼에서 상속 */
.phone-icon {
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
  animation: none;
}

/* 햄버거 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴 */
.mobile-menu {
  display: none;
  background: var(--navy);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}
.mobile-menu.open { max-height: 500px; }

.mobile-menu ul { padding: 8px 24px 0; }
/* 본문 수준 */
.mobile-menu ul li a {
  display: block;
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: rgba(255,255,255,0.82);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--primary); }
.mobile-menu ul li:last-child a { border-bottom: none; }

.mobile-phone { padding: 16px 24px 20px; }
/* 작은본문 수준 */
.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  justify-content: center;
}

/* ══════════════════════════════════════════
   모바일 전용 프로모션 배너 섹션
   (히어로 대체 방식 폐기 — 스트립 방식으로 전환)
   HTML 마크업은 유지, CSS에서 완전 숨김
══════════════════════════════════════════ */
.mob-promo { display: none !important; }

@media (max-width: 480px) {
  .mob-strip-headline { font-size: 13px; }
  .mob-strip-benef    { font-size: 11px; }
  .mob-strip-disc     { font-size: 7.7px; }
  .mob-cta-num      { font-size: 16px; }
  .mob-cta-label    { font-size: 14px; }
  .mob-cta-icon     { width: 18px; height: 18px; }
}

/* ══════════════════════════════════════════
   2. 히어로 슬라이더
══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: linear-gradient(90deg, #10284f 0%, #1c3d70 18%, #264c83 50%, #1c3d70 82%, #10284f 100%);
  overflow: hidden;
}

/* ── 슬라이더 래퍼 ── */
.hero-slider-outer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── 슬라이드 ── */
.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
/* ── 주간/야간 레이어 컨테이너 ── */
.hero-slide-day,
.hero-slide-night {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* 단일 이미지 슬라이드 (하위 호환) */
.hero-slide > img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transform-origin: center center;
}

/* 주간/야간 레이어 이미지 – 풀커버 */
.hero-slide-day img,
.hero-slide-night img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: center center;
}

/* 야간 레이어: 기본 숨김 */
.hero-slide-night { opacity: 0; }

/* ── Ken Burns: 2% 미만 극소 줌 (PC) ── */
@keyframes kbZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.022); }
}
/* ── Ken Burns: 모바일 전용 — 1% 이하 ── */
@keyframes kbZoomMob {
  from { transform: scale(1); }
  to   { transform: scale(1.010); }
}

/* ── 주간 → 야간 → 주간 crossfade (6s 주기) ── */
@keyframes nightFade {
  0%   { opacity: 0; }   /* day 유지 */
  25%  { opacity: 0; }
  40%  { opacity: 1; }   /* night로 전환 */
  75%  { opacity: 1; }   /* night 유지 */
  90%  { opacity: 0; }   /* day로 복귀 */
  100% { opacity: 0; }
}

.hero-slide.active .hero-slide-day img,
.hero-slide.active .hero-slide-night img,
.hero-slide.active > img,
.hero-slide.active .hero-slide-bg {
  animation: kbZoom 22s ease-in-out forwards;
}

.hero-slide.active .hero-slide-night {
  animation: nightFade 6s ease-in-out infinite;
}

/* 이미지 없을 때 플레이스홀더 */
.hero-slide-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  letter-spacing: 0.1em;
}

/* 슬라이드 오버레이 — 라디알 비네팅 + 딥톤 그라데이션 */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    /* 가장자리 비네팅: 중앙 건물 영역 보호 */
    radial-gradient(
      ellipse 72% 62% at 50% 54%,
      transparent 35%,
      rgba(4, 11, 24, 0.50) 72%,
      rgba(4, 11, 24, 0.82) 100%
    ),
    /* 상단 텍스트 가독성 그라데이션 */
    linear-gradient(
      180deg,
      rgba(4, 11, 24, 0.62) 0%,
      rgba(4, 11, 24, 0.18) 26%,
      transparent 46%,
      rgba(4, 11, 24, 0.28) 100%
    );
}

/* ── 텍스트 영역 ── */
.hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22vh;
  z-index: 10;
  pointer-events: none;
}
.hero-content {
  pointer-events: auto;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

/* 뱃지/라벨 — 글래스형 */
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 22px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: 0.15em;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* 소제목 (1줄) */
.hero-sub {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
  opacity: 0;
  animation: heroFadeUp 1.1s ease-out 0.15s forwards;
}

/* 대제목 h1 (2줄) */
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0;
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
  opacity: 0;
  animation: heroFadeUp 1.15s ease-out 0.35s forwards;
}
.hero-title-gold { color: #d8c9a3; }
.hero-title-dark  {
  display: inline-block;
  background: linear-gradient(180deg, rgba(24, 49, 89, 0.96) 0%, rgba(15, 33, 62, 0.96) 100%);
  color: #f7ecd1;
  padding: 4px 14px 6px;
  border: 1px solid rgba(244, 223, 178, 0.42);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(8, 18, 36, 0.18);
  text-shadow: none;
  transform: scale(0.94);
  animation: heroSoftPop 1s ease-out 0.9s forwards;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 하단 배지 + 혜택 버튼 그룹 ── */
.hero-bottom-strip {
  position: absolute;
  bottom: 52px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.hero-bottom-strip .hero-badge,
.hero-bottom-strip .hero-cta { pointer-events: auto; }
.hero-bottom-strip .hero-cta {
  justify-content: center;
  max-width: 560px;
  width: 100%;
  padding: 0 24px;
}

.hero-info-strip { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-info-item {
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: rgba(255,255,255,0.60);
}
.hero-info-item strong {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--white);
  margin-top: 3px;
}

/* ── 히어로 혜택 카드 버튼 ── */
.hero-benefit-btn {
  flex: 1;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 14px;
  background: linear-gradient(160deg, #fffcf4 0%, #f4e8ce 100%);
  border-radius: 14px;
  border: 1.5px solid rgba(185,148,74,0.55);
  text-align: center;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 8px 24px rgba(10,22,42,0.28),
    0 2px 6px rgba(10,22,42,0.14);
  /* hover만 transform으로 처리 */
  transition: transform var(--transition);
  opacity: 0;
  transform: translateY(20px);
  /* 1) 등장 2) 순차 강조 (4.5s 주기, 1.5s 슬롯) */
  animation:
    heroFadeUp 0.95s ease-out forwards,
    cardSeqHighlight 4.5s linear infinite;
}
/* 딜레이: fade-in 타이밍 + 카드 슬롯(1.5s 단위) */
.hero-benefit-btn:nth-child(1) { animation-delay: 1.05s, 2.0s; }
.hero-benefit-btn:nth-child(2) { animation-delay: 1.22s, 3.5s; }
.hero-benefit-btn:nth-child(3) { animation-delay: 1.39s, 5.0s; }
.hero-benefit-btn:hover { transform: translateY(-4px); }

/* benefit-label 제거됨 — 관련 스타일 불필요 */

.benefit-value {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: inherit;   /* 부모 animation 색상 상속 */
  text-wrap: balance;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSoftPop {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  65% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*
 * 순차 강조 — 4.5s 1주기 (카드당 1.5s 슬롯)
 * 0%~33%: 강조(갈색 bg / 흰 글씨)   → 1.485s
 * 33%~40%: 기본으로 페이드백         → 0.315s
 * 40%~100%: 기본(크림 bg / 갈색 글씨) → 2.7s
 *
 * 딜레이: card1=2s / card2=2+1.5=3.5s / card3=2+3=5s
 * → card1 강조 종료(3.485s) ≈ card2 시작(3.5s) : 간격 0.015s ≈ 즉시
 */
@keyframes cardSeqHighlight {
  /* 기본 상태에서 시작 */
  0%, 100% {
    background: linear-gradient(160deg, #fffcf4 0%, #f4e8ce 100%);
    color: #7a5210;
    border-color: rgba(185,148,74,0.55);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.95),
      0 8px 24px rgba(10,22,42,0.28),
      0 2px 6px rgba(10,22,42,0.14);
  }
  /* 강조로 부드럽게 진입 (0→5% = 0.225s) */
  5%, 28% {
    background: #8a6418;
    color: #ffffff;
    border-color: #6b4c10;
    box-shadow:
      0 10px 32px rgba(138,100,24,0.45),
      0 0 0 2px rgba(185,148,74,0.4);
  }
  /* 기본으로 부드럽게 퇴장 (28→33% = 0.225s) */
  33% {
    background: linear-gradient(160deg, #fffcf4 0%, #f4e8ce 100%);
    color: #7a5210;
    border-color: rgba(185,148,74,0.55);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.95),
      0 8px 24px rgba(10,22,42,0.28),
      0 2px 6px rgba(10,22,42,0.14);
  }
}

/* ── 화살표 ── */
.hero-arrow { display: none; }

/* ── 도트 ── */
.hero-dots,
.hero-dot { display: none; }

/* ── 스크롤 힌트 ── */
.hero-scroll-hint { display: none; }
.hero-scroll-hint span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: scrollDot 1.6s infinite;
}
.hero-scroll-hint span:nth-child(2) { animation-delay: 0.2s; }
.hero-scroll-hint span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scrollDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(4px); }
}

/* ══════════════════════════════════════════
   3. 프리미엄 포인트
══════════════════════════════════════════ */
.premium { background: var(--white); }

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
}

.premium-card {
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
}

/* 미디어 박스 (이미지/영상 컨테이너) */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-200);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.premium-card:hover .card-media {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-media-img,
.card-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 텍스트 영역 (박스 아래) */
.card-body {
  padding: 14px 8px 0;
}

/* 뱃지/라벨 수준 (미사용 — 하위호환 보존) */
.premium-card .card-num {
  display: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--fs-badge);
  font-weight: var(--fw-medium);
  line-height: 32px;
  letter-spacing: var(--ls-default);
  text-align: center;
  margin-bottom: 14px;
}

/* 카드제목 */
.premium-card .card-title {
  font-size: var(--fs-card);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--color-title);
  margin-bottom: 10px;
}

/* 작은본문 */
.premium-card .card-desc {
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-body);
}

/* ══════════════════════════════════════════
   4. 단지 개요
══════════════════════════════════════════ */
.overview { background: var(--beige-light); }

/* 카드 래퍼 */
.overview-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* 이미지 영역 */
.overview-img-wrap { position: relative; }

.overview-img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.overview-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sub);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
}

/* 표 */
.overview-table { width: 100%; border-collapse: collapse; }
.ov-col-label   { width: 200px; }

.overview-table thead tr { background: #1a2e5a; }
.overview-table thead th {
  padding: 14px 24px;
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  text-align: center;
}

.overview-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.overview-table tbody tr:last-child { border-bottom: none; }

.ov-label {
  padding: 15px 24px;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-title);
  white-space: nowrap;
  border-right: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.ov-value {
  padding: 15px 24px;
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-body);
}

/* ══════════════════════════════════════════
   5. 위치 안내
══════════════════════════════════════════ */
.location { background: var(--white); }

.location-layout {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

/* 왼쪽 이미지 컨테이너 — 높이는 오른쪽 박스 묶음이 결정 */
.location-map {
  flex: 1.1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  min-height: 280px;
}

/* 절대 배치로 이미지가 컨테이너를 꽉 채움
   (position:absolute 이미지는 행 높이 계산에 영향을 주지 않음) */
.location-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.location-points {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location-points { display: flex; flex-direction: column; gap: 10px; }

.location-point-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: all var(--transition);
}
.location-point-card:hover {
  background: var(--beige-light);
  border-color: var(--beige);
  transform: translateX(4px);
}

/* 카테고리 제목 */
.location-point-card .pt-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--color-point);
  margin-bottom: 6px;
}

/* 항목 리스트 */
.pt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pt-item {
  font-size: 12px;
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-body);
  padding-left: 12px;
  position: relative;
}
.pt-item::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-point);
  font-weight: bold;
}

/* ══════════════════════════════════════════
   6. 갤러리
══════════════════════════════════════════ */
.gallery { background: var(--navy); }
.gallery .section-tag   { color: var(--color-beige); }
.gallery .section-title { color: var(--white); }

/* ── 탭 바 공통 (평면도 등 다른 섹션용 기본값) ── */
.tab-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 26px;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.22);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-size: var(--fs-badge);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-badge);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* 밝은 배경용 탭 */
.tab-bar.light .tab-btn {
  border-color: var(--gray-200);
  color: var(--color-body);
}
.tab-bar.light .tab-btn.active,
.tab-bar.light .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── 갤러리 패널: 탭 + 그리드를 하나의 카드로 묶음 ── */
.gallery-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  overflow: hidden;
}

/* ── 갤러리 패널 탭바: 세그먼트 컨트롤 ── */
.gallery-panel .tab-bar {
  margin-bottom: 0;
  flex-wrap: nowrap;           /* 한 줄 고정 */
  gap: 0;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.gallery-panel .tab-btn {
  flex: 1;                     /* 균등 너비 */
  text-align: center;
  white-space: nowrap;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.50);
  background: transparent;
  margin: 0 4px;
}
.gallery-panel .tab-btn:first-child { margin-left: 0; }
.gallery-panel .tab-btn:last-child  { margin-right: 0; }

.gallery-panel .tab-btn.active,
.gallery-panel .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── 갤러리 그리드 — 2열, 이미지 2배 크기 ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
  border: 1px solid rgba(255,255,255,0.07);
}
.gallery-item:hover { transform: scale(1.025); }

/* 커뮤니티(3장): 첫 이미지 와이드 피처드, 나머지 2열 */
.gallery-grid[data-tab="community"] .gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item .img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.25);
}
.gallery-item .img-placeholder::before {
  content: '🖼';
  font-size: 2rem;
  opacity: 0.4;
}

/* ══════════════════════════════════════════
   7. 평면도
══════════════════════════════════════════ */
.floorplan { background: var(--white); }

.floorplan-content {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-panel { display: none; width: 100%; }
.floorplan-panel.active { display: block; }

/* 상단: 대표 평면도 + 정보 */
.fp-main-wrap {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.floorplan-img {
  flex: 1;
  min-width: 260px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  color: var(--color-body);
  border: 2px dashed var(--beige);
  text-align: center;
}
.floorplan-img::before { content: '📐'; font-size: 2.5rem; opacity: 0.5; }
.floorplan-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.floorplan-img:has(img)::before { display: none; }

/* 이미지 여러장일 때: viewer = main img + thumbs */
.floorplan-viewer {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floorplan-viewer .floorplan-img {
  flex: none;
  min-width: unset;
  width: 100%;
}
.floorplan-viewer .fp-subtitle {
  margin-top: 14px;
  text-align: center;
  font-size: var(--fs-card);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--color-title);
}

.fp-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fp-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--beige);
  background: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.fp-thumb.active { border-color: var(--primary); }
.fp-thumb:hover  { border-color: var(--color-point); }
.fp-thumb img    { width: 100%; height: 100%; object-fit: cover; display: block; }

.floorplan-info { flex: 1; min-width: 220px; }

/* 내부 갤러리 */
.fp-gallery { margin-top: 0; }

.fp-gallery-title {
  font-size: var(--fs-card);
  font-weight: var(--fw-semibold);
  color: var(--color-title);
  letter-spacing: var(--ls-default);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.fp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fp-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
}

.fp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.fp-gallery-item:hover img { transform: scale(1.04); }

/* 소제목 h3 */
/* 소제목 — 작은 보조 텍스트 */
.floorplan-info .fp-subtitle {
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-sub);
  margin-bottom: 16px;
}

/* 강조 문구 — PC에서 한 줄 */
.floorplan-info .fp-highlight {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  line-height: var(--lh-body);
  letter-spacing: 0;
  color: var(--color-point);
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 9px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  white-space: nowrap;
}

/* ── 라이트박스 ── */
.fp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.fp-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.fp-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.fp-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.fp-lb-close:hover { background: rgba(255, 255, 255, 0.3); }
.fp-lb-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
}
.fp-lb-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* 면적 상세 */
.floorplan-info .fp-detail {
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-title);
  margin-bottom: 4px;
}
.floorplan-info .fp-detail:last-of-type { margin-bottom: 28px; }
.floorplan-info .fp-detail {
  padding-left: 14px;
  position: relative;
}
.floorplan-info .fp-detail::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* 가격 — 가장 크게 강조 */
.floorplan-info .fp-price-big {
  font-size: var(--fs-h3);
  font-weight: 900;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 8px;
}

/* 각주 */
.floorplan-info .fp-footnote {
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-sub);
}

/* ══════════════════════════════════════════
   8. FAQ
══════════════════════════════════════════ */
.faq { background: var(--beige-light); }

.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.accordion-item.open { box-shadow: var(--shadow); }

/* 카드제목 수준 */
.accordion-q {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: var(--fs-card);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  color: var(--color-title);
  text-align: left;
  gap: 14px;
  transition: color var(--transition);
}
.accordion-q:hover { color: var(--primary); }
.accordion-item.open .accordion-q { color: var(--primary); }

.accordion-q .q-prefix {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: var(--fs-badge);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.accordion-item.open .accordion-q .q-prefix { background: var(--primary); color: var(--white); }

.accordion-q .q-text { flex: 1; }

.accordion-q .q-arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.accordion-item.open .accordion-q .q-arrow {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--primary);
}

.accordion-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease, padding var(--transition);
  padding: 0 24px;
}
.accordion-item.open .accordion-a {
  max-height: 300px;
  padding: 0 24px 22px 68px;
}
/* 본문 수준 */
.accordion-a p {
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: var(--color-body);
}

/* ══════════════════════════════════════════
   9.5 예약방문고객 특별혜택
══════════════════════════════════════════ */
.visit-gift-section { background: var(--navy); }
.visit-gift-section .section-header { margin-bottom: 32px; }
.visit-gift-section .section-tag   { color: #8fa8c8; }        /* 실버블루 */
.visit-gift-section .section-title {
  color: #f5f0e8;                                               /* 크림 화이트 */
  font-weight: 700;
}

/* ── 본문 카피 블록 ── */
.vg-copy {
  max-width: 720px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vg-copy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(230, 235, 245, 0.82);                            /* 밝은 회백색 */
  line-height: 1.6;
}

.vg-copy-row--accent {
  font-size: 16px;
  font-weight: 600;
  color: rgba(240, 243, 250, 0.92);
  padding: 13px 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(143, 168, 200, 0.22);                /* 실버블루 테두리 */
}

/* 라벨 ("대상", "혜택") */
.vg-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8fa8c8;                                              /* 실버블루 */
  background: rgba(143, 168, 200, 0.15);
  border: 1px solid rgba(143, 168, 200, 0.3);
  border-radius: 5px;
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 구분선 */
.vg-divider {
  width: 1px;
  height: 14px;
  background: rgba(143, 168, 200, 0.35);                      /* 실버블루 */
  flex-shrink: 0;
}

/* 로즈골드/샴페인핑크 포인트 */
.vg-point {
  font-style: normal;
  font-weight: 800;
  color: #e8b89a;                                              /* 샴페인핑크 */
  background: linear-gradient(90deg, #e8b89a 0%, #d4906e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 작은 보조 주석 (유류세 별도) */
.vg-note {
  font-size: 12px;
  font-weight: 400;
  color: rgba(200, 210, 230, 0.5);
  margin-left: 4px;
}

/* 실버블루 괄호 (선착순 30명) */
.vg-note-blue {
  font-size: 13px;
  font-weight: 500;
  color: #8fa8c8;
  margin-left: 4px;
}

/* ── 이미지 ── */
.vg-img-wrap {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.25);
}
.vg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .vg-copy-row { font-size: 14px; gap: 10px; }
  .vg-copy-row--accent { font-size: 15px; padding: 11px 16px; }
  .vg-note, .vg-note-blue { font-size: 12px; }
}

/* ══════════════════════════════════════════
   9. 상담 신청
══════════════════════════════════════════ */
.contact { background: #ffffff; }
.contact .section-tag   { color: var(--primary); }
.contact .section-title { color: var(--navy); }
.contact .section-desc  { color: var(--color-sub); }

/* 흰 배경에서 폼 요소 색상 재정의 */
.contact .form-group label {
  color: var(--color-body);
}
.contact .form-group input,
.contact .form-group select,
.contact .form-group textarea {
  background: #f8f9fb;
  border-color: #d8dce6;
  color: var(--color-dark);
}
.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder {
  color: #b0b6c5;
}
.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
}
.contact .form-group select option {
  background: #fff;
  color: var(--color-dark);
}
.contact .phone-sep {
  color: #aab0c2;
}
.contact .checkbox-label {
  color: var(--color-body);
}
.contact .terms-detail-btn {
  border-color: #d0d4df;
  color: var(--color-sub);
}
.contact .terms-detail-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.contact .terms-box {
  background: #f4f5f8;
  border-color: #dde0ea;
}
.contact .terms-box p {
  color: var(--color-sub);
}
.contact .form-status {
  color: var(--color-body);
}
.contact .form-status.is-error   { color: #d93025; }
.contact .form-status.is-success { color: #1a7f45; }

.contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row { display: flex; gap: 10px; align-items: flex-end; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 7px; }

/* 뱃지/라벨 */
.form-group label {
  font-size: var(--fs-badge);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-badge);
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

/* 작은본문 */
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.30); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.10);
}
.form-group select option { background: var(--navy); color: var(--white); }

/* 연락처 */
.phone-row { align-items: flex-end; }
.phone-part { flex: 1; }
.phone-part.no-label { margin-top: 0; }

.phone-sep {
  color: rgba(255,255,255,0.40);
  font-size: var(--fs-body);
  padding-bottom: 12px;
  flex-shrink: 0;
  line-height: 1;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; }
.form-group textarea { resize: vertical; min-height: 80px; }

/* 약관 */
.terms-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
/* 보조텍스트 수준 */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: rgba(255,255,255,0.72);
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.required { color: var(--primary); font-weight: var(--fw-semibold); }

/* 보조텍스트 수준 */
.terms-detail-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.45);
  font-family: var(--font);
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  padding: 5px 10px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.terms-detail-btn:hover { color: var(--color-beige); border-color: var(--color-beige); }

.terms-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.terms-box p {
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-default);
  color: rgba(255,255,255,0.45);
}

.btn-submit { width: 100%; padding: 16px; font-size: var(--fs-small); border-radius: var(--radius); margin-top: 4px; }
.btn-submit[disabled] { opacity: 0.7; cursor: wait; }

.form-status {
  min-height: 1.5em;
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.8);
}

.form-status.is-error {
  color: #ffd2d2;
}

.form-status.is-success {
  color: #d7ffd9;
}

/* ══════════════════════════════════════════
   모바일 프로모션 스트립 (하단 바 바로 위)
   PC: 숨김 / 모바일: 하단 바와 함께 슬라이드 업
══════════════════════════════════════════ */
.mob-promo-strip { display: none; }

@media (max-width: 768px) {
  .mob-promo-strip {
    position: fixed;
    bottom: calc(68px + env(safe-area-inset-bottom));
    left: 0; right: 0;
    z-index: 899;
    /* 위는 투명, 아래로 갈수록 자연스럽게 짙어지는 그라데이션 */
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(6, 10, 28, 0.55) 35%,
      rgba(6, 10, 28, 0.82) 100%
    );
    border-top: none;
    padding: 18px 18px 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* 하단 바와 동일한 enter 애니메이션 */
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }

  .mob-promo-strip.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .mob-strip-headline {
    font-family: 'Paperlogy', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  /* 혜택 나열 — 기본 흰색, 강조 단어만 점멸 */
  .mob-strip-benef {
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.005em;
  }

  /* 면책 문구: 12px × 0.7 = 8.4px (30% 작게) */
  .mob-strip-disc {
    font-family: var(--font);
    font-size: 8.4px;
    font-weight: 400;
    color: rgba(180, 185, 210, 0.55);
    line-height: 1.5;
    letter-spacing: 0.01em;
  }

  /* ── 강조 단어 점멸: 강조색 → 흰색 → 강조색 반복 (0.7s 1주기) ── */
  .blink-red  { animation: blinkRed  0.7s linear infinite; }
  .blink-gold { animation: blinkGold 0.7s linear infinite; animation-delay: 0.18s; }
  .blink-blue { animation: blinkBlue 0.7s linear infinite; }
  /* 파란 세 단어: 1/3 주기씩 위상 분산 → 동시 점멸 방지 */
  .bd1 { animation-delay: 0s; }
  .bd2 { animation-delay: 0.23s; }
  .bd3 { animation-delay: 0.47s; }
}

/* 점멸 keyframes — 강조색(0-49.9%) → 흰색(50-100%) → 반복 */
@keyframes blinkRed {
  0%, 49.9% { color: #ff3a3a; }
  50%, 100% { color: #ffffff; }
}
@keyframes blinkGold {
  0%, 49.9% { color: #f0c030; }
  50%, 100% { color: #ffffff; }
}
@keyframes blinkBlue {
  0%, 49.9% { color: #4da8ff; }
  50%, 100% { color: #ffffff; }
}

/* ══════════════════════════════════════════
   10. 하단 고정 버튼바
══════════════════════════════════════════ */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  height: 64px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bottom-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 작은본문 수준 */
.bottom-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-default);
  transition: filter var(--transition);
}
.bottom-bar-btn { text-decoration: none; }
.bottom-bar-btn:hover { filter: brightness(1.1); }

/* ── 전화 버튼: navy→blue-purple ── */
.bb-call {
  background: linear-gradient(140deg, #172860 0%, #2c448e 100%);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
}
/* ── 방문예약 버튼: purple→magenta ── */
.bb-visit {
  background: linear-gradient(140deg, #7a1ec2 0%, #c21e8a 100%);
  color: #fff;
}

/* SVG 아이콘 */
.bb-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

/* 텍스트 2행 레이아웃 */
.bb-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.bb-sub {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.82;
  letter-spacing: 0.05em;
}
.bb-num {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.bb-visit-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  align-self: center;
}

/* ══════════════════════════════════════════
   11. 플로팅 사이드 버튼
══════════════════════════════════════════ */
.floating-side {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
}
.floating-side.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-btn:hover { transform: scale(1.12); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

.floating-btn.call  { background: #36c84b; color: var(--white); }
.floating-btn.kakao { background: #FEE500; color: #3A1D1D; font-size: 1.1rem; }
.floating-btn.call,
.floating-btn.kakao {
  font-size: 0;
}
.floating-btn.call::before,
.floating-btn.kakao::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.floating-btn.call::before {
  background-image: url("images/icons/call.png");
  background-size: 24px 24px;
}
.floating-btn.kakao::before {
  background-image: url("images/icons/kakao.png");
  background-size: 19px 19px;
}
/* 뱃지/라벨 수준 */
.floating-btn.top   {
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-badge);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
}

/* ══════════════════════════════════════════
   12. 푸터
══════════════════════════════════════════ */
.footer {
  background: #09131e;
  color: rgba(255,255,255,0.42);
  padding: 56px 0 36px;
}

/* ─ 2열 그리드: 정보(좌) + 메뉴(우) ─ */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 48px;
  align-items: start;
}

/* ── 좌측 정보 컬럼 ── */
.footer-project-name {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.footer-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.4;
}

.fr-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.35);
}

.fr-label {
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.fr-pipe {
  color: rgba(255,255,255,0.18);
  font-weight: 300;
}

.fr-val {
  color: rgba(255,255,255,0.72);
  font-weight: 400;
  text-decoration: none;
}

.fr-val--strong {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.03em;
}

.fr-val[href]:hover { color: #fff; text-decoration: underline; }

/* ── 우측 메뉴 컬럼 ── */
.footer-nav-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-list a:hover { color: rgba(255,255,255,0.85); }

/* ── 하단 구분 + 고지 ── */
.footer-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 36px 0 24px;
}

.footer-bottom { }

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.28);
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-nav-col {
    display: flex;
    gap: 20px;
    align-items: baseline;
  }
  .footer-nav-title { margin-bottom: 0; white-space: nowrap; }
  .footer-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .footer-disclaimer { font-size: 11px; }
}

/* ══════════════════════════════════════════
   반응형 — 타이포그래피 스케일 오버라이드
══════════════════════════════════════════ */

/* 태블릿 (≤ 900px): 2단계 */
@media (max-width: 900px) {
  :root {
    --fs-h1:    28px;
    --fs-h2:    24px;
    --fs-h3:    20px;
    --fs-card:  18px;
    --fs-body:  16px;
    --fs-small: 14px;
    --fs-badge: 12px;
    --fs-sub:   12px;
  }

  .premium-grid { gap: 28px 24px; }
  /* 태블릿: 갤러리 패널 */
  .gallery-panel { border-radius: 14px; }
  .gallery-panel .tab-bar { padding: 12px 16px; }
  .gallery-panel .tab-btn { padding: 9px 10px; font-size: 14px; margin: 0 3px; }
  .gallery-panel .gallery-grid { padding: 18px; gap: 10px; }

  /* 평면도 강조문구 — 태블릿에서 줄바꿈 허용 */
  .floorplan-info .fp-highlight { white-space: normal; }

  /* 히어로 텍스트 — 태블릿 */
  .hero-body { padding-top: 20vh; }
  .hero-sub   { font-size: 24px; }
  .hero-title { font-size: 42px; }
}

/* 모바일 (≤ 768px): 3단계 */
@media (max-width: 768px) {
  :root {
    --nav-h:    60px;
    --fs-h1:    24px;
    --fs-h2:    22px;
    --fs-h3:    18px;
    --fs-card:  16px;
    --fs-body:  14px;
    --fs-small: 12px;
    --fs-badge: 10px;
    --fs-sub:   10px;
  }

  section { padding: 64px 0; }

  /* 네비 */
  .nav-menu, .nav-phone-btn, .nav-top-btn { display: none; }
  .hamburger { display: flex; }
  .hamburger span { background: var(--navy); }
  .mobile-menu { display: block; }

  /* 히어로 슬라이더 — 모바일 */
  .hero-slide { border-radius: 0; }

  /* 히어로 텍스트 — 모바일 */
  .hero-body  { padding-top: 18vh; }
  .hero-sub   { font-size: 20px; margin-bottom: 12px; }
  .hero-title { font-size: 34px; }

  /* 히어로 콘텐츠 */
  .hero-cta { flex-direction: row; gap: 8px; }
  .hero-cta .btn { width: 100%; }
  .hero-benefit-btn { max-width: none; padding: 9px 10px; min-height: 52px; }
  .benefit-value { font-size: 13px; }
  .hero-bottom-strip { bottom: 68px; gap: 10px; }
  .hero-info-strip { gap: 20px; }

  /* 프리미엄 */
  .premium-grid { grid-template-columns: 1fr; gap: 24px; }

  /* 단지개요 */
  .overview-img { height: 220px; }
  .ov-col-label { width: 100px; }
  .overview-table thead th,
  .ov-label,
  .ov-value { padding: 11px 14px; }

  /* 위치 */
  .location-layout { flex-direction: column; }
  .location-map { flex: none; height: 220px; }

  /* 갤러리 — 모바일(768px): 1열로 전환 */
  .gallery-panel .gallery-grid { grid-template-columns: 1fr; padding: 14px; gap: 10px; }
  .gallery-panel .gallery-grid[data-tab="community"] .gallery-item:first-child {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  /* 평면도 */
  .floorplan-content { padding: 24px 16px; }
  .fp-main-wrap { flex-direction: column; gap: 24px; margin-bottom: 32px; }
  .fp-gallery-grid { grid-template-columns: 1fr; }
  .floorplan-info .fp-highlight { white-space: normal; font-size: 13px; }

  /* 폼 */
  .two-col { grid-template-columns: 1fr; }
  .phone-row { flex-wrap: wrap; }
  .phone-part { flex: 1; min-width: 80px; }

  /* 플로팅 */
  .floating-side { right: 12px; bottom: 76px; }
  .floating-btn { width: 46px; height: 46px; }
}

/* 소형 (≤ 480px) */
@media (max-width: 480px) {
  .gallery-panel { border-radius: 12px; }
  .gallery-panel .tab-bar { padding: 10px 12px; }
  .gallery-panel .tab-btn { padding: 8px 6px; font-size: 13px; margin: 0 2px; }
  .gallery-panel .gallery-grid { padding: 12px; gap: 8px; }
}

/* ══════════════════════════════════════════
   팝업
══════════════════════════════════════════ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.hidden { display: none; }

.popup-box {
  position: relative;
  max-width: 960px;
  width: 100%;
}

.popup-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.popup-hide-today {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.popup-hide-today:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 닫기 버튼 */
.popup-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
  line-height: 1;
}
.popup-close:hover { background: rgba(255, 255, 255, 0.32); }

/* PC: 3장 가로 배열 */
.popup-pc {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.popup-pc img {
  flex: 1;
  min-width: 0;
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

/* 모바일: 슬라이더 — PC에서 숨김 */
.popup-mobile { display: none; }

@media (max-width: 768px) {
  .popup-overlay { padding: 18px; }
  .popup-box {
    width: min(calc(100vw - 96px), 252px);
  }
  .popup-pc { display: none; }

  .popup-mobile {
    display: block;
    position: relative;
  }

  .popup-viewport {
    overflow: hidden;
    border-radius: 8px;
  }

  .popup-track {
    display: flex;
    width: 100%;
    transition: transform 0.32s ease;
    will-change: transform;
  }

  .popup-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .popup-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
  }

  .popup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
    line-height: 1;
  }
  .popup-arrow:hover { background: rgba(0, 0, 0, 0.65); }
  .popup-prev { left: 6px; }
  .popup-next { right: 6px; }

  .popup-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 8px 0 0;
  }
  .popup-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.2s;
  }
  .popup-dot.active { background: #fff; }

  .popup-close {
    top: -34px;
    right: 0;
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-width: 1px;
  }

  .popup-actions {
    justify-content: flex-end;
    margin-top: 8px;
    padding-bottom: max(2px, env(safe-area-inset-bottom));
  }

  .popup-hide-today {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  /* 하단 바(68px) + 프로모션 스트립(~72px) 공간 확보 */
  body { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  .container { padding: 0 16px; }
  section[id] { scroll-margin-top: 72px; }
  .section-header { margin-bottom: 36px; }

  .mobile-menu.open { max-height: 70vh; overflow-y: auto; }
  .nav-inner { gap: 12px; }
  .nav-logo {
    min-width: 0;
    max-width: calc(100% - 44px);
    font-size: clamp(1.6rem, 5.8vw, 2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-slide img,
  .hero-slide-day img,
  .hero-slide-night img {
    object-fit: cover;
    object-position: 50% 55%;   /* 중앙 건물 기준 크롭 */
    transform-origin: center center;
  }
  /* 모바일: 더 약한 Ken Burns (1% 이하) */
  .hero-slide.active .hero-slide-day img,
  .hero-slide.active .hero-slide-night img,
  .hero-slide.active > img {
    animation: kbZoomMob 22s ease-in-out forwards;
  }
  .hero-slide-overlay {
    background:
      /* 가장자리 비네팅 */
      radial-gradient(
        ellipse 78% 58% at 50% 48%,
        transparent 28%,
        rgba(4, 11, 24, 0.45) 70%,
        rgba(4, 11, 24, 0.78) 100%
      ),
      /* 상단 텍스트 영역 */
      linear-gradient(
        180deg,
        rgba(4, 11, 24, 0.68) 0%,
        rgba(4, 11, 24, 0.22) 28%,
        transparent 50%,
        rgba(4, 11, 24, 0.32) 100%
      );
  }
  .hero-body { padding-top: 11vh; }
  .hero-content { padding: 0 8px; }
  .hero-sub { font-size: 18px; margin-bottom: 10px; line-height: 1.25; }
  .hero-title {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.12;
    word-break: keep-all;
  }
  .hero-title-dark { padding: 4px 10px 5px; border-radius: 8px; }
  .hero-badge { font-size: 14px; padding: 7px 16px; letter-spacing: 0.08em; }
  .hero-bottom-strip {
    bottom: 34px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }
  .hero-bottom-strip .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: min(100%, 188px);
    max-width: 188px;
    padding: 0;
    margin: 0 auto;
    gap: 5px;
  }
  .hero-benefit-btn {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 8px 10px 9px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    background: linear-gradient(160deg, #fffcf4 0%, #f4e8ce 100%);
    border: 1.5px solid rgba(185,148,74,0.50);
    text-align: center;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.90),
      0 6px 16px rgba(10, 22, 42, 0.22),
      0 2px 4px rgba(10, 22, 42, 0.12);
  }
  .benefit-value { font-size: 13px; line-height: 1.2; font-weight: 800; }

  .tab-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .tab-btn { min-width: 108px; }

  .overview-table { table-layout: fixed; }
  .ov-col-label { width: 88px; }
  .ov-value {
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .location-points { gap: 8px; }
  .location-point-card { padding: 12px 14px; }

  .accordion-q { padding: 16px 16px; gap: 10px; }
  .accordion-q .q-text { min-width: 0; word-break: keep-all; }
  .accordion-item.open .accordion-a { padding: 0 16px 18px 56px; }

  .phone-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
  }
  .phone-sep { display: none; }
  .phone-part { min-width: 0; }
  .terms-row { align-items: flex-start; }
  .terms-detail-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .bottom-bar {
    height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bb-num      { font-size: 17px; }
  .bb-visit-text { font-size: 15px; }
  .floating-side {
    right: 10px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-slide img,
  .hero-slide-day img,
  .hero-slide-night img { object-position: 50% 55%; }
  .hero-slide.active .hero-slide-day img,
  .hero-slide.active .hero-slide-night img,
  .hero-slide.active > img { animation: kbZoomMob 22s ease-in-out forwards; }
  .hero-body { padding-top: 9vh; }
  .hero-sub { font-size: 16px; }
  .hero-title { font-size: clamp(24px, 8.2vw, 30px); }
  .hero-bottom-strip .hero-cta { width: min(100%, 170px); max-width: 170px; gap: 4px; }
  .hero-benefit-btn {
    min-height: 0;
    padding: 7px 9px 8px;
    gap: 1px;
    border-radius: 11px;
  }
  .benefit-label { font-size: 8px; }
  .benefit-value { font-size: 12px; line-height: 1.14; }
  .hero-bottom-strip { bottom: 22px; left: 14px; right: 14px; gap: 7px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .overview-img { height: 180px; }
  .accordion-q { padding: 14px 14px; }
  .accordion-item.open .accordion-a { padding: 0 14px 16px 14px; }
  .phone-row { grid-template-columns: 1fr; }
  .floating-btn { width: 44px; height: 44px; }
  .floating-side { right: 8px; }
}

/* ══════════════════════════════════════════
   섹션 하단 CTA 바 (위치안내 · 타입소개 공통)
══════════════════════════════════════════ */
.section-cta-bar {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  transition: all var(--transition);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 31, 58, 0.25);
}

@media (max-width: 768px) {
  .section-cta-bar { margin-top: 36px; gap: 10px; }
  .section-cta-bar .btn { padding: 13px 24px; }
}
@media (max-width: 480px) {
  .section-cta-bar { flex-direction: column; align-items: center; }
  .section-cta-bar .btn { width: min(100%, 280px); }
}

/* ══════════════════════════════════════════
   타입 소개 (#types)
══════════════════════════════════════════ */
.types { background: var(--white); }

.types-content {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.types-panel { display: none; width: 100%; }
.types-panel.active { display: block; }

.type-subtitle {
  margin-top: 14px;
  text-align: center;
  font-size: var(--fs-card);
  font-weight: var(--fw-semibold);
  color: var(--color-title);
}

@media (max-width: 768px) {
  .types-content { padding: 24px 16px; }
  .fp-main-wrap { flex-direction: column; gap: 24px; margin-bottom: 0; }
}

/* ══════════════════════════════════════════
   관심고객 등록 (#register) — 밝은 배경
══════════════════════════════════════════ */
.register {
  background: var(--beige-light);
  position: relative;
}
.register::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff8c6b 100%);
}

/* 히어로 바로 아래 복제 섹션: 상단 주황 라인 제거 */
.register-hero::before { display: none; }

/* ══════════════════════════════════════════
   미디어 / 뉴스 섹션
══════════════════════════════════════════ */
.media {
  background: var(--white);
  padding: var(--section-py) 0;
}

/* ── 섹션 헤더 ── */
.media-section-header { margin-bottom: 32px; }

.media-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.media-bc-main {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  color: var(--color-sub);
}
.media-bc-sep {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1;
}
.media-bc-sub {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  color: var(--primary);
}
.media-rule {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}

/* ── 뉴스 목록 ── */
.media-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.media-extra {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  animation: mediaFadeIn 0.32s ease;
}
@keyframes mediaFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 뉴스 카드 ── */
.media-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.media-card-title {
  font-size: 19px;
  font-weight: var(--fw-bold);
  color: var(--color-title);
  letter-spacing: -0.015em;
  line-height: 1.45;
  margin-bottom: 18px;
}
.media-card-summary {
  border-left: 3px solid var(--navy);
  padding: 10px 0 10px 18px;
  margin: 0 0 20px 0;
}
.media-card-summary p {
  font-size: var(--fs-sub);
  color: var(--color-sub);
  line-height: 1.65;
}
.media-card-summary p + p { margin-top: 3px; }

/* 본문 — 기본 접힘 상태 */
.media-card-body {
  position: relative;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.media-card-body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: linear-gradient(transparent, var(--gray-50));
  pointer-events: none;
  transition: opacity 0.25s;
}
/* 본문 — 펼쳐진 상태 */
.media-card-body.is-open {
  max-height: 600px;
}
.media-card-body.is-open::after {
  opacity: 0;
}

.media-card-body p {
  font-size: var(--fs-small);
  color: var(--color-body);
  line-height: 1.8;
  letter-spacing: -0.01em;
}
.media-card-body p + p { margin-top: 12px; }

.media-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.media-card-source {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: var(--color-sub);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 3px 10px;
}

/* ── 카드별 더보기 / 접기 버튼 ── */
.media-more-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 8px 22px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.media-more-btn:hover {
  background: #0f1e40;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 45, 96, 0.28);
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .media-card { padding: 24px 20px; }
  .media-card-title { font-size: 16px; }
  .media-card-body p { font-size: var(--fs-sub); }
}

/* ── 2단 카드 래퍼 ── */
.reg-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ── 왼쪽: 안내 카드 ── */
.reg-info-col {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.reg-info-q {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--color-title);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.reg-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.reg-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.reg-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--beige-light);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.reg-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.reg-info-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--color-title);
  letter-spacing: -0.01em;
}

.reg-info-desc {
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  color: var(--color-sub);
  line-height: 1.55;
}

/* ── 오른쪽: 폼 열 ── */
.reg-form-col {
  display: flex;
  flex-direction: column;
}

.register-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

/* 관심등록 폼 label */
.reg-group label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-title);
  letter-spacing: 0;
}

.reg-group input {
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--color-body);
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.reg-group input::placeholder { color: var(--gray-400); }
.reg-group input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 45, 96, 0.08);
}

/* reg용 구분자 */
.reg-sep {
  color: var(--gray-400);
  font-size: var(--fs-body);
  padding-bottom: 12px;
  flex-shrink: 0;
  line-height: 1;
}

/* 약관 */
.reg-terms-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.reg-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: var(--fs-sub);
  font-weight: var(--fw-regular);
  color: var(--color-body);
}
.reg-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

.reg-terms-btn {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--color-sub);
  font-family: var(--font);
  font-size: var(--fs-sub);
  font-weight: var(--fw-semibold);
  padding: 5px 14px;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.reg-terms-btn:hover { color: var(--navy); border-color: var(--navy); }

.reg-terms-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.reg-terms-box p {
  font-size: var(--fs-sub);
  color: var(--color-sub);
  line-height: var(--lh-body);
}

/* 제출 버튼: 네이비 */
.btn-register-submit {
  width: 100%;
  padding: 17px;
  font-size: var(--fs-small);
  border-radius: var(--radius);
  margin-top: 4px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-register-submit:hover {
  background: #0f1e40;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 45, 96, 0.35);
}
.btn-register-submit[disabled] { opacity: 0.7; cursor: wait; }

.register-form-status {
  min-height: 1.5em;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-body);
}
.register-form-status.is-error   { color: #d73a3a; }
.register-form-status.is-success { color: #2e7d32; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .reg-card-wrap { grid-template-columns: 1fr; }
  .reg-info-col { padding: 32px 28px; gap: 22px; }
  .register-form { padding: 32px 28px; }
}

@media (max-width: 768px) {
  .reg-info-col { padding: 28px 20px; }
  .register-form { padding: 28px 20px; gap: 14px; }
  .reg-terms-row { align-items: flex-start; }
  .reg-terms-btn { width: 100%; justify-content: center; text-align: center; }
  .phone-row .reg-sep { display: none; }
  .reg-info-icon { width: 40px; height: 40px; font-size: 18px; }
}

/* ══════════════════════════════════════════
   방문예약 (#visit) — 기존 .contact 동일
══════════════════════════════════════════ */
.visit { background: var(--navy); }
.visit .section-tag   { color: var(--color-beige); }
.visit .section-title { color: var(--white); }
.visit .section-desc  { color: rgba(255,255,255,0.55); }

@media (max-width: 480px) {
  .bb-num        { font-size: 15px; }
  .bb-visit-text { font-size: 13px; }
  .bb-icon       { width: 18px; height: 18px; }
  .bb-sub        { font-size: 9px; }
}

/* ══════════════════════════════════════════
   위치안내 섹션 하단 패딩 (CTA 공간)
══════════════════════════════════════════ */
.location .section-cta-bar { padding-top: 0; }

/* ══════════════════════════════════════════
   문의 배너 (중간 전환 CTA 섹션)
══════════════════════════════════════════ */
.inquiry-banner {
  position: relative;
  padding: 42px 0 39px;
  overflow: hidden;
  /* 갤러리(navy)와 구분되도록 다른 계열 그라데이션 */
  background: linear-gradient(
    125deg,
    #080f26 0%,
    #0c1c4a 25%,
    #1a0c50 55%,
    #0a0820 100%
  );
  /* 상단 구분선 — 모바일에서도 명확하게 */
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── 배경 빛 구체 ── */
.ib-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ib-deco-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.ib-deco-l {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(40, 80, 220, 0.3) 0%, transparent 65%);
  left: -120px;
  top: -60px;
  opacity: 0.9;
}
.ib-deco-r {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(110, 30, 200, 0.32) 0%, transparent 65%);
  right: -120px;
  bottom: -60px;
  opacity: 0.9;
}
.ib-deco-m {
  width: 340px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(80, 50, 220, 0.18) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ── 내부 레이아웃 ── */
.ib-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── 제목 (좌우 라인 포함) ── */
.ib-title {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 680px;
  margin-bottom: 20px;
}
.ib-title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(160, 180, 255, 0.28) 100%
  );
}
.ib-title-line:last-child {
  flex: 1;
  background: linear-gradient(
    270deg,
    transparent 0%,
    rgba(160, 180, 255, 0.28) 100%
  );
}
.ib-title-text {
  font-family: 'Paperlogy', sans-serif;
  font-size: 20px !important;
  font-weight: 600 !important;
  font-style: normal;
  color: rgba(235, 242, 255, 0.96) !important;
  letter-spacing: 0.01em !important;
  text-align: center;
  white-space: nowrap;
  text-transform: none !important;
  line-height: 1.2 !important;
}

/* ── 메인 Pill ── */
.ib-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 22px;
  /* 다단 그림자 — 외곽 글로우 + 내부 입체감 */
  box-shadow:
    0 0 0 1px rgba(100, 80, 255, 0.25),
    0 0 48px rgba(60, 20, 180, 0.55),
    0 0 96px rgba(40, 10, 120, 0.35),
    0 19px 38px rgba(0, 0, 10, 0.5);
  overflow: hidden;
  transition: box-shadow 0.32s ease, transform 0.32s ease;
  /* 분할 배경: 좌측 파란 계열, 우측 보라 계열 */
  background: linear-gradient(
    90deg,
    #112060 0%,
    #1a1862 35%,
    #2e1270 65%,
    #200a50 100%
  );
  /* 외곽 테두리: 미세 광택 그라데이션 */
  border: 1.5px solid;
  border-image: linear-gradient(
    90deg,
    rgba(100, 140, 255, 0.45) 0%,
    rgba(180, 100, 255, 0.5) 50%,
    rgba(100, 140, 255, 0.45) 100%
  ) 1;
  /* Firefox fallback: border-image 안되면 단색 */
}

/* border-image와 border-radius 동시 불가 → after로 테두리 대체 */
.ib-pill {
  border: none;
}
.ib-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(100, 160, 255, 0.5) 0%,
    rgba(200, 120, 255, 0.55) 50%,
    rgba(100, 160, 255, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.ib-pill:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(140, 120, 255, 0.38),
    0 0 64px rgba(80, 30, 200, 0.7),
    0 0 120px rgba(50, 15, 140, 0.45),
    0 22px 45px rgba(0, 0, 10, 0.55);
}

/* 내부 광택 (상단 반사) */
.ib-pill-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 100%
  );
  border-radius: 100px 100px 0 0;
  pointer-events: none;
}

/* ── Pill 내 텍스트 ── */
.ib-pill-label {
  padding: 13px 16px 13px 22px;
  font-family: var(--font);
  font-size: 14px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-shadow:
    0 0 16px rgba(140, 180, 255, 0.4),
    0 1px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

/* 세로 구분선 */
.ib-pill-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(160, 130, 255, 0.5) 30%,
    rgba(160, 130, 255, 0.5) 70%,
    transparent 100%
  );
  flex-shrink: 0;
}

.ib-pill-num {
  padding: 13px 22px 13px 13px;
  font-family: var(--font);
  font-size: 27px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  /* 골드 그라데이션 */
  background: linear-gradient(
    135deg,
    #f5e060 0%,
    #f0c830 40%,
    #ffe880 70%,
    #e8b820 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* 글로우 */
  filter: drop-shadow(0 0 14px rgba(240, 200, 60, 0.55))
          drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* ── 티커 ── */
.ib-ticker {
  /* flex column + align-items:center 환경에서 100vw = 뷰포트 좌단 기준 자동 배치 */
  width: 100vw;
  overflow: hidden;
  /* 페이드 구간을 뷰포트 끝단(0-5%, 95-100%)에만 배치 → 내부 배경판 효과 제거 */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.6) 2.5%,
    #000 5%,
    #000 95%,
    rgba(0,0,0,0.6) 97.5%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.6) 2.5%,
    #000 5%,
    #000 95%,
    rgba(0,0,0,0.6) 97.5%,
    transparent 100%
  );
}
.ib-ticker-track {
  display: flex;
  width: max-content;
  animation: ibTickerScroll 15s linear infinite;
}
.ib-ticker-text {
  font-family: var(--font);
  font-size: 22px !important;
  font-weight: var(--fw-bold) !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
  user-select: none;
  /* gradient는 glyph 내부에서만 이동 — background-clip:text로 클리핑 */
  background: linear-gradient(
    90deg,
    #8090e8 0%,
    #b070f4 16%,
    #d878ff 33%,
    #9060ec 50%,
    #8090e8 66%,
    #b070f4 83%,
    #d878ff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
  filter: none;
  animation: tickerGradientShift 6s linear infinite;
}

@keyframes ibTickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

@keyframes tickerGradientShift {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 0%; }
}

/* ── 태블릿 ── */
@media (max-width: 900px) {
  .inquiry-banner { padding: 48px 0 44px; }
  .ib-title-text { font-size: 19px !important; }
  .ib-pill-label { font-size: 15px !important; padding: 14px 18px 14px 24px; }
  .ib-pill-num   { font-size: 28px !important; padding: 14px 24px 14px 14px; }
  .ib-ticker-text { font-size: 20px !important; }
  .ib-pill-divider { height: 28px; }
  .ib-deco-l, .ib-deco-r { width: 360px; height: 360px; }
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .inquiry-banner {
    padding: 42px 0 38px;
    /* 상하 섹션 경계를 명확히 */
    border-top: 2px solid rgba(80, 60, 200, 0.25);
    border-bottom: 2px solid rgba(80, 60, 200, 0.18);
  }
  .ib-title { max-width: none; margin-bottom: 18px; gap: 10px; }
  .ib-title-text { font-size: 18px !important; }
  .ib-pill {
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin-bottom: 20px;
  }
  .ib-pill-label {
    padding: 12px 24px 4px;
    font-size: 14px !important;
    text-align: center;
  }
  .ib-pill-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(160,130,255,0.4), transparent);
  }
  .ib-pill-num {
    padding: 4px 24px 12px;
    font-size: 24px !important;
    text-align: center;
  }
  .ib-ticker-text { font-size: 16px !important; }
  .ib-deco-l { width: 240px; height: 240px; left: -60px; top: -40px; }
  .ib-deco-r { width: 240px; height: 240px; right: -60px; bottom: -40px; }
  .ib-deco-m { width: 200px; height: 120px; }
}

/* ── 소형 모바일 ── */
@media (max-width: 480px) {
  .inquiry-banner { padding: 34px 0 30px; }
  .ib-title-text { font-size: 17px !important; }
  .ib-pill-label { font-size: 12px !important; padding: 10px 18px 4px; }
  .ib-pill-num   { font-size: 20px !important; padding: 4px 18px 10px; }
  .ib-ticker-text { font-size: 13px !important; }
}

/* ══════════════════════════════════════════
   우측 고정 퀵 배너
══════════════════════════════════════════ */
.quick-side {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  width: 86px;
  background: var(--white);
  border-radius: 14px 0 0 14px;
  box-shadow:
    -6px 0 32px rgba(0, 0, 0, 0.14),
    -1px 0 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* 초기 숨김 — 스크롤 후 visible 클래스로 표시 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.quick-side.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── 브랜드 헤더 ── */
.qs-brand {
  background: var(--navy);
  padding: 16px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qs-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c9a84c 0%, #e8c96a 55%, #b8922e 100%);
  color: var(--navy);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200, 160, 60, 0.45);
}

.qs-brand-name {
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  line-height: 1.45;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* ── 메뉴 아이템 공통 ── */
.qs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 8px 12px;
  text-decoration: none;
  color: var(--color-sub);
  border-top: 1px solid var(--gray-100);
  position: relative;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

/* 왼쪽 포인트 바 */
.qs-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.qs-item:hover {
  background: rgba(254, 93, 52, 0.05);
  color: var(--primary);
}
.qs-item:hover::before {
  opacity: 1;
}

/* 전화상담 아이템 — 녹색 포인트 */
.qs-call:hover {
  background: rgba(54, 200, 75, 0.06);
  color: #27a83a;
}
.qs-call:hover::before {
  background: #36c84b;
}

/* ── 아이콘 ── */
.qs-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: color var(--transition);
}

.qs-top-arrow {
  width: 18px;
  height: 18px;
}

/* ── 라벨 ── */
.qs-label {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  letter-spacing: -0.01em;
  word-break: keep-all;
  color: inherit;
}

/* ── 구분선 ── */
.qs-divider {
  height: 1px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ── TOP 버튼 ── */
.qs-top {
  background: var(--gray-50);
}
.qs-top:hover {
  background: var(--navy);
  color: var(--white);
}
.qs-top:hover::before {
  display: none;
}

/* ── 모바일: 숨김 (하단바가 대체) ── */
@media (max-width: 1024px) {
  .quick-side { display: none; }
}

/* ── 중간 태블릿: 좁은 뷰포트 보정 ── */
@media (min-width: 1025px) and (max-width: 1200px) {
  .quick-side { width: 78px; }
  .qs-brand { padding: 14px 6px 12px; }
  .qs-brand-mark { width: 32px; height: 32px; font-size: 13px; }
  .qs-item { padding: 12px 6px 10px; }
  .qs-icon { width: 20px; height: 20px; }
  .qs-label { font-size: 9px; }
}

/* ══════════════════════════════════════════
   PC / 모바일 메뉴 노출 분기
   · PC  (> 768px): 상단 네비 상시 고정, 하단 바 숨김
   · 모바일 (≤ 768px): 상단 네비 스크롤 제어, 하단 바 노출
══════════════════════════════════════════ */
@media (min-width: 769px) {
  /* 헤더: JS `.visible` 여부와 무관하게 항상 표시 */
  .nav-header {
    opacity: 1;
    transform: translateY(0);
  }
  /* 하단 고정 바: PC에서 완전 숨김 */
  .bottom-bar {
    display: none !important;
  }
}

