/*
Theme Name: Glomax
Theme URI: https://suwhan-medical.com
Author: 수완메디칼
Description: 수완메디칼 병원 개원 컨설팅
Version: 3.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* ===== DESIGN SYSTEM (Haroop-inspired) ===== */
:root {
  --navy:       #0a0f1e;
  --blue:       #1a3dbb;
  --sky:        #3b6eff;
  --accent:     #3b6eff;
  --light:      #eef2ff;
  --dark-card:  #0d1628;
  --section-bg: #f5f7fa;
  --gray-1: #F8F9FA;
  --gray-2: #E9ECEF;
  --gray-3: #ADB5BD;
  --gray-4: #6C757D;
  --gray-5: #343A40;
  --white:  #FFFFFF;
  --black:  #0d0d0d;
}

html { scroll-behavior: smooth; }
body { font-family: 'Pretendard', -apple-system, sans-serif; color: var(--black); line-height: 1.6; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== HEADER / NAV ===== */
#site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 68px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
#site-header .container { width: 100%; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-logo { font-size: 20px; font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.site-logo span { color: var(--accent); }
#nav-links { display: flex; gap: 36px; list-style: none; }
#nav-links a { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.7); transition: color .2s; }
#nav-links a:hover, #nav-links a.active { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* ===== FOOTER ===== */
#site-footer { background: var(--navy); padding: 48px 0; color: rgba(255,255,255,0.45); font-size: 13px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-size: 18px; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.footer-logo span { color: var(--accent); }
.footer-info { line-height: 2; }
.footer-bottom { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ===== FLOATING BUTTON ===== */
#floating-wrap { position: fixed; bottom: 32px; right: 32px; z-index: 999; }
#floating-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(59,110,255,0.45);
  transition: all .3s; font-size: 12px; font-weight: 800; text-align: center; line-height: 1.3;
}
#floating-btn:hover { background: var(--blue); transform: scale(1.07); }
#floating-btn.hidden { opacity: 0; pointer-events: none; transform: scale(0.8); }
#floating-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 300px; background: var(--white); border-radius: 16px;
  box-shadow: 0 16px 48px rgba(10,15,30,0.25);
  border: 1px solid var(--gray-2);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all .3s;
}
#floating-panel.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.floating-panel-header {
  background: var(--navy); color: var(--white); padding: 16px 20px;
  border-radius: 16px 16px 0 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 800;
}
.floating-panel-close { color: rgba(255,255,255,0.55); font-size: 16px; }
.floating-panel-close:hover { color: var(--white); }
.floating-panel-body { padding: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-5); margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--gray-2);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus { outline: none; border-color: var(--accent); }
.floating-submit {
  width: 100%; padding: 12px; background: var(--accent); color: var(--white);
  border-radius: 8px; font-size: 14px; font-weight: 800; font-family: inherit;
}
.floating-submit:hover { opacity: 0.9; }

/* ===== SHARED COMPONENTS ===== */
.section-tag {
  display: inline-block; background: var(--light); color: var(--accent);
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 20px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--navy); letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2; }
.section-header h2 em { font-style: normal; color: var(--accent); }
.section-header p { font-size: 17px; color: var(--gray-4); }

