/* =============================================
   디자인 토큰 (CSS 변수)
   ============================================= */
:root {
  /* 브랜드 컬러 */
  --color-primary:        #3561ff;
  --color-primary-hover:  #1e46e0;
  --color-accent:         #6135ff;
  --color-accent-hover:   #4d1fe0;
  --color-purple:         #7324ff;
  --color-dark:           #111823;

  /* 텍스트 컬러 */
  --color-text:           #212121;
  --color-text-sub:       #757575;
  --color-text-muted:     #999999;
  --color-text-white:     #ffffff;

  /* 배경 컬러 */
  --color-bg:             #ffffff;
  --color-bg-alt:         #f7f7f7;
  --color-bg-dark:        #111823;

  /* 테두리 */
  --color-border:         #e5e5e5;
  --color-border-dark:    #d3d3d3;

  /* 폰트 */
  --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', Roboto, 'Noto Sans KR', 'Segoe UI', 'Malgun Gothic',
    sans-serif;

  /* 텍스트 크기 */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
}

/* =============================================
   베이스 리셋 & 전역 스타일
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
  body {
    font-size: var(--text-xs);
  }
}

/* =============================================
   타이포그래피
   ============================================= */
h1, .h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h2, .h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h3, .h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h4, .h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-text);
}

h5, .h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

h6, .h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 767px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.625rem; }
  h3, .h3 { font-size: 1.25rem; }
  h4, .h4 { font-size: 1.125rem; }
  h5, .h5 { font-size: 1rem; }
  h6, .h6 { font-size: 0.875rem; }
}

p { line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =============================================
   버튼 공통 스타일
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text-white);
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-text-white);
  border-color: var(--color-text-white);
}
.btn-outline-white:hover {
  background-color: var(--color-text-white);
  color: var(--color-dark);
}

.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  border-color: var(--color-dark);
}
.btn-dark:hover {
  background-color: #1d2535;
  border-color: #1d2535;
}

.btn-sm {
  font-size: var(--text-xs);
  padding: 0.5rem 1rem;
}

.btn-lg {
  font-size: var(--text-base);
  padding: 1rem 2rem;
}

