/* ── Inquiry Modal System ── */
.inq-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; opacity: 0; transition: opacity 0.3s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.inq-modal-overlay.show { opacity: 1; }
.inq-modal {
  background: #1a1a2e; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px; width: 400px; max-width: 90vw;
  max-height: 85vh; overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s var(--ease);
  text-align: center;
}
.inq-modal-overlay.show .inq-modal { transform: translateY(0) scale(1); }
.inq-modal h3 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 800;
  color: var(--white); margin: 0 0 8px;
}
.inq-modal p { color: var(--gray-400); font-size: 14px; margin: 0 0 20px; line-height: 1.6; }
.inq-modal-icon { font-size: 48px; margin-bottom: 12px; }
.inq-modal-info {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px; margin: 16px 0;
}
.inq-modal-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
}
.inq-modal-row + .inq-modal-row { border-top: 1px solid rgba(255,255,255,0.06); }
.inq-label { font-size: 13px; color: var(--gray-400); font-weight: 500; }
.inq-value {
  font-size: 14px; color: var(--white); font-weight: 700;
  font-family: 'Consolas', 'Courier New', monospace; letter-spacing: 0.5px;
}
.inq-value small { font-weight: 400; color: var(--gray-400); font-family: var(--font-body); }
.inq-modal-hint {
  color: #d92d20; font-weight: 800; font-size: 15px; 
  word-break: keep-all; line-height: 1.5; 
  background: rgba(239, 68, 68, 0.08); 
  border: 2px solid #ef4444; 
  padding: 12px 14px; border-radius: 8px; 
  margin-top: 16px;
}
.inq-modal-error {
  color: #f44; font-size: 13px; min-height: 18px; margin-bottom: 8px;
}
.inq-modal-btns {
  display: flex; gap: 10px; margin-top: 4px;
}
.inq-modal-btns .btn-outline,
.inq-modal-btns .btn-primary {
  padding: 12px 20px; font-size: 14px; border-radius: 10px;
}

/* Inquiry lookup result */
.inq-lookup-result {
  margin-top: 16px; text-align: left;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px;
}
.inq-detail-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.inq-status-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: rgba(76,175,80,0.15); color: #66bb6a;
  font-size: 12px; font-weight: 600;
}
.inq-detail-date { font-size: 12px; color: var(--gray-600); }
.inq-edit-form label {
  display: block; font-size: 12px; color: var(--gray-400);
  margin: 10px 0 4px; font-weight: 500;
}
.inq-edit-form .form-input { width: 100%; }
.inq-edit-form textarea.form-input { height: 80px; }

/* Inquiry Answer Box styles */
.inq-answer-box {
  margin: 16px 0; padding: 16px; 
  background: rgba(74, 222, 128, 0.08); 
  border: 2px solid #4ade80; 
  border-radius: 8px;
}
.inq-answer-header {
  display: flex; justify-content: space-between; 
  font-size: 13px; margin-bottom: 8px; 
  text-transform: uppercase;
}
.inq-answer-title {
  color: #4ade80; font-weight: 800;
}
.inq-answer-date {
  font-weight: normal; color: #888;
}
.inq-answer-content {
  font-size: 14px; color: #fff; 
  white-space: pre-wrap; line-height: 1.6; 
  font-weight: 500;
}

/* Inquiry lookup link */
.inquiry-lookup-link {
  margin-top: 16px; text-align: center;
}
.inquiry-lookup-link button {
  background: none; border: none; color: var(--gray-400);
  font-size: 13px; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; transition: color 0.3s;
  font-family: var(--font-body);
}
.inquiry-lookup-link button:hover { color: var(--white); }

@media (max-width: 768px) {
  .inq-modal { padding: 24px 20px; width: 92vw; }
  .inq-modal h3 { font-size: 18px; }
  .inq-modal-btns { flex-direction: column; }
}


@media (max-width: 768px) {
  .theme-fab {
    display: none !important;
  }
  #adminBadge {
    display: none !important;
  }
  .theme-panel {
    bottom: 126px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .theme-option {
    padding: 10px 10px;
    gap: 6px;
  }
  .theme-option-name {
    font-size: 11px;
  }
}

/* ?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═
   Light Theme Overrides ([data-theme-mode="light"])
   ?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═?�═ */