/* 버튼 */
.btn-primary { background: var(--accent); color: var(--white); padding: 16px 36px; border-radius: 8px; font-size: 16px; font-weight: 800; display: inline-block; transition: all .2s; box-shadow: 0 4px 20px rgba(59,110,255,0.3); }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,110,255,0.4); }
.btn-outline { background: transparent; color: var(--white); padding: 16px 36px; border-radius: 8px; font-size: 16px; font-weight: 700; display: inline-block; border: 2px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: rgba(255,255,255,0.8); }
.btn-ghost { display: inline-block; color: var(--white); border: 2px solid rgba(255,255,255,0.3); padding: 14px 36px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-cta { display: inline-block; background: var(--white); color: var(--accent); padding: 18px 48px; border-radius: 8px; font-size: 17px; font-weight: 900; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.link-more { color: var(--accent); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* 서브페이지 히어로 */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #0d1a3a 60%, var(--blue) 100%); padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,110,255,0.12) 0%, transparent 70%); border-radius: 50%; }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.breadcrumb span { color: rgba(255,255,255,0.75); }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; color: var(--white); line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.65); line-height: 1.7; }

/* 공통 CTA 섹션 */
.cta { background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: rgba(255,255,255,0.07); border-radius: 50%; }
.cta::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 240px; height: 240px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.cta h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 900; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; position: relative; }
.cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 40px; position: relative; }
.cta-contacts { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; position: relative; }
.cta-contact-item { background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 16px 28px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cta-contact-item .contact-type { font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 600; }
.cta-contact-item .contact-value { font-size: 18px; color: var(--white); font-weight: 800; }

/* 필터 탭 */
.filter-tabs, .filter-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-tab { padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--gray-2); background: var(--white); color: var(--gray-4); cursor: pointer; transition: all .2s; }
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* 페이지네이션 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn { width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--gray-2); background: var(--white); font-size: 14px; font-weight: 700; color: var(--gray-4); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== HOME: HERO ===== */
.home-hero { background: linear-gradient(135deg, var(--navy) 0%, #0d1a3a 65%, var(--blue) 100%); padding: 100px 0 90px; position: relative; overflow: hidden; }
.home-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,110,255,0.15) 0%, transparent 70%); border-radius: 50%; }
.home-hero::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,110,255,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(59,110,255,0.15); border: 1px solid rgba(59,110,255,0.4); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 28px; }
.home-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 900; color: var(--white); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 24px; }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.home-hero p { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.7); max-width: 480px; margin-bottom: 44px; line-height: 1.75; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,0.07); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 32px 28px; }
.hero-card-title { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.hero-card-stat { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 16px; }
.hero-card-num { font-size: 28px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px; }
.hero-card-num span { font-size: 16px; color: var(--accent); }
.hero-card-label { font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 600; line-height: 1.4; }
.hero-card-cta { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-card-cta span { font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 600; }

/* ===== HOME: 지표 (countup) ===== */
.stats { background: var(--white); border-bottom: 1px solid var(--gray-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 52px 32px; text-align: center; border-right: 1px solid var(--gray-2); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: clamp(40px, 4.5vw, 60px); font-weight: 900; color: var(--navy); letter-spacing: -2px; line-height: 1; margin-bottom: 12px; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-suffix { color: var(--accent); font-size: 0.65em; }
.stat-label { font-size: 14px; color: var(--gray-4); font-weight: 600; line-height: 1.5; }

/* ===== HOME: 의사 고민 섹션 ===== */
.doctor-worry { background: var(--section-bg); overflow: hidden; }

/* 제목 영역 — 사진 위 */
.worry-header { text-align: center; padding: 72px 0 52px; }
.worry-header h2 { font-size: clamp(28px, 3.2vw, 50px); font-weight: 900; color: var(--navy); line-height: 1.25; letter-spacing: -1px; margin-bottom: 14px; word-break: keep-all; }
.worry-header h2 em { font-style: normal; color: var(--accent); }
.worry-sub { font-size: 18px; font-weight: 600; color: var(--gray-4); }
.worry-sub strong { color: var(--navy); }

/* 이미지 + 말풍선 영역 */
.worry-image-wrap {
  position: relative;
  overflow: visible;
}
.doctor-img-full {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* 말풍선 공통 */
.thought-bubble {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid var(--accent);
  border-radius: 33px;
  padding: 21px 39px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(59,110,255,0.22), 0 2px 8px rgba(0,0,0,0.10);
  z-index: 5;
  opacity: 0;
  transform: scale(0.7) translateY(12px);
  letter-spacing: -0.3px;
}
.thought-bubble::before {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
}
.thought-bubble::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
}

/* tb-1: 꼬리 오른쪽 방향 */
.tb-1::before {
  top: 50%; right: -14px; transform: translateY(-50%);
  border-width: 11px 0 11px 14px; border-color: transparent transparent transparent var(--accent);
}
.tb-1::after {
  top: 50%; right: -10px; transform: translateY(-50%);
  border-width: 8px 0 8px 11px; border-color: transparent transparent transparent #fff;
}
/* tb-2: 꼬리 왼쪽 방향 */
.tb-2::before {
  top: 50%; left: -14px; transform: translateY(-50%);
  border-width: 11px 14px 11px 0; border-color: transparent var(--accent) transparent transparent;
}
.tb-2::after {
  top: 50%; left: -10px; transform: translateY(-50%);
  border-width: 8px 11px 8px 0; border-color: transparent #fff transparent transparent;
}

/* 왼쪽 버블: 꼬리 오른쪽 방향 */
.tb-3::before, .tb-4::before {
  top: 50%; right: -14px; transform: translateY(-50%);
  border-width: 11px 0 11px 14px; border-color: transparent transparent transparent var(--accent);
}
.tb-3::after, .tb-4::after {
  top: 50%; right: -10px; transform: translateY(-50%);
  border-width: 8px 0 8px 11px; border-color: transparent transparent transparent #fff;
}

/* 오른쪽 버블: 꼬리 왼쪽 방향 */
.tb-5::before, .tb-6::before {
  top: 50%; left: -14px; transform: translateY(-50%);
  border-width: 11px 14px 11px 0; border-color: transparent var(--accent) transparent transparent;
}
.tb-5::after, .tb-6::after {
  top: 50%; left: -10px; transform: translateY(-50%);
  border-width: 8px 11px 8px 0; border-color: transparent #fff transparent transparent;
}

/* 버블 등장 애니메이션 */
#doctor-scene.in-view .thought-bubble {
  animation: bubbleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
#doctor-scene.in-view .tb-1 { animation-delay: 0.15s; }
#doctor-scene.in-view .tb-2 { animation-delay: 0.35s; }
#doctor-scene.in-view .tb-3 { animation-delay: 0.55s; }
#doctor-scene.in-view .tb-4 { animation-delay: 0.75s; }
#doctor-scene.in-view .tb-5 { animation-delay: 0.95s; }
#doctor-scene.in-view .tb-6 { animation-delay: 1.15s; }

@keyframes bubbleIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 말풍선 위치 — 의사 머리 주변 (+8% 오른쪽 이동, 3cm) */
.tb-1 { top: 7%;   left: 32%; }
.tb-2 { top: 6%;   left: 64%; }
.tb-3 { top: 30%;  left: 28%; }
.tb-4 { top: 50%;  left: 30%; }
.tb-5 { top: 28%;  left: 69%; }
.tb-6 { top: 48%;  left: 68%; }

/* ===== 파트너 모달 ===== */
.partner-card-modal { cursor: pointer; transition: transform .2s, box-shadow .2s; }
.partner-card-modal:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(59,110,255,0.15); }
.partner-card-modal .pcat-info::after {
  content: '자세히 보기 →';
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 5px;
  letter-spacing: 0.2px;
}

.partner-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.partner-modal.open { opacity: 1; pointer-events: all; }
.partner-modal-overlay { position: absolute; inset: 0; background: rgba(5,12,40,0.6); backdrop-filter: blur(4px); }
.partner-modal-box {
  position: relative; z-index: 1;
  background: #fff; border-radius: 24px;
  padding: 48px 44px 40px;
  width: 100%; max-width: 480px;
  box-shadow: 0 32px 80px rgba(5,12,40,0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform .25s cubic-bezier(0.34,1.56,0.64,1);
  text-align: center;
}
.partner-modal.open .partner-modal-box { transform: translateY(0) scale(1); }
.partner-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 20px;
  color: var(--gray-4); cursor: pointer; line-height: 1; padding: 4px 8px;
}
.partner-modal-close:hover { color: var(--navy); }
.pm-field-badge {
  display: inline-block; background: var(--section-bg);
  color: var(--accent); font-size: 13px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.pm-logo-wrap { margin-bottom: 16px; }
.pm-logo {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--accent); color: #fff;
  font-size: 18px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(59,110,255,0.25);
}
.pm-name { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 14px; }
.pm-desc { font-size: 15px; color: var(--gray-4); line-height: 1.7; margin-bottom: 28px; word-break: keep-all; }
.pm-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pm-pdf-btn {
  display: inline-block; background: #fff; color: var(--accent);
  border: 2px solid var(--accent);
  padding: 11px 28px; border-radius: 12px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background .2s, color .2s, transform .15s;
}
.pm-pdf-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.pm-pdf-btn.hidden { display: none; }
.pm-url-btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 32px; border-radius: 12px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background .2s, transform .15s;
}
.pm-url-btn:hover { background: var(--navy); transform: translateY(-1px); }
.pm-url-btn.hidden { display: none; }

/* ===== HOME: 서비스 ===== */
.home-services { padding: 100px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--section-bg); border-radius: 16px; padding: 36px 32px; border: 1.5px solid var(--gray-2); transition: all .25s; cursor: pointer; }
.service-card:hover { border-color: var(--accent); background: var(--light); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(59,110,255,0.12); }
.service-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.service-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray-4); line-height: 1.75; }

