/* ==========================================================================
   수리수리 문콕수리 MHC (Mobile Hit-dent Center)
   센디(Sendy) 스타일의 1,000만원대 하이엔드 타이포그래피 & 2-Column 계산기 시스템
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  /* 센디 스타일의 쿨 그레이 & 로얄 블루 & 에메랄드 시스템 */
  --primary: #2563eb;          /* 로얄 블루 (신뢰감 넘치는 덴트 테크 키 컬러) */
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;    /* 활성화 카드 파스텔 배경 */
  --primary-border: #bfdbfe;
  
  --secondary: #111827;        /* 묵직한 잉크 블랙 (타이틀 900) */
  --text-body: #374151;         /* 본문 다크 그레이 (700) */
  --text-muted: #6b7280;        /* 설명 쿨 그레이 (500) */
  --text-sub: #9ca3af;          /* 보조 라이트 그레이 (400) */

  --bg-page: #f8fafc;          /* 쿨 그레이 캔버스 */
  --bg-card: #ffffff;          /* 퓨어 화이트 카드 */
  --border-light: #e5e7eb;     /* 비활성 테두리 1px */
  --border-focus: #2563eb;     /* 활성 테두리 2px */

  --accent-green: #059669;     /* 절약 & 안심 그린 */
  --accent-green-bg: #ecfdf5;
  --accent-red: #dc2626;       /* 판금도색 비교 레드 */
  --accent-red-bg: #fef2f2;
  --accent-amber: #d97706;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-active: 0 6px 20px rgba(37, 99, 235, 0.12);
  --shadow-sticky: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  letter-spacing: -0.3px;
  padding-bottom: 90px;
}

.keep-phrase {
  display: inline-block;
  white-space: nowrap;
}

/* ==========================================================================
   Global Header (센디 스타일 미니멀 헤더)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 64px;
}

.header-inner {
  max-width: 1140px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  background: var(--secondary);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.6px;
}
.logo-name span {
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-sub-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #eff6ff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-header-call:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-wrap {
  padding: 44px 20px 24px;
  text-align: center;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.hero-title-main {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.text-blue {
  color: var(--primary);
}

.hero-sub-main {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 500;
}

/* ==========================================================================
   2-Column Calculator Layout (센디의 데스크톱 핵심 공식)
   ========================================================================== */
.calculator-layout {
  max-width: 1140px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 32px;
  align-items: start;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Step Card */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-index-badge {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
}

.step-main-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.4px;
}

.step-optional-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-sub);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   STEP 1. 차종 등급 카드 그리드 (신규 센디 박스 카드 시스템)
   -------------------------------------------------------------------------- */
.car-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.car-type-card {
  position: relative;
}

