/* ==========================================================================
   LOCAL PRO MASTER SOLUTION - DESIGN SYSTEM v8.0
   - 폰트: Pretendard는 HTML <link>로, SUIT/고운바탕은 선택 시에만 JS가 불러옴
     (CSS @import 제거 → 첫 화면 렌더링 지연 감소)
   - 아이콘: 인라인 SVG (Lucide, ISC)
   ========================================================================== */

/* Gmarket Sans / S-Core Dream: @font-face는 실제 사용될 때만 다운로드됨 */
/* 4. Gmarket Sans (Commercial Free) */
@font-face {
  font-family: 'GmarketSans';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* 5. S-Core Dream (Commercial Free) */
@font-face {
  font-family: 'SCoreDream';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SCoreDream';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-rgb: 37, 99, 235;
  --proto-h: 0px;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #526077;
  --border-color: #e2e8f0;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 34px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-heading: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}

/* Font Presets */
[data-font="pretendard"] {
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-heading: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}
[data-font="gmarket"] {
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-heading: 'GmarketSans', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
}
[data-font="scoredream"] {
  --font-main: 'SCoreDream', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
  --font-heading: 'SCoreDream', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
}
[data-font="suit"] {
  --font-main: 'SUIT Variable', 'Malgun Gothic', sans-serif;
  --font-heading: 'SUIT Variable', 'Malgun Gothic', sans-serif;
}
[data-font="gowun"] {
  --font-main: 'Pretendard Variable', 'Malgun Gothic', sans-serif;
  --font-heading: 'Gowun Batang', serif;
}

/* Anti-Clone Corner Shape Styles (Scoped to Public Site only) */
[data-shape="rounded"] #public-site-root {
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
}
[data-shape="sharp"] #public-site-root {
  --radius-xl: 6px;
  --radius-lg: 4px;
  --radius-md: 4px;
}
[data-shape="soft-pill"] #public-site-root {
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 20px;
}

/* Layout Theme Overrides */
[data-layout="impact-dark"] {
  --bg-main: #070b14;
  --bg-card: #111827;
  --bg-elevated: #1e293b;
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1f2937;
  --shadow-md: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
}

[data-layout="editorial-warm"] {
  --bg-main: #faf7f2;
  --bg-card: #ffffff;
  --bg-elevated: #f3ede2;
  --text-main: #292524;
  --text-sub: #57534e;
  --text-muted: #635d56;
  --border-color: #e7e0d6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--proto-h, 0px) + 88px);
  scroll-padding-bottom: 96px;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  padding-bottom: 92px;
  transition: padding-right 0.3s ease;
}

/* ==========================================================================
   PC SPLIT-SCREEN LIVE STUDIO MODE
   ========================================================================== */
@media (min-width: 980px) {
  body.split-admin-open {
    padding-right: 470px;
  }
  body.split-admin-open .bottom-action-bar {
    right: 470px;
  }
}

