/* CSS Reset - 모던 리셋 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* 성능 최적화: 시스템 폰트 스택 사용 (웹폰트 로딩 불필요) */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  /* 성능 최적화: 텍스트 렌더링 */
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 성능 최적화: 이미지 lazy loading 지원 */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* 성능 최적화: contain 속성으로 레이아웃 격리 */
.solution-card,
.award-item,
.cert-item,
.stat-item,
.channel-btn,
.faq-item {
  contain: layout style;
}

/* 성능 최적화: will-change 힌트 (호버 애니메이션 요소) */
.solution-card,
.channel-btn,
.btn-floating {
  will-change: transform;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* CSS Variables - 새로운 컬러 팔레트 */
:root {
  --primary-color: #347BF7;
  --primary-hover: #2563eb;
  --primary-light: #85b0fa;
  --primary-lighter: #e8f0fe;
  --success-color: #347BF7;
  --error-color: #dc2626;
  --text-color: #000001;
  --text-light: #4a5568;
  --bg-color: #ffffff;
  --bg-light: #f8faff;
  --border-color: #85b0fa;

  /* ===== shadcn design tokens (HSL components, used as hsl(var(--x))) ===== */
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 240 4.8% 95.9%;
  --accent-foreground: 240 5.9% 10%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --ring: 217 92% 59%;
  --primary: 217 92% 59%;       /* matches existing #347BF7 */
  --primary-fg: 0 0% 100%;
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header — shadcn sticky bar */
.header {
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #347BF7;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #347BF7;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(52, 123, 247, 0.1);
  transition: background 0.2s ease;
}

.header-phone:hover {
  background: rgba(52, 123, 247, 0.2);
}

.phone-badge {
  background: var(--error-color);
  color: white;
  font-size: 0.625rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.phone-icon {
  font-size: 1rem;
}

.phone-number {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* 모바일에서 전화번호 간소화 */
@media (max-width: 480px) {
  .phone-badge {
    display: none;
  }
  
  .header-phone {
    padding: 8px;
  }
  
  .phone-number {
    font-size: 0.875rem;
  }
}

/* ============================================================
   Hero Section — shadcn redesign (PoC)
   ============================================================ */
.hero {
  position: relative;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 72px 0 80px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid hsl(var(--border));
}

/* subtle dot grid + radial spotlight (shadcn landing pattern) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, hsl(var(--primary) / 0.10), transparent 55%),
    radial-gradient(hsl(var(--border)) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
  background-position: 0 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}

/* Badge — shadcn outline pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 18px;
}

/* Gradient highlight for accent phrase */
.hero-title .highlight {
  background: linear-gradient(135deg, #347BF7 0%, #6ea1ff 50%, #347BF7 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

/* Feature chip — shadcn secondary badge */
.hero-feature {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  white-space: nowrap;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.btn-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Override .btn-primary inside hero — shadcn primary */
.hero .btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  border: 1px solid hsl(var(--primary));
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.hero .btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: var(--shadow);
}

/* Override .btn-secondary inside hero — shadcn outline */
.hero .btn-secondary {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hero .btn-secondary:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--border));
}

.hero-reassurance {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-top: 12px;
  opacity: 1;
}

/* Tablet+ */
@media (min-width: 768px) {
  .hero {
    padding: 120px 0 132px;
  }
  .hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
  }
  .hero-subtitle {
    font-size: 1.125rem;
    max-width: 640px;
  }
  .hero-cta {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
  .hero .hero-btn {
    width: auto;
    max-width: none;
    padding: 14px 28px;
    font-size: 1rem;
  }
  .hero-feature {
    font-size: 0.875rem;
    padding: 8px 14px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* Trust Section */
.trust-section {
  padding: 64px 0;
  background: hsl(var(--muted));
}

/* ============================================================
   실시간 대응 현황 (LIVE) — shadcn neutral 룩
   ============================================================ */
.realtime-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-full);
  padding: 8px 18px;
  margin: 0 auto 40px;
  max-width: fit-content;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  box-shadow: var(--shadow-sm);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: #16a34a;        /* shadcn green-600 — LIVE 신호 컬러만 유지 */
  border-radius: var(--radius-full);
  padding: 2px 10px 2px 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-green 1.5s infinite;
}

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

.status-divider {
  width: 1px;
  height: 12px;
  background: hsl(var(--border));
  flex-shrink: 0;
}

.status-text strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.status-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;  /* 숫자 폭 고정 → 변할 때 안 흔들림 */
}

.tech-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================================
   Trust Section 내부 — shadcn 토큰 기반 통일
   ============================================================ */
.trust-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.subsection-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  color: hsl(var(--foreground));
  margin-bottom: 20px;
}

/* Stats — neutral card grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.stat-item {
  background: hsl(var(--card));
  padding: 24px 16px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.stat-item:hover {
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

/* Awards Gallery — shadcn image card */
.awards-section {
  margin-bottom: 48px;
}

.awards-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.award-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.award-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.award-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: hsl(var(--muted));
}

.award-title {
  display: block;
  padding: 12px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: hsl(var(--foreground));
  text-align: center;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  line-height: 1.45;
}

/* Certifications — same card pattern */
.certifications-section {
  margin-bottom: 0;
}

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cert-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cert-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: hsl(var(--muted));
}