/* SVG 로고 */
[data-theme-mode="light"] .logo-svg rect,
[data-theme-mode="light"] .logo-svg path {
  fill: var(--white);
}

/* Top Nav */
[data-theme-mode="light"] .top-nav.scrolled {
  background: var(--nav-scroll-bg, rgba(255,255,255,0.85));
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme-mode="light"] .top-nav .logo-text { color: var(--white); }

/* Nav Dots */
[data-theme-mode="light"] .nav-dot.active {
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

/* Hero */
[data-theme-mode="light"] .hero-bg-gradient {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.02) 0%, transparent 70%);
}
[data-theme-mode="light"] .logo-glow {
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
}
[data-theme-mode="light"] .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 카드 공통 보더 */
[data-theme-mode="light"] .stat-card,
[data-theme-mode="light"] .service-card,
[data-theme-mode="light"] .result-item,
[data-theme-mode="light"] .faq-item,
[data-theme-mode="light"] .review-card,
[data-theme-mode="light"] .blog-preview-card {
  background: var(--gray-900);
  border-color: rgba(0,0,0,0.08);
}
[data-theme-mode="light"] .stat-card:hover,
[data-theme-mode="light"] .result-item:hover,
[data-theme-mode="light"] .faq-item:hover,
[data-theme-mode="light"] .review-card:hover,
[data-theme-mode="light"] .blog-preview-card:hover {
  border-color: rgba(0,0,0,0.15);
}
[data-theme-mode="light"] .service-card:hover,
[data-theme-mode="light"] .service-card.is-playing {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* About Circle */
[data-theme-mode="light"] .about-circle {
  background: var(--gray-900);
  border-color: rgba(0,0,0,0.08);
}
[data-theme-mode="light"] .about-circle::before {
  border-color: rgba(0,0,0,0.05);
}
[data-theme-mode="light"] .about-circle::after {
  border-color: rgba(0,0,0,0.04);
}

/* Process */
[data-theme-mode="light"] .process-steps::before {
  background: rgba(0,0,0,0.08);
}
[data-theme-mode="light"] .section.active .process-steps::after {
  background: linear-gradient(90deg, var(--white), rgba(0,0,0,0.1));
}
[data-theme-mode="light"] .step-number {
  background: var(--gray-900);
  border-color: rgba(0,0,0,0.12);
}

/* Step Glow ??light mode */
@keyframes stepGlowLight {
  0% { border-color: rgba(0,0,0,0.12); background: var(--gray-900); color: var(--white); box-shadow: none; }
  50% { transform: scale(1.15); box-shadow: 0 0 24px rgba(0,0,0,0.15); border-color: var(--white); background: var(--gray-900); color: var(--white); }
  100% { border-color: var(--white); box-shadow: 0 0 12px rgba(0,0,0,0.1); background: var(--gray-900); color: var(--white); transform: scale(1); }
}
[data-theme-mode="light"] .section.active .process-step:nth-child(1) .step-number { animation-name: stepGlowLight; }
[data-theme-mode="light"] .section.active .process-step:nth-child(2) .step-number { animation-name: stepGlowLight; }
[data-theme-mode="light"] .section.active .process-step:nth-child(3) .step-number { animation-name: stepGlowLight; }
[data-theme-mode="light"] .section.active .process-step:nth-child(4) .step-number { animation-name: stepGlowLight; }

/* Form Inputs */
[data-theme-mode="light"] .form-input {
  background: var(--gray-900);
  border-color: rgba(0,0,0,0.1);
  color: var(--white);
}
[data-theme-mode="light"] .form-input:focus {
  border-color: rgba(0,0,0,0.25);
}
[data-theme-mode="light"] .form-input::placeholder {
  color: var(--gray-400);
}

/* FAQ */
[data-theme-mode="light"] .faq-question {
  color: var(--white);
}
[data-theme-mode="light"] .faq-question:hover {
  color: var(--gray-400);
}
[data-theme-mode="light"] .faq-icon {
  color: var(--gray-400);
}
[data-theme-mode="light"] .faq-answer p {
  color: var(--gray-400);
}

/* Review */
[data-theme-mode="light"] .review-card p {
  color: var(--gray-200);
}
[data-theme-mode="light"] .review-author {
  color: var(--gray-400);
}

/* Service Card Image Area */
[data-theme-mode="light"] .service-card-img-wrap {
  background: #e8e8e8;
}

/* Menu Overlay */
[data-theme-mode="light"] .menu-overlay {
  background: rgba(0,0,0,0.25);
}

/* Mobile Nav */
@media (max-width: 1024px) {
  [data-theme-mode="light"] .nav-links {
    background: rgba(255,255,255,0.95) !important;
  }
  [data-theme-mode="light"] .nav-links a {
    color: var(--gray-600) !important;
  }
  [data-theme-mode="light"] .nav-links a:hover {
    color: var(--white) !important;
  }
}
[data-theme-mode="light"] body.is-mobile .nav-links,
[data-theme-mode="light"] body.is-tablet .nav-links {
  background: rgba(255,255,255,0.95) !important;
}
[data-theme-mode="light"] body.is-mobile .nav-links a,
[data-theme-mode="light"] body.is-tablet .nav-links a {
  color: var(--gray-600) !important;
}

/* Scroll Hint */
[data-theme-mode="light"] .scroll-line {
  background: linear-gradient(to bottom, var(--gray-600), transparent);
}

/* Kakao FAB ???��? (?��??��? ?�이?�에?�도 ??보임) */

/* Blog Preview Card */
[data-theme-mode="light"] .blog-preview-card-img {
  background: #e8e8e8;
}

/* Inquiry Modal Light Mode Overrides */
[data-theme-mode="light"] .inq-modal {
  background: var(--gray-100);
  border-color: rgba(0,0,0,0.1);
}
[data-theme-mode="light"] .inq-modal h3 { color: var(--white); }
[data-theme-mode="light"] .inq-modal p { color: var(--gray-200); }
[data-theme-mode="light"] .inq-modal-info {
  background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06);
}
[data-theme-mode="light"] .inq-modal-row + .inq-modal-row { border-color: rgba(0,0,0,0.06); }
[data-theme-mode="light"] .inq-label { color: var(--gray-400); }
[data-theme-mode="light"] .inq-value { color: var(--white); }
[data-theme-mode="light"] .inq-value small { color: var(--gray-400); }
[data-theme-mode="light"] .inq-lookup-result { border-top-color: rgba(0,0,0,0.08); }
[data-theme-mode="light"] .inq-edit-form label { color: var(--gray-200); }
[data-theme-mode="light"] .inquiry-lookup-link button { color: var(--gray-400); }
[data-theme-mode="light"] .inquiry-lookup-link button:hover { color: var(--white); }

