@charset "UTF-8";

:root {
  --color-primary: #1E3A8A;       /* 딥 로열 네이비 */
  --color-primary-dark: #172554;
  --color-primary-light: #EFF6FF;
  --color-accent: #D97706;        /* 샴페인 골드/앰버 */
  --color-accent-light: #FEF3C7;
  --color-bg: #FFFFFF;
  --color-bg-sub: #F8FAFC;
  --color-border: #E2E8F0;
  --color-text-main: #0F172A;
  --color-text-sub: #475569;
  --color-text-muted: #94A3B8;
  --touch-target: 48px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07);
  --shadow-float: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.65;
  letter-spacing: -0.02em;
  word-break: keep-all;
  padding-bottom: 76px; /* 하단 엄지존 플로팅 바 공간 */
}

/* 유틸리티 */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  color: var(--color-accent);
}

.bg-gold-light {
  background-color: var(--color-accent-light);
}

/* 허니팟 보안 트랩 (사람 눈과 탭 이동에 걸리지 않도록 은닉) */
.hp-trap-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* 1. 상단 헤더 (GNB) */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

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

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

.logo-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch-target);
  padding: 0 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-phone-btn:hover {
  background: #DBEAFE;
}

/* 2. 메인 히어로 섹션 */
.hero {
  padding: 44px 0 36px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.hero-heading {
  font-size: clamp(1.8rem, 5.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.hero-heading .highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-sub {
  font-size: 1rem;
  color: var(--color-text-sub);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* 간편 견적 폼 카드 */
.quick-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-weight: 700;
  font-size: 0.75rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.form-field {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.input-ctrl {
  width: 100%;
  min-height: var(--touch-target);
  padding: 0 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  background: #FFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-ctrl:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.btn-primary {
  width: 100%;
  min-height: 52px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  background: #94A3B8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 3. 신뢰 지표 그리드 */
.metrics-section {
  padding: 24px 0 40px;
}

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

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.metric-card {
  background: var(--color-bg-sub);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.metric-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--color-text-sub);
}

/* 4. 4단계 프로세스 타임라인 */
.process-section {
  padding: 56px 0;
  background: var(--color-bg-sub);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.92rem;
  color: var(--color-text-sub);
}

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-item {
  background: #FFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.process-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.process-item.gold .step-num {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.process-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-item p {
  font-size: 0.82rem;
  color: var(--color-text-sub);
  line-height: 1.5;
}

/* 5. 폐차 맞춤 서비스 카드 */
.services-section {
  padding: 56px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  background: #FFF;
}

.service-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-badge.blue {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.service-badge.gold {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* 6. 후기 & FAQ */
.faq-section {
  padding: 56px 0;
  background: var(--color-bg-sub);
  border-top: 1px solid var(--color-border);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
}

.faq-item summary {
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* 7. 엄지손가락 존: 하단 플로팅 2분할 액션 바 */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  box-shadow: var(--shadow-float);
  z-index: 999;
}

.btn-bottom-action {
  flex: 1;
  min-height: var(--touch-target);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.1s;
}

.btn-bottom-action:active {
  transform: scale(0.97);
}

.btn-bottom-sub {
  background: #F1F5F9;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-bottom-main {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* 8. 푸터 */
.footer {
  background: #0B0F19;
  color: #94A3B8;
  padding: 48px 0 32px;
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1E293B;
}

.footer-logo {
  color: #FFF;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-cert {
  background: #1E293B;
  color: #60A5FA;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* 페이드인 애니메이션 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