/* =============================================
   공통 컨테이너
   ============================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* =============================================
   섹션 공통
   ============================================= */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 767px) {
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* =============================================
   TopBar 모바일 대응
   ============================================= */
@media (max-width: 767px) {
  .topbar-naver-text {
    font-size: 12px;
  }
}

/* =============================================
   공통 Spacer
   ============================================= */
.spacer-12 { height: 12px; }
.spacer-30 { height: 30px; }
.spacer-32 { height: 32px; }
.spacer-40 { height: 40px; }
.spacer-48 { height: 48px; }
.spacer-52 { height: 52px; }

/* =============================================
   히어로 높이
   ============================================= */
.hero-spacer { height: 703px; }

@media (max-width: 767px) {
  .hero-spacer { height: 400px; }
}

/* =============================================
   YouTube 섹션
   ============================================= */
.youtube-spacer-top { height: 162px; }
.youtube-spacer-bottom { height: 150px; }
.youtube-title { font-size: 24px; }
.youtube-desc { font-size: 18px; }

/* =============================================
   폼 필드 공통
   ============================================= */
.contact-field { margin-bottom: 20px; }

.form-input {
  padding: 5px 7px !important;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  outline: none;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(53, 97, 255, 0.15) !important;
}

.form-input::placeholder { color: var(--color-text-muted); }

/* =============================================
   Leaflet 지도 팝업
   ============================================= */
.leaflet-popup-content { font-size: 14px !important; }

/* =============================================
   데스크탑 기본값
   ============================================= */
.service-spacer-top { height: 153px; }
.service-spacer-bottom { height: 150px; }
.gallery-spacer-top { height: 163px; }
.gallery-spacer-mid { height: 286px; }
.gallery-spacer-bottom { height: 178px; }
.gallery-dark-spacer-top { height: 122px; }
.gallery-dark-spacer-bottom { height: 106px; }
.contact-spacer-top { height: 150px; }
.contact-spacer-bottom { height: 150px; }

.center-container {
  padding-top: 150px;
  padding-bottom: 150px;
}

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

.branches-container {
  padding-top: 150px;
  padding-bottom: 5rem;
}

.branches-map-list { height: 600px; }
.branches-list { max-height: 600px; }

/* =============================================
   모바일 대응 (max-width: 767px)
   ============================================= */
@media (max-width: 767px) {
  .header-logo {
    display: none !important;
    height: auto !important;
  }
  .topbar-naver-text { display: none; }
  .connect-title { font-size: 26px !important; line-height: 1.5 !important; }
  .connect-desc { font-size: 14px !important; }
  .service-spacer-top { height: 60px; }
  .service-spacer-bottom { height: 60px; }
  .service-main-img { height: auto !important; max-width: 100% !important; }
  .service-title { font-size: 22px !important; line-height: 1.4 !important; }
  .service-body-text { font-size: 14px !important; }
  .gallery-spacer-top { height: 60px; }
  .gallery-spacer-mid { height: 80px; }
  .gallery-spacer-bottom { height: 80px; }
  .gallery-dark-spacer-top { height: 40px; }
  .gallery-dark-spacer-bottom { height: 40px; }
  .topbar-wrap { position: relative !important; }
  .branch-cards-grid { grid-template-columns: 1fr !important; }
  .shop-grid { grid-template-columns: repeat(2, 1fr) !important; margin: 0 !important; }
  .youtube-spacer-top { height: 40px; }
  .youtube-spacer-bottom { height: 60px; }
  .youtube-title { font-size: 18px !important; }
  .youtube-desc { font-size: 14px !important; }
  .gallery-infographic { width: 100% !important; height: auto !important; }
  .gallery-title { font-size: 20px !important; line-height: 1.4 !important; }
  .gallery-service-img { height: auto !important; max-width: 100% !important; }
  .center-container { padding-top: 60px; padding-bottom: 60px; }
  .center-desc { font-size: 14px !important; margin-bottom: 40px !important; }
  .center-gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 6px; }
  .center-gallery-img { height: 180px !important; }
  .contact-spacer-top { height: 48px; }
  .contact-spacer-bottom { height: 60px; }
  .contact-label { font-size: 15px !important; }
  .phone-input-group { gap: 4px !important; }
  .phone-input { width: 0 !important; flex: 1 1 0 !important; min-width: 0 !important; }
  .branches-container { padding-top: 60px; padding-bottom: 3rem; }
  .branches-map-list { height: auto; flex-direction: column !important; }
  .branches-map { flex: none !important; width: 100% !important; min-height: 250px !important; height: 250px; }
  .branches-list { flex: none !important; width: 100% !important; max-height: 500px !important; border-left: none !important; border-top: none !important; }
  .floating-buttons { top: auto !important; bottom: 70px !important; right: 20px !important; }
  .floating-btn-img { width: 61px !important; height: 61px !important; }
}

/* =============================================
   스크롤 애니메이션 — Reveal
   ============================================= */