.car-type-card input[name="car_grade"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.car-card-label {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 14px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card-label:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.car-type-card input[name="car_grade"]:checked + .car-card-label {
  border-color: var(--border-focus);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-active);
}

.car-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.car-icon {
  font-size: 1.5rem;
}

.car-badge-norm {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 2px 7px;
  border-radius: 4px;
}

.car-badge-special {
  font-size: 0.7rem;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 7px;
  border-radius: 4px;
}

.car-badge-import {
  font-size: 0.7rem;
  font-weight: 800;
  color: #6b21a8;
  background: #f3e8ff;
  padding: 2px 7px;
  border-radius: 4px;
}

.car-headline {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.car-examples {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   STEP 2. 도장면(페인트) 상태 라디오
   -------------------------------------------------------------------------- */
.paint-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.paint-card-btn {
  position: relative;
}

.paint-card-btn input[name="paint_status"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.paint-card-label {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
}

.paint-card-label:hover {
  border-color: #cbd5e1;
}

.paint-card-btn input[name="paint_status"]:checked + .paint-card-label {
  border-color: var(--border-focus);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-active);
}

.paint-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.paint-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
}

.paint-tag-ok {
  font-size: 0.72rem;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 4px;
}

.paint-tag-warn {
  font-size: 0.72rem;
  font-weight: 800;
  color: #b91c1c;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 4px;
}

.paint-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   STEP 3. 크기 선택 센디 카드 그리드
   -------------------------------------------------------------------------- */
.size-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.size-select-card {
  position: relative;
}

.size-select-card input[name="dent_size"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.size-box-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 140px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.size-box-label:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.size-select-card input[name="dent_size"]:checked + .size-box-label {
  border-color: var(--border-focus);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-active);
}

.size-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.size-emoji-icon {
  font-size: 1.5rem;
}

.size-popular-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 2px 7px;
  border-radius: 4px;
}

.size-headline {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.size-examples-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.size-price-tag {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  text-align: right;
  letter-spacing: -0.5px;
}
.size-price-tag .unit {
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 2px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   STEP 4. 위치 난이도
   -------------------------------------------------------------------------- */
.position-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pos-tab-item {
  position: relative;
}

.pos-tab-item input[name="dent_pos"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pos-tab-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.pos-tab-label:hover {
  border-color: #cbd5e1;
}

.pos-tab-item input[name="dent_pos"]:checked + .pos-tab-label {
  border-color: var(--border-focus);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-active);
}

.pos-title-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.pos-extra-cost {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.dynamic-feedback-box {
  margin-top: 14px;
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feedback-icon {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.9rem;
  margin-top: 1px;
}

.feedback-text {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   STEP 5. 수량 조절
   -------------------------------------------------------------------------- */
.quantity-control-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.quantity-info-side h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 2px;
}
.quantity-info-side p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.quantity-info-side strong {
  color: var(--accent-green);
}

.stepper-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stepper-circle-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.stepper-number-display {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
  min-width: 28px;
  text-align: center;
}

/* ==========================================================================
   우측 Sticky 요약 카드 (센디 데스크톱 핵심 디자인)
   ========================================================================== */
.sticky-summary-wrap {
  position: sticky;
  top: 84px;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sticky);
}

.summary-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.summary-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--secondary);
}

.summary-live-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.price-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.comp-column {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.comp-column.bodyshop {
  background: #fef2f2;
  border: 1px solid #fee2e2;
}

.comp-column.bodyshop .comp-sub-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #991b1b;
}

.comp-column.bodyshop .comp-main-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-red);
  text-decoration: line-through;
  margin: 4px 0 2px;
}

.comp-column.bodyshop .comp-caption {
  font-size: 0.68rem;
  color: #b91c1c;
}

.comp-column.mhc {
  background: #eff6ff;
  border: 2px solid var(--primary);
}

.comp-column.mhc .comp-sub-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #1e40af;
}

.comp-column.mhc .comp-main-price {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--primary);
  margin: 4px 0 2px;
  letter-spacing: -0.5px;
}

.comp-column.mhc .comp-caption {
  font-size: 0.68rem;
  color: #2563eb;
  font-weight: 700;
}

.savings-highlight-banner {
  background: var(--accent-green-bg);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.savings-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #065f46;
}

.savings-amount-text {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent-green);
}

.guarantee-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guarantee-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-body);
}