/* ===== HOME: 성공사례 (dark) ===== */
.home-cases { padding: 100px 0; background: var(--navy); }
.home-cases .section-header h2 { color: var(--white); }
.home-cases .section-header p { color: rgba(255,255,255,0.55); }
.home-cases .section-tag { background: rgba(59,110,255,0.15); color: var(--accent); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.case-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 0; overflow: hidden; transition: all .25s; }
.case-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
.case-card-img { width: 100%; height: 180px; background-size: cover; background-position: center; }
.case-card > .case-tag { display: inline-block; margin: 20px 0 8px 24px; }
.case-card h3 { font-size: 20px; font-weight: 800; color: var(--white); margin: 0 24px 16px; }
.case-card .case-metrics { margin: 0 24px 20px; }
.case-card .case-result { margin: 0 24px 24px; }
.case-tag { display: inline-block; background: rgba(59,110,255,0.2); color: var(--accent); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.case-metrics { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.metric { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.metric-label { font-size: 13px; color: rgba(255,255,255,0.45); }
.metric-value { font-size: 15px; font-weight: 800; color: var(--accent); }
.case-result { background: rgba(59,110,255,0.1); border-radius: 8px; padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--accent); text-align: center; }
.cases-cta { text-align: center; }

/* ===== HOME: 입지분석 ===== */
.location-analysis { padding: 100px 0; background: var(--white); }
.location-map-container {
  position: relative; margin-bottom: 56px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(10,15,30,0.15);
}
#naver-map { width: 100%; height: 500px; }
.map-legend {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.96); border-radius: 10px;
  padding: 12px 16px; display: flex; gap: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--gray-5); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.red   { background: #e53e3e; }
.legend-dot.blue  { background: var(--accent); }
.legend-dot.green { background: #38a169; }
.location-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.loc-feature { background: var(--section-bg); border-radius: 16px; padding: 32px 24px; text-align: center; transition: all .25s; }
.loc-feature:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(59,110,255,0.1); }
.loc-icon { font-size: 36px; margin-bottom: 16px; }
.loc-feature h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.loc-feature p { font-size: 14px; color: var(--gray-4); line-height: 1.65; }

/* ===== HOME: 상권분석 ===== */
.market-analysis { padding: 100px 0; background: var(--section-bg); }
.market-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: center; }
.market-text h2 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 900; color: var(--navy); line-height: 1.2; letter-spacing: -1px; margin-bottom: 20px; word-break: keep-all; }
.market-text h2 em { font-style: normal; color: var(--accent); }
.market-text p { font-size: 16px; color: var(--gray-4); line-height: 1.85; margin-bottom: 28px; }
.market-checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.market-checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--gray-5); font-weight: 600; }
.check-mark { color: var(--accent); font-weight: 900; font-size: 17px; flex-shrink: 0; }
/* ===== 상권분석 리포트 UI ===== */
.market-img { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .4s ease; }
.market-img:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.market-analysis-img { width: 100%; border-radius: 16px; display: block; box-shadow: 0 32px 80px rgba(10,15,30,0.28); }

