/* =========================================================
   JOYCAR 리뉴얼 디자인 시스템 (2026-10)
   - 모든 화면이 공유하는 토큰과 컴포넌트 규격
   - main.css 의 --color-* 변수를 다크 프리미엄 값으로 재정의해 기존 섹션을 일괄 전환
   - 이 파일은 main.css / hero-rebuild.css 뒤에 로드한다
   ========================================================= */

/* 1. 토큰 ------------------------------------------------- */
:root,
html.theme-light,
html.theme-dark,
body.theme-light,
body.theme-dark {
  --c-bg: #050a12;
  --c-bg-2: #0b1324;
  --c-surface: #101a2e;
  --c-surface-2: #16223a;
  --c-text: #f2f5fa;
  --c-text-2: #9aa7bd;
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line-strong: rgba(255, 255, 255, 0.16);
  --c-primary: #2b63f6;
  --c-primary-2: #5b8cff;
  --c-gold: #d1a34d;
  --c-gold-2: #f0cf8a;
  --c-danger: #ff5c5c;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: 'Montserrat', 'Pretendard', -apple-system, system-ui, sans-serif;
  --font-body: 'Pretendard', -apple-system, system-ui, 'Apple SD Gothic Neo', sans-serif;

  /* 기존 main.css 변수 매핑 */
  --color-primary: var(--c-primary);
  --color-primary-strong: #1d4ed8;
  --color-secondary: var(--c-primary-2);
  --color-background: var(--c-bg);
  --color-surface: var(--c-surface);
  --color-surface-muted: var(--c-surface-2);
  --color-surface-strong: #1d2b47;
  --color-text: var(--c-text);
  --color-text-muted: var(--c-text-2);
  --color-border: var(--c-line-strong);
  --color-error: var(--c-danger);
  --color-dark-cta: var(--c-primary);
  --shadow-sm: var(--shadow-1);
  --shadow-md: var(--shadow-2);
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --muted: var(--c-text-2);
  color-scheme: dark;
}

html,
body {
  background: var(--c-bg) !important;
  color: var(--c-text);
  font-family: var(--font-body);
}

body .page {
  background: radial-gradient(1200px 600px at 50% -10%, rgba(43, 99, 246, 0.14), transparent 60%), var(--c-bg);
}

h1, h2, h3, h4 {
  color: var(--c-text);
  letter-spacing: -0.02em;
}

p { color: inherit; }

/* 2. 헤더 / 네비 ------------------------------------------- */
body .site-header,
body .site-header.scrolled,
body.joy-hero-rebuild-ready .site-header,
body.joy-hero-rebuild-ready .site-header.scrolled {
  background: rgba(5, 10, 18, 0.72) !important;
  border-bottom: 1px solid var(--c-line) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: none !important;
  color: var(--c-text) !important;
}

body .site-header .brand,
body .site-header.scrolled .brand { color: #fff !important; }

body .site-header .nav,
body .site-header.scrolled .nav,
body.joy-hero-rebuild-ready .site-header .nav,
body.joy-hero-rebuild-ready .site-header.scrolled .nav {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--c-line) !important;
  box-shadow: none !important;
}

body .site-header .nav a,
body .site-header.scrolled .nav a,
body.joy-hero-rebuild-ready .site-header .nav a,
body.joy-hero-rebuild-ready .site-header.scrolled .nav a,
body.theme-light.joy-hero-rebuild-ready .site-header .nav a,
body.nav-theme-light .site-header .nav a,
body.nav-theme-dark .site-header .nav a {
  color: rgba(242, 245, 250, 0.92) !important;
  font-weight: 600;
  text-shadow: none !important;
}

body .site-header .nav a:hover,
body .site-header .nav a:focus-visible,
body .site-header.scrolled .nav a:hover,
body.joy-hero-rebuild-ready .site-header .nav a:hover,
body.joy-hero-rebuild-ready .site-header .nav a:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.10) !important;
}

body .site-header .nav a.active,
body.joy-hero-rebuild-ready .site-header .nav a.active { color: #fff !important; background: rgba(43, 99, 246, 0.22) !important; }

body .site-header .nav,
body.joy-hero-rebuild-ready .site-header .nav { background: rgba(11, 19, 36, 0.55) !important; }

body .hamburger,
body.theme-light.joy-hero-rebuild-ready .site-header:not(.scrolled) .hamburger,
body.theme-light.joy-hero-rebuild-ready .site-header.scrolled .hamburger,
body.theme-light.joy-hero-rebuild-ready #hamburgerBtn.hamburger { color: #fff !important; }

body .site-header .nav-link-btn {
  color: var(--c-gold-2) !important;
  border: 1px solid rgba(209, 163, 77, 0.4) !important;
  background: rgba(209, 163, 77, 0.08) !important;
}

body .site-header .nav-cta,
body .site-header .nav a.nav-cta,
body .site-header.scrolled .nav a.nav-cta,
body.nav-theme-dark .site-header:not(.scrolled) .nav-cta,
body.nav-theme-light .site-header:not(.scrolled) .nav-cta {
  background: linear-gradient(180deg, var(--c-primary-2), var(--c-primary)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(43, 99, 246, 0.35) !important;
}

body .hamburger {
  color: #fff !important;
  border-color: var(--c-line-strong) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body .mobile-nav,
body .mobile-nav-overlay,
body .mobile-nav-panel {
  background: rgba(5, 10, 18, 0.96) !important;
  color: var(--c-text) !important;
}

body .mobile-nav a { color: var(--c-text) !important; }

/* 3. 섹션 / 섹션 헤더 --------------------------------------- */
body .section {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
  background: transparent;
}

body .section + .section { border-top: 1px solid var(--c-line); }

body .section-head { margin-bottom: var(--sp-5); }

body .section-head.split { align-items: flex-end; }

body .section-kicker,
body .kicker {
  display: inline-block;
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

body .section-head h2 {
  margin: 0 0 var(--sp-2);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
}

body .section-head p {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
}

/* 4. 버튼 ------------------------------------------------- */
body .btn,
body .btn:not(.primary),
body .ghost-link {
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text);
  font-weight: 700;
  backdrop-filter: none;
  box-shadow: none;
}

body .btn:hover,
body .btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: none;
}

body .btn.primary,
body .btn--primary {
  border: 0;
  background: linear-gradient(180deg, var(--c-primary-2), var(--c-primary));
  color: #fff;
  box-shadow: 0 12px 28px rgba(43, 99, 246, 0.3);
}

body .btn--gold {
  border: 1px solid rgba(209, 163, 77, 0.6);
  background: linear-gradient(180deg, rgba(240, 207, 138, 0.18), rgba(209, 163, 77, 0.08));
  color: var(--c-gold-2);
}

body .btn--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--c-text-2);
}

