/* ============================================================
   정책자금 통합검색 플랫폼 - 메인 스타일시트
   ============================================================ */

:root {
  --primary: #1a56db;
  --primary-dark: #1241aa;
  --primary-light: #e8f0fe;
  --secondary: #0e9f6e;
  --secondary-light: #def7ec;
  --danger: #e02424;
  --warning: #ff5a1f;
  --purple: #7e3af2;
  --purple-light: #edebfe;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

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

/* ── 헤더 ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
}

.logo-icon { font-size: 24px; }
.logo-text strong { color: var(--primary); }

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.header-nav a:hover { color: var(--primary); }

/* ── 히어로 ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f2027 0%, #1a56db 50%, #1241aa 100%);
  color: white;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: #fbbf24;
  position: relative;
}

.hero-sub {
  font-size: 17px;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-item strong {
  font-size: 28px;
  font-weight: 800;
  color: #fbbf24;
}

.stat-item span {
  font-size: 13px;
  opacity: 0.75;
}

/* ── 검색 카드 ── */
.search-section {
  margin-top: -48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 10;
}

.search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 780px;
  margin: 0 auto;
}

/* ── 스텝 인디케이터 ── */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .3s;
}

.step.active .step-num,
.step.done .step-num {
  background: var(--primary);
  color: white;
}

.step.done .step-num::after { content: '✓'; }
.step.done .step-num { font-size: 0; }
.step.done .step-num::after { font-size: 14px; }

.step-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.step.active .step-label { color: var(--primary); font-weight: 700; }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  margin-bottom: 22px;
  max-width: 80px;
}

/* ── 폼 스텝 ── */
.form-step { display: none; }
.form-step.active { display: block; }

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

/* ── 폼 요소 ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.required { color: var(--danger); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid.two-col { grid-template-columns: 1fr 1fr; }

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

input:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.input-with-unit {
  position: relative;
}

.input-with-unit input { padding-right: 40px; }

.unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-muted);
  pointer-events: none;
}

/* ── 라디오 그룹 ── */
.radio-group {
  display: flex;
  gap: 12px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all .2s;
  flex: 1;
  justify-content: center;
}

.radio-item:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.radio-item input { display: none; }

/* ── 카드 선택 (사업자 유형) ── */
.card-select {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.card-option { cursor: pointer; }
.card-option input { display: none; }

.card-option-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .2s;
}

.card-option:has(input:checked) .card-option-inner {
  border-color: var(--primary);
  background: var(--primary-light);
}

.card-icon { font-size: 28px; }
.card-title { font-weight: 700; font-size: 14px; }
.card-desc { font-size: 12px; color: var(--text-muted); }

/* ── 체크박스 그리드 ── */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: all .2s;
}

.checkbox-item:has(input:checked) {
  border-color: var(--secondary);
  background: var(--secondary-light);
}

.checkbox-item input { accent-color: var(--secondary); width: 16px; height: 16px; }

/* ── 요약 미리보기 ── */
.summary-preview {
  background: #f8faff;
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.summary-preview h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text);
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: white;
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-search {
  background: linear-gradient(135deg, #1a56db, #0e9f6e);
  color: white;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
  flex: 1;
  justify-content: center;
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.4); }

.btn-sm { padding: 7px 16px; font-size: 13px; }

.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* ── 로딩 ── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.loading-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 360px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.loading-box p { font-weight: 600; color: var(--text); }
.loading-sub { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 400; }

/* ── 결과 섹션 ── */
.results-section { padding: 48px 0; }

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.results-header h2 { font-size: 22px; font-weight: 700; }

.result-count {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-right: 12px;
}

/* ── 필터 바 ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ── 결과 카드 그리드 ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.fund-card {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 24px;
  transition: all .25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.fund-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.fund-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.fund-card.category-보조::before { background: var(--secondary); }
.fund-card.category-보증::before { background: var(--purple); }
.fund-card.category-교육\+보조::before { background: #06b6d4; }

.fund-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fund-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-blue   { background: var(--primary-light); color: var(--primary); }
.badge-green  { background: var(--secondary-light); color: #065f46; }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-teal   { background: #cffafe; color: #0e7490; }
.badge-gray   { background: var(--bg); color: var(--text-muted); }

.match-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0e9f6e);
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-label { font-size: 10px; color: var(--text-muted); margin-top: 3px; }

.fund-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.fund-org {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.fund-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.fund-info-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.fund-info-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 3px;
}

.fund-info-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.fund-info-value.highlight-amount { color: var(--primary); }
.fund-info-value.highlight-rate { color: var(--secondary); }

.fund-reasons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.reason-tag {
  font-size: 11px;
  background: #fef3c7;
  color: #92400e;
  padding: 3px 10px;
  border-radius: 999px;
}

.fund-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

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

.fund-deadline.urgent { color: var(--danger); font-weight: 600; }

.btn-detail {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

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

/* ── 검색결과 없음 ── */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.no-results-icon { font-size: 64px; margin-bottom: 16px; }
.no-results h3 { font-size: 20px; margin-bottom: 8px; color: var(--text); }

