/* ==========================================================================
   쭉쭉뻥뻥 (JJBB.KR) - 실제 시장 1위 업체 벤치마킹 스타일시트
   ========================================================================== */

:root {
  --primary: #0284c7;       /* Ocean Sky Blue */
  --primary-dark: #0369a1;  /* Deep Ocean */
  --primary-light: #e0f2fe; /* Light Water Tint */
  --secondary: #0f172a;     /* Deep Slate Navy */
  --accent: #f59e0b;        /* Warning Amber */
  --success: #10b981;       /* Verification Emerald */
  --danger: #ef4444;        /* Alert Red */
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(2,132,199,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 85px; /* Dock bar space */
  word-break: keep-all;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Top Bar */
.top-notice {
  background: var(--secondary);
  color: #bae6fd;
  font-size: 0.82rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.top-notice span {
  color: #38bdf8;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
}
.brand-name span {
  color: var(--primary);
}
.header-phone-btn {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
  padding: 28px 0 20px;
  text-align: center;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid #bae6fd;
}
.main-headline {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--secondary);
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.main-headline span.highlight {
  color: var(--primary);
  display: inline-block;
}
.hero-subtext {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}

.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.metric-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   실제 시장형 3단계 정찰제 계산기 (증상 기반 올인원)
   ========================================================================== */
.calc-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}
.calc-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.dots-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dots-group {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s ease;
}
.dot.completed {
  background: var(--success);
}
.dot-status-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--success);
}
.calc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

/* Step 1: Location Tabs */
.loc-tabs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
@media (min-width: 600px) {
  .loc-tabs-row {
    grid-template-columns: repeat(5, 1fr);
  }
}
.loc-tab-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.loc-tab-btn .tab-icon {
  font-size: 1.3rem;
}
.loc-tab-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.loc-tab-btn.active {
  background: #f0f9ff;
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--primary);
}

/* Step 2: Real-world Symptom Cards */
.symptom-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.opt-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}
.opt-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.opt-card.selected {
  border-color: var(--primary);
  background: #f0f9ff;
  box-shadow: 0 0 0 1px var(--primary);
}
.opt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.opt-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--secondary);
}
.opt-card.selected .opt-card-title {
  color: var(--primary-dark);
}
.opt-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
  padding: 2px 7px;
  border-radius: 4px;
}
.opt-card.selected .opt-card-badge {
  background: #dbeafe;
  color: var(--primary-dark);
}
.opt-card-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.opt-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}
.opt-card-method {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
}
.opt-card-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
}

/* Step 3: Schedule Grid */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.schedule-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.schedule-btn.selected {
  background: #f0fdf4;
  border-color: var(--success);
  color: #166534;
  font-weight: 800;
  box-shadow: 0 0 0 1px var(--success);
}

/* Real-time Estimated Price Summary Box */
.calc-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: #ffffff;
  margin-bottom: 20px;
}
.result-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.result-tag {
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 4px;
}
.result-summary-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.result-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
}
.price-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
}
.price-amount {
  font-size: 1.85rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: -0.5px;
}
.price-amount small {
  font-size: 0.95rem;
  color: #e2e8f0;
  font-weight: 700;
  margin-left: 2px;
}

/* Booking Form */
.booking-form-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
}
.form-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 48px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  transition: all 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
input:focus::placeholder, textarea:focus::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}
.form-input.autofilled {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
  color: #166534 !important;
  font-weight: 700;
}
@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.form-input.shake-error {
  border: 2px solid var(--danger) !important;
  animation: fieldShake 0.4s ease-in-out;
}
.btn-submit-booking {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  transition: all 0.2s ease;
}
.btn-submit-booking:active {
  transform: scale(0.98);
}
.form-privacy-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ==========================================================================
   타 업체 3대 바가지 사기 수법 폭로 박스
   ========================================================================== */
.scam-exposure-box {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin-bottom: 35px;
}
.scam-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.scam-tag {
  background: #e11d48;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.scam-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #9f1239;
}
.scam-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scam-item {
  background: #ffffff;
  border: 1px solid #ffe4e6;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.scam-item-bad {
  color: #be123c;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.scam-item-good {
  color: #047857;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* BEFORE vs AFTER */
.section-block {
  margin-bottom: 40px;
}
.section-heading-box {
  margin-bottom: 20px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  background: #e0f2fe;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--secondary);
}
.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.case-header-bar {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.case-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
}
.case-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 3px 8px;
  border-radius: 4px;
}
.case-visual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #000;
  gap: 2px;
}
.visual-pane {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}
.visual-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.case-card:hover .visual-pane img {
  transform: scale(1.03);
}
.visual-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 2;
}
.badge-before {
  background: rgba(225, 29, 72, 0.92);
  color: #ffffff;
}
.badge-after {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
}
.case-detail-text {
  padding: 14px 16px;
  background: #ffffff;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.5;
  border-top: 1px solid var(--border-light);
}

/* Guarantees */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.guarantee-box {
  background: #ffffff;
  border: 1.5px solid #e0f2fe;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}
.guarantee-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.guarantee-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}
.guarantee-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tech Equipment */
.equipment-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.equip-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.equip-info h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--secondary);
}
.equip-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  padding: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 16px 16px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}
.faq-item.open .faq-answer {
  display: block;
}

/* Fixed Dock */
.fixed-dock-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
}
.dock-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dock-left {
  display: flex;
  flex-direction: column;
}
.dock-status-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
}
.dock-summary-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dock-price-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: right;
}
.dock-price-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}
.dock-cta-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 14px;
  white-space: nowrap;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.modal-check-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 6px;
}
.modal-subtext {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}
.modal-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 16px;
  font-size: 0.86rem;
}
.modal-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.modal-summary-row:last-child {
  margin-bottom: 0;
  border-top: 1px dashed #cbd5e1;
  padding-top: 6px;
  font-weight: 800;
  color: var(--primary-dark);
}
.modal-close-btn {
  width: 100%;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 30px 0 20px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-copy {
  border-top: 1px solid #1e293b;
  margin-top: 16px;
  padding-top: 14px;
  text-align: center;
  color: #64748b;
}