@media (max-width: 768px) {
  body .btn, body .btn.primary { min-height: 52px; width: 100%; }
}

/* 5. 카드 / 표면 (기존 라이트 카드 일괄 전환) ----------------- */
body .hero-intro,
body .scroll-banner,
body .value-card,
body .process-card,
body .gallery-post,
body .price-card,
body .offer-card,
body .faq-card,
body .request-summary-card,
body .board-row,
body .trust-item,
body .service-step,
body .work-field-card,
body .wash-type-card,
body .hero-estimator,
body .hero-intro-panel,
body .hero-estimate-form,
body .estimate-card,
body .quote-panel,
body .qna-board,
body .qna-item,
body .qna-tab,
body .board-table,
body .modal-content,
body .card {
  background: var(--c-surface) !important;
  border: 1px solid var(--c-line) !important;
  box-shadow: none !important;
  color: var(--c-text);
}

body .board-row.head { background: var(--c-surface-2) !important; }
body .board-row span { color: var(--c-text-2); }
body .qna-tab-active { background: var(--c-primary) !important; color: #fff !important; }

body .card:hover,
body .price-card:hover,
body .gallery-post:hover,
body .wash-type-card:hover {
  border-color: var(--c-line-strong) !important;
  transform: translateY(-2px);
}

body .step-image,
body .wash-type-image,
body .field-image {
  background-color: var(--c-surface-2) !important;
  border-radius: var(--r-sm);
}

body .step-number {
  background: var(--c-primary);
  color: #fff;
}

body .price,
body .price-card .price { color: var(--c-gold-2); }

/* 6. 입력 ------------------------------------------------- */
body input,
body select,
body textarea,
body .qna-search-input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-2);
  color: var(--c-text);
  font-family: var(--font-body);
}

body textarea { padding: 12px 14px; min-height: 120px; }

body input::placeholder,
body textarea::placeholder { color: var(--c-text-2); }

body input:focus,
body select:focus,
body textarea:focus {
  outline: 2px solid var(--c-primary);
  outline-offset: 1px;
  border-color: var(--c-primary);
}

body label,
body .hero-form-field > span { color: var(--c-text-2); font-weight: 600; }

/* 7. 모달 ------------------------------------------------- */
body .modal-overlay { background: rgba(0, 0, 0, 0.7) !important; }

body .modal-content {
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-2) !important;
}

body .modal-close { color: var(--c-text-2); }

@media (max-width: 768px) {
  body .modal-content {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    max-height: 88vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0 !important;
    overflow: auto;
  }
}

/* 7b. 팝업·모달 확장 (갤러리·문의·대시보드·세차방식·사이트 팝업·토스트) ---- */
body .modal-header { border-bottom: 1px solid var(--c-line); }
body .modal-header h2 { color: var(--c-text); font-family: var(--font-display); letter-spacing: -0.02em; }
body .modal-close,
body .gallery-modal-close,
body .public-dashboard-modal-close,
body .joycar-popup-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-line-strong) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--c-text) !important;
  transition: background .15s, transform .15s;
}
body .modal-close:hover,
body .gallery-modal-close:hover,
body .public-dashboard-modal-close:hover,
body .joycar-popup-close:hover { background: rgba(255, 255, 255, 0.12) !important; transform: rotate(90deg); }

body .gallery-modal-backdrop,
body .inquiry-form-backdrop,
body .public-dashboard-modal-backdrop,
body .public-gallery-admin-backdrop { background: rgba(5, 10, 18, 0.74) !important; backdrop-filter: blur(10px); }

body .gallery-modal-dialog,
body .inquiry-form-dialog,
body .public-dashboard-login-dialog,
body .public-dashboard-modal-dialog,
body .public-gallery-admin-dialog {
  background: var(--c-surface) !important;
  border: 1px solid var(--c-line-strong) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-2) !important;
  color: var(--c-text);
}
body .gallery-modal-title,
body .public-dashboard-login-dialog h3,
body .public-dashboard-modal-header h3 { color: var(--c-text); font-family: var(--font-display); }
body .gallery-modal-block-text,
body .gallery-modal-block p,
body .public-dashboard-modal-subtitle { color: var(--c-text-2); }
body .gallery-modal-block img { border-radius: var(--r-md); border: 1px solid var(--c-line); }

body .wash-type-modal-body { padding: var(--sp-4); }
body .wash-type-modal-card {
  background: var(--c-surface-2) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-md);
}
body .wash-type-modal-card h3 { color: var(--c-text); }
body .wash-type-modal-label { color: var(--c-primary-2); }
body .wash-type-modal-desc { color: var(--c-text-2); }
body .wash-type-modal-time {
  background: rgba(43, 99, 246, 0.14);
  color: var(--c-primary-2);
  border-radius: var(--r-sm);
}

body .corporate-form .form-group label,
body .inquiry-form-dialog label { color: var(--c-text-2); }
body .form-group input,
body .form-group select,
body .form-group textarea,
body .inquiry-form-field input,
body .inquiry-form-field select,
body .inquiry-form-field textarea {
  background: var(--c-bg-2) !important;
  border: 1px solid var(--c-line-strong) !important;
  color: var(--c-text) !important;
  border-radius: var(--r-sm) !important;
}
body .form-group input:focus,
body .form-group select:focus,
body .form-group textarea:focus { border-color: var(--c-primary) !important; }