.cert-title {
  display: block;
  padding: 12px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: center;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  line-height: 1.45;
}

/* Legacy 셀렉터 — 현재 HTML에서 안 쓰이지만 만약 남아있으면 숨김 */
.awards-grid,
.certifications-grid,
.award-item,
.cert-item {
  display: none;
}

/* Trust Section Responsive */
@media (min-width: 768px) {
  .trust-section {
    padding: 96px 0;
  }
  .trust-section .section-title {
    font-size: 2rem;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
  }
  .subsection-title {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 72px;
  }
  .stat-item {
    padding: 32px 20px;
  }
  .stat-number {
    font-size: 2.25rem;
  }
  .stat-label {
    font-size: 0.875rem;
  }
  .awards-gallery,
  .cert-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .award-title,
  .cert-title {
    font-size: 0.8125rem;
    padding: 14px 12px;
  }
}

/* ============================================================
   Services Section — shadcn feature card grid
   ============================================================ */
.services-section {
  padding: 64px 0;
  background: hsl(var(--background));
}

.section-subtitle {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin: 0 auto 32px;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 560px;
}

.section-subtitle strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

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

.solution-card {
  background: hsl(var(--card));
  padding: 24px 20px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.solution-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
  margin-bottom: 6px;
}

.solution-desc {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.solution-desc .tech-label {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  font-style: normal;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Services Section Responsive */
@media (min-width: 768px) {
  .services-section {
    padding: 96px 0;
  }
  .section-subtitle {
    font-size: 1.0625rem;
    margin-bottom: 48px;
    max-width: 640px;
  }
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .solution-card {
    padding: 28px 24px;
  }
  .solution-icon {
    width: 44px;
    height: 44px;
    font-size: 1.375rem;
    margin-bottom: 18px;
  }
  .solution-name {
    font-size: 1.0625rem;
    margin-bottom: 8px;
  }
  .solution-desc {
    font-size: 0.875rem;
  }
}

/* ============================================================
   Process Section — shadcn step cards with arrow connectors
   ============================================================ */
.process-section {
  padding: 64px 0;
  background: hsl(var(--muted));
}

.process-timeline {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

/* Step Card */
.process-step {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.process-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

/* Step number — 크고 굵은 primary 타이포 (좌측 상단 고정) */
.step-number {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: hsl(var(--primary));
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  width: auto;
  height: auto;
}

/* Icon — bigger, primary-tinted (우측 상단 고정, 살짝 띄움) */
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  font-size: 1.625rem;
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  line-height: 1;
  margin-left: auto;
  margin-top: -6px;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Arrow connector */
.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
  padding: 6px 0;
  transform: rotate(90deg);
  line-height: 1;
  user-select: none;
}

/* Process Section Responsive */
@media (min-width: 768px) {
  .process-section {
    padding: 96px 0;
  }
  .process-timeline {
    flex-direction: row;
    align-items: stretch;
    max-width: 1100px;
    gap: 0;
  }
  .process-step {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
  }
  .step-header {
    margin-bottom: 20px;
    gap: 16px;
  }
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.875rem;
    margin-top: -10px;
  }
  .step-number {
    font-size: 2.25rem;
  }
  .step-title {
    font-size: 1.0625rem;
    margin-bottom: 8px;
  }
  .step-desc {
    font-size: 0.875rem;
  }
  .process-arrow {
    flex: 0 0 auto;
    padding: 0 10px;
    align-self: center;
    transform: none;
    font-size: 1.5rem;
  }
}

/* ============================================================
   Channels Section — shadcn outlined card buttons
   ============================================================ */
.channels-section {
  padding: 64px 0;
  background: hsl(var(--background));
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  min-height: 120px;
  text-align: center;
}

.channel-btn:hover {
  background: hsl(var(--accent));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin-bottom: 12px;
  color: hsl(var(--foreground));
}

.channel-icon svg {
  width: 22px;
  height: 22px;
}

.channel-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.channel-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}

.channel-desc {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

/* 옛 채널별 컬러 셀렉터 — neutral로 통일 (위 .channel-btn에서 처리) */
.channel-phone,
.channel-kakao,
.channel-line,
.channel-navertalk,
.channel-channeltalk,
.channel-form {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

/* 4번째 버튼 레이아웃 */
.channels-grid .channel-btn:last-child {
  grid-column: auto;
  max-width: none;
  justify-self: auto;
}

/* Channels Section Responsive */
@media (min-width: 768px) {
  .channels-section {
    padding: 96px 0;
  }
  .channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
  }
  .channel-btn {
    padding: 28px 16px;
    min-height: 140px;
  }
  .channel-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }
  .channel-icon svg {
    width: 24px;
    height: 24px;
  }
  .channel-logo-img {
    width: 26px;
    height: 26px;
  }
  .channel-name {
    font-size: 1rem;
  }
  .channel-desc {
    font-size: 0.8125rem;
  }
}

/* ============================================================
   Contact Section + 상담 폼 — shadcn form
   ============================================================ */
.contact-section {
  padding: 64px 0;
  background: hsl(var(--muted));
}

.section-title {
  text-align: center;
  margin: 0 auto 32px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  max-width: 720px;
}

.inquiry-form {
  max-width: 520px;
  margin: 0 auto;
  background: hsl(var(--card));
  padding: 28px 24px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: hsl(var(--foreground));
  background-color: hsl(var(--card));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

.form-group select:invalid {
  color: hsl(var(--muted-foreground));
}

.form-group select option {
  color: hsl(var(--foreground));
}

/* shadcn focus ring */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.18);
}

