/* ===================================
   정책자금 컨설팅 - Main Stylesheet
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a6c;
  --primary-light: #2451a3;
  --primary-dark: #0f2347;
  --accent: #e8a030;
  --accent-dark: #c07a10;
  --kakao: #3a1d1d;
  --kakao-bg: #fee500;
  --kakao-hover: #e6cf00;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --bg-dark: #0f2347;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Color tags */
  --blue: #2563eb;
  --blue-bg: #eff6ff;
  --green: #059669;
  --green-bg: #ecfdf5;
  --orange: #d97706;
  --orange-bg: #fffbeb;
  --purple: #7c3aed;
  --purple-bg: #f5f3ff;
  --teal: #0d9488;
  --teal-bg: #f0fdfa;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
pre { white-space: pre-wrap; word-break: break-word; font-family: var(--font); font-size: 0.95rem; }

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

.text-center { text-align: center; }
.pc-only { display: inline; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; }

.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,58,108,0.3); }

.btn-kakao { background: var(--kakao-bg); color: var(--kakao); border-color: var(--kakao-bg); }
.btn-kakao:hover { background: var(--kakao-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(254,229,0,0.4); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* --- Navbar --- */
@keyframes cityScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes buildingGlow {
  0%, 100% { opacity: 0.12; }
  50%       { opacity: 0.22; }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, #1a52b8 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
  overflow: hidden;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(15,35,71,0.5);
}

/* 움직이는 빌딩 배경 */
.nav-city-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.city-buildings {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%; /* 2배 너비로 루프 */
  height: 100%;
  animation: cityScroll 30s linear infinite;
}
.city-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-container {
  position: relative; /* city-bg 위에 표시 */
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.logo-building-icon {
  display: flex;
  align-items: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.logo-text { color: var(--white); letter-spacing: -0.01em; }
.logo-text strong { color: #ffd770; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}
.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.nav-link.nav-cta {
  background: var(--accent);
  color: #1a1a1a !important;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(232,160,48,0.4);
}
.nav-link.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,160,48,0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4fc2 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(100,150,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(232,160,48,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  position: relative;
}
.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* --- Sections --- */
.section { padding: 5rem 0; }
.section-light { background: var(--white); }
.section-dark { background: var(--primary-dark); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-label { color: rgba(255,255,255,0.5); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* --- Target Grid --- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.target-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.target-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.target-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.target-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.target-card p { font-size: 0.925rem; color: var(--text-muted); }

/* --- Why Grid --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.why-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* --- Services Preview --- */
.services-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.service-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  border-top: 3px solid transparent;
}
.service-preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-preview-card.color-blue { border-top-color: var(--blue); }
.service-preview-card.color-green { border-top-color: var(--green); }
.service-preview-card.color-orange { border-top-color: var(--orange); }
.service-preview-card.color-purple { border-top-color: var(--purple); }
.service-preview-card.color-teal { border-top-color: var(--teal); }
.sp-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.color-blue .sp-icon { background: var(--blue-bg); color: var(--blue); }
.color-green .sp-icon { background: var(--green-bg); color: var(--green); }
.color-orange .sp-icon { background: var(--orange-bg); color: var(--orange); }
.color-purple .sp-icon { background: var(--purple-bg); color: var(--purple); }
.color-teal .sp-icon { background: var(--teal-bg); color: var(--teal); }
.service-preview-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-preview-card p { font-size: 0.9rem; color: var(--text-muted); }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--white); margin-bottom: 0.5rem; }
.cta-text p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 7rem 0 4rem;
  margin-top: 68px;
  text-align: center;
}
.page-hero .section-label { color: rgba(255,255,255,0.55); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* --- Service Detail --- */
.service-detail {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-top: 0.5rem;
}
.service-detail-icon.blue { background: var(--blue-bg); color: var(--blue); }
.service-detail-icon.green { background: var(--green-bg); color: var(--green); }
.service-detail-icon.orange { background: var(--orange-bg); color: var(--orange); }
.service-detail-icon.purple { background: var(--purple-bg); color: var(--purple); }
.service-detail-icon.teal { background: var(--teal-bg); color: var(--teal); }

.service-detail-body { flex: 1; }
.service-tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-tag.blue { background: var(--blue-bg); color: var(--blue); }
.service-tag.green { background: var(--green-bg); color: var(--green); }
.service-tag.orange { background: var(--orange-bg); color: var(--orange); }
.service-tag.purple { background: var(--purple-bg); color: var(--purple); }
.service-tag.teal { background: var(--teal-bg); color: var(--teal); }

.service-detail-body h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.service-lead { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.service-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.service-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.service-item > i {
  color: var(--green);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.service-item strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.service-item p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.service-notice {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.service-notice > i { color: var(--primary); margin-top: 0.2rem; flex-shrink: 0; }

/* --- Process --- */
.process-wrapper { max-width: 780px; margin: 0 auto; }
.process-step {
  display: grid;
  grid-template-columns: 60px 28px 1fr;
  gap: 0 1.5rem;
  padding-bottom: 2.5rem;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.process-step-icon.color-blue { background: var(--blue-bg); color: var(--blue); }
.process-step-icon.color-green { background: var(--green-bg); color: var(--green); }
.process-step-icon.color-orange { background: var(--orange-bg); color: var(--orange); }
.process-step-icon.color-purple { background: var(--purple-bg); color: var(--purple); }
.process-step-icon.color-teal { background: var(--teal-bg); color: var(--teal); }

.process-step-connector {
  display: flex;
  justify-content: center;
}
.connector-line {
  display: block;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--border) 0%, var(--border) 100%);
  margin: 4px 0;
}

.process-step-body { padding-top: 0.5rem; padding-bottom: 1rem; }
.process-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.step-time {
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.step-time.color-blue { color: var(--blue); }
.step-time.color-green { color: var(--green); }
.step-time.color-orange { color: var(--orange); }
.step-time.color-purple { color: var(--purple); }
.step-time.color-teal { color: var(--teal); }

.process-step-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step-body p { font-size: 0.925rem; color: var(--text-muted); margin-bottom: 0.875rem; }
.process-items { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.process-items li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.process-items li i { color: var(--green); font-size: 0.75rem; }

.process-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--blue-bg);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 3rem;
}
.process-notice > i { color: var(--blue); font-size: 1.25rem; margin-top: 0.1rem; flex-shrink: 0; }
.process-notice strong { display: block; font-size: 1rem; margin-bottom: 0.3rem; color: var(--text); }
.process-notice p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* --- FAQ --- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--primary-light); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-item.open .faq-question { background: var(--blue-bg); }
.faq-icon { color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.faq-q-text { flex: 1; font-size: 0.975rem; font-weight: 600; color: var(--text); }
.faq-item.open .faq-q-text { color: var(--primary); }
.faq-arrow { color: var(--text-muted); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 1.25rem 1.5rem 1.5rem 3.5rem; }
.faq-answer-inner pre { font-size: 0.925rem; color: var(--text-muted); line-height: 1.8; }

.faq-more {
  max-width: 780px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex-wrap: wrap;
}
.faq-more > i { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }
.faq-more > div { flex: 1; }
.faq-more strong { display: block; font-size: 1rem; margin-bottom: 0.3rem; }
.faq-more p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-kakao:hover { border-color: var(--kakao-bg); background: #fffde6; }
.contact-phone:hover { border-color: var(--blue); background: var(--blue-bg); }
.contact-naver:hover { border-color: var(--green); background: var(--green-bg); }

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-kakao .contact-card-icon { background: var(--kakao-bg); color: var(--kakao); }
.contact-phone .contact-card-icon { background: var(--blue-bg); color: var(--blue); }
.contact-naver .contact-card-icon { background: var(--green-bg); color: var(--green); }

.contact-card-body { flex: 1 }
.contact-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}
.contact-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.contact-number { font-size: 1.35rem; font-weight: 700; color: var(--blue); margin-bottom: 0.3rem !important; }
.contact-card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.contact-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 0.4rem; align-items: center; }
.contact-arrow { color: var(--text-muted); transition: transform var(--transition); }
.contact-card:hover .contact-arrow { transform: translateX(4px); }

.contact-info {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}
.contact-prepare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.prepare-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.prepare-item i { color: var(--primary); width: 16px; text-align: center; }
.contact-info-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info-note i { color: var(--green); }

/* 컨설턴트 섹션이 히어로 바로 아래 올 때 상단 패딩 제거 */
.consultant-top-section {
  padding-top: 0;
}
.consultant-top-section .consultant-wrap {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

/* --- Consultant Section --- */
.consultant-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.consultant-photo-col {
  position: relative;
  background: linear-gradient(160deg, #e8edf5 0%, #d0daea 100%);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.consultant-photo-col::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}
.consultant-photo-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.consultant-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.consultant-info-col {
  padding: 3rem 3rem 3rem 0;
}
.consultant-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.consultant-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 1.75rem;
}
.consultant-desc strong {
  color: var(--primary);
  font-weight: 700;
}
.consultant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.ctag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-bg);
  color: var(--primary);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.ctag i { color: var(--green); font-size: 0.75rem; }
.consultant-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .consultant-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .consultant-photo-col {
    min-height: 380px;
  }
  .consultant-info-col {
    padding: 2rem;
  }
}
@media (max-width: 480px) {
  .consultant-photo-col { min-height: 300px; }
  .consultant-contact { flex-direction: column; }
  .consultant-contact .btn { justify-content: center; }
}

/* --- Footer --- */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo i { color: var(--accent); }
.footer-logo strong { color: var(--accent); }
.footer-brand p { font-size: 0.875rem; line-height: 1.8; }
.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.footer-contact i { width: 16px; text-align: center; }
.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}
.footer-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.footer-address i { color: var(--accent); font-size: 0.85rem; }
.footer-bottom p { font-size: 0.8rem; margin-bottom: 0.3rem; }
.footer-disclaimer { color: rgba(255,255,255,0.35); }

/* --- Footer extra --- */
.footer-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 0.6rem; letter-spacing: 0.03em; }
.footer-biz-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}
.footer-biz-info strong { color: rgba(255,255,255,0.75); margin-right: 0.25rem; }
.footer-biz-info .sep { color: rgba(255,255,255,0.2); }
.footer-policy-links { margin: 0.5rem 0; }
.footer-policy-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-decoration: underline; transition: color var(--transition); }
.footer-policy-links a:hover { color: rgba(255,255,255,0.8); } */
.float-kakao {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: var(--kakao-bg);
  color: var(--kakao);
  border-radius: 16px;
  padding: 0.875rem 1.1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all var(--transition);
  text-decoration: none;
}
.float-kakao i { font-size: 1.5rem; }
.float-kakao span { font-size: 0.72rem; font-weight: 700; }
.float-kakao:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 30px rgba(0,0,0,0.25); background: var(--kakao-hover); }

/* --- Fade-in animation --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-detail { flex-direction: column; gap: 1.5rem; }
  .service-detail-icon { width: 56px; height: 56px; font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    flex-direction: column;
    padding: 1rem 1.5rem 2rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
  }
  .nav-menu.active { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 0.75rem 1rem; font-size: 1rem; color: rgba(255,255,255,0.85); }
  .nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-step { grid-template-columns: 48px 20px 1fr; gap: 0 1rem; }
  .process-step-icon { width: 48px; height: 48px; font-size: 1.1rem; }
  .contact-card { flex-direction: column; text-align: center; gap: 1rem; }
  .contact-arrow { display: none; }
  .faq-more { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .target-grid, .why-grid, .services-preview { grid-template-columns: 1fr; }
  .float-kakao { bottom: 1.25rem; right: 1.25rem; }
}