/* 사이트 팝업: 기본 표면을 다크 프리미엄으로. 어드민 프리셋·색상 지정은 인라인 style 이 우선 */
body .joycar-popup-dialog {
  border-radius: var(--r-lg);
  border: 1px solid rgba(209, 163, 77, 0.35);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(209, 163, 77, 0.16), transparent 60%),
    linear-gradient(160deg, #141b2d 0%, #0b1324 100%);
  color: var(--c-text);
  box-shadow: var(--shadow-2);
  --joycar-popup-frame-border: rgba(255, 255, 255, 0.12);
  --joycar-popup-frame-glow: rgba(209, 163, 77, 0.16);
}
body .joycar-popup-dialog::after {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at top left, var(--joycar-popup-frame-glow), transparent 42%);
}
body .joycar-popup-kicker { color: var(--c-gold-2); }
body .joycar-popup-title { font-family: var(--font-display); letter-spacing: -0.02em; }
body .joycar-popup-headline { color: inherit; opacity: 0.85; }
body .joycar-popup-body { color: inherit; }
body .joycar-popup-body img { border-radius: var(--r-md); }
body .joycar-popup-footer .btn { min-height: 44px; border-radius: 999px; }
body .joycar-popup-footer .btn:not(.btn-primary):not(.btn-secondary) {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-line-strong);
  color: inherit;
}
body .joycar-popup-footer .btn-secondary { background: transparent; border: 1px solid var(--c-line-strong); color: inherit; }
body .joycar-popup-footer .btn-primary { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2)); color: #fff; border: 0; }

body .toast,
body .site-toast {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  color: var(--c-text);
  box-shadow: var(--shadow-1);
}

@media (max-width: 768px) {
  body .gallery-modal-dialog,
  body .inquiry-form-dialog { margin: 12px auto; padding: 16px; border-radius: var(--r-md) !important; }
  body .joycar-popup-modal { padding: 12px; }
  body .joycar-popup-dialog { padding: 24px 18px 20px; }
  body .joycar-popup-head { padding: 0 36px; }
}

/* 8. 태그 ------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--c-line-strong);
  color: var(--c-text-2);
}

.tag--premium { border-color: rgba(209, 163, 77, 0.6); color: var(--c-gold-2); background: rgba(209, 163, 77, 0.08); }
.tag--lite { border-color: rgba(91, 140, 255, 0.6); color: var(--c-primary-2); background: rgba(43, 99, 246, 0.1); }

/* 9. 투트랙 섹션 ----------------------------------------- */
.tracks-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-4);
}

.track-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  overflow: hidden;
}

.track-card--premium {
  border-color: rgba(209, 163, 77, 0.35);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(209, 163, 77, 0.18), transparent 60%),
    linear-gradient(160deg, #141b2d 0%, #0b1324 100%);
}

.track-card--lite {
  background:
    radial-gradient(500px 260px at 0% 100%, rgba(43, 99, 246, 0.22), transparent 60%),
    linear-gradient(160deg, #0f1a30 0%, #0b1324 100%);
}

.track-media {
  position: relative;
  margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}

.track-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .6s ease;
}

.track-card:hover .track-media img { transform: scale(1.06); }

.track-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0) 40%, rgba(11, 19, 36, 0.92) 100%);
}

.track-media .tag {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-3);
  z-index: 1;
  backdrop-filter: blur(6px);
}

.track-media figcaption {
  position: absolute;
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 1;
  font-size: 11px;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}

.track-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.2;
}

.track-card .track-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
}

.track-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.track-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text);
}

.track-list li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--c-primary-2);
}

.track-card--premium .track-list li::before { background: var(--c-gold); }

.track-cars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-cars span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(209, 163, 77, 0.35);
  background: rgba(209, 163, 77, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gold-2);
}

.track-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-line);
}

.track-price {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--c-text-2);
}

.track-price strong {
  display: block;
  font-size: 20px;
  color: var(--c-text);
}

@media (max-width: 900px) {
  .tracks-grid { grid-template-columns: 1fr; }
  .track-card { padding: var(--sp-4); }
  .track-media { margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) 0; }
  .track-media .tag { left: var(--sp-3); }
  .track-foot { flex-direction: column; align-items: stretch; }
}

/* 10. AI 상담 섹션 ---------------------------------------- */
.ai-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-4);
  align-items: stretch;
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chips button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ai-chips button:hover { background: rgba(255, 255, 255, 0.09); }

.ai-preview {
  display: grid;
  gap: 10px;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
}

.ai-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.ai-msg--user {
  justify-self: end;
  background: var(--c-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-msg--bot {
  justify-self: start;
  background: var(--c-surface-2);
  color: var(--c-text);
  border-bottom-left-radius: 4px;
}

.ai-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .ai-shell { grid-template-columns: 1fr; }
}

/* 10b. 히어로 슬라이드 영상 + AI 섹션 비주얼 (Higgsfield) -------- */
.slide-media { position: relative; }
body.joy-hero-rebuild-ready .hero-banner-top .joy-hero__media .joy-hero__video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100svh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  display: block !important;
}
@media (prefers-reduced-motion: reduce) {
  body .joy-hero__video { display: none !important; }
}
.slide-media .slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .slide-media .slide-video { display: none; }
}

.ai-visual {
  position: relative;
  margin: 0 0 var(--sp-3);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: var(--c-surface-2);
}
.ai-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0) 50%, rgba(11, 19, 36, 0.85) 100%);
}
.ai-visual figcaption {
  position: absolute;
  left: var(--sp-3);
  bottom: var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-2);
  letter-spacing: 0.04em;
}