.form-group select:focus:invalid {
  color: hsl(var(--muted-foreground));
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.15);
}

.required {
  color: var(--error-color);
}

.error-message {
  display: block;
  color: var(--error-color);
  font-size: 0.8125rem;
  margin-top: 4px;
  min-height: 18px;
}

.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: hsl(var(--primary));
}

.form-checkbox label {
  flex: 1;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.privacy-link {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-link:hover {
  color: hsl(var(--primary));
}

.btn-submit {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  border: 1px solid hsl(var(--primary));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: var(--shadow);
}

.btn-submit:disabled {
  background: hsl(var(--muted-foreground));
  border-color: hsl(var(--muted-foreground));
  cursor: not-allowed;
}

.btn-submit.loading {
  position: relative;
  color: transparent;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Success Message */
.success-message {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.success-message h3 {
  color: var(--success-color);
  margin-bottom: 12px;
}

.success-message p {
  color: var(--text-light);
  margin-bottom: 8px;
}

.success-message a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Error Alert */
.error-alert {
  text-align: center;
  padding: 20px;
  background: #fef2f2;
  border: 1px solid var(--error-color);
  border-radius: 8px;
  max-width: 500px;
  margin: 20px auto 0;
}

.error-alert p {
  color: var(--error-color);
  margin-bottom: 8px;
}

.error-alert a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Floating CTA - 우측 세로 배치 */
/* ============================================================
   Floating CTA (데스크톱 우측 세로) — shadcn 톤 + 채널 컬러 솔리드
   ============================================================ */
.floating-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: hsl(var(--card));
  padding: 6px;
  box-shadow: var(--shadow-lg), -1px 0 0 hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  border: 1px solid hsl(var(--border));
  border-right: none;
}

.btn-floating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-width: 64px;
  min-height: 64px;
}

.btn-floating:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-floating .btn-icon {
  font-size: 1.375rem;
}

.btn-floating .btn-svg-icon {
  width: 22px;
  height: 22px;
}

.btn-floating .btn-img-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.btn-floating .btn-text {
  font-size: 0.6875rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* 채널 브랜드 컬러 — 솔리드 */
.btn-phone {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}
.btn-phone:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-kakao {
  background: #fee500;
  color: #3c1e1e;
}
.btn-kakao:hover {
  background: #f5d800;
}

.btn-naver {
  background: #03c75a;
  color: white;
}
.btn-naver:hover {
  background: #02b350;
}

.btn-channel {
  background: #7c3aed;
  color: white;
}
.btn-channel:hover {
  background: #6d28d9;
}

.btn-consult {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}

/* 모바일: 플로팅 CTA 하단 배치 */
.floating-mobile {
  display: flex;
}

.floating-desktop {
  display: none;
}

/* 모바일에서 우측 세로 배치 (작게) */
@media (max-width: 767px) {
  .floating-cta.desktop-only {
    display: none;
  }
  
  /* 모바일 플로팅 버튼 */
  .mobile-floating-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    bottom: 100px;
    right: 16px;
    z-index: 1002;
    cursor: pointer;
  }
  
  .mobile-floating-badge {
    background: hsl(var(--primary));
    color: hsl(var(--primary-fg));
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
  }

  .mobile-floating-icon {
    width: 56px;
    height: 56px;
    background: hsl(var(--primary));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-lg);
  }

  .mobile-floating-icon svg {
    width: 24px;
    height: 24px;
    color: hsl(var(--primary-fg));
  }

  .mobile-floating-icon .icon-close {
    color: hsl(var(--primary-fg));
  }

  .mobile-floating-btn.active .mobile-floating-badge {
    display: none;
  }

  .mobile-floating-btn.active .mobile-floating-icon {
    background: hsl(var(--foreground));
    border-color: hsl(var(--foreground));
  }
  
  .mobile-floating-btn.active .icon-consult {
    display: none;
  }
  
  .mobile-floating-btn.active .icon-close {
    display: block !important;
  }
  
  .mobile-floating-btn.active .floating-24 {
    display: none;
  }
  
  .floating-24 {
    position: absolute;
    font-size: 0.5rem;
    font-weight: 700;
    color: #347BF7;
    bottom: 10px;
  }
  
  /* 모바일 채널 오버레이 */
  .mobile-channels-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 0.55);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .mobile-channels-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    padding-bottom: 170px;
  }

  .mobile-channel-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-decoration: none;
  }

  .mobile-channel-label {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: rgb(0 0 0 / 0.4);
    padding: 4px 10px;
    border-radius: var(--radius);
  }

  .mobile-channel-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    position: relative;
    flex-shrink: 0;
    box-shadow: var(--shadow);
  }

  .mobile-channel-icon svg {
    width: 22px;
    height: 22px;
    fill: hsl(var(--foreground));
  }

  .mobile-channel-icon.phone svg {
    fill: none;
    stroke: hsl(var(--foreground));
  }

  .mobile-channel-icon.phone {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
  }

  .mobile-channel-icon .icon-24 {
    position: absolute;
    font-size: 0.5rem;
    font-weight: 700;
    color: hsl(var(--muted-foreground));
    bottom: 9px;
  }
}