.customer-view-indicator {
  display: none;
  position: fixed;
  bottom: 96px;
  left: 20px;
  z-index: 9000;
  background: rgba(15, 23, 42, 0.92);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

@media (min-width: 980px) {
  body.split-admin-open .customer-view-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

h1, h2, h3, .brand-logo, .stat-num, .price-val {
  font-family: var(--font-heading);
}

body.copy-protected {
  -webkit-user-select: none;
  user-select: none;
}
body.copy-protected input,
body.copy-protected textarea,
body.copy-protected .allow-select {
  -webkit-user-select: text;
  user-select: text;
}

/* ==========================================================================
   PROTOTYPE MASTER CONTROL BAR
   ========================================================================== */
.proto-switcher {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.proto-switcher.hidden-bar {
  display: none !important;
}

.proto-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #38bdf8;
}

.proto-brand .badge-live {
  background: #22c55e;
  color: #052e16;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 800;
}

.proto-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.proto-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-family: inherit;
}

.proto-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.proto-btn.active {
  background: #3b82f6;
  color: #fff;
  border-color: #60a5fa;
}

.proto-btn.accent-btn {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  border: none;
}

.proto-btn.mix-btn {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  border: none;
  font-weight: 800;
}

.proto-select {
  background: #1e293b;
  color: #fff;
  border: 1px solid #475569;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.restore-proto-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: none;
}

/* ==========================================================================
   TOP BANNERS
   ========================================================================== */
.preview-safety-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #312e81 100%);
  color: #e0e7ff;
  padding: 9px 16px;
  font-size: 12.5px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.preview-safety-bar strong {
  color: #fde047;
}

.preview-timer {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  color: #fca5a5;
  font-variant-numeric: tabular-nums;
}

.store-notice-bar {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notice-pill {
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ==========================================================================
   FLOATING HEADER & CUSTOM BRAND LOGO
   ========================================================================== */
.site-header-wrap {
  position: sticky;
  top: calc(var(--proto-h, 0px) + 12px);
  z-index: 1000;
  padding: 0 16px;
  margin-top: 14px;
  transition: top 0.25s ease;
}

.site-header {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-layout="impact-dark"] .site-header {
  background: rgba(17, 24, 39, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo-img {
  height: 36px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 820px) {
  .nav-links a:not(.header-cta) {
    display: none;
  }
}

/* ==========================================================================
   4 HERO MOTION MODES (Rolling+Zoom, Zoom-In, Zoom-Out, Static) - 0B Overhead
   ========================================================================== */
@keyframes smoothZoomIn {
  0% { transform: scale3d(1, 1, 1); }
  50% { transform: scale3d(1.08, 1.08, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

@keyframes smoothZoomOut {
  0% { transform: scale3d(1.1, 1.1, 1); }
  50% { transform: scale3d(1, 1, 1); }
  100% { transform: scale3d(1.1, 1.1, 1); }
}

.hero-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale3d(1, 1, 1);
  transition: transform 4.2s ease-out;
}

.hero-carousel-slide.active-zoom img,
.hero-carousel-slide.active-zoom-in img {
  transform: scale3d(1.08, 1.08, 1);
}

.hero-carousel-slide.active-zoom-out img {
  transform: scale3d(1.1, 1.1, 1);
  animation: smoothZoomOut 12s ease-in-out infinite;
}

.hero-carousel-slide.continuous-zoom-in img {
  animation: smoothZoomIn 12s ease-in-out infinite;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 999px;
}

.carousel-dot {
  width: 24px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.carousel-dot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-dot.active::before {
  width: 20px;
  background: #fff;
}

.carousel-arrow {
  background: transparent;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
}

.reveal-up {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   HERO SECTION & 4 STYLISH LAYOUTS
   ========================================================================== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-title {
  font-size: clamp(27px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  word-break: keep-all;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 26px;
  max-width: 620px;
  word-break: keep-all;
}

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

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(var(--primary-rgb), 0.5);
  transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
  font-family: inherit;
}

.btn-primary-lg:hover {
  background: var(--primary-dark);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
  font-family: inherit;
}

.btn-secondary-lg.on-light {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: none;
}

.btn-light-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-block {
  width: 100%;
}

.btn-primary-lg:active,
.btn-secondary-lg:active,
.btn-light-lg:active,
.action-btn:active,
.chip-btn:active,
.gallery-tab-btn:active,
.faq-q:active {
  transform: scale(0.98);
}

.btn-primary-lg:disabled,
.btn-primary-lg.is-loading {
  opacity: 0.6;
  cursor: progress;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.55);
  outline-offset: 2px;
}

.ico {
  flex-shrink: 0;
  vertical-align: -0.15em;
}

/* LAYOUT 1: IMPACT DARK */
.hero-impact-dark {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 48px 20px 56px;
  margin-top: 14px;
  border-radius: 0;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.65) 55%, rgba(7, 11, 20, 0.88) 100%);
  z-index: 1;
}

.hero-content-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.hero-stats-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  text-align: left;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #38bdf8;
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* LAYOUT 2: SPLIT BEFORE/AFTER */
.hero-split-ba {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-split-ba .trust-badge {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
}

.hero-split-ba .btn-secondary-lg {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

/* LAYOUT 3: CLEAN TRUST BENTO */
.hero-clean-bento {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 44px;
}

.bento-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.bento-main-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.bento-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bento-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* LAYOUT 4: EDITORIAL MAGAZINE */
.hero-editorial {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 44px;
}

.editorial-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.editorial-img-box {
  height: 390px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

@media (max-width: 860px) {
  .hero-content-inner,
  .hero-split-ba,
  .bento-hero-grid,
  .editorial-frame {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .editorial-img-box {
    height: 260px;
  }
}

/* ==========================================================================
   LIVE ROLLING SOCIAL PROOF TICKER & SECTIONS
   ========================================================================== */
.live-ticker-wrap {
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 0 20px;
}

.live-ticker {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  overflow: hidden;
}

.ticker-ico {
  color: var(--primary);
}

.ticker-label {
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.ticker-text {
  color: var(--text-sub);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}

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

section[id],
#comparison-section,
#main-content {
  scroll-margin-top: calc(var(--proto-h, 0px) + 96px);
}

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

.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

[data-layout="impact-dark"] .section-eyebrow {
  color: #60a5fa;
}

.section-title {
  font-size: clamp(23px, 3.4vw, 33px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  word-break: keep-all;
}

.section-desc {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto;
  word-break: keep-all;
}

/* ==========================================================================
   BENTO GRID FEATURES, 4-STEP PROCESS & REVIEWS
   ========================================================================== */
.bento-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

[data-layout="impact-dark"] .feature-icon-box {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.feature-card h3 {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.6;
  word-break: keep-all;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
}

.step-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

[data-layout="impact-dark"] .step-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.process-step-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.process-step-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  word-break: keep-all;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
}

.review-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.6;
  word-break: keep-all;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

@media (max-width: 860px) {
  .bento-features,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER & PRICING
   ========================================================================== */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 390px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.ba-before-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(45%) contrast(90%) brightness(82%);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  z-index: 4;
}

.ba-label.before {
  left: 16px;
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
}

.ba-label.after {
  right: 16px;
  background: var(--primary);
  color: #fff;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  background: transparent;
  z-index: 5;
  cursor: ew-resize;
}

.ba-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .ba-slider-container {
    height: 270px;
  }
}

.pricing-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.price-list-card,
.quote-calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-color);
  gap: 12px;
}

.price-item:last-child {
  border-bottom: none;
}

.price-name {
  font-weight: 700;
  font-size: 15.5px;
}

.price-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 2px;
}

.price-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

[data-layout="impact-dark"] .price-val {
  color: #38bdf8;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 14.5px;
  font-family: inherit;
}

.estimated-box {
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-layout="impact-dark"] .estimated-box {
  background: rgba(37, 99, 235, 0.15);
}

.estimated-box .est-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

[data-layout="impact-dark"] .estimated-box .est-price {
  color: #60a5fa;
}

@media (max-width: 860px) {
  .pricing-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GALLERY & SMART FAQ
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  padding: 20px 14px 12px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item.hidden-faq {
  display: none;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}

.faq-a {
  padding: 14px 22px 18px;
  color: var(--text-sub);
  font-size: 14.5px;
  display: none;
  border-top: 1px solid var(--border-color);
}

.faq-item.open .faq-a {
  display: block;
}

.faq-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px auto 0;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}

/* ==========================================================================
   LEGAL FOOTER & STICKY ACTION BAR
   ========================================================================== */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  padding: 44px 20px 60px;
  font-size: 13px;
  color: var(--text-sub);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-biz-info p {
  margin-bottom: 4px;
}

.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 10px 14px;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  transition: right 0.3s ease;
}

[data-layout="impact-dark"] .bottom-action-bar {
  background: rgba(17, 24, 39, 0.95);
}

.bottom-bar-inner {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr 0.8fr;
  gap: 8px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.action-btn.call {
  background: var(--primary);
  color: #fff;
}

.action-btn.kakao {
  background: #fee500;
  color: #191919;
}

.action-btn.vcard,
.action-btn.qr {
  background: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   PC SPLIT-DOCK / MOBILE ADMIN PANEL (FORCED HIGH-CONTRAST LIGHT THEME!)
   Fixes dark mode white-on-white invisible input text bug!
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal-backdrop.open {
  display: flex;
}

@media (min-width: 980px) {
  .modal-backdrop.dock-right {
    inset: var(--proto-h, 0px) 0 0 auto;
    width: 470px;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-left: 2px solid #3b82f6;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.28);
  }
  .modal-backdrop.dock-right .admin-drawer {
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

.admin-drawer {
  /* Force Light Mode Variables Inside Admin Panel regardless of Public Dark Theme */
  --text-main: #0f172a;
  --text-sub: #475569;
  --bg-main: #ffffff;
  --bg-card: #f8fafc;
  --border-color: #cbd5e1;
  --radius-md: 10px;

  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.admin-drawer .form-label {
  color: #1e293b !important;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 5px;
}

.admin-drawer .form-input,
.admin-drawer .form-select,
.admin-drawer .form-textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.admin-drawer .form-input::placeholder,
.admin-drawer .form-textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400;
}

.admin-drawer .form-input:focus,
.admin-drawer .form-select:focus,
.admin-drawer .form-textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.drawer-header {
  flex-shrink: 0;
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.drawer-header h2 {
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Pretendard Variable', sans-serif;
}

.close-drawer-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
}

.admin-tabs {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 8px 10px;
  gap: 5px;
}

.admin-tab-btn {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Pretendard Variable', sans-serif;
}

.admin-tab-btn.active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  font-family: 'Pretendard Variable', sans-serif;
}

.admin-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 14px;
}

.admin-card h4 {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chip-btn {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-family: 'Pretendard Variable', sans-serif;
}

.chip-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.color-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
}

.color-dot.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px #0f172a;
}

.compression-result {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-top: 10px;
  display: none;
}

.expired-lock-screen {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.toast-msg {
  position: fixed;
  bottom: 92px;
  left: 50%;
  transform: translate3d(-50%, 20px, 0);
  background: #0f172a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}


/* ==========================================================================
   HIGH-CONVERSION SALES EDITION v7.1 - CLEAN & REFINED UI WIDGETS
   1. Layout 5: Direct Sales Hero (First-Fold Quick Inquiry + Clean Trust Checklist)
   2. Customer Empathy Pain-Point Checklist Cards (Optional Module)
   3. 3-Column Competitor vs Us Comparison Table (Clean Highlight)
   4. Category-Filtered Portfolio Gallery with Spec Badges & Lightbox Modal
   5. Event Countdown Timer & Daily Reservation Bar (Optional Module)
   6. PC Right Quick Menu (Optional) & Privacy Consent Checkbox
   ========================================================================== */

/* 1. LAYOUT 5: DIRECT SALES HERO */
.hero-direct-sales {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 48px 20px 56px;
  margin-top: 14px;
  background: #060b19;
}

.hero-sales-grid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
}

.sales-trust-pill,
.sales-urgency-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.sales-hero-checklist {
  list-style: none;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sales-hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.sales-hero-checklist li span.check-icon {
  background: var(--primary);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.sales-quick-form-card {
  --text-main: #0f172a;
  --text-sub: #475569;
  --bg-elevated: #f1f5f9;
  --border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.sales-quick-form-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.sales-quick-form-card .form-input,
.sales-quick-form-card .form-select {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .hero-sales-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. PAIN POINT EMPATHY CHECKLIST SECTION */
.pain-point-wrap-legacy {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 10px;
}

.pain-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.pain-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.pain-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.pain-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  word-break: keep-all;
}

.pain-solution-bridge {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  font-size: 15.5px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
}

@media (max-width: 860px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. COMPARISON TABLE (row-based grid → 모든 행 높이가 3열에서 항상 일치) */
.comparison-wrap {
  max-width: 960px;
  margin: 48px auto 0;
}

.sub-header {
  text-align: center;
  margin-bottom: 20px;
}

.sub-title {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 800;
}

.sub-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.25fr;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comp-row {
  display: contents;
}

.comp-cell {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: keep-all;
}

.comp-row.last .comp-cell {
  border-bottom: none;
}

.comp-cell.criteria {
  font-weight: 800;
  color: var(--text-main);
  background: var(--bg-elevated);
}

.comp-cell.competitor {
  color: var(--text-sub);
}

.comp-cell.ours {
  font-weight: 700;
  color: var(--text-main);
  background: rgba(var(--primary-rgb), 0.07);
  border-left: 2px solid var(--primary);
}

.comp-cell.ours .ico {
  color: var(--primary);
}

.comp-head .comp-cell {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-sub);
  background: var(--bg-elevated);
  padding: 13px 16px;
}

.comp-head .comp-cell.ours {
  background: var(--primary);
  color: #fff;
}

[data-layout="impact-dark"] .comp-cell.ours .ico {
  color: #60a5fa;
}

@media (max-width: 640px) {
  .comparison-table {
    grid-template-columns: 0.8fr 1fr 1.15fr;
  }
  .comp-cell,
  .comp-head .comp-cell {
    padding: 11px 8px;
    font-size: 12.5px;
    gap: 4px;
  }
  .comp-cell.ours .ico {
    display: none;
  }
}

/* 4. PORTFOLIO CATEGORY FILTER TABS, SPEC TAGS & LIGHTBOX */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}

.gallery-tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.gallery-tab-btn.active,
.gallery-tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.gallery-item {
  cursor: pointer;
}

.gallery-spec-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
}

.gallery-spec-pill {
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.92;
  z-index: 4;
}

/* 5. URGENCY COUNTDOWN TIMER & DAILY RESERVATION GAUGE BAR */
.urgency-banner-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
}

.urgency-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.urgency-timer-digits {
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.urgency-gauge-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.urgency-gauge-fill {
  height: 100%;
  width: 84%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 999px;
}

/* 6. PRIVACY CONSENT BOX & PC FLOATING QUICK MENU */
.privacy-consent-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
}

.privacy-consent-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-main);
}

.privacy-detail-box {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.5;
}

.privacy-detail-box.open {
  display: block;
}

.floating-quick-menu {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right 0.3s ease;
}

@media (min-width: 980px) {
  body.split-admin-open .floating-quick-menu {
    right: 486px;
  }
}

@media (max-width: 900px) {
  .floating-quick-menu {
    display: none;
  }
}

.float-quick-btn {
  width: 66px;
  padding: 10px 6px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-family: inherit;
}

.float-quick-btn:hover {
  transform: translateY(-3px);
  background: var(--primary);
}

.float-quick-btn.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: rgba(255, 255, 255, 0.35);
}

.float-quick-btn .fq-icon {
  font-size: 18px;
}

/* ==========================================================================
   v8.0 UI/UX AUDIT FIXES - COMPONENTS
   ========================================================================== */

/* Hero layout text colors (inline style 제거분) */
.hero-split-ba .hero-subtitle,
.hero-editorial .hero-subtitle {
  color: var(--text-sub);
}

.hero-split-ba .btn-secondary-lg,
.hero-editorial .btn-secondary-lg {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: none;
}

.hero-editorial .trust-badge {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

.bento-main-card .hero-title,
.bento-main-card .hero-subtitle {
  color: #fff;
}

.bento-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.bento-stat {
  flex: 1;
  min-width: 110px;
  background: rgba(255, 255, 255, 0.14);
  padding: 14px;
  border-radius: var(--radius-md);
}

.bento-stat .stat-num {
  color: #fff;
  font-size: 22px;
}

.bento-stat span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.bento-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bento-profile-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.bento-profile-name {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
}

.bento-profile-card.compact {
  padding: 18px 20px;
}

.mini-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 9px;
  border-radius: 6px;
}

.mini-tag.danger {
  color: #fff;
  background: #dc2626;
}

.muted-text {
  font-size: 13px;
  color: var(--text-sub);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-sub);
  background: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius-md);
}

.info-row .ico {
  color: var(--primary);
  margin-top: 2px;
}

.ba-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 10px;
  font-weight: 600;
}

.ba-frame {
  max-width: 860px;
  margin: 0 auto;
}

.trust-badge .ico {
  opacity: 0.9;
}

/* Direct sales form card */
.quick-form-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.quick-form-desc {
  font-size: 13px;
  color: #475569;
  margin-bottom: 14px;
}

.sales-quick-form-card .form-group {
  margin-bottom: 10px;
}

.sales-quick-form-card .form-label {
  color: #1e293b;
  font-size: 12.5px;
}

/* Cards & text helpers */
.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.fine-print {
  font-size: 12.5px;
  color: var(--text-sub);
  margin-top: 14px;
}

.notice-panel {
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.notice-panel strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.notice-panel p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 6px 11px;
  border-radius: 999px;
}

.est-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.urgency-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fde68a;
}

.urgency-text {
  font-size: 12.5px;
  color: #cbd5e1;
}

.pain-solution-bridge .bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.center-row {
  text-align: center;
}

.faq-more-btn .ico,
.faq-chevron {
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-q {
  gap: 12px;
  min-height: 56px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.star-ico {
  fill: currentColor;
  stroke: none;
}

.review-text {
  margin: 10px 0 0;
}

.review-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

[data-layout="impact-dark"] .review-tag,
[data-layout="impact-dark"] .mini-tag {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

.location-card {
  max-width: 780px;
  margin: 28px auto 0;
}

.info-line {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-sub);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
}

.info-line strong {
  flex-shrink: 0;
  width: 72px;
  color: var(--text-main);
}

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

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.map-btn.naver {
  background: #027a37;
  color: #fff;
}

.map-btn.kakao {
  background: #fee500;
  color: #191919;
}

/* Footer */
.footer-name {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 8px;
  color: var(--text-sub);
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-policy-link {
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 6px 0;
}

.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.footer-admin-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 0;
}

/* Skip link */
.skip-link {
  position: fixed;
  left: 8px;
  top: -100px;
  z-index: 3000;
  background: #0f172a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 8px;
}

/* Mobile menu */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 10px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: flex-end;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-sheet {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 20px 20px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 10px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.mobile-menu-links a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
  }
  .header-cta {
    display: none !important;
  }
}

body.modal-lock {
  overflow: hidden;
}

/* Forms: privacy, honeypot, success, error */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.privacy-check input {
  width: 24px;
  height: 24px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.hero-title,
.section-title,
.sub-title,
.card-title,
.quick-form-title,
.lightbox-title {
  text-wrap: balance;
}

.text-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 6px 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.form-success {
  text-align: center;
  padding: 18px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-size: 19px;
  font-weight: 800;
}

.form-success p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

.sales-quick-form-card .form-success h3 {
  color: #0f172a;
}

.form-error {
  margin-top: 10px;
  font-size: 13px;
  color: #dc2626;
  font-weight: 700;
}

.form-error a {
  color: inherit;
}

/* Gallery (button items) */
.gallery-item {
  display: block;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}

.gallery-item .gallery-spec-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.gallery-caption {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-zoom-hint {
  background: rgba(15, 23, 42, 0.7);
}

/* Modals: shell, lightbox, business card, document */
.modal-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 22px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.lightbox-panel {
  background: #0f172a;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

.lightbox-body {
  padding: 20px;
}

.lightbox-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.lightbox-specs span {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.lightbox-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.bizcard-panel {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 22px;
  padding: 28px 22px 22px;
  text-align: center;
}

.bizcard-panel h3 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 10px;
}

.bizcard-sub {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.qr-box {
  background: #fff;
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.qr-box.qr-empty {
  width: 100%;
  height: auto;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.qr-caption {
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.bizcard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.doc-panel {
  background: #fff;
  color: #0f172a;
  border-radius: 22px;
  padding: 26px 22px 20px;
  font-size: 14px;
  line-height: 1.65;
}

.doc-panel h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  padding-right: 40px;
}

.doc-panel h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 16px 0 4px;
}

.doc-panel p {
  color: #334155;
}

.doc-meta {
  margin: 16px 0;
  font-size: 12.5px;
  color: #64748b !important;
}

.expired-card {
  max-width: 460px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 24px;
  padding: 36px 28px;
}

.expired-card h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 14px 0 10px;
}

.expired-card p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 22px;
}

/* Bottom bar: quote variant + PC hide */
.action-btn.quote {
  background: #0f172a;
  color: #fff;
}

[data-layout="impact-dark"] .action-btn.quote {
  background: #f8fafc;
  color: #0f172a;
}

@media (min-width: 1025px) {
  .bottom-action-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   ADMIN (v8.0 classes)
   ========================================================================== */
.admin-syncbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sync-chip {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}

.sync-chip.saved {
  background: #dcfce7;
  color: #166534;
}

.sync-chip.saving {
  background: #fef9c3;
  color: #854d0e;
}

.sync-chip.error {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-card.warn {
  background: #fffbeb;
  border-color: #fcd34d;
}

.admin-card.accent {
  background: #f5f3ff;
  border-color: #d8b4fe;
}

.admin-card.green {
  background: #f0fdf4;
  border-color: #86efac;
}

.admin-card.dark {
  background: #0f172a;
  border-color: #0f172a;
}

.admin-card.dark h4,
.admin-card.dark .form-label,
.admin-card.dark .admin-toggle {
  color: #e2e8f0 !important;
}

.pill {
  font-size: 11px;
  font-weight: 800;
  background: #7c3aed;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill.green {
  background: #15803d;
}

.admin-help {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin: 4px 0 10px;
}

.warn-text {
  color: #b45309;
  font-weight: 700;
}

.admin-checklist {
  margin: 0 0 0 18px;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.7;
}

.admin-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.admin-row > * {
  flex: 1;
}

.admin-row.between {
  justify-content: space-between;
  margin-bottom: 6px;
}

.admin-row.between > * {
  flex: 0 0 auto;
}

.admin-subcard {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}

.admin-subcard.dashed {
  border-style: dashed;
  border-color: #60a5fa;
  background: #eff6ff;
}

.stat-edit {
  display: grid;
  grid-template-columns: 80px 64px 1fr auto;
  gap: 6px;
  align-items: center;
}

.gallery-edit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-edit img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.danger-btn {
  background: #fee2e2;
  color: #b91c1c;
  border: none;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 auto !important;
  font-family: inherit;
}

.add-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.chip-title {
  font-weight: 800;
}

.chip-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.chip-grid.one {
  grid-template-columns: 1fr;
}

.chip-btn.compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
}

.chip-btn.center {
  text-align: center;
}

.btn-primary-lg.danger {
  background: #dc2626;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.admin-toggle input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mt {
  margin-top: 8px;
}

.small-strong {
  font-size: 12px;
  color: #0f172a;
}

.locked-list {
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  padding: 6px 10px;
}

.locked-row {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  color: #475569;
  padding: 4px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.locked-row span {
  color: #94a3b8;
}

.lead-card {
  background: #fff;
  border: 2px solid #60a5fa;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13px;
}

.lead-card.done {
  border-color: #e2e8f0;
  opacity: 0.75;
}

.lead-status {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fef2f2;
  color: #dc2626;
}

.lead-status.done {
  background: #dcfce7;
  color: #15803d;
}

.lead-time {
  font-size: 11.5px;
  color: #64748b;
}

.lead-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 4px;
}

.lead-name a {
  color: #2563eb;
}

.lead-service {
  font-weight: 700;
  color: #1e293b;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.lead-memo {
  color: #475569;
  margin-bottom: 10px;
}

.lead-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 6px;
}

.lead-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: #f1f5f9;
  color: #475569;
  font-family: inherit;
}

.lead-btn.primary {
  background: #2563eb;
  color: #fff;
}

.lead-btn.dark {
  background: #0f172a;
  color: #fff;
}

.lead-btn.green {
  background: #16a34a;
  color: #fff;
}

.empty-text {
  text-align: center;
  padding: 24px;
  color: #64748b;
  font-size: 13px;
}

.right-row {
  text-align: right;
  margin-top: 6px;
}

/* ==========================================================================
   RESPONSIVE (PC 분할 화면 / 태블릿 / 스마트폰)
   ========================================================================== */

/* PC + 우측 관리자 열림 (좌측 실제 폭이 태블릿 수준으로 줄어드는 구간) */
@media (min-width: 980px) and (max-width: 1380px) {
  body.split-admin-open .site-header .nav-links a:not(.header-cta) {
    display: none;
  }
  body.split-admin-open .hero-content-inner,
  body.split-admin-open .hero-sales-grid,
  body.split-admin-open .hero-split-ba,
  body.split-admin-open .bento-hero-grid,
  body.split-admin-open .editorial-frame,
  body.split-admin-open .pricing-calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.split-admin-open .bento-features,
  body.split-admin-open .reviews-grid,
  body.split-admin-open .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 태블릿 */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-features,
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 모바일: iOS 입력 확대 방지 (16px 이상) */
@media (max-width: 768px) {
  .form-input,
  .form-select,
  .form-textarea,
  .admin-drawer .form-input,
  .admin-drawer .form-select,
  .admin-drawer .form-textarea,
  .sales-quick-form-card .form-input,
  .sales-quick-form-card .form-select {
    font-size: 16px !important;
  }
  .proto-switcher {
    padding: 8px 12px;
    gap: 6px;
  }
  .proto-controls {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .proto-controls > * {
    flex-shrink: 0;
  }
}

/* 스마트폰 */
@media (max-width: 640px) {
  .preview-safety-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    text-align: left;
    font-size: 12px;
  }
  .section-container {
    padding: 48px 16px;
  }
  .hero-impact-dark,
  .hero-direct-sales {
    padding: 32px 16px 40px;
    min-height: auto;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions > a,
  .hero-actions > button {
    width: 100%;
  }
  .btn-phone-num {
    display: none;
  }
  /* 세일즈형: 모바일 첫 화면에서 폼이 바로 보이도록 보조 요소 숨김 */
  .hero-direct-sales .sales-hero-checklist,
  .hero-direct-sales .hero-actions,
  .hero-direct-sales .carousel-dots {
    display: none;
  }
  .hero-direct-sales .hero-subtitle {
    margin-bottom: 18px;
  }
  .hero-stats-glass {
    padding: 16px;
    gap: 10px;
  }
  .stat-num {
    font-size: 22px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .process-step-card {
    padding: 16px 14px;
  }
  .process-step-card h4 {
    font-size: 15px;
  }
  .process-step-card p {
    font-size: 13px;
  }
  .privacy-consent-label {
    gap: 8px;
  }
  .gallery-item .gallery-spec-pill {
    font-size: 11.5px;
    padding: 3px 7px;
    top: 8px;
    left: 8px;
  }
  .gallery-zoom-hint {
    width: 26px;
    height: 26px;
    top: 8px;
    right: 8px;
  }
  .gallery-caption {
    padding: 14px 8px 8px;
    font-size: 12px;
  }
  .info-line {
    flex-direction: column;
    gap: 2px;
  }
  .bottom-action-bar {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .bottom-bar-inner {
    grid-template-columns: 1.15fr 1.1fr 1fr 0.8fr;
    gap: 5px;
  }
  .action-btn {
    padding: 10px 4px;
    min-height: 48px;
    font-size: 12px;
    border-radius: 10px;
    gap: 4px;
    flex-direction: column;
  }
  .stat-edit {
    grid-template-columns: 1fr 1fr;
  }
}

/* 다크 레이아웃: 포인트색 글자를 밝게 섞어 대비 확보 (WCAG AA) */
[data-layout="impact-dark"] .ticker-label,
[data-layout="impact-dark"] .notice-panel strong,
[data-layout="impact-dark"] .price-chip,
[data-layout="impact-dark"] .text-link,
[data-layout="impact-dark"] .card-title .ico,
[data-layout="impact-dark"] .info-row .ico,
[data-layout="impact-dark"] .ticker-ico,
[data-layout="impact-dark"] .form-success-icon,
[data-layout="impact-dark"] .comp-cell.ours .ico {
  color: color-mix(in srgb, var(--primary) 45%, #ffffff);
}
/* 아이콘은 크기가 고정이므로 레이아웃 계산에서 분리 (실측 레이아웃 비용 약 절반) */
svg.ico {
  contain: strict;
}

/* ==========================================================================
   SAMPLE PHOTO PACKS & SMARTPHONE CAMERA UPLOAD STUDIO
   ========================================================================== */
.safety-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 5px 11px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: #0369a1;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.safety-photo-btn:hover {
  background: #0284c7;
}

.photo-pack-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.photo-pack-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.photo-pack-card:hover {
  border-color: #3b82f6;
}
.photo-pack-card.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.photo-pack-thumbs {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.photo-pack-thumbs img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.photo-pack-meta {
  min-width: 0;
  flex: 1;
}
.photo-pack-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pack-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
}
.photo-pack-desc {
  font-size: 11.5px;
  color: #475569;
  margin-top: 2px;
}

.photo-slot-card {
  margin-top: 8px;
}
.photo-slot-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.photo-slot-current {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  background: #e2e8f0;
}
.photo-slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.photo-upload-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.photo-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  user-select: none;
}
.photo-action-btn.cam {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}
.photo-action-btn.album {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
.sr-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.sample-thumb-strip {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed #cbd5e1;
}
.strip-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 5px;
}
.strip-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.sample-thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.sample-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sample-thumb-btn.selected,
.sample-thumb-btn:hover {
  border-color: #2563eb;
}

.pulse-highlight {
  animation: cardPulse 0.9s ease 2;
}
@keyframes cardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.35); }
}

/* ==========================================================================
   3-SLOT DESIGN & PHOTO KEEP BOX + DEVELOPER HANDOFF
   ========================================================================== */
.safety-bar-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.safety-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.safety-slot-chip,
.safety-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  min-height: 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.safety-slot-chip {
  border: 1px dashed rgba(251, 191, 36, 0.7);
  background: #334155;
  color: #f8fafc;
}
.safety-slot-chip.saved {
  border-style: solid;
  border-color: #fbbf24;
  background: #b45309;
  color: #ffffff;
}
.safety-slot-chip.active {
  background: #2563eb;
  border-color: #93c5fd;
  color: #ffffff;
}

.safety-send-btn {
  border: 1px solid rgba(52, 211, 153, 0.55);
  background: #047857;
  color: #ffffff;
}
.safety-send-btn.requested {
  background: #1d4ed8;
  border-color: #93c5fd;
}

/* Admin Quick Slot Dock */
.admin-slot-dock {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.slot-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slot-dock-head strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  color: #78350f;
}

.slot-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: #78350f;
  border: 1px solid #f59e0b;
  white-space: nowrap;
}
.slot-status-pill.req {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
}
.slot-status-pill.app {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

.slot-dock-help {
  font-size: 11.5px;
  color: #92400e;
  margin: 4px 0 8px;
}

.slot-dock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.slot-pill {
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #fcd34d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slot-pill.empty {
  padding: 8px 6px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-style: dashed;
  border-color: #d97706;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.slot-pill.empty:hover {
  background: #ffffff;
}

.slot-pill-num {
  font-size: 11px;
  font-weight: 800;
  color: #78350f;
}
.slot-pill-action {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
}

.slot-pill.saved.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.slot-pill-main {
  border: none;
  background: transparent;
  padding: 7px 7px 5px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.slot-pill-top {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #0f172a;
}

.slot-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.slot-mini-cam {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  background: #047857;
  color: #ffffff;
  margin-left: auto;
}

.slot-pill-meta {
  display: block;
  font-size: 10.5px;
  color: #475569;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-pill-subactions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

.slot-pill-subactions button {
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  font-family: inherit;
}

.slot-request-main-btn {
  margin-top: 8px;
  background: #047857 !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  min-height: 42px;
}
.slot-request-main-btn.is-requested {
  background: #1d4ed8 !important;
}

.dev-approve-box {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #fcd34d;
}
.dev-approve-box.highlight {
  background: #ecfdf5;
  border: 1.5px solid #059669;
}

.dev-approve-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: #334155;
  margin-bottom: 6px;
}

.req-alert-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #047857;
  color: #ffffff;
}

.dev-approve-desc {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.45;
  color: #475569;
}

.dev-approve-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dev-approve-row .form-input {
  flex: 1 1 110px;
  min-width: 0;
  padding: 7px 10px !important;
  font-size: 12.5px !important;
}

.dev-propose-btn {
  padding: 8px 11px;
  border-radius: 9px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 11.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex: 1 1 auto;
}
.dev-propose-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.dev-approve-btn {
  padding: 8px 14px;
  border-radius: 9px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex: 1 1 auto;
}
.dev-approve-box.highlight .dev-approve-btn {
  background: #047857;
}