/* 10c. 세차 종류 카드 (Higgsfield 다크 이미지) ------------------ */
.wash-types-grid { counter-reset: wash-card; }
body .wash-type-card {
  counter-increment: wash-card;
  position: relative;
  overflow: hidden;
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg) !important;
}
body .wash-type-image {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background-color: var(--c-surface-2) !important;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
}
body .wash-type-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0) 55%, rgba(16, 26, 46, 0.9) 100%);
}
body .wash-type-card:hover .wash-type-image { border-color: var(--c-line-strong); }
/* 이모지 아이콘 → 번호 칩 */
body .wash-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 28px;
  margin: calc(-1 * var(--sp-4)) auto 10px;
  padding: 0 12px;
  position: relative;
  z-index: 1;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  background: var(--c-surface);
  font-family: var(--font-display);
  font-size: 0;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-1);
}
body .wash-type-icon::before {
  content: 'TYPE ' counter(wash-card, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-2);
}
body .wash-type-card:nth-child(3) .wash-type-icon { border-color: rgba(209, 163, 77, 0.6); background: rgba(209, 163, 77, 0.1); }
body .wash-type-card:nth-child(3) .wash-type-icon::before { color: var(--c-gold-2); }
body .wash-type-title { font-family: var(--font-display); letter-spacing: -0.02em; }
body .wash-type-label { color: var(--c-primary-2); font-weight: 700; }
body .wash-type-card:nth-child(3) .wash-type-label { color: var(--c-gold-2); }
body .wash-type-card:nth-child(3) { border-color: rgba(209, 163, 77, 0.35) !important; }
body .wash-type-desc { color: var(--c-text-2); line-height: 1.7; }

/* 10d. 히어로 씬 모듈 (GSAP) + 옛 장식 제거 ---------------------- */
body .joy-hero__bubble, body .joy-hero__mascot, body .joy-hero__stars, body .joy-hero__badge, body .joy-scene { display: none !important; }
body.joy-hero-rebuild-ready .hero-banner-top .joy-hero__scene { z-index: 2 !important; pointer-events: none; overflow: hidden; }

.jscene { position: absolute; }
.jscene.is-static { opacity: 1 !important; }

/* 라이트 스윕 */
.jscene--lightsweep { inset: 0; }
.jscene__beam {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 18%;
  height: 140%;
  transform: skewX(-18deg);
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(14px);
}
.jscene__beam--gold { background: linear-gradient(90deg, transparent, rgba(240, 207, 138, 0.55), transparent); }
.jscene__beam--blue { width: 10%; left: 40%; background: linear-gradient(90deg, transparent, rgba(91, 140, 255, 0.5), transparent); }
.jscene__grain {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 70% 20%, rgba(209, 163, 77, 0.10), transparent 60%);
}

/* 실적 수치 */
.jscene--stats {
  left: 50%;
  /* 숫자 칸은 슬라이드 점(하단 약 50px) 바로 위에 붙이고, 가운데에서 시작하는 버튼과 겹치지 않게 아래로 내린다 */
  bottom: clamp(44px, 6.5vh, 64px);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  pointer-events: none;
}
.jscene__stat {
  display: grid;
  gap: 2px;
  min-width: 128px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 19, 36, 0.55);
  backdrop-filter: blur(10px);
  text-align: center;
}
.jscene__stat-value {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-gold-2);
  font-variant-numeric: tabular-nums;
}
.jscene__stat-label { font-size: 12px; color: var(--c-text-2); letter-spacing: 0.02em; }

/* 골드 엠블럼 */
.jscene--emblem {
  top: clamp(96px, 14vh, 150px);
  right: clamp(16px, 6vw, 96px);
  width: clamp(104px, 11vw, 140px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.jscene__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.jscene__ring circle { fill: none; }
.jscene__ring-track { stroke: rgba(255, 255, 255, 0.10); stroke-width: 1; }
.jscene__ring-draw { stroke: var(--c-gold); stroke-width: 1.5; stroke-linecap: round; }
.jscene__ring-inner { stroke: rgba(209, 163, 77, 0.28); stroke-width: 0.75; stroke-dasharray: 2 4; }
.jscene__emblem-text { position: relative; display: grid; gap: 2px; text-align: center; padding: 0 12px; }
.jscene__emblem-text strong {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-2);
}
.jscene__emblem-text small { font-size: 10px; letter-spacing: 0.04em; color: var(--c-text-2); }

/* 차종 마퀴 */
.jscene--marquee {
  left: 0;
  right: 0;
  bottom: clamp(72px, 10vh, 120px);
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(5, 10, 18, 0.6), rgba(5, 10, 18, 0.15) 30%, rgba(5, 10, 18, 0.15) 70%, rgba(5, 10, 18, 0.6));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.jscene__mq-track { display: flex; width: max-content; will-change: transform; }
.jscene__mq-row { display: flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; }
.jscene__mq-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 245, 250, 0.72);
}
.jscene__mq-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c-gold); opacity: 0.8; }

/* 낮은 화면(노트북)에서 기업세차 슬라이드의 숫자 칸이 신청 버튼과 겹치지 않도록 크기를 줄인다 */
@media (min-width: 769px) and (max-height: 779px) {
  /* 낮은 화면(노트북): 히어로를 780px 이상으로 유지해 신청 버튼과 숫자 칸이 겹치지 않게 한다(화면보다 약간 길면 스크롤) */
  body.joy-hero-rebuild-ready .hero-banner-top { min-height: 780px !important; }
}
@media (max-height: 800px) and (min-width: 769px) {
  .jscene--stats { bottom: 40px; }
  .jscene__stat { min-width: 112px; padding: 8px 14px; }
  .jscene__stat-value { font-size: clamp(18px, 1.8vw, 24px); }
  .jscene__stat-label { font-size: 11px; }
}

@media (max-width: 768px) {
  .jscene--stats { bottom: 92px; gap: 8px; width: calc(100% - 32px); justify-content: center; }
  .jscene__stat { min-width: 0; flex: 1; padding: 10px 8px; }
  .jscene__stat-value { font-size: 18px; }
  .jscene__stat-label { font-size: 11px; }
  .jscene--emblem { top: 84px; right: 14px; width: 92px; }
  .jscene--marquee { bottom: 84px; }
}