@media (min-width: 768px) {
  .mobile-floating-btn,
  .mobile-channels-overlay {
    display: none !important;
  }
}

/* 태블릿/데스크톱: 우측 세로 배치 */
@media (min-width: 768px) {
  .floating-cta {
    right: 0;
    top: 50%;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    flex-direction: column;
    border-radius: 10px 0 0 10px;
    padding: 8px 6px;
  }
  
  .floating-mobile {
    display: flex;
  }
  
  .floating-desktop {
    display: none;
  }
  
  .btn-floating {
    min-width: 56px;
    min-height: 56px;
    padding: 8px 6px;
  }
  
  .btn-floating .btn-icon {
    font-size: 1.25rem;
  }
  
  .btn-floating .btn-svg-icon {
    width: 22px;
    height: 22px;
  }
  
  .btn-floating .btn-img-icon {
    width: 28px;
    height: 28px;
  }
  
  .btn-floating .btn-text {
    font-size: 0.625rem;
  }
}

/* Reviews Section */
.reviews-section {
  padding: 48px 0;
  background: #f8f9fa;
}

/* ============================================================
   Reviews Marquee — shadcn / Magic UI 무한 흐름 패턴
   ============================================================ */
.reviews-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  /* 좌우 끝 페이드아웃 */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-row {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* Row 1: 카드가 왼쪽으로 흐름 (오른쪽에서 등장 → 왼쪽으로 사라짐) */
.marquee-row-left .marquee-track {
  animation: marquee-left 60s linear infinite;
}

/* Row 2: 카드가 오른쪽으로 흐름 (왼쪽에서 등장 → 오른쪽으로 사라짐) */
.marquee-row-right .marquee-track {
  animation: marquee-right 60s linear infinite;
}

/* hover 시 양쪽 모두 일시정지 */
.reviews-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* 모션 비활성화 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
  }
}

/* 후기 카드 — shadcn card 룩 */
.review-card {
  flex: 0 0 320px;
  width: 320px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  box-shadow: var(--shadow);
  border-color: hsl(var(--border));
}

.review-content p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: hsl(var(--foreground));
  margin: 0 0 16px 0;
}