/* 리포트 슬라이더 */
.report-slider { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 32px 80px rgba(10,15,30,0.25); }
.report-slides { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.report-slide { min-width: 100%; }
.report-slide img { width: 100%; display: block; }
.rs-prev, .rs-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,15,30,0.55); color: #fff; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 10;
}
.rs-prev:hover, .rs-next:hover { background: var(--accent); }
.rs-prev { left: 12px; }
.rs-next { right: 12px; }
.rs-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 10; }
.rs-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: all .25s; }
.rs-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* 헤더 */
.mru-header { background: #0a1628; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mru-header-left { display: flex; align-items: center; gap: 10px; }
.mru-logo-badge { font-size: 18px; }
.mru-title { font-size: 12px; font-weight: 800; color: #fff; line-height: 1.3; }
.mru-subtitle { font-size: 9px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.mru-header-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mru-date { font-size: 9px; color: rgba(255,255,255,0.55); }
.mru-region-tag { background: rgba(59,110,255,0.25); border: 1px solid rgba(59,110,255,0.5); color: #7ba4ff; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }

/* 바디 레이아웃 */
.mru-body { display: grid; grid-template-columns: 100px 1fr 145px; min-height: 400px; }

/* 사이드바 */
.mru-sidebar { background: #0d1c35; padding: 10px 0; display: flex; flex-direction: column; }
.mru-nav { padding: 7px 10px; font-size: 9px; color: rgba(255,255,255,0.5); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mru-nav.active { background: rgba(59,110,255,0.2); color: #7ba4ff; font-weight: 700; border-left: 2px solid #3b6eff; }
.mru-consultant { margin-top: auto; padding: 10px; border-top: 1px solid rgba(255,255,255,0.08); }
.mru-con-label { font-size: 8px; color: rgba(255,255,255,0.35); margin-bottom: 3px; }
.mru-con-name { font-size: 9px; color: rgba(255,255,255,0.7); font-weight: 700; margin-bottom: 2px; }
.mru-con-contact { font-size: 8px; color: rgba(255,255,255,0.4); }

/* 메인 */
.mru-main { padding: 10px; display: flex; flex-direction: column; gap: 8px; background: #f5f7fa; }

/* KPI */
.mru-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.mru-kpi { background: #fff; border-radius: 8px; padding: 8px; border: 1px solid #e4e9f5; }
.mru-kpi-icon { font-size: 14px; margin-bottom: 3px; }
.mru-kpi-val { font-size: 15px; font-weight: 900; color: #0a1628; line-height: 1.2; }
.mru-kpi-label { font-size: 8px; color: #888; margin: 2px 0; }
.mru-kpi-change { font-size: 8px; color: #3b6eff; font-weight: 700; }
.mru-kpi-change.up { color: #16a34a; }
.mru-red { color: #dc2626 !important; }

/* 지도 */
.mru-map-area { background: #fff; border-radius: 8px; border: 1px solid #e4e9f5; padding: 8px; flex: 1; }
.mru-map-tag { display: inline-block; background: #3b6eff; color: #fff; font-size: 8px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; }
.mru-map { position: relative; height: 130px; background: #e8f0fe; border-radius: 6px; overflow: hidden; }
.mru-heatmap-ring { position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.mru-heatmap-ring.r1 { width: 80px; height: 80px; background: radial-gradient(circle, rgba(255,80,0,0.35) 0%, transparent 70%); }
.mru-heatmap-ring.r2 { width: 140px; height: 140px; background: radial-gradient(circle, rgba(255,180,0,0.25) 0%, transparent 70%); }
.mru-heatmap-ring.r3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(59,110,255,0.15) 0%, transparent 70%); }
.mru-heatmap-center { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(255,40,0,0.55) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.mru-marker { position: absolute; font-size: 8px; font-weight: 700; background: rgba(255,255,255,0.92); padding: 2px 5px; border-radius: 4px; white-space: nowrap; }
.mru-marker.star { top: 42%; left: 42%; background: #3b6eff; color: #fff; }
.mru-marker.m-a { top: 10%; left: 15%; }
.mru-marker.m-b { top: 10%; right: 12%; }
.mru-marker.m-c { bottom: 12%; left: 18%; }
.mru-station { position: absolute; font-size: 7px; color: #0a1628; font-weight: 700; background: rgba(255,255,255,0.7); padding: 1px 4px; border-radius: 3px; }
.mru-station.s1 { bottom: 30%; left: 44%; }
.mru-station.s2 { top: 20%; left: 52%; }

/* 차트 */
.mru-chart-area { background: #fff; border-radius: 8px; border: 1px solid #e4e9f5; padding: 8px; }
.mru-chart-title { font-size: 9px; font-weight: 700; color: #0a1628; margin-bottom: 6px; }
.mru-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.mru-bar { flex: 1; background: #bfcfff; border-radius: 3px 3px 0 0; display: flex; align-items: flex-end; justify-content: center; transition: background .2s; }
.mru-bar.peak { background: #3b6eff; }
.mru-bar span { font-size: 7px; color: #888; display: block; margin-top: 3px; transform: translateY(100%); }

/* 우측 패널 */
.mru-right { background: #fff; border-left: 1px solid #e4e9f5; padding: 10px 8px; display: flex; flex-direction: column; gap: 10px; }
.mru-score-title { font-size: 9px; font-weight: 700; color: #0a1628; margin-bottom: 6px; }
.mru-score-title span { color: #888; font-weight: 400; display: block; font-size: 8px; }
.mru-score-circle { position: relative; width: 70px; height: 70px; margin: 0 auto 8px; }
.mru-score-circle svg { width: 100%; height: 100%; }
.mru-score-num { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 18px; font-weight: 900; color: #0a1628; line-height: 1; text-align: center; }
.mru-score-num span { font-size: 9px; color: #888; display: block; }
.mru-score-items { display: flex; flex-direction: column; gap: 5px; }
.mru-si { display: flex; align-items: center; gap: 4px; }
.mru-si span { font-size: 8px; color: #555; width: 38px; flex-shrink: 0; }
.mru-si-bar { height: 5px; background: #3b6eff; border-radius: 3px; flex: 1; max-width: 50px; }
.mru-si b { font-size: 8px; color: #0a1628; }
.mru-comment-box { border-top: 1px solid #e4e9f5; padding-top: 8px; }
.mru-comment-title { font-size: 9px; font-weight: 700; color: #0a1628; margin-bottom: 5px; }
.mru-comment-item { font-size: 8px; color: #444; margin-bottom: 3px; line-height: 1.4; }

/* ===== HOME: 프로세스 ===== */
.home-process { padding: 100px 0; background: var(--light); }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; margin-top: 60px; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: calc(100%/12); right: calc(100%/12); height: 2px; background: var(--gray-2); z-index: 0; }
.step { text-align: center; padding: 0 8px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--gray-2); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; color: var(--gray-3); margin: 0 auto 16px; }
.step.active .step-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-desc { font-size: 12px; color: var(--gray-4); line-height: 1.5; }
.step-week { display: inline-block; background: var(--accent); color: var(--white); padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; margin-bottom: 10px; }

/* ===== HOME: 파트너 (7 categories) ===== */
.home-partners { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.home-partners::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(59,110,255,0.06) 0%, transparent 65%); pointer-events: none; }
.home-partners .section-header { margin-bottom: 56px; }
.home-partners .section-header h2 { color: var(--white); }
.home-partners .section-header p { color: rgba(255,255,255,0.5); }
.home-partners .section-tag { background: rgba(59,110,255,0.15); color: var(--accent); border: 1px solid rgba(59,110,255,0.3); }

.partner-grid-full { display: flex; flex-direction: column; gap: 36px; position: relative; z-index: 1; }
.partner-category {}
.pcat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pcat-icon { font-size: 18px; }
.pcat-name { font-size: 14px; font-weight: 800; color: rgba(255,255,255,0.85); letter-spacing: 0.3px; text-transform: uppercase; }
.pcat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; transition: all .2s; min-width: 0; }
.pcat-card:hover { background: rgba(59,110,255,0.12); border-color: rgba(59,110,255,0.4); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.pcat-logo { width: 44px; height: 44px; background: rgba(59,110,255,0.18); border: 1.5px solid rgba(59,110,255,0.35); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--accent); flex-shrink: 0; letter-spacing: -0.3px; }
.pcat-card-name { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 3px; line-height: 1.3; }
.pcat-card-desc { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.4; }

/* ===== 파트너 허브 (비활성 - 코드 유지) ===== */
.home-hub { display: none; }
.partner-logo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.partner-logo-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; display:flex; flex-direction: column; align-items:center; justify-content:center; gap: 14px; min-height: 100px; transition: all .3s ease; }
.partner-logo-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(59,110,255,0.5); }
.partner-logo-wrap { width:100%; display:flex; align-items:center; justify-content:center; }
.partner-logo-wrap img { width:100%; height:auto; border-radius:10px; opacity:.9; }
.partner-dl-btn { display: block; width: 100%; text-align: center; padding: 9px 0; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--accent); border: 1.5px solid rgba(59,110,255,0.4); background: rgba(59,110,255,0.07); transition: all 0.2s ease; }
.partner-dl-btn:hover { background: rgba(59,110,255,0.18); border-color: var(--accent); color: #fff; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner-item { background: var(--gray-1); border: 1.5px solid var(--gray-2); border-radius: 12px; padding: 24px 16px; text-align: center; transition: all .2s; }
.partner-item:hover { border-color: var(--accent); background: var(--light); }
.partner-icon { font-size: 28px; margin-bottom: 10px; }
.partner-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.partner-cat { font-size: 11px; color: var(--gray-3); font-weight: 600; }

/* ===== ABOUT: 대표 소개 ===== */
.founder { padding: 100px 0; background: var(--white); overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: flex-start; }
.founder-tag { display: inline-block; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; margin-bottom: 24px; }
.founder-headline { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.05; letter-spacing: -2px; color: var(--navy); margin-bottom: 8px; }
.founder-headline .hl-accent { color: var(--accent); }
.founder-headline .hl-outline { -webkit-text-stroke: 2px var(--navy); color: transparent; }
.founder-ceo-line { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; margin-top: 4px; }
.founder-ceo-line .ceo-label { font-size: 13px; font-weight: 700; color: var(--gray-3); letter-spacing: 2px; text-transform: uppercase; }
.founder-ceo-line .ceo-divider { flex: 1; height: 1px; background: var(--gray-2); }
.founder-ceo-line .ceo-name { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -0.5px; }
.founder-content p { font-size: 16px; color: var(--gray-4); line-height: 1.85; margin-bottom: 16px; }
.founder-quote { background: var(--section-bg); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 28px 0; font-size: 15px; font-style: italic; color: var(--gray-5); line-height: 1.7; }
.founder-career { display: flex; flex-direction: column; gap: 0; }
.career-item { display: flex; gap: 20px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--gray-2); }
.career-item:last-child { border-bottom: none; }
.career-year { min-width: 56px; font-size: 13px; font-weight: 800; color: var(--accent); padding-top: 2px; }
.career-desc { font-size: 14px; color: var(--gray-5); line-height: 1.6; }

.founder-history { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; align-items: stretch; }
.founder-history-career { background: var(--white); border: 1px solid var(--gray-2); border-radius: 20px; padding: 32px; box-shadow: 0 4px 20px rgba(10,15,30,0.05); display: flex; flex-direction: column; }
.founder-history-career-label { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.founder-award-card { background: linear-gradient(160deg, #0d1628 0%, var(--blue) 100%); border-radius: 20px; padding: 32px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.founder-award-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(59,110,255,0.25) 0%, transparent 70%); border-radius: 50%; }
.founder-award-label { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; position: relative; z-index: 1; }
.founder-award-title { font-size: 19px; font-weight: 900; color: #fff; letter-spacing: -0.5px; margin-bottom: 20px; position: relative; z-index: 1; }
.founder-award-img-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.35); position: relative; z-index: 1; flex: 1; display: flex; }
.founder-award-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.founder-photo-wrap { position: relative; }
.founder-photo { background: linear-gradient(160deg, #0d1628 0%, var(--blue) 100%); border-radius: 20px; height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; position: relative; overflow: hidden; }
.founder-photo::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(59,110,255,0.2) 0%, transparent 70%); border-radius: 50%; }
.photo-placeholder-icon { font-size: 72px; opacity: 0.18; position: relative; z-index: 1; }
.photo-placeholder-text { font-size: 13px; color: rgba(255,255,255,0.25); position: relative; z-index: 1; }
.photo-namecard { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(5,10,25,0.94) 40%); padding: 48px 28px 28px; z-index: 2; }
.photo-position { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.photo-name-kr { font-size: 28px; font-weight: 900; color: var(--white); letter-spacing: 4px; margin-bottom: 4px; }
.photo-name-en { font-size: 15px; color: rgba(255,255,255,0.4); font-style: italic; font-weight: 400; letter-spacing: 1px; }

/* ===== ABOUT: 설립 스토리 ===== */
.story { padding: 100px 0; background: var(--section-bg); }
.story-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.story-step { background: var(--white); border-radius: 16px; padding: 40px 32px; border: 1.5px solid var(--gray-2); }
.story-step-num { width: 48px; height: 48px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 24px; }
.story-step h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.story-step p { font-size: 14px; color: var(--gray-4); line-height: 1.75; }

/* ===== ABOUT: CEO 스토리 ===== */
.story-narrative { display: flex; flex-direction: column; gap: 48px; max-width: 800px; margin: 0 auto 80px; }
.story-block { display: flex; gap: 28px; align-items: flex-start; }
.story-icon { font-size: 36px; flex-shrink: 0; width: 64px; height: 64px; background: var(--navy); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.story-text h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.story-text p { font-size: 15px; color: var(--gray-4); line-height: 1.85; margin-bottom: 12px; }
.story-text em { font-style: italic; color: var(--accent); font-weight: 600; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 0; }
.philosophy-card { background: var(--white); border: 2px solid var(--navy); border-radius: 20px; padding: 36px 28px; position: relative; }
.phil-num { font-size: 48px; font-weight: 900; color: var(--gray-2); line-height: 1; margin-bottom: 16px; font-family: 'Georgia', serif; }
.philosophy-card h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.philosophy-card p { font-size: 14px; color: var(--gray-4); line-height: 1.75; }

/* ===== ABOUT: 핵심 가치 ===== */
.values { padding: 100px 0; background: var(--navy); }
.values .section-header h2 { color: var(--white); }
.values .section-header p { color: rgba(255,255,255,0.55); }
.values .section-tag { background: rgba(59,110,255,0.15); color: var(--accent); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 44px 36px; text-align: center; transition: all .25s; }
.value-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.value-icon { font-size: 48px; margin-bottom: 20px; }
.value-card h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.value-card p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ===== ABOUT: 파트너 (4열) ===== */
.about-partners { padding: 80px 0; background: var(--white); border-top: 1px solid var(--gray-2); }
.partner-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ===== SERVICE: 개요 ===== */
.svc-overview { padding: 80px 0; background: var(--light); }
.overview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.svc-overview h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: var(--navy); line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 20px; }
.svc-overview p { font-size: 16px; color: var(--gray-4); line-height: 1.85; margin-bottom: 16px; }
.overview-points { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.overview-point { display: flex; gap: 16px; align-items: flex-start; }
.point-icon { width: 40px; height: 40px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.point-text h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.point-text p { font-size: 14px; color: var(--gray-4); line-height: 1.6; }
.overview-visual { background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 20px; height: 400px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: rgba(255,255,255,0.3); font-size: 14px; }
.overview-visual .v-icon { font-size: 64px; opacity: 0.3; }

/* ===== SERVICE: 11개 서비스 ===== */
.services-detail { padding: 100px 0; background: var(--white); }
.services-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { background: var(--section-bg); border-radius: 16px; padding: 36px 28px; border: 1.5px solid var(--gray-2); transition: all .25s; }
.svc-card:hover { border-color: var(--accent); background: var(--light); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(59,110,255,0.1); }
.svc-num { font-size: 12px; font-weight: 700; color: var(--gray-3); letter-spacing: 1px; margin-bottom: 12px; }
.svc-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.svc-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--gray-4); line-height: 1.7; margin-bottom: 16px; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-tag { background: var(--light); color: var(--accent); padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }

/* ===== SERVICE: 프로세스 타임라인 ===== */
.svc-process { padding: 100px 0; background: var(--light); }
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 60px; }
.process-timeline::before { content: ''; position: absolute; top: 28px; left: calc(100%/8); right: calc(100%/8); height: 2px; background: var(--gray-2); z-index: 0; }
.timeline-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.t-num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--gray-2); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: var(--gray-3); margin: 0 auto 16px; }
.timeline-step.active .t-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.t-week { display: inline-block; background: var(--accent); color: var(--white); padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.t-title { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.t-desc { font-size: 12px; color: var(--gray-4); line-height: 1.5; }
.t-items { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.t-item { font-size: 11px; color: var(--gray-3); background: var(--white); padding: 3px 8px; border-radius: 4px; }
.process-note { text-align: center; margin-top: 48px; font-size: 15px; color: var(--gray-4); }
.process-note strong { color: var(--navy); }

/* ===== SERVICE: FAQ ===== */
.faq { padding: 100px 0; background: var(--white); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1.5px solid var(--gray-2); border-radius: 12px; overflow: hidden; }
.faq-q { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--navy); background: var(--white); transition: background .2s; }
.faq-q:hover { background: var(--section-bg); }
.faq-q .arrow { font-size: 18px; color: var(--gray-3); transition: transform .3s; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 15px; color: var(--gray-4); line-height: 1.75; background: var(--section-bg); }
.faq-item.open .faq-a { display: block; }

/* ===== CASES: 지표 바 ===== */
.metrics-bar { background: var(--white); border-bottom: 1px solid var(--gray-2); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric-item { padding: 40px 24px; text-align: center; border-right: 1px solid var(--gray-2); }
.metric-item:last-child { border-right: none; }
.metric-num { font-size: clamp(32px, 3.5vw, 48px); font-weight: 900; color: var(--navy); letter-spacing: -1px; line-height: 1; margin-bottom: 8px; }
.metric-num span { color: var(--accent); }
.metric-label { font-size: 13px; color: var(--gray-4); font-weight: 600; line-height: 1.4; }

/* ===== CASES: 피처드 ===== */
.featured { padding: 100px 0; background: var(--navy); }
.featured .section-header h2 { color: var(--white); }
.featured .section-header p { color: rgba(255,255,255,0.55); }
.featured .section-tag { background: rgba(59,110,255,0.15); color: var(--accent); }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.featured-left { background: rgba(255,255,255,0.05); padding: 52px 48px; }
.badge { padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.badge-type { background: rgba(59,110,255,0.2); color: var(--accent); }
.badge-region { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.f-badge { display: inline-flex; gap: 8px; margin-bottom: 20px; }
.featured-left h3 { font-size: 32px; font-weight: 900; color: var(--white); margin-bottom: 12px; letter-spacing: -0.5px; }
.featured-left .f-sub { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 32px; }
.f-quote { border-left: 3px solid var(--accent); padding: 16px 20px; margin-bottom: 32px; }
.f-quote p { font-size: 15px; font-style: italic; color: rgba(255,255,255,0.7); line-height: 1.7; }
.featured-right { background: rgba(255,255,255,0.03); padding: 52px 48px; border-left: 1px solid rgba(255,255,255,0.07); }
.f-metrics { display: flex; flex-direction: column; gap: 0; }
.f-metric { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.f-metric:last-child { border-bottom: none; }
.f-label { font-size: 14px; color: rgba(255,255,255,0.45); }
.f-value { font-size: 20px; font-weight: 900; color: var(--accent); }
.f-result { background: rgba(59,110,255,0.12); border: 1px solid rgba(59,110,255,0.3); border-radius: 12px; padding: 20px 24px; margin-top: 28px; text-align: center; }
.f-result-num { font-size: 36px; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.f-result-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ===== CASES: 케이스 카드 ===== */
.cases-section { padding: 80px 0 100px; background: var(--section-bg); }
.case-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.case-card-new { background: var(--white); border-radius: 20px; overflow: hidden; border: 1.5px solid var(--gray-2); transition: all .25s; }
.case-card-new:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(10,15,30,0.12); border-color: var(--accent); }
.case-card-top { background: linear-gradient(135deg, var(--navy), var(--blue)); padding: 28px; position: relative; overflow: hidden; }
.case-card-top::after { content: ''; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.case-card-top h3 { font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 4px; }
.case-card-top .case-sub { font-size: 13px; color: rgba(255,255,255,0.55); }
.case-card-body { padding: 24px; }
.c-metric { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-2); }
.c-metric:last-child { border-bottom: none; }
.c-label { font-size: 13px; color: var(--gray-4); font-weight: 500; }
.c-value { font-size: 15px; font-weight: 800; color: var(--navy); }
.c-value.highlight { color: var(--accent); }
.case-result-box { background: var(--light); border-radius: 10px; padding: 14px 16px; text-align: center; font-size: 14px; font-weight: 800; color: var(--accent); margin: 16px 0; }
.case-card-link { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 700; }

/* ===== COLUMN ===== */
.featured-article { padding: 80px 0; background: var(--white); }
.featured-article-inner { display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center; }
.featured-thumb { background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 20px; height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,0.3); font-size: 14px; position: relative; overflow: hidden; }
.featured-thumb .thumb-icon { font-size: 64px; opacity: 0.25; }
.featured-label { position: absolute; top: 20px; left: 20px; background: var(--accent); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.f-cats { display: flex; gap: 8px; margin-bottom: 16px; }
.f-cat { padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; background: var(--light); color: var(--accent); }
.f-cat.main { background: var(--navy); color: var(--white); }
.featured-content h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 900; color: var(--navy); line-height: 1.35; letter-spacing: -0.5px; margin-bottom: 16px; }
.featured-content .f-excerpt { font-size: 16px; color: var(--gray-4); line-height: 1.8; margin-bottom: 24px; }
.f-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.f-author { display: flex; align-items: center; gap: 10px; }
.f-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.f-author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.f-date { font-size: 13px; color: var(--gray-3); }
.f-divider { width: 1px; height: 20px; background: var(--gray-2); }
.f-read-time { font-size: 13px; color: var(--gray-3); }
.btn-read { display: inline-block; background: var(--navy); color: var(--white); padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.btn-read:hover { opacity: 0.85; }
.column-list { padding: 80px 0 100px; background: var(--section-bg); }
.column-main { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: flex-start; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.article-card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1.5px solid var(--gray-2); transition: all .25s; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(10,15,30,0.1); border-color: var(--accent); }
.article-thumb { height: 180px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 40px; opacity: 0.6; position: relative; }
.article-thumb.v2 { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.article-thumb.v3 { background: linear-gradient(135deg, var(--dark-card), #1a6dff); }
.article-thumb.v4 { background: linear-gradient(135deg, #0d1a3a, var(--sky)); }
.article-thumb.v5 { background: linear-gradient(135deg, #1a6dff, var(--blue)); }
.article-thumb.v6 { background: linear-gradient(135deg, var(--dark-card), var(--sky)); }
.a-cat-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.95); color: var(--navy); padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 800; }
.article-body { padding: 24px; }
.article-body h3 { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.45; margin-bottom: 10px; }
.article-body p { font-size: 14px; color: var(--gray-4); line-height: 1.7; margin-bottom: 16px; }
.a-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--gray-2); }
.a-date { font-size: 12px; color: var(--gray-3); }
.a-tags { display: flex; gap: 6px; }
.a-tag { font-size: 11px; background: var(--light); color: var(--accent); padding: 2px 8px; border-radius: 50px; font-weight: 700; }
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-box { background: var(--white); border-radius: 16px; padding: 28px; border: 1.5px solid var(--gray-2); }
.sidebar-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-2); }
.popular-list { display: flex; flex-direction: column; gap: 0; }
.popular-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--gray-2); cursor: pointer; }
.popular-item:last-child { border-bottom: none; }
.popular-num { font-size: 20px; font-weight: 900; color: var(--gray-2); min-width: 24px; line-height: 1.3; }
.popular-item:nth-child(1) .popular-num { color: var(--accent); }
.popular-item:nth-child(2) .popular-num { color: var(--navy); }
.popular-item:nth-child(3) .popular-num { color: var(--blue); }
.popular-text { font-size: 14px; font-weight: 600; color: var(--gray-5); line-height: 1.5; }
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: background .2s; text-decoration: none; }
.cat-item:hover { background: var(--light); }
.cat-name { font-size: 14px; font-weight: 600; color: var(--gray-5); }
.cat-count { font-size: 12px; color: var(--gray-3); background: var(--section-bg); padding: 2px 8px; border-radius: 50px; font-weight: 700; }
.newsletter-box { background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 16px; padding: 28px; text-align: center; }
.newsletter-box h4 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.newsletter-box p { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 20px; line-height: 1.6; }
.newsletter-input { width: 100%; padding: 12px 14px; border-radius: 8px; border: none; font-size: 14px; margin-bottom: 10px; font-family: inherit; }
.newsletter-btn { width: 100%; padding: 12px; background: var(--accent); color: var(--white); border: none; border-radius: 8px; font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit; }

/* ===== SERVICE: HERO 지표 ===== */
.hero-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 32px; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ===== UTILITIES ===== */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: flex-start; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .featured-article-inner { grid-template-columns: 1fr; }
  .featured-thumb { height: 280px; }
  .column-main { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .newsletter-box { grid-column: 1 / -1; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .case-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
  .overview-inner { grid-template-columns: 1fr; gap: 40px; }
  .overview-visual { height: 240px; }
  .founder-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .founder-photo { height: 420px; }
  .location-features { grid-template-columns: repeat(2, 1fr); }
  .worry-inner { grid-template-columns: 1fr; gap: 48px; }
  .market-inner { grid-template-columns: 1fr; gap: 48px; }
  .market-analysis-img { border-radius: 12px; }
}

@media (max-width: 768px) {
  #site-header { top: 0; }
  #nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 99; padding: 0; }
  #nav-links.open { display: flex; }
  #nav-links li { margin: 0; }
  #nav-links li a { display: block; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 16px; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 36px 16px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--gray-2); border-right: 1px solid var(--gray-2); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--gray-2); }
  .services-grid { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-cards-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-contacts { flex-direction: column; align-items: center; }
  .cta-contact-item { width: 100%; max-width: 320px; }
  .footer-top { flex-direction: column; gap: 24px; }
  #floating-wrap { bottom: 20px; right: 16px; }
  .home-hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }
  .hero-btns { flex-direction: column; }
  .founder-grid { grid-template-columns: 1fr; gap: 0; }
  .founder-photo-wrap { order: -1; }
  .founder-photo { height: 340px; border-radius: 16px 16px 0 0; }
  .founder-content { padding: 32px 0 0; }
  .founder-history { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 16px; }
  .story-steps { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(3) { border-top: 1px solid var(--gray-2); border-right: 1px solid var(--gray-2); }
  .metric-item:nth-child(4) { border-top: 1px solid var(--gray-2); }
  .featured-left, .featured-right { padding: 36px 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .process-timeline { grid-template-columns: 1fr; }
  .location-features { grid-template-columns: 1fr; }
  #naver-map { height: 360px; }
  .map-legend { gap: 12px; flex-wrap: wrap; }
  .pcat-cards { grid-template-columns: 1fr; gap: 10px; }
  .pcat-card { min-width: 0; width: 100%; }
  .worry-header { padding: 48px 0 36px; }
  .doctor-img-full { max-height: 400px; }
  .thought-bubble { font-size: 13px; padding: 10px 16px; }
  .tb-1 { top: 8%;  left: 2%; }
  .tb-2 { top: 6%;  right: 2%; }
  .tb-3 { top: 38%; left: 1%; }
  .tb-4 { top: 62%; left: 2%; }
  .tb-5 { top: 36%; right: 1%; }
  .tb-6 { top: 60%; right: 2%; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: 32px; }
  .step-num { width: 44px; height: 44px; font-size: 16px; margin-bottom: 10px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .market-inner { gap: 32px; }
  .market-checklist li { font-size: 14px; }
}