@media (max-width: 768px) and (max-height: 779px) {
  /* 화면이 낮으면 숫자 칸이 신청 버튼(~600px)과 겹치므로 더 아래로 내린다 */
  .jscene--stats { bottom: 60px; }
}
@media (max-width: 768px) and (max-height: 700px) {
  /* 아주 낮은 화면은 장식인 숫자 칸을 숨겨 버튼을 가리지 않게 한다 */
  .jscene--stats { display: none; }
}

/* 11. 푸터 ------------------------------------------------ */
body .site-footer {
  background: var(--c-bg-2) !important;
  border-top: 1px solid var(--c-line);
  color: var(--c-text-2) !important;
}

body .site-footer p,
body .site-footer button { color: var(--c-text-2); }

/* 12. 리빌 애니메이션 완화 -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* 13. 히어로 견적 패널 (main.css 미디어쿼리의 라이트 !important 덮어쓰기) ---- */
body .hero-shell-bottom .hero-intro,
body .hero-shell-bottom .hero-estimator,
body .hero-intro,
body .hero-estimator,
body .hero-intro-panel,
body .hero-form-intro,
body .estimate-form-shell-summary,
body .estimate-result-card,
body .estimate-base-head,
body .estimate-base-pricing,
body .estimate-field,
body .estimate-option-item,
body .estimate-control {
  background: var(--c-surface) !important;
  border: 1px solid var(--c-line) !important;
  box-shadow: none !important;
  color: var(--c-text) !important;
}

body .hero-intro h1,
body .hero-estimator h2,
body .estimate-result-card strong { color: var(--c-text) !important; }

body .hero-summary,
body .hero-form-intro p,
body .estimate-card-label { color: var(--c-text-2) !important; }

/* 14. 가로 스크롤 방지 */
html, body { overflow-x: clip; }

.ai-note { margin: 16px 0; font-size: 14px; line-height: 1.6; color: var(--c-text-2); }

/* 15. 개발용 '선택' 도구: 헤더 CTA 와 겹치지 않게 왼쪽 아래로 */
body .dev-selector-toggle {
  top: auto !important;
  right: auto !important;
  left: 18px !important;
  bottom: 18px !important;
  background: rgba(11, 19, 36, 0.9) !important;
  border: 1px solid var(--c-line-strong) !important;
  color: var(--c-text-2) !important;
  font-size: 12px !important;
  min-width: 0 !important;
  height: 32px !important;
  padding: 0 12px !important;
  box-shadow: var(--shadow-1) !important;
}
body .dev-selector-toggle.is-active { background: var(--c-primary) !important; color: #fff !important; }
body .dev-selector-panel { top: auto !important; bottom: 60px !important; right: auto !important; left: 18px !important; }

/* 16. 시인성 보정: 견적 패널 라벨·설명, 문의 게시판 카테고리 칩 */
body .hero-field-label-row span,
body .hero-field-label-row > span,
body .hero-form-field > span,
body #estimateDescription,
body .estimator-head p { color: var(--c-text-2) !important; }
body .hero-field-label-row strong,
body .hero-form-field > strong { color: var(--c-text) !important; }
body .qna-category,
body .qna-category.qna-notice { background: var(--c-primary) !important; color: #fff !important; }

/* 17. 작업 사례 페이지 이동 */
.gallery-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: var(--sp-4); }
.gallery-pager[hidden] { display: none; }
.gallery-pager-btn {
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--c-line-strong);
  background: rgba(255, 255, 255, 0.04); color: var(--c-text); font-weight: 600; font-size: 14px; cursor: pointer;
}
.gallery-pager-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }
.gallery-pager-btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.gallery-pager-btn:disabled { opacity: 0.35; cursor: default; }
.gallery-pager-gap { color: var(--c-text-2); padding: 0 2px; }
.gallery-pager-info { width: 100%; text-align: center; margin-top: 6px; font-size: 12px; color: var(--c-text-2); }

/* 18. 갤러리 상세 창 이전·목록·다음 */
body .gallery-modal-nav { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--c-line); position: sticky; bottom: 0; background: var(--c-surface); }
body .gallery-modal-nav-btn { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--c-line-strong); background: rgba(255,255,255,0.04); color: var(--c-text); font-weight: 600; cursor: pointer; }
body .gallery-modal-nav-btn:hover:not(:disabled) { background: rgba(255,255,255,0.1); }
body .gallery-modal-nav-btn:disabled { opacity: 0.35; cursor: default; }
body .gallery-modal-nav-list { flex: 0 0 auto; padding: 0 18px; background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
@media (max-width: 640px) { body .gallery-modal-nav-btn { font-size: 13px; } }

/* 19. 갤러리 상세 창 수정 버튼 */
body .gallery-modal-edit {
  position: sticky; top: 0; float: right; margin-right: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(209, 163, 77, 0.5); background: rgba(209, 163, 77, 0.12); color: var(--c-gold-2);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
body .gallery-modal-edit:hover { background: rgba(209, 163, 77, 0.22); }

/* 20. 방금 수정한 작업 사례 카드 강조 */
body .gallery-post.is-just-edited { outline: 2px solid var(--c-gold); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(209, 163, 77, 0.15) !important; transition: box-shadow .4s; }

/* 21. 사이트 팝업 × 버튼이 제목 영역에 가려 눌리지 않던 문제 */
body .joycar-popup-close { position: absolute !important; z-index: 5 !important; pointer-events: auto !important; }
body .joycar-popup-head { padding-right: 56px; }

/* 22. CTA 목적지 강조 (금색 깜빡임) */
@keyframes joyCtaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 207, 138, 0.0), 0 0 0 0 rgba(240, 207, 138, 0.6); }
  50%  { box-shadow: 0 0 0 14px rgba(240, 207, 138, 0.22), 0 0 48px 16px rgba(240, 207, 138, 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(240, 207, 138, 0.0), 0 0 0 0 rgba(240, 207, 138, 0.0); }
}
body .is-cta-target { animation: joyCtaPulse 1.1s ease-in-out 3; outline: 3px solid var(--c-gold) !important; outline-offset: 12px; border-radius: inherit; position: relative; z-index: 2; }
body input.is-cta-target, body .hero-search-shell.is-cta-target { border-color: var(--c-gold) !important; }
@media (prefers-reduced-motion: reduce) { body .is-cta-target { animation: none; } }