.review-author {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.review-name {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 0.8125rem;
}

.review-type {
  font-size: 0.6875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* 레거시 .reviews-grid 셀렉터 — 다른 곳에서 안 쓰이지만 호환 위해 빈 상태로 둠 */
.reviews-grid { display: none; }

.reviews-subsection {
  margin-bottom: 48px;
}

/* Video Section */
.video-section {
  margin-bottom: 48px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  width: 100%;
  height: 360px;
  display: block;
}

@media (max-width: 768px) {
  .video-wrapper {
    max-width: 100%;
    border-radius: 12px;
  }
  
  .video-wrapper iframe {
    height: 200px;
  }
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.2s ease;
}

.video-wrapper:hover .video-play-overlay {
  background: rgba(0,0,0,0.4);
}

.video-play-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  padding-left: 6px;
  transition: transform 0.2s ease;
}

.video-wrapper:hover .video-play-icon {
  transform: scale(1.1);
}

.reviews-more {
  text-align: center;
  margin-top: 32px;
}

.btn-more-reviews {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-more-reviews:hover {
  background: var(--primary-color);
  color: white;
}

@media (min-width: 768px) {
  .review-card {
    flex: 0 0 360px;
    width: 360px;
    padding: 24px;
  }
  .marquee-track {
    gap: 20px;
  }
}

/* FAQ Section */
/* ============================================================
   FAQ Section — shadcn Accordion 룩
   ============================================================ */
.faq-section {
  padding: 64px 0;
  background: hsl(var(--background));
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: hsl(var(--muted) / 0.6);
}

.faq-question:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px hsl(var(--ring) / 0.5);
}

.faq-question-text {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  border-color: hsl(var(--foreground));
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  border-top: 1px solid hsl(var(--border));
}

.faq-answer p {
  padding: 16px 20px 20px;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

.faq-answer p strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

/* FAQ Responsive */
@media (min-width: 768px) {
  .faq-section {
    padding: 96px 0;
  }
  .faq-item {
    margin-bottom: 10px;
  }
  .faq-question {
    padding: 20px 24px;
    font-size: 1rem;
  }
  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 1.125rem;
  }
  .faq-answer p {
    padding: 16px 24px 24px;
    font-size: 0.9375rem;
  }
}

/* Footer */
/* ============================================================
   Footer — shadcn dark neutral
   ============================================================ */
.footer {
  background: hsl(240 10% 8%);            /* near-black neutral, not gradient */
  color: hsl(240 5% 75%);
  padding: 48px 0 180px;                  /* 하단 배너 + 플로팅 CTA 공간 확보 */
  border-top: 1px solid hsl(240 5% 18%);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-company {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  font-size: 1.5rem;
}

.footer-logo .logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.footer-info {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: hsl(240 5% 65%);
}

.footer-info p {
  margin-bottom: 4px;
}

.footer-info a {
  color: hsl(217 92% 70%);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-info a:hover {
  color: hsl(217 92% 80%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #374151;
  border-bottom: 1px solid #374151;
}

.footer-link {
  color: #d1d5db;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.footer-divider {
  color: #4b5563;
  font-size: 0.75rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.8125rem;
  color: #6b7280;
}

/* Footer Responsive */
@media (min-width: 768px) {
  .footer {
    padding: 48px 0 32px; /* 데스크톱에서는 플로팅 CTA가 우측에 있으므로 하단 패딩 줄임 */
  }
  
  .footer-content {
    gap: 28px;
  }
  
  .footer-info {
    font-size: 0.875rem;
  }
  
  .footer-links {
    gap: 16px;
    padding: 20px 0;
  }
  
  .footer-link {
    font-size: 0.9375rem;
  }
  
  .footer-copyright {
    font-size: 0.875rem;
  }
}

/* Responsive */
@media (min-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* ========================================
   반응형 스타일 완성
   - 모바일: 320px ~ 480px
   - 태블릿: 768px ~ 1024px
   - 데스크톱: 1024px 이상
   ======================================== */

/* 매우 작은 모바일 (320px ~ 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  
  /* 헤더 */
  .logo-text {
    font-size: 1.25rem;
  }
  
  .header-phone {
    padding: 6px 8px;
    gap: 4px;
  }
  
  .phone-number {
    font-size: 0.8125rem;
  }
  
  /* 히어로 */
  .hero {
    padding: 36px 0 48px;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9375rem;
  }
  
  .hero-features {
    gap: 8px;
  }
  
  .hero-feature {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .hero-btn {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  /* 통계 */
  .stats-grid {
    gap: 10px;
  }
  
  .stat-item {
    padding: 16px 12px;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* 수상/인증 */
  .awards-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .awards-grid {
    gap: 8px;
  }
  
  .award-item {
    padding: 12px 8px;
  }
  
  .award-icon {
    font-size: 1.25rem;
  }
  
  .award-name {
    font-size: 0.6875rem;
  }
  
  .award-desc {
    font-size: 0.625rem;
  }
  
  .certifications-grid {
    gap: 8px;
  }
  
  .cert-item {
    padding: 12px 6px;
  }
  
  .cert-icon {
    font-size: 1.25rem;
  }
  
  .cert-name {
    font-size: 0.6875rem;
  }
  
  .cert-desc {
    font-size: 0.5625rem;
  }
  
  /* 솔루션 카드 */
  .solutions-grid {
    gap: 10px;
  }
  
  .solution-card {
    padding: 16px 12px;
  }
  
  .solution-icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }
  
  .solution-name {
    font-size: 0.875rem;
  }
  
  .solution-desc {
    font-size: 0.75rem;
  }
  
  /* 진행 과정 */
  .process-step {
    gap: 12px;
    padding: 12px 0;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
  
  .step-title {
    font-size: 1rem;
  }
  
  .step-desc {
    font-size: 0.8125rem;
  }
  
  .process-connector {
    margin-left: 19px;
    height: 20px;
  }
  
  /* 상담 채널 */
  .channels-grid {
    gap: 10px;
  }
  
  .channel-btn {
    padding: 16px 10px;
    min-height: 90px;
  }
  
  .channel-icon {
    margin-bottom: 6px;
  }
  
  .channel-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .channel-logo-img {
    width: 32px;
    height: 32px;
  }
  
  .channel-name {
    font-size: 0.8125rem;
  }
  
  .channel-desc {
    font-size: 0.6875rem;
  }
  
  /* 문의 폼 */
  .inquiry-form {
    padding: 20px 16px;
  }
  
  .form-group label {
    font-size: 0.9375rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 0.9375rem;
  }
  
  .btn-submit {
    padding: 12px;
    font-size: 1rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }
  
  .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 1.125rem;
  }
  
  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.875rem;
  }
  
  /* 플로팅 CTA */
  .floating-cta {
    padding: 10px 12px;
    gap: 10px;
  }
  
  .btn-floating {
    padding: 12px 10px;
    font-size: 0.875rem;
  }
  
  .btn-floating .btn-icon {
    font-size: 1.125rem;
  }
  
  .btn-floating .btn-text {
    font-size: 0.8125rem;
  }
  
  /* 푸터 */
  .footer {
    padding: 32px 0 90px;
  }
  
  .footer-info {
    font-size: 0.75rem;
  }
  
  .footer-link {
    font-size: 0.8125rem;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
  }
}

/* 일반 모바일 (361px ~ 480px) */
@media (min-width: 361px) and (max-width: 480px) {
  .hero-title {
    font-size: 1.625rem;
  }
  
  .hero-btn {
    max-width: 260px;
  }
  
  .stat-number {
    font-size: 1.375rem;
  }
}

/* 큰 모바일 ~ 작은 태블릿 (481px ~ 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
  
  /* 히어로 */
  .hero {
    padding: 56px 0 72px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.0625rem;
  }
  
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-btn {
    width: auto;
    max-width: none;
    padding: 14px 24px;
  }
  
  /* 통계 */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  
  .stat-item {
    padding: 18px 12px;
  }
  
  .stat-number {
    font-size: 1.375rem;
  }
  
  /* 수상/인증 */
  .awards-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .awards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .certifications-grid {
    gap: 10px;
  }
  
  /* 솔루션 */
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  /* 상담 채널 */
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 문의 폼 */
  .inquiry-form {
    padding: 28px;
  }
}

/* 태블릿 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 24px;
  }
  
  /* 헤더 */
  .logo-text {
    font-size: 1.625rem;
  }
  
  .header-phone {
    padding: 10px 16px;
  }
  
  .phone-number {
    font-size: 1.0625rem;
  }
  
  /* 히어로 */
  .hero {
    padding: 64px 0 80px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-btn {
    padding: 14px 28px;
    font-size: 1.0625rem;
  }
  
  /* 섹션 타이틀 */
  .section-title {
    font-size: 1.625rem;
    margin-bottom: 28px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }
  
  /* 통계 */
  .stats-grid {
    gap: 20px;
  }
  
  .stat-item {
    padding: 24px 16px;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  /* 솔루션 */
  .solutions-grid {
    gap: 20px;
  }
  
  .solution-card {
    padding: 24px 16px;
  }
  
  .solution-icon {
    font-size: 2.25rem;
  }
  
  .solution-name {
    font-size: 1.0625rem;
  }
  
  .solution-desc {
    font-size: 0.8125rem;
  }
  
  /* 진행 과정 */
  .process-timeline {
    max-width: 800px;
  }
  
  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
  }
  
  .step-title {
    font-size: 1.0625rem;
  }
  
  .step-desc {
    font-size: 0.875rem;
    max-width: 160px;
  }
  
  /* 상담 채널 */
  .channels-grid {
    max-width: 800px;
  }
  
  .channel-btn {
    padding: 22px 14px;
    min-height: 110px;
  }
  
  .channel-icon svg {
    width: 44px;
    height: 44px;
  }
  
  .channel-logo-img {
    width: 44px;
    height: 44px;
  }
  
  .channel-name {
    font-size: 0.9375rem;
  }
  
  /* 문의 폼 */
  .inquiry-form {
    padding: 32px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px;
  }
  
  .btn-submit {
    padding: 16px;
    font-size: 1.125rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 20px 22px;
  }
  
  .faq-answer p {
    padding: 0 22px 22px;
  }
  
  /* 푸터 */
  .footer {
    padding: 44px 0 28px;
  }
}

/* 데스크톱 (1024px 이상) */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  
  /* 헤더 */
  .header-content {
    padding: 16px 0;
  }
  
  .logo-text {
    font-size: 1.75rem;
  }
  
  .header-phone {
    padding: 12px 20px;
  }
  
  .phone-badge {
    display: inline-block;
    font-size: 0.6875rem;
    padding: 3px 8px;
  }
  
  .phone-number {
    font-size: 1.125rem;
  }
  
  /* 히어로 */
  .hero {
    padding: 100px 0 120px;
  }
  
  .hero-badge {
    font-size: 1rem;
    padding: 10px 20px;
    margin-bottom: 24px;
  }
  
  .hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 1.375rem;
    max-width: 700px;
    margin-bottom: 24px;
  }
  
  .hero-features {
    gap: 16px;
    margin-bottom: 36px;
  }
  
  .hero-feature {
    font-size: 1rem;
    padding: 10px 20px;
  }
  
  .hero-btn {
    padding: 18px 36px;
    font-size: 1.1875rem;
  }
  
  .hero-reassurance {
    font-size: 0.9375rem;
    margin-top: 12px;
  }
  
  /* 섹션 공통 */
  .section-title {
    font-size: 2rem;
    margin-bottom: 36px;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 48px;
    max-width: 700px;
  }
  
  .subsection-title {
    font-size: 1.375rem;
    margin-bottom: 28px;
  }
  
  /* 신뢰 섹션 */
  .trust-section {
    padding: 80px 0;
  }
  
  .stats-grid {
    gap: 32px;
    margin-bottom: 56px;
  }
  
  .stat-item {
    padding: 32px 24px;
  }
  
  .stat-number {
    font-size: 2.25rem;
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 1.0625rem;
  }
  
  .awards-section {
    margin-bottom: 40px;
  }
  
  .awards-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .awards-grid {
    gap: 20px;
  }
  
  .award-item {
    padding: 24px 20px;
  }
  
  .award-icon {
    font-size: 1.75rem;
  }
  
  .award-name {
    font-size: 1rem;
  }
  
  .award-desc {
    font-size: 0.875rem;
  }
  
  .certifications-grid {
    gap: 20px;
  }
  
  .cert-item {
    padding: 24px 20px;
  }
  
  .cert-icon {
    font-size: 1.75rem;
  }
  
  .cert-name {
    font-size: 1rem;
  }
  
  .cert-desc {
    font-size: 0.8125rem;
  }
  
  /* 서비스 섹션 */
  .services-section {
    padding: 80px 0;
  }
  
  .solutions-grid {
    gap: 28px;
  }
  
  .solution-card {
    padding: 32px 24px;
  }
  
  .solution-icon {
    font-size: 2.75rem;
    margin-bottom: 20px;
  }
  
  .solution-name {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  
  .solution-desc {
    font-size: 0.9375rem;
  }
  
  /* 진행 과정 */
  .process-section {
    padding: 80px 0;
  }
  
  .process-timeline {
    max-width: 1000px;
  }
  
  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.625rem;
    margin-bottom: 20px;
  }
  
  .step-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  
  .step-desc {
    font-size: 1rem;
    max-width: 200px;
  }
  
  .process-connector {
    margin: 32px 0 0 0;
  }
  
  /* 상담 채널 */
  .channels-section {
    padding: 80px 0;
  }
  
  .channels-grid {
    max-width: 700px;
    gap: 20px;
  }

  .channel-btn {
    padding: 28px 20px;
    min-height: 140px;
  }
  
  .channel-icon {
    margin-bottom: 14px;
  }
  
  .channel-icon svg {
    width: 52px;
    height: 52px;
  }
  
  .channel-logo-img {
    width: 52px;
    height: 52px;
  }
  
  .channel-name {
    font-size: 1.0625rem;
    margin-bottom: 6px;
  }
  
  .channel-desc {
    font-size: 0.875rem;
  }
  
  /* 문의 폼 */
  .contact-section {
    padding: 80px 0;
  }
  
  .inquiry-form {
    max-width: 560px;
    padding: 40px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-group label {
    margin-bottom: 8px;
    font-size: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 16px;
    font-size: 1rem;
  }
  
  .btn-submit {
    padding: 18px;
    font-size: 1.1875rem;
    margin-top: 8px;
  }
  
  /* FAQ */
  .faq-section {
    padding: 80px 0;
  }
  
  .faq-list {
    max-width: 800px;
  }
  
  .faq-item {
    margin-bottom: 20px;
  }
  
  .faq-question {
    padding: 24px 28px;
    font-size: 1.125rem;
  }
  
  .faq-icon {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
  
  .faq-answer p {
    padding: 0 28px 28px;
    font-size: 1.0625rem;
  }
  
  /* 플로팅 CTA */
  .floating-cta {
    max-width: 360px;
    padding: 10px;
  }
  
  .btn-floating {
    padding: 18px 28px;
    font-size: 1.0625rem;
  }
  
  .btn-floating .btn-icon {
    font-size: 1.5rem;
  }
  
  .btn-floating .btn-text {
    font-size: 1.0625rem;
  }
  
  /* 푸터 */
  .footer {
    padding: 56px 0 40px;
  }
  
  .footer-content {
    gap: 32px;
  }
  
  .footer-logo .logo-text {
    font-size: 1.375rem;
  }
  
  .footer-info {
    font-size: 0.9375rem;
  }
  
  .footer-links {
    gap: 20px;
    padding: 24px 0;
  }
  
  .footer-link {
    font-size: 1rem;
  }
  
  .footer-copyright {
    font-size: 0.9375rem;
  }
}

/* 대형 데스크톱 (1440px 이상) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* CTA 버튼 최소 터치 영역 보장 (44x44px) */
.btn,
.btn-floating,
.channel-btn,
.faq-question {
  min-width: 44px;
  min-height: 44px;
}

/* 가로 스크롤 방지 */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* 이미지 반응형 */
img {
  max-width: 100%;
  height: auto;
}

/* 텍스트 오버플로우 방지 */
.hero-title,
.section-title,
.solution-name,
.step-title,
.channel-name,
.faq-question-text {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 개인정보 처리방침 모달 */
/* ============================================================
   Modal — shadcn Dialog
   ============================================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.modal-content {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid hsl(var(--border));
}

.modal-header h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
}

.modal-close {
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.modal-body h4 {
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin: 8px 0;
}

/* 접근성: 포커스 스타일 — shadcn ring */
.btn:focus-visible,
.btn-floating:focus-visible,
.channel-btn:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring) / 0.6);
}

/* 접근성: 고대비 모드 지원 */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid white;
  }
  
  .btn-secondary {
    border: 2px solid white;
  }
  
  .faq-item {
    border: 1px solid var(--border-color);
  }
}