.reveal, .reveal-left, .reveal-right, .reveal-fade {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal { opacity: 0; transform: translateY(36px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-fade { opacity: 0; }
.reveal-fade.is-visible { opacity: 1; }

@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-btn-animate { animation: heroFadeInUp 0.9s ease 0.5s both; }

.gallery-img-wrap { overflow: hidden; }
.gallery-img-wrap img { transition: transform 0.45s ease; }
.gallery-img-wrap:hover img { transform: scale(1.06); }

/* =============================================
   주문/결제 페이지 공통
   ============================================= */
.order-page { padding: 60px 0; background: #f7f8fb; min-height: 60vh; }
.order-page-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.order-page-center { max-width: 560px; margin: 0 auto; padding: 0 20px; text-align: center; }
.order-page h1 { font-size: 24px; margin: 0 0 24px; }
.order-card { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.order-card h3 { margin: 0 0 14px; font-size: 16px; }
.order-form { display: flex; flex-direction: column; gap: 18px; }
.order-form-fields { display: flex; flex-direction: column; gap: 12px; }
.order-form label.field-label { display: block; font-size: 13px; color: #444; margin-bottom: 6px; }
.order-form input.field-input { width: 100%; padding: 11px; border: 1px solid #d0d4dc; border-radius: 8px; }
.order-form .agree-label { display: block; margin: 8px 0; }
.order-hr { border: none; border-top: 1px solid #eef0f4; margin: 16px 0; }
.order-submit { background: #111; color: #fff; border: none; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.order-error { background: #fee; color: #c00; padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }
.order-complete-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.order-info-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; font-size: 13px; color: #64748b; line-height: 1.8; }
.order-info-box strong { color: #334155; }
.order-legal-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px; margin-top: 12px; font-size: 12px; color: #64748b; line-height: 1.8; }
.order-legal-box strong { color: #334155; }
.order-product-thumb { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.order-qty-input { width: 80px; padding: 6px; border: 1px solid #d0d4dc; border-radius: 6px; }
.order-status-badge { display: inline-block; padding: 3px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600; }
.order-detail-icon { width: 42px; height: 42px; margin-bottom: 16px; }
.order-consult-msg { color: var(--color-primary); font-size: 16px; font-weight: 600; margin-top: 20px; text-align: center; }

/* =============================================
   계약상담 폼
   ============================================= */
.contact-section { position: relative; background-size: cover; background-position: 50% 50%; }
.contact-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(248,248,248,0.95); }
.contact-inner { position: relative; z-index: 1; }
.contact-title { text-align: center; margin-bottom: 30px; }
.contact-form { max-width: 640px; margin: 0 auto; }
.contact-label { display: block; font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.contact-label .req { color: var(--color-primary); }
.contact-radio { display: block; margin-bottom: 6px; cursor: pointer; color: var(--color-text); font-size: 14px; }
.contact-radio input { margin-right: 8px; }
.contact-phone-group { display: flex; align-items: center; gap: 8px; }
.contact-phone-input { width: 100px; text-align: center; }
.contact-memo { margin-bottom: 30px; }
.contact-submit { text-align: center; }

/* 상담 완료 팝업 */
.contact-modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0); z-index: 10000;
  justify-content: center; align-items: center;
  transition: background 0.3s ease;
}
.contact-modal-box {
  background: #fff; border-radius: 16px; padding: 40px 36px; text-align: center;
  max-width: 380px; width: 90%; box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: scale(0.8) translateY(20px); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.contact-modal-icon { font-size: 48px; margin-bottom: 16px; }
.contact-modal-box h3 { margin-bottom: 12px; }
.contact-modal-box p { color: var(--color-text-sub); margin-bottom: 24px; line-height: 1.6; }

/* =============================================
   세무/법무 (tax-n-law) 공통
   ============================================= */

/* --- 히어로 --- */
.tnl-hero {
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  text-align: center;
  position: relative;
}
.tnl-hero--tall { padding: 80px 0; }
.tnl-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.55);
}
.tnl-hero__inner {
  position: relative;
  z-index: 1;
}
.tnl-hero__title { color: #fff; }

/* --- 폼 컨테이너 --- */
.tnl-form-wrap { max-width: 720px; }

/* --- 안내 섹션 (padding-bottom:0) --- */
.tnl-info-section { padding-bottom: 0; }

/* --- 필드 간격 --- */
.tnl-field { margin-bottom: 24px; }

/* --- 필드 라벨 --- */
.tnl-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #212121;
}
.tnl-required {
  color: #ff3b3b;
  margin-left: 4px;
}

/* --- 개인정보 동의 스크롤 박스 --- */
.tnl-policy-box {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.6;
  background-color: #fafafa;
  margin-bottom: 10px;
  color: #555;
}

/* --- 체크박스/라디오 라벨 (인라인) --- */
.tnl-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}
.tnl-check-label--body { color: #212121; }

/* --- 라디오/체크박스 그룹 (세로) --- */
.tnl-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- 전화번호 행 --- */
.tnl-phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tnl-phone-sep { color: #999; }
.tnl-phone-input { width: 100px; text-align: center; }

/* --- 전체 너비 인풋/텍스트에어리어 --- */
.tnl-input-full { width: 100%; }

/* --- 텍스트에어리어 --- */
.tnl-textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
}

/* --- 제출 버튼 행 --- */
.tnl-submit-row {
  text-align: center;
  margin-top: 40px;
}
.tnl-submit-btn {
  min-width: 200px;
  padding: 14px 40px;
  font-size: 16px;
}

/* --- 안내 테이블 --- */
.tnl-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.tnl-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}
.tnl-table .tnl-table-total {
  background-color: #fff2cc;
  font-weight: 700;
}

/* --- 안내 텍스트 유틸 --- */
.tnl-mt8  { margin-top: 8px; }
.tnl-mt16 { margin-top: 16px; }
.tnl-mt24 { margin-top: 24px; }
.tnl-mt32 { margin-top: 32px; }
.tnl-lh18 { line-height: 1.8; }
.tnl-text-red { color: #f70707; }
.tnl-text-16 { font-size: 16px; }

.tnl-guide-list {
  padding-left: 24px;
  margin-top: 8px;
  line-height: 1.8;
}

/* --- 구분선 --- */
.tnl-divider {
  margin: 32px 0;
  border-color: rgba(0,0,0,0.05);
  border-top-width: 3px;
}

/* --- index 페이지 전용 --- */
.tnl-icon-img {
  display: block;
  margin: 0 auto 20px;
}
.tnl-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.tnl-service-btn {
  padding: 14px 20px;
  font-size: 15px;
}
.tnl-cta-btn {
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 6px;
}
.tnl-dashed-hr {
  border: none;
  border-top: 1px dashed #ddd;
}

/* =============================================
   상품 상세
   ============================================= */
.shop-detail { background-color: #fff; min-height: 100vh; }
.shop-detail .container { padding-top: 40px; padding-bottom: 80px; }
.shop-breadcrumb { font-size: 14px; color: #999; margin-bottom: 30px; }
.shop-breadcrumb a { color: #999; }
.shop-main { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 60px; flex-wrap: wrap; }
.shop-main-col { flex: 1 1 300px; min-width: 0; }
.shop-main-col img { width: 100%; display: block; }
.shop-title { font-size: 20px; font-weight: 700; color: #212121; margin-bottom: 8px; line-height: 1.4; }
.shop-sale-badge { display: inline-block; background-color: #fe5356; color: #fff; font-size: 14px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
.shop-price { font-size: 24px; font-weight: 700; color: #212121; }
.shop-price-old { font-size: 14px; color: #999; text-decoration: line-through; margin-left: 8px; }
.shop-summary { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 20px; }
.shop-meta { border-top: 1px solid #e5e5e5; padding-top: 16px; margin-bottom: 20px; }
.shop-meta-row { display: flex; font-size: 14px; margin-bottom: 8px; }
.shop-meta-label { color: #999; width: 80px; flex-shrink: 0; }
.shop-meta-value { color: #212121; }
.shop-qty-wrap { border-top: 1px solid #e5e5e5; padding: 16px 0; margin-bottom: 16px; }
.shop-qty-box { display: flex; align-items: center; border: 1px solid #e5e5e5; }
.shop-qty-btn { width: 36px; height: 36px; border: none; background: none; cursor: pointer; font-size: 16px; }
.shop-qty-input { width: 40px; height: 36px; border: none; text-align: center; font-size: 14px; }
.shop-total-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.shop-total-label { font-size: 14px; color: #999; }
.shop-total-price { font-size: 20px; font-weight: 700; color: var(--color-primary); }
.shop-action-btn { background: none; border: 1px solid #e5e5e5; padding: 8px 16px; cursor: pointer; font-size: 14px; color: #757575; border-radius: 4px; }
.shop-tab-bar { display: flex; width: 100%; border-bottom: 2px solid #e5e5e5; }
.shop-tab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 0; border: none; background: none; cursor: pointer; font-size: 15px; font-weight: 600; color: #999; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.shop-tab-btn.active { color: #212121; border-bottom-color: var(--color-primary); }
.shop-tab-content, .shop-detail-content { padding: 40px 0; text-align: center; }
.shop-tab-content img, .shop-detail-content img { margin: 0 auto; display: block; }
.shop-line-total { font-size: 14px; color: #212121; }
.shop-buy-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.shop-buy-btns .btn { flex: 1; justify-content: center; text-align: center; }
.shop-price-wrap { margin-bottom: 16px; }
.shop-detail-section { background: var(--color-bg-alt); border-top: 1px solid var(--color-border-dark); border-bottom: 1px solid var(--color-border); padding: 14px 0; text-align: center; margin-bottom: 0; }
.shop-detail-section h3 { font-size: 15px; font-weight: 600; color: var(--color-text); margin: 0; }
.shop-tab-notice { max-width: 860px; margin: 40px auto 0; text-align: left; font-size: 14px; color: #555; line-height: 1.8; }

/* =============================================
   헤더
   ============================================= */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  position: sticky;
  top: 0;
}
.site-header .container { height: 70px; max-width: 100%; }
.topbar-wrap .container { max-width: 100%; }
.header-logo-link { flex-grow: 1; }
.header-logo-desktop { width: auto; height: 44px; }
.header-logo-mobile { width: auto; height: 32px; }

/* 데스크탑 네비게이션 */
.header-nav { display: flex; align-items: center; }
.header-nav a {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  padding: 0 17px;
  height: 70px;
  display: flex;
  align-items: center;
}

/* 헤더 버튼 그룹 */
.header-btn-group { display: flex; align-items: center; gap: 8px; }
.header-btn-group-m { display: flex; align-items: center; gap: 12px; }

/* 헤더 버튼 (공통) */
.header-btn {
  border-radius: 9999px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--color-text-white);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100px;
  border: 1px solid transparent;
}
.header-btn-primary { background-color: var(--color-primary); border-color: var(--color-primary); }
.header-btn-accent { background-color: var(--color-accent); border-color: var(--color-accent); }
.header-btn-dark { background-color: var(--color-dark); border-color: var(--color-dark); }

/* 모바일 헤더 버튼 */
.header-btn-m {
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--color-text-white);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* 햄버거 버튼 */
.header-hamburger {
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  margin-right: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

/* 모바일 메뉴 패널
   - position:fixed 로 viewport 기준 배치
   - top 값은 JS 에서 헤더 bottom 위치를 측정해 동적 설정
   - 콘텐츠 높이만큼만 표시, 본문 위에 떠 있도록 z-index/그림자 적용 */
.mobile-menu-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  border-top: 1px solid var(--color-border);
  background-color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .mobile-menu-panel { display: none !important; }
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  gap: 4px;
}
/* 직속 자식 a 만 메뉴 항목 스타일 적용 (.mobile-menu-btns 내부 버튼은 제외) */
.mobile-menu-nav > a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid #f2f2f2;
}
.mobile-menu-btns {
  display: flex;
  gap: 8px;
  padding: 24px 0;
}
.mobile-menu-btns a { flex: 1; text-align: center; font-size: 14px; }

/* =============================================
   반응형 표시/숨김
   ============================================= */
.desktop-only { display: none !important; }
.mobile-only { display: flex !important; }

@media (min-width: 768px) {
  .desktop-only { display: flex !important; }
  .desktop-only img, .desktop-only.header-logo { display: block !important; }
  .mobile-only { display: none !important; }
}

/* =============================================
   Flexbox/Grid 유틸리티 (Tailwind 대체)
   ============================================= */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.h-0\.5 { height: 0.125rem; }
.bg-\[\#212121\] { background-color: #212121; }
.p-2 { padding: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.text-center { text-align: center; }
.hidden { display: none; }

/* Tailwind transition helpers */
.transition-all { transition: all 0.15s ease; }
.rotate-45 { transform: rotate(45deg); }
.translate-y-2 { transform: translateY(0.5rem); }
.-rotate-45 { transform: rotate(-45deg); }
.-translate-y-2 { transform: translateY(-0.5rem); }
.opacity-0 { opacity: 0; }

/* Header hamburger */
.hamburger-line {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background-color: #212121;
  transition: all 0.15s ease;
}

/* =============================================
   상상공간소개 (#about) — 이유 카드 본문
   ============================================= */
.about-reason-body {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 24px;
}
@media (max-width: 768px) {
  .about-reason-body { font-size: 16px; line-height: 1.7; }
}

/* =============================================
   인라인 스타일 리팩토링 — 추출된 공통/섹션 클래스
   ============================================= */

/* --- 상상공간소개(#about) --- */
.about-section       { position: relative; background-color: var(--color-bg); padding: 150px 0; }
.about-section .container { max-width: 1200px; }
.about-header        { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.about-header-logo   { height: 48px; width: auto; }
.about-header-dot    { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #000; }
.about-header-text   { font-size: 16px; font-weight: 700; color: #0f172a; letter-spacing: 0.5px; line-height: 1.4; }
.about-title         { font-size: 38px; font-weight: 800; color: #000; line-height: 1.35; letter-spacing: -1px; margin: 0 0 80px; }
.about-reason-row    { display: flex; align-items: center; gap: 48px; margin-bottom: 96px; flex-wrap: wrap; }
.about-reason-row.is-reverse { flex-direction: row-reverse; }
.about-reason-col    { flex: 1 1 360px; min-width: 0; }
.about-reason-num    { font-size: 18px; color: #64748b; margin-bottom: 16px; }
.about-reason-title  { font-size: 30px; font-weight: 800; color: #2563eb; line-height: 1.4; margin: 0 0 24px; letter-spacing: -0.5px; }
.about-reason-cta    { display: inline-block; padding: 12px 28px; font-size: 15px; }
.about-reason-img    { display: block; width: 100%; height: auto; max-width: 520px; margin: 0 auto; border-radius: 10px; }
@media (max-width: 768px) {
  .about-title       { font-size: 28px; margin-bottom: 56px; }
  .about-reason-row, .about-reason-row.is-reverse { flex-direction: column !important; gap: 24px; margin-bottom: 64px; }
  .about-reason-title{ font-size: 24px; }
}

/* --- 공유오피스(#service) — 3컬럼 + 계약절차 --- */
.service-section-light { background-color: var(--color-bg); padding: 150px 0; }
.service-section-title { text-align: center; font-size: 32px; font-weight: 800; color: #000; letter-spacing: -1px; margin: 0 0 64px; }
.service-section-title .accent { color: #2563eb; }
.service-3col        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-3col-item   { text-align: center; }
.service-3col-title  { font-size: 20px; font-weight: 800; color: #000; margin: 0 0 20px; letter-spacing: -0.5px; }
.service-3col-body   { font-size: 16px; color: #475569; line-height: 1.8; margin: 0 0 24px; min-height: 96px; }
.service-3col-img    { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.contract-section    { position: relative; background-size: cover; background-position: 50% 50%; padding: 96px 0; }
.contract-section::before { content: ""; position: absolute; inset: 0; background-color: rgba(0,0,0,0.65); z-index: 0; }
.contract-inner      { position: relative; z-index: 1; }
.contract-title      { text-align: center; font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -1px; margin: 0 0 16px; }
.contract-sub        { text-align: center; font-size: 18px; color: #cbd5e1; margin: 0 0 56px; }
.contract-steps-img  { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; }
@media (max-width: 768px) {
  .service-3col      { grid-template-columns: 1fr; gap: 48px; }
  .service-section-title, .contract-title { font-size: 24px; }
}

/* --- 상상공간소개 하위 영상(#about-video) --- */
.about-video-section { position: relative; background-size: cover; background-position: 50% 50%; padding: 96px 0; }
.about-video-section::before { content: ""; position: absolute; inset: 0; background-color: rgba(0,0,0,0.55); z-index: 0; }
.about-video-inner   { position: relative; z-index: 1; max-width: 900px; }
.about-video-title   { text-align: center; color: #fff; font-size: 32px; font-weight: 800; line-height: 1.4; letter-spacing: -1px; margin: 0 0 20px; }
.about-video-sub     { text-align: center; color: #cbd5e1; font-size: 16px; line-height: 1.7; margin: 0 0 48px; }
.about-video-frame   { position: relative; padding-top: 56.25%; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.about-video-iframe  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* --- 지점안내 카드 그리드 --- */
.branch-cards-section { background-color: #f3f1f6; }
.branch-cards-wrap   { padding-top: 92px; padding-bottom: 150px; max-width: 1012px; margin: 0 auto; }
.branch-cards-grid   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; justify-content: center; }
.branch-card         { background-color: var(--color-bg); padding: 20px 24px 20px 28px; border-radius: 15px; position: relative; cursor: pointer; transition: box-shadow 0.2s, transform 0.15s; }
.branch-card-dot     { position: absolute; top: 24px; right: 28px; width: 14px; height: 14px; border-radius: 50%; }
.branch-card-name    { font-size: 20px; font-weight: 800; color: #333; margin: 0 0 10px; }
.branch-card-addr    { font-size: 16px; color: #666; margin: 0 0 6px; line-height: 1.5; }
.branch-card-station { font-size: 16px; font-weight: 700; margin: 0; }
.branch-card-station.alt { color: #29b6f6; }
.branch-card-station:not(.alt) { color: #e8453c; }

/* --- 푸터 --- */
.site-footer         { background-color: #000; color: #fff; padding: 48px 0; }
.site-footer .container { text-align: center; }
.footer-logo         { margin-bottom: 24px; }
.footer-logo img     { height: 56px; width: auto; margin: 0 auto; display: block; }
.footer-sns          { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.footer-info-strong  { font-weight: bold; font-size: 14px; color: #fff; margin-bottom: 8px; }
.footer-info         { font-size: 14px; color: #9c9c9c; font-weight: bold; margin-bottom: 4px; }
.footer-info.last    { margin-bottom: 16px; }
.footer-policy       { font-size: 14px; }
.footer-policy-btn   { background: none; border: none; color: #fff; font-weight: bold; cursor: pointer; font-size: 14px; padding: 0; }
.footer-policy-sep   { color: #fff; font-weight: bold; }

/* --- 푸터 약관/개인정보 모달 --- */
.policy-modal-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.6); align-items: center; justify-content: center; z-index: 9999; }
.policy-modal-box     { background-color: #fff; border-radius: 12px; width: 90%; max-width: 680px; max-height: 80vh; display: flex; flex-direction: column; }
.policy-modal-head    { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--color-border); }
.policy-modal-title-wrap { margin: 0; font-size: 20px; font-weight: 700; color: var(--color-text); display: flex; align-items: center; gap: 8px; }
.policy-modal-close   { background: none; border: none; font-size: 32px; cursor: pointer; color: #666; padding: 4px 12px; line-height: 1; }
.policy-modal-body    { padding: 24px; overflow-y: auto; font-size: 14px; line-height: 1.8; color: #333; white-space: pre-wrap; }

/* --- 카카오톡 전자계약 영상(레거시 가드) --- */