/* 23. 앵커 이동 시 섹션 제목이 고정 헤더에 가리지 않게 */
body section[id], body [id="estimate"], body [id="board-request"], body [id="board-inquiry"] { scroll-margin-top: 96px; }

/* 24. 견적 '다양한 가격 정보' 행: 밝은 회색 그라데이션 → 다크 표면 */
body .estimate-price-row {
  background: var(--c-surface-2) !important;
  border: 1px solid var(--c-line) !important;
  color: var(--c-text) !important;
  box-shadow: none !important;
}
body .estimate-price-row:hover { border-color: var(--c-line-strong) !important; background: #1b2944 !important; }
body .estimate-price-row.is-selected {
  background: linear-gradient(135deg, rgba(43, 99, 246, 0.35), rgba(16, 26, 46, 0.95)) !important;
  border-color: var(--c-primary-2) !important;
  box-shadow: 0 0 0 1px rgba(91, 140, 255, 0.35) inset !important;
}
body .estimate-price-row .estimate-price-name { color: var(--c-text) !important; font-weight: 700; }
body .estimate-price-row .estimate-price-note,
body .estimate-price-row .estimate-price-hint { color: var(--c-text-2) !important; }
body .estimate-price-row .estimate-price-value,
body .estimate-price-row strong { color: var(--c-gold-2) !important; }
body .estimate-price-row.is-selected .estimate-price-value { color: #fff !important; }

/* 25. 관리자 삭제 버튼(카드·상세 창) */
body .gallery-post-delete { right: 60px; }
body .gallery-post-delete:hover, body .gallery-post-delete:focus-visible { background: rgba(220, 38, 38, 0.92); border-color: rgba(220, 38, 38, 0.92); }
body .gallery-modal-delete { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.1); color: #f87171; }
body .gallery-modal-delete:hover { background: rgba(239, 68, 68, 0.22); }

/* 26. 작업 사례 카드 제목 바로 수정(관리자) */
body .gallery-post-title-row { display: flex; align-items: flex-start; gap: 6px; }
body .gallery-post-title-row h3 { flex: 0 1 auto; min-width: 0; }
body .gallery-title-edit { flex: 0 0 auto; width: 26px; height: 26px; margin-top: 2px; border-radius: 999px; border: 1px solid rgba(209, 163, 77, 0.45); background: rgba(209, 163, 77, 0.12); color: var(--c-gold-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.9; }
body .gallery-title-edit:hover, body .gallery-title-edit:focus-visible { opacity: 1; color: var(--c-gold-2); border-color: rgba(209, 163, 77, 0.6); }
body .gallery-title-input { width: 100%; font: inherit; font-size: 18px; font-weight: 700; color: var(--c-text); background: rgba(255,255,255,0.06); border: 1px solid var(--c-gold); border-radius: 8px; padding: 4px 8px; outline: none; }
body .gallery-title-text.is-saving { opacity: 0.6; }

/* 27. 차량번호 칩(관리자 세션에서만 렌더됨) */
body .gallery-plate-chip { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: #0b1220; background: var(--c-gold); vertical-align: 2px; }
body .gallery-modal-title .gallery-plate-chip { font-size: 13px; vertical-align: 3px; }
body .gallery-title-text { display: inline; }

/* 28. 예약 가능 일정: 주 단위 시간표 (공개) */
body .schedule-week { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 18px; }
body .schedule-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
body .schedule-cal-head strong { font-size: 18px; color: var(--c-text); text-align: center; }
body .schedule-nav { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line-strong); background: rgba(255,255,255,0.04); color: var(--c-text); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
body .schedule-nav:disabled { opacity: 0.3; cursor: default; }
body .schedule-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body .schedule-table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; min-width: 560px; }
body .schedule-table th, body .schedule-table td { text-align: center; vertical-align: middle; }
body .schedule-table thead th { padding: 6px 0 8px; color: var(--c-text); }
body .schedule-th-day { display: block; font-size: 12px; color: var(--c-text-muted); }
body .schedule-th-date { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; }
body .schedule-th-sub { display: block; font-size: 10px; color: var(--c-text-muted); }
body .schedule-table thead th:nth-child(7) .schedule-th-day { color: #8ab4ff; }
body .schedule-table thead th:nth-child(8) .schedule-th-day { color: #ff8a8a; }
body .schedule-table thead th.is-today .schedule-th-date { color: var(--c-gold-2); text-decoration: underline; text-underline-offset: 3px; }
body .schedule-th-time { width: 64px; text-align: left !important; color: var(--c-text); }
body .schedule-th-time b { display: block; font-size: 13px; }
body .schedule-th-time small { display: block; font-size: 10px; color: var(--c-text-muted); }
body .schedule-td { height: 40px; border-radius: 8px; font-size: 12px; }
body .schedule-td.is-closed { background: rgba(255,255,255,0.03); color: var(--c-text-muted); }
body .schedule-td.is-full { background: rgba(255, 92, 92, 0.16); color: #ffb3b3; font-weight: 600; }
body .schedule-td.is-open { padding: 0; background: rgba(43, 99, 246, 0.2); }
body .schedule-td.is-open button { width: 100%; height: 40px; border: 1px solid rgba(43, 99, 246, 0.6); border-radius: 8px; background: transparent; color: #dbe6ff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
body .schedule-td.is-open button:hover { background: rgba(43, 99, 246, 0.45); color: #fff; }
body .schedule-td-empty { padding: 24px; color: var(--c-text-muted); }
body .schedule-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--c-text-muted); flex-wrap: wrap; }
body .schedule-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
body .schedule-legend i.is-open { background: rgba(43, 99, 246, 0.8); }
body .schedule-legend i.is-full { background: rgba(255, 92, 92, 0.7); }
body .schedule-legend i.is-closed { background: rgba(255,255,255,0.15); }
body .schedule-note { margin: 14px 0 0; font-size: 13px; color: var(--c-gold-2); }
@media (max-width: 760px) {
  body .schedule-week { padding: 12px; }
  body .schedule-cal-head strong { font-size: 15px; }
  body .schedule-nav { padding: 0 10px; font-size: 12px; }
  body .schedule-table { min-width: 0; border-spacing: 2px; }
  body .schedule-th-time { width: 44px; }
  body .schedule-th-time b { font-size: 11px; }
  body .schedule-th-time small { display: none; }
  body .schedule-th-date { font-size: 14px; }
  body .schedule-td, body .schedule-td.is-open button { height: 34px; font-size: 10px; }
}

/* 29. 세차 요청 접수 폼: 밝은 파스텔 카드를 다크 토큰으로 통일 */
body .inquiry-form-dialog { background: var(--c-surface); color: var(--c-text); }
body .inquiry-form-grid > .inquiry-form-field,
body .inquiry-form-field {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--c-line) !important;
  box-shadow: none !important;
  color: var(--c-text-2);
}
body .inquiry-form-field > span,
body .inquiry-form-field > label,
body .inquiry-form-field > strong { color: var(--c-text); }
body .inquiry-form-subfield > span,
body .inquiry-form-subfield > label { color: var(--c-text-2); }
body .inquiry-form-desc { color: var(--c-text-2); }
body .inquiry-form-field input::placeholder,
body .inquiry-form-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
body .inquiry-form-field #if-vehicleType { background: var(--c-bg-2) !important; color: var(--c-text) !important; }
body .inquiry-choice-group { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--c-line); }
body .inquiry-choice-group > span { color: var(--c-text); }
body .inquiry-choice-btn { background: rgba(255, 255, 255, 0.04); border-color: var(--c-line-strong); color: var(--c-text); }
body .inquiry-choice-btn.is-active { background: rgba(43, 99, 246, 0.22); border-color: var(--c-primary); color: #dbe6ff; }
body .inquiry-help-btn { background: rgba(255, 255, 255, 0.08); color: var(--c-text); border-color: var(--c-line-strong); }
body .inquiry-form-dialog .vehicle-type-suggestions { background: var(--c-surface); border-color: var(--c-line-strong); color: var(--c-text); }
body .inquiry-form-dialog .vehicle-type-suggestions button,
body .inquiry-form-dialog .vehicle-type-suggestions li { color: var(--c-text); }
body .inquiry-form-dialog .vehicle-type-suggestions button:hover,
body .inquiry-form-dialog .vehicle-type-suggestions li:hover { background: rgba(43, 99, 246, 0.2); }


/* 27. 갤러리 관리 버튼은 관리자만 보이게, 공지 표시 */
body:not(.is-gallery-admin) .gallery-add-btn,
body:not(.is-gallery-admin) .gallery-post-admin,
body:not(.is-gallery-admin) .gallery-title-edit,
body:not(.is-gallery-admin) .gallery-top-btn,
body:not(.is-gallery-admin) .gallery-modal-edit { display: none !important; }
body .gallery-top-btn { flex: 0 0 auto; margin-top: 2px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(209, 163, 77, 0.45); background: rgba(209, 163, 77, 0.12); color: var(--c-gold-2); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
body .gallery-top-btn.is-on { background: var(--c-gold); color: #111; border-color: var(--c-gold); }
body .gallery-notice-badge { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: var(--c-gold); color: #111; font-size: 12px; font-weight: 800; vertical-align: 2px; }


/* 28. 접수 창 '일정 보기' 버튼과 주간 일정 팝업 */
body .inquiry-schedule-open { margin-top: 10px; padding: 9px 16px; border-radius: 10px; border: 1px solid rgba(43, 99, 246, 0.6); background: rgba(43, 99, 246, 0.16); color: #dbe6ff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
body .inquiry-schedule-open:hover { background: rgba(43, 99, 246, 0.3); }
.schedule-popup { position: fixed; inset: 0; z-index: 1400; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 6, 18, 0.72); }
.schedule-popup[hidden] { display: none; }
.schedule-popup-dialog { width: min(760px, 100%); max-height: 92vh; overflow: auto; padding: 18px; border-radius: 16px; background: #0f172a; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.55); color: #e5e7eb; }
.schedule-popup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font-size: 18px; }
.schedule-popup-close { width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #e5e7eb; cursor: pointer; font-size: 16px; }
.schedule-popup-hint { margin: 0 0 10px; font-size: 13px; color: #9ca3af; }


/* 29. 접수 창 옵션 칩·차량 자동완성 글씨가 안 보이던 색 수정 */
body .inquiry-form-dialog .inquiry-option-item { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.18) !important; }
body .inquiry-form-dialog .inquiry-option-copy strong { color: #f1f5f9 !important; }
body .inquiry-form-dialog .inquiry-option-copy small { color: #c3cad6 !important; }
body .inquiry-form-dialog .vehicle-type-suggestion-empty { color: #c3cad6 !important; padding: 12px 14px; }
body .inquiry-form-dialog .vehicle-type-suggestion-item strong { color: #f1f5f9 !important; }
body .inquiry-form-dialog .vehicle-type-suggestion-item span { color: #aeb7c6 !important; }


/* 30. 일반세차는 외부만 진행 — 안내 문구와 막힌 선택 */
body .deluxe-exterior-note { grid-column: 1 / -1; width: 100%; box-sizing: border-box; word-break: keep-all; margin: 10px 0 0; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(209, 163, 77, 0.45); background: rgba(209, 163, 77, 0.1); color: var(--c-gold-2, #f3d28a); font-size: 14px; line-height: 1.6; }
body .deluxe-exterior-note[hidden] { display: none; }
body .inquiry-choice-btn.is-disabled, body .inquiry-choice-btn:disabled { opacity: 0.4; cursor: not-allowed; }


/* 31. 접수 창 차량 입력칸 글씨, '옵션 선택' 버튼 글씨가 안 보이던 색 수정 */
body .inquiry-form-dialog .vehicle-type-search-shell input,
body .inquiry-form-dialog .vehicle-type-search-shell input:focus { color: #f2f5fa !important; -webkit-text-fill-color: #f2f5fa !important; caret-color: #f2f5fa; background: #0b1324 !important; }
body .inquiry-form-dialog .vehicle-type-search-shell input::placeholder { color: #8b95a7 !important; -webkit-text-fill-color: #8b95a7 !important; }
body .inquiry-form-dialog .inquiry-option-toggle { background: rgba(43, 99, 246, 0.16) !important; border: 1px solid rgba(43, 99, 246, 0.55) !important; color: #dbe6ff !important; -webkit-text-fill-color: #dbe6ff !important; }
body .inquiry-form-dialog .inquiry-option-toggle[aria-expanded="true"] { background: rgba(43, 99, 246, 0.32) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* 요청 목록 페이지 번호: 길어도 한 줄(… 로 줄임) */
body .pagination--compact { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 6px; }
body .pagination--compact .pagination-ellipsis { color: #8b95a7; padding: 0 2px; }
body .pagination--compact .pagination-btn.is-off { opacity: .3; pointer-events: none; }
body .pagination--compact .pagination-btn, body .pagination--compact .pagination-current { min-width: 34px; padding-left: 8px; padding-right: 8px; }

.footer-legal { margin-top: 6px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 긴 브랜드명: 폭은 글자 비율대로 */
body .brand-wordmark { width: auto !important; max-width: 62vw; }
@media (max-width: 768px) { body .brand-wordmark { height: 17px !important; } }

.footer-area { margin: 6px 0 0; opacity: .75; font-size: 13px; line-height: 1.6; }

/* 상단 브랜드명 FX: 금빛 JOYCAR, 은은한 글로우, 주기적으로 빛이 지나가고 별이 반짝임 */
body .site-header .brand { position: relative; display: inline-flex; align-items: center; overflow: visible; }
body .site-header .brand-wordmark { filter: drop-shadow(0 0 6px rgba(209,163,77,.45)); animation: bwGlow 4s ease-in-out infinite; }
body .site-header .brand::after { content: ''; position: absolute; inset: -4px -6px; pointer-events: none; border-radius: 8px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); background-size: 260% 100%; background-position: 170% 0; animation: bwShine 4s ease-in-out infinite; }
body .site-header .brand::before { content: '✦'; position: absolute; left: -10px; top: -4px; font-size: 14px; color: #f3d28a; pointer-events: none; animation: bwStar 4s ease-in-out infinite; }
@keyframes bwGlow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(209,163,77,.3)); } 50% { filter: drop-shadow(0 0 10px rgba(243,210,138,.7)); } }
@keyframes bwShine { 0%, 45% { background-position: 170% 0; } 75%, 100% { background-position: -70% 0; } }
@keyframes bwStar { 0%, 40%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 55% { opacity: 1; transform: scale(1.3) rotate(45deg); } 70% { opacity: 0; transform: scale(.5) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { body .site-header .brand-wordmark, body .site-header .brand::after, body .site-header .brand::before { animation: none !important; } }

.footer-area a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 처음 오신 분을 위한 추천 코스 + 실제 작업 사진 */
body .start-section { padding-top: 28px; padding-bottom: 8px; }
body .start-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
body .start-reco, body .start-proof { border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); }
body .start-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(209,163,77,.2); color: #f3d28a; font-size: 13px; font-weight: 800; }
body .start-reco h2 { margin: 12px 0 8px; font-size: 26px; line-height: 1.3; }
body .start-price { margin: 0 0 8px; font-size: 16px; color: #cbd5e1; }
body .start-price strong { color: #f3d28a; font-size: 22px; }
body .start-note { margin: 0 0 16px; color: #aeb9cc; font-size: 14px; line-height: 1.6; word-break: keep-all; }
body .start-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body .start-proof-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
body .start-proof-head a, body .start-review { color: #f3d28a; font-size: 14px; text-decoration: none; }
body .start-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; min-height: 80px; }
body .start-thumbs a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.06); }
body .start-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .start-review { display: inline-block; margin-top: 12px; }
@media (max-width: 768px) {
  body .start-grid { grid-template-columns: 1fr; }
  body .start-reco h2 { font-size: 22px; }
  body .start-reco, body .start-proof { padding: 18px; }
}

/* 검색엔진과 방문자 모두가 읽는 서비스 안내 요약(정적 텍스트) */
body .seo-summary { max-width: 960px; margin: 40px auto 0; padding: 0 20px; color: #cbd5e1; font-size: 14px; line-height: 1.7; word-break: keep-all; }
body .seo-summary h2 { font-size: 20px; color: #f1f5f9; margin: 0 0 10px; }
body .seo-summary h3 { font-size: 16px; color: #f3d28a; margin: 20px 0 8px; }
body .seo-summary table { width: 100%; border-collapse: collapse; margin: 12px 0; }
body .seo-summary caption { text-align: left; color: #9aa6bb; font-size: 13px; padding-bottom: 6px; }
body .seo-summary th, body .seo-summary td { padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; vertical-align: top; }
body .seo-summary th { color: #aeb9cc; font-weight: 600; }
body .seo-summary details { border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 0; }
body .seo-summary summary { cursor: pointer; color: #e5e9f2; }
body .seo-summary details p { margin: 6px 0 0; }
body .seo-summary a { color: #f3d28a; }
@media (max-width: 768px) { body .seo-summary table, body .seo-summary tbody, body .seo-summary tr, body .seo-summary th, body .seo-summary td { font-size: 13px; } }

/* 예약 일정: 영업시간 안내 */
body .schedule-hours { margin: 14px 0 0; font-size: 14px; color: var(--c-gold-2); }
body .schedule-hours b { margin-right: 8px; }