/* 접근성: 모션 감소 선호 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}


/* ========================================
   하단 플로팅 간편 상담 배너
   ======================================== */

/* ============================================================
   하단 플로팅 간편 상담 배너 (데스크톱) — shadcn primary bar
   ============================================================ */
.floating-bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  z-index: 1001;
  box-shadow: 0 -1px 0 hsl(var(--border)), 0 -8px 24px rgb(0 0 0 / 0.08);
}

.banner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.banner-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.banner-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.banner-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.banner-form {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: flex-end;
}

.banner-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.banner-field label {
  font-size: 0.6875rem;
  opacity: 0.85;
}

.banner-field input,
.banner-field select {
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: var(--radius);
  font-size: 0.875rem;
  min-width: 160px;
  background: rgb(255 255 255 / 0.95);
  color: hsl(var(--foreground));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.banner-field input:focus,
.banner-field select:focus {
  outline: none;
  border-color: rgb(255 255 255);
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.25);
}

.banner-field input::placeholder {
  color: hsl(var(--muted-foreground));
}

.banner-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.banner-field select:invalid {
  color: hsl(var(--muted-foreground));
}

.banner-field select option {
  color: hsl(var(--foreground));
}

.banner-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.banner-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  cursor: pointer;
  opacity: 0.9;
}