.guarantee-checklist li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.btn-primary-reserve {
  width: 100%;
  height: 52px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary-reserve:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   하단 4대 안심 보증 섹션 (고객 불만 100% 사전 차단 & 신뢰 시스템)
   ========================================================================== */
.bottom-sections-wrap {
  max-width: 1140px;
  margin: 40px auto;
  padding: 0 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-headline {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.section-subtext {
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* 4대 보증 카드 그리드 */
.guarantee-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feat-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feat-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feat-badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.feat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.feat-item-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.feat-item-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FAQ 아코디언 */
.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-card-detail {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-summary-row {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-badge-q {
  color: var(--primary);
  margin-right: 8px;
}

.faq-body-content {
  padding: 0 20px 18px 20px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}

/* ==========================================================================
   모달 시스템
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--secondary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-sub);
  cursor: pointer;
  line-height: 1;
}

.form-group-item {
  margin-bottom: 14px;
}

.form-label-text {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-control-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-control-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* 칠 까짐 경고 모달 */
.warn-modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 2px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  z-index: 2000;
  display: none;
  text-align: center;
}

.warn-modal-box.active {
  display: block;
}

/* 모바일 하단 플로팅 바 */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.footer-action-btn {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-action-btn.sms {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.footer-action-btn.call {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .calculator-layout {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .sticky-summary-wrap {
    position: static;
  }

  .car-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-sticky-footer {
    display: flex;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .hero-title-main {
    font-size: 1.65rem;
  }

  .size-selection-grid {
    grid-template-columns: 1fr;
  }

  .position-tabs-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-grid-4 {
    grid-template-columns: 1fr;
  }

  .header-sub-text {
    display: none;
  }
}

/* 부위별 추가금 0원 & 본사 상생 공임 지원 박스 */
.no-extra-fee-box {
  margin-top: 16px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.no-extra-icon {
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.no-extra-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 4px;
}

.no-extra-desc {
  font-size: 0.8rem;
  color: #15803d;
  line-height: 1.55;
}

/* ==========================================================================
   모바일 한글 줄바꿈 & 어절 보존 완벽 최적화 (단어 쪼개짐 100% 방지)
   ========================================================================== */
html, body, h1, h2, h3, h4, h5, h6, p, span, label, button, a, div, td, th {
  word-break: keep-all !important;
  overflow-wrap: break-word;
}

.keep-phrase {
  display: inline-block;
  white-space: nowrap;
}

/* 모바일 텍스트 및 배지 줄바꿈 방지 */
.logo-name, .header-sub-text, .hero-pill, .size-headline, .car-headline,
.summary-live-tag, .savings-label, .savings-amount-text, .feat-badge-tag,
.size-popular-pill, .car-badge-norm, .car-badge-special, .car-badge-import,
.paint-tag-ok, .paint-tag-warn, .faq-badge-q {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

@media (max-width: 600px) {
  .hero-wrap {
    padding: 28px 16px 16px;
  }
  
  .hero-title-main {
    font-size: 1.55rem !important;
    line-height: 1.35 !important;
    letter-spacing: -0.6px;
  }

  .hero-sub-main {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  .section-headline {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
  }

  .section-subtext {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .step-card {
    padding: 18px 16px !important;
  }

  .step-main-title {
    font-size: 1.05rem !important;
  }

  .car-card-label {
    padding: 12px 10px !important;
  }

  .car-headline {
    font-size: 0.88rem !important;
  }

  .car-examples {
    font-size: 0.7rem !important;
  }

  .size-box-label {
    padding: 14px 14px !important;
    min-height: 120px !important;
  }

  .size-headline {
    font-size: 0.95rem !important;
  }

  .size-examples-desc {
    font-size: 0.75rem !important;
  }

  .summary-card {
    padding: 18px 16px !important;
  }

  .faq-summary-row {
    padding: 14px 16px !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
  }

  .faq-body-content {
    padding: 0 16px 16px 16px !important;
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
  }
}

/* ==========================================================================
   MHC 전국 PDR 마스터 파트너십 섹션 (센디 드라이버급 프리미엄 다크 카드)
   ========================================================================== */
.partner-recruit-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
  border: 1px solid #334155;
}

.partner-card-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.partner-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.partner-headline {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.partner-subtext {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.partner-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.partner-benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-benefit-item:hover {
  transform: translateY(-4px);
  border-color: #60a5fa;
  background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.partner-benefit-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.partner-benefit-item p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.partner-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 20px;
}

.partner-cta-info strong {
  display: block;
  font-size: 0.95rem;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.partner-cta-info span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.partner-cta-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-partner-sms {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-partner-sms:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-partner-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-partner-call:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 960px) {
  .partner-benefits-grid {
    grid-template-columns: 1fr;
  }

  .partner-cta-row {
    flex-direction: column;
    text-align: center;
  }

  .partner-cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .btn-partner-sms, .btn-partner-call {
    width: 100%;
    justify-content: center;
  }
}