/* ── 모달 ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-container {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s;
}

.modal-close:hover { background: var(--border); }

/* ── 모달 내부 콘텐츠 ── */
.modal-header {
  background: linear-gradient(135deg, #1a56db, #0e7490);
  color: white;
  padding: 32px 32px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-org {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 12px; }

.modal-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: white;
}

.modal-body { padding: 28px 32px; }

.modal-section { margin-bottom: 28px; }
.modal-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fund-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.detail-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.detail-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.detail-value { font-size: 16px; font-weight: 700; color: var(--text); }
.detail-value.amount-val { color: var(--primary); }
.detail-value.rate-val { color: var(--secondary); }

/* ── 서류 체크리스트 ── */
.doc-group { margin-bottom: 16px; }
.doc-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doc-list { display: flex; flex-direction: column; gap: 8px; }

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s;
}

.doc-item:hover { border-color: var(--primary); background: var(--primary-light); }
.doc-item.checked { background: var(--secondary-light); border-color: var(--secondary); }
.doc-item.checked .doc-name { text-decoration: line-through; color: var(--text-muted); }

.doc-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all .2s;
}

.doc-item.checked .doc-checkbox {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

.doc-item.checked .doc-checkbox::after { content: '✓'; font-size: 12px; }

.doc-required {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  margin-top: 7px;
  flex-shrink: 0;
}

.doc-optional { background: var(--border); }

.doc-content { flex: 1; }
.doc-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.doc-desc { font-size: 12px; color: var(--text-muted); }

.doc-tag-required {
  font-size: 10px;
  background: #fee2e2;
  color: var(--danger);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  flex-shrink: 0;
}

.doc-tag-optional {
  font-size: 10px;
  background: var(--bg);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  flex-shrink: 0;
}

.doc-progress {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress-bar-wrap {
  flex: 1;
  background: var(--border);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transition: width .4s ease;
}

.progress-text { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ── 신청 방법 ── */
.apply-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apply-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.apply-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apply-step-content { font-size: 14px; padding-top: 4px; }
.apply-step-content strong { display: block; font-weight: 600; }
.apply-step-content span { font-size: 12px; color: var(--text-muted); }

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.btn-apply {
  background: linear-gradient(135deg, var(--primary), #0e7490);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.btn-apply:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,0.4); }

.btn-print {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ── 특징 섹션 ── */
.features-section {
  background: white;
  padding: 72px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .25s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── 푸터 ── */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer-inner { text-align: center; }
.footer-logo { font-size: 18px; font-weight: 700; color: white; margin-bottom: 12px; }
.footer-desc { font-size: 13px; margin-bottom: 8px; }
.footer-copy { font-size: 12px; opacity: 0.5; }

/* ── 반응형 ── */
@media (max-width: 768px) {
  .search-card { padding: 24px 20px; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .card-select { grid-template-columns: repeat(2, 1fr); }
  .checkbox-grid { grid-template-columns: 1fr; }
  .fund-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .results-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 80px; }
  .fund-detail-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 20px; }
  .modal-header { padding: 24px 20px; }
}

/* ── 지역 2단 드롭다운 ── */
.region-select-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.region-select-wrap select:disabled {
  background: var(--bg);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

/* 시/군/구 선택 완료 상태 강조 */
.region-select-wrap select.selected {
  border-color: var(--secondary);
  background: var(--secondary-light);
}

@media (max-width: 480px) {
  .region-select-wrap {
    grid-template-columns: 1fr;
  }
}

/* ── 인쇄 스타일 ── */
@media print {
  .site-header, .hero, .search-section, .features-section, .site-footer,
  .modal-footer, .modal-close { display: none !important; }
  .modal-overlay { position: static; background: none; }
  .modal-container { max-height: none; box-shadow: none; }
}
