/* ===== 기본 설정 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --bg-subtle: #f4f2ee;
  --border: #e8e4dd;
  --border-strong: #d0c9be;
  --text-primary: #1a1714;
  --text-secondary: #6b6560;
  --text-muted: #9e9890;
  --accent: #c8732a;
  --accent-light: #f5ede4;
  --accent-dark: #a05a1e;
  --green: #3a7d5c;
  --green-light: #e8f4ee;
  --blue: #2a5d8f;
  --blue-light: #e5eef7;
  --shadow-sm: 0 1px 3px rgba(26,23,20,0.06);
  --shadow-md: 0 4px 16px rgba(26,23,20,0.08);
  --shadow-lg: 0 12px 40px rgba(26,23,20,0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: 'Noto Serif KR', Georgia, serif;
  --font-sans: 'Noto Sans KR', sans-serif;
  --max-w: 720px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.hidden { display: none !important; }

/* ===== 네비게이션 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 94px;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none;
  margin-left: 80px;
}


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

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.nav-icon svg {
  width: 31px;
  height: 31px;
}

.nav-icon:hover {
  background: var(--bg-subtle);
  color: var(--accent);
}

/* ===== 히어로 ===== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px) clamp(40px, 6vw, 64px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #fffbf8 0%, #f7f2eb 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(200,115,42,0.2);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7.8vw, 68px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* 데코 서클 */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.c1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.c2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: -60px; left: 10%;
  opacity: 0.08;
}
.c3 {
  width: 140px; height: 140px;
  background: radial-gradient(circle, #8f6a2a 0%, transparent 70%);
  top: 20px; left: 15%;
  opacity: 0.06;
}

/* ===== 메인 레이아웃 ===== */
.main-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 0px);
}

/* ===== 섹션 레이블 ===== */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ===== 폼 섹션 ===== */
.form-section {
  margin-bottom: 48px;
}

/* ===== 폼 그룹 ===== */
.form-group {
  margin-bottom: 36px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-col { display: flex; flex-direction: column; gap: 10px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.form-label.required::after {
  content: ' *';
  color: var(--accent);
}

.form-sub-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 16px;
  margin-bottom: 10px;
}

/* ===== 고객명 입력 ===== */
.customer-name-input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.customer-name-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,115,42,0.1);
}

/* ===== 칩 버튼 ===== */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(200,115,42,0.3);
}

/* ===== 이미지 업로드 ===== */
.upload-area {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
}

.upload-icon {
  color: var(--text-muted);
  opacity: 0.7;
}

.upload-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.image-preview {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 16px;
}

.remove-image {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(26,23,20,0.6);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.remove-image:hover { background: rgba(26,23,20,0.85); }

/* ===== 사이즈 입력 ===== */
.size-inputs {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.size-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 80px;
}

.size-field label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.size-sep {
  color: var(--text-muted);
  font-size: 20px;
  padding-bottom: 8px;
  flex-shrink: 0;
}

/* ===== 인풋 ===== */
.input-with-unit {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition);
}

.input-with-unit:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,115,42,0.1);
}

.input-with-unit input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: transparent;
  min-width: 0;
}

.unit {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-subtle);
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

/* ===== 다구 옵션 ===== */
.multi-mold {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--accent-light);
  border: 1px solid rgba(200,115,42,0.2);
  border-radius: var(--radius-md);
  animation: fadeSlide 0.2s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.multi-mold-inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.total-count-badge {
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
}

/* ===== 제출 버튼 ===== */
.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(200,115,42,0.3);
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,115,42,0.4);
}

.submit-btn:active { transform: translateY(0); }