.banner-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #fff;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: hsl(var(--card));
  color: hsl(var(--primary));
  border: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.banner-btn:hover {
  background: hsl(var(--accent));
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 1.125rem;
  font-weight: 400;
}

/* 모바일 하단 배너 — shadcn primary CTA */
.mobile-bottom-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsl(var(--primary));
  padding: 14px 20px;
  z-index: 999;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid hsl(var(--primary) / 0.5);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.08);
}

.mobile-banner-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-banner-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.85);
  letter-spacing: 0.01em;
}

.mobile-banner-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--primary-fg));
}

.mobile-banner-right {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgb(255 255 255 / 0.18);
  padding: 8px 12px;
  border-radius: var(--radius);
}

.mobile-banner-btn {
  font-size: 0.875rem;
  color: hsl(var(--primary-fg));
  font-weight: 600;
}

.mobile-banner-arrow {
  font-size: 1.125rem;
  color: hsl(var(--primary-fg));
}

/* 모바일 문의 폼 모달 */
.quick-form-modal {
  max-width: 400px;
  width: 90%;
}

.quick-form-modal .modal-body {
  padding: 24px;
}

.modal-form .form-group {
  margin-bottom: 16px;
}

.modal-form select {
  color: #333;
}

.modal-form select:invalid,
.modal-form select option[value=""][disabled] {
  color: #adb5bd;
}