/* VoiceBox Theme Modals */
[data-theme="voicebox"] .modal-content {
  background: #fff; border: 1px solid #ddd; color: #333;
}
[data-theme="voicebox"] .modal-content h3 { color: #111; border-color: #eee; }
[data-theme="voicebox"] .modal-body { color: #555; }
[data-theme="voicebox"] .modal-close { color: #888; }
[data-theme="voicebox"] .modal-close:hover { color: #111; }


/* Footer Layout Fix */
#section-9 { flex-direction: column; }
#section-9 .contact-inner { margin-top: auto; margin-bottom: auto; width: 100%; }
.site-footer { position: relative !important; margin-top: auto; }

/* Mobile fixes */
@media (max-width: 768px) {
  .site-footer { margin-top: 60px; padding: 24px 20px !important; }
  .footer-info { flex-direction: column; gap: 4px !important; align-items: center; }
  .site-footer .footer-info span {
    white-space: normal !important;
    word-break: keep-all;
    line-height: 1.6;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 4px;
  }
  .section { padding-top: 100px !important; padding-bottom: 80px !important; }
  #section-9 .contact-inner { margin-top: 0 !important; margin-bottom: 0 !important; }
  .scroll-hint { left: 50% !important; transform: translateX(-50%) !important; width: auto !important; text-align: center; }
  
  /* Reset stats animation on mobile to hide until scrolled */
  
  
}


@media (max-width: 768px) {
  /* Prevent flex auto margins from clipping top content */
  .section > div { margin-top: 0 !important; margin-bottom: 40px !important; }
  #section-9 { justify-content: flex-start !important; align-items: center !important; }
  .contact-inner { margin-top: 0 !important; }
}

@media (max-width: 768px) {
  [data-theme="voicebox"] .section.active .process-step {
    animation: voiceboxProcessMobileReveal 0.58s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    transform-origin: center top;
  }
  [data-theme="voicebox"] .section.active .process-step:nth-child(1) { animation-delay: 0.06s !important; }
  [data-theme="voicebox"] .section.active .process-step:nth-child(2) { animation-delay: 0.16s !important; }
  [data-theme="voicebox"] .section.active .process-step:nth-child(3) { animation-delay: 0.26s !important; }
  [data-theme="voicebox"] .section.active .process-step:nth-child(4) { animation-delay: 0.36s !important; }
  [data-theme="voicebox"] .section.active .process-step .step-number {
    animation: voiceboxStepNumberMobilePop 0.46s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
  }
  [data-theme="voicebox"] .section.active .process-step:nth-child(1) .step-number { animation-delay: 0.14s !important; }
  [data-theme="voicebox"] .section.active .process-step:nth-child(2) .step-number { animation-delay: 0.24s !important; }
  [data-theme="voicebox"] .section.active .process-step:nth-child(3) .step-number { animation-delay: 0.34s !important; }
  [data-theme="voicebox"] .section.active .process-step:nth-child(4) .step-number { animation-delay: 0.44s !important; }
  [data-theme="voicebox"] .process-step:hover {
    transform: none;
  }
}

@keyframes voiceboxProcessMobileReveal {
  0% { opacity: 0; transform: translateY(18px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes voiceboxStepNumberMobilePop {
  0% {
    opacity: 0;
    transform: scale(0.72);
    background: #EF4444 !important;
    color: #FAFAFA !important;
    border-color: #EF4444 !important;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    background: #FAFAFA !important;
    color: #0A0A0A !important;
    border-color: #EF4444 !important;
  }
}

[data-theme="voicebox"] #section-2 {
  align-items: flex-start;
  overflow-y: auto;
  padding: 112px 0 96px;
}

[data-theme="voicebox"] #section-2 .services-inner {
  max-width: 1120px;
}

[data-theme="voicebox"] #section-2 .services-header {
  margin-bottom: 44px;
}

[data-theme="voicebox"] #section-2 .service-card {
  background: #FAFAFA !important;
  border-color: #D8D8D8 !important;
  border-top: 2px solid #0A0A0A !important;
  padding: 48px 0;
}

[data-theme="voicebox"] #section-2 .service-card-img-wrap {
  background: #0A0A0A !important;
  border: 8px solid #0A0A0A;
}

[data-theme="voicebox"] #section-2 .service-eyebrow {
  color: #EF4444;
}

[data-theme="voicebox"] #section-2 .service-card h3 {
  color: #0A0A0A;
}