.submit-btn:disabled {
  background: var(--border-strong);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.submit-icon {
  font-size: 20px;
  transition: transform var(--transition);
}

.submit-btn:hover .submit-icon { transform: translateX(4px); }

/* ===== 로딩 ===== */
.loading-section {
  padding: 48px 0;
}

.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* 스피너 */
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 단계 목록 */
.loading-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  opacity: 0.35;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.loading-step:last-child {
  border-bottom: none;
}

/* 활성 단계 */
.loading-step.active {
  opacity: 1;
  background: var(--accent-light);
}

/* 완료 단계 */
.loading-step.done {
  opacity: 0.7;
  background: var(--green-light);
}

.step-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.step-info {
  flex: 1;
}

.step-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.step-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.step-status {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

/* 활성 단계 점 애니메이션 */
.loading-step.active .step-status::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ===== 견적 결과 ===== */
.result-section {
  margin-bottom: 56px;
  animation: fadeSlide 0.4s ease;
}

/* 알림 배너 */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #fef9ec;
  border: 1px solid #f0d87a;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.notice-icon { font-size: 20px; flex-shrink: 0; }

.notice-banner p {
  font-size: 13px;
  line-height: 1.6;
  color: #7a6020;
}

/* 가격 카드 */
.price-card {
  background: var(--text-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200,115,42,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.price-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.price-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.price-min, .price-max {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: #fff;
}

.price-tilde {
  font-size: 24px;
  opacity: 0.4;
}

.price-vat {
  font-size: 13px;
  opacity: 0.55;
}

.price-range-note {
  font-size: 11px;
  opacity: 0.45;
  margin-top: 10px;
}

/* 세부 내역 카드 */
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.detail-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.detail-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child { border-bottom: none; }

.detail-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  flex-shrink: 0;
}

.detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-dot.modeling { background: var(--accent); }
.detail-dot.printing { background: var(--blue); }
.detail-dot.mold { background: var(--green); }

.detail-right {
  text-align: right;
}

.detail-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 4px;
}

.detail-price {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.detail-sub-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-sub-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.detail-sub-row span:last-child {
  font-weight: 500;
  color: var(--text-primary);
  min-width: 120px;
  text-align: right;
  flex-shrink: 0;
}

.detail-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* AI 분석 카드 */
.ai-reason-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.ai-reason-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.ai-icon { color: var(--accent); font-size: 14px; }

.ai-reason-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 다시 계산 버튼 */
.reset-btn {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
}

.reset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* ===== 포트폴리오 ===== */
.portfolio-section {
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.portfolio-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.portfolio-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* 필터 버튼 */
.pf-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pf-filter-btn {
  padding: 5px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.pf-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pf-filter-btn.on {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* 그리드 */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
}

/* 카드 */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.portfolio-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.04);
}

.portfolio-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.3;
  font-size: 28px;
}

.portfolio-img-ph-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.portfolio-body {
  padding: 12px 14px 14px;
}

.portfolio-cat {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.portfolio-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.portfolio-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.portfolio-qty {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== 푸터 ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px clamp(20px, 5vw, 48px);
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 반응형 ===== */
@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }

  .size-inputs {
    flex-direction: column;
  }

  .size-sep { display: none; }

  .size-field { min-width: unset; }

  .price-range {
    flex-direction: column;
    gap: 4px;
  }

  .price-tilde { display: none; }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-row {
    flex-direction: column;
    gap: 8px;
  }

  .detail-right { text-align: left; }
}

/* ===== 카카오 CTA ===== */
.kakao-cta-section {
  margin-bottom: 48px;
}

.kakao-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #FEE500;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  flex-wrap: wrap;
}

.kakao-cta-title {
  font-family: "Pretendard", var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: #1a1400;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.kakao-cta-desc {
  font-family: "Pretendard", var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: #3d3000;
  line-height: 1.7;
}

.kakao-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #3a1d00;
  color: #FEE500;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.kakao-cta-btn:hover {
  background: #1a0d00;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  .kakao-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .kakao-cta-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ===== 아코디언 ===== */
.detail-accordion {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.detail-accordion:last-child { border-bottom: none; }

.detail-accordion:hover { background: var(--bg-subtle); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.accordion-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accordion-total {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.accordion-arrow {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.detail-accordion.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 0 14px 18px;
}

.detail-accordion.open .accordion-body {
  display: block;
  animation: fadeSlide 0.2s ease;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* ===== FAQ 섹션 ===== */
.faq-section {
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-q:hover { background: var(--bg-subtle); }

.faq-q.open { background: var(--accent-light); color: var(--accent); }

.faq-arrow {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-q.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }

.faq-a {
  display: none;
  padding: 0 20px 18px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  background: var(--accent-light);
  animation: fadeSlide 0.2s ease;
}

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

/* ===== 견적번호 ===== */
.estimate-no-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.estimate-no-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.estimate-no-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: monospace;
}

/* ===== AI 분석 실패 경고 ===== */
.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #fff2f2;
  border: 1px solid #ffb3b3;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.warning-icon { font-size: 20px; flex-shrink: 0; }

.warning-title {
  font-size: 14px;
  font-weight: 600;
  color: #c0392b;
  margin-bottom: 4px;
}

.warning-desc {
  font-size: 13px;
  color: #922b21;
  line-height: 1.6;
}

/* ===== 라이트핏 배너 ===== */
.lightfit-banner {
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a6fa8 0%, #2196c4 100%);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 4px 16px rgba(26, 111, 168, 0.3);
}

.lightfit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lightfit-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.lightfit-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.lightfit-desc strong {
  color: #fff;
}

.lightfit-btn {
  flex-shrink: 0;
  padding: 12px 22px;
  background: #fff;
  color: #1a6fa8;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.lightfit-btn:hover {
  background: #e8f4fd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  .lightfit-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightfit-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== 실리콘 자동 선택 뱃지 ===== */
.silicone-auto-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid;
}

.silicone-auto-badge.addition {
  background: var(--blue-light);
  color: var(--blue);
  border-color: rgba(42, 93, 143, 0.3);
}

.silicone-auto-badge.condensation {
  background: var(--green-light);
  color: var(--green);
  border-color: rgba(58, 125, 92, 0.3);
}

/* ===== AI 복잡도 ===== */
.ai-complexity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ai-complexity-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ai-complexity-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ===== 몰드 구성 경고 ===== */
.mold-warning {
  margin-top: 12px;
  padding: 10px 16px;
  background: #fff2f2;
  border: 1px solid #ffb3b3;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: #c0392b;
  line-height: 1.5;
}