.modal-form .btn-submit {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 1023px) {
  .mobile-bottom-banner {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .mobile-bottom-banner {
    display: none;
  }
}

/* 모바일: 배너 숨김, 플로팅 CTA 하단 */
@media (max-width: 1023px) {
  .floating-bottom-banner {
    display: none;
  }
  
  .floating-cta {
    bottom: 70px;
  }
}

/* 태블릿: 배너 2줄 레이아웃 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .floating-bottom-banner {
    bottom: 0;
  }
  
  .banner-container {
    flex-wrap: wrap;
    padding: 8px 16px;
  }
  
  .banner-left {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
  
  .banner-form {
    width: 100%;
    justify-content: space-between;
  }
  
  .banner-field input,
  .banner-field select {
    min-width: 140px;
  }
  
  .footer {
    padding-bottom: 140px;
  }
}

/* 대형 데스크톱 */
@media (min-width: 1280px) {
  .floating-bottom-banner {
    bottom: 0;
  }
  
  .banner-container {
    padding: 12px 32px;
  }
  
  .banner-title {
    font-size: 1.25rem;
  }
  
  .banner-field input,
  .banner-field select {
    min-width: 180px;
    padding: 10px 14px;
  }
  
  .banner-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .footer {
    padding-bottom: 120px;
  }
}

/* ========================================
   Scroll Reveal Animation System
   ======================================== */

.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease var(--reveal-delay, 0s),
              transform 0.5s ease var(--reveal-delay, 0s);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease var(--reveal-delay, 0s),
              transform 0.5s ease var(--reveal-delay, 0s);
}

/* 리빌 완료 후: 기존 hover 트랜지션 복원 */
.reveal-done {
  opacity: 1;
  transform: none;
}

/* ========================================
   Hero Entrance Animation
   ======================================== */

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate .hero-badge,
.hero-animate .hero-title,
.hero-animate .hero-subtitle,
.hero-animate .hero-features,
.hero-animate .hero-cta,
.hero-animate .hero-reassurance {
  opacity: 0;
  animation: heroFadeInUp 0.5s ease forwards;
}

.hero-animate .hero-badge       { animation-delay: 0.05s; }
.hero-animate .hero-title       { animation-delay: 0.15s; }
.hero-animate .hero-subtitle    { animation-delay: 0.25s; }
.hero-animate .hero-features    { animation-delay: 0.35s; }
.hero-animate .hero-cta         { animation-delay: 0.45s; }
.hero-animate .hero-reassurance { animation-delay: 0.55s; }

/* ========================================
   Process Timeline Reveal
   ======================================== */

.process-step.reveal-hidden {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease var(--reveal-delay, 0s),
              transform 0.5s ease var(--reveal-delay, 0s);
}

.process-step.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease var(--reveal-delay, 0s),
              transform 0.5s ease var(--reveal-delay, 0s);
}

.process-connector.reveal-hidden {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.4s ease var(--reveal-delay, 0s),
              transform 0.4s ease var(--reveal-delay, 0s);
}

.process-connector.reveal-visible {
  opacity: 1;
  transform: scaleY(1);
  transition: opacity 0.4s ease var(--reveal-delay, 0s),
              transform 0.4s ease var(--reveal-delay, 0s);
}

@media (min-width: 768px) {
  .process-connector.reveal-hidden {
    transform: scaleX(0);
    transform-origin: left;
  }

  .process-connector.reveal-visible {
    transform: scaleX(1);
  }
}

/* ========================================
   Modal Transitions
   ======================================== */

.modal.modal-animated {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.modal-animated.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal.modal-animated .modal-content {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.modal-animated.modal-open .modal-content {
  transform: scale(1);
}

/* ========================================
   Floating Banner Entrance
   ======================================== */

.floating-bottom-banner.banner-animate {
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.floating-bottom-banner.banner-animate.banner-visible {
  transform: translateY(0);
}