[data-theme="voicebox"] #section-2 .service-card h3::after {
  background: linear-gradient(90deg, #EF4444 0 28%, #0A0A0A 28% 100%);
  height: 3px;
  opacity: 1;
}

[data-theme="voicebox"] #section-2 .service-card p {
  color: #555;
}

@media (max-width: 1024px) {
  [data-theme="voicebox"] #section-2 {
    padding: 92px 0 72px;
  }
}

/* 서비스 카드 미디어 랩 공통: 둥근 테두리, 반투명 테두리 및 그림자 효과 v1.0.27 */
[data-theme="voicebox"] #section-2 .service-card-img-wrap,
.service-card-img-wrap {
  background: transparent !important;
  border: 6px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease) !important;
}

/* SVG 예외 처리: 지도 배경과 일치시킴 */
[data-theme="voicebox"] #section-2 .service-card-img-wrap[data-src$=".svg"],
.service-card-img-wrap[data-src$=".svg"] {
  background: #F1EFE8 !important;
}

[data-theme="voicebox"] #section-2 .service-card-img-wrap object,
.service-card-img-wrap object,
[data-theme="voicebox"] #section-2 .service-card-img-wrap video,
.service-card-img-wrap video {
  border-radius: 12px !important;
  display: block;
}

/* 호버 시 자연스러운 들림 & 그림자 효과 */
.service-card:hover .service-card-img-wrap,
.service-card.is-playing .service-card-img-wrap {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}


