/*
 * 에어록 입주청소 - 입주청소 영업 랜딩
 * 화이트 + 블루 3단계 | 신뢰 + 청결
 * Primary: #1E88E5 | Deep: #0D47A1 | Light BG: #E3F2FD | White: 60% | Light Blue: 20% | Main Blue: 15% | Deep: 5%
 */

:root {
  --primary: #1E88E5;
  --primary-hover: #0D47A1;
  --deep-blue: #0D47A1;
  --light-blue: #E3F2FD;
  --white: #FFFFFF;
  --text: #222222;
  --gray: #777777;
  --soft-blue: #64B5F6;
  --max-width: 1280px;
  --section-gap: 140px;
  --grid-gap: 32px;
  --padding-x: 24px;
  --header-height: 80px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

video.cm-hero-bg {
  object-fit: cover;
}

.cm-hero-bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cm-hero-bg-img-mobile {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html, * { scroll-behavior: auto !important; animation: none !important; }
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

main {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

/* Typography */
h1, .cm-hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h2, .cm-section-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 26px;
  font-weight: 600;
}

/* ========== HEADER ========== */
.cm-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: linear-gradient(180deg, var(--deep-blue) 0%, #0a3d7a 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.cm-header-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.5), transparent);
}

.cm-logo-icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 14px;
  color: var(--soft-blue);
  vertical-align: middle;
}

.cm-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cm-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.cm-logo:hover {
  color: var(--soft-blue);
}

.cm-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.cm-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.cm-nav a:hover {
  color: var(--soft-blue);
}

.cm-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cm-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(30, 136, 229, 0.4);
}

.cm-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.cm-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

.cm-mobile-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.cm-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.cm-mobile-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .cm-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--deep-blue);
    backdrop-filter: blur(12px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    gap: 24px;
  }

  .cm-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .cm-mobile-toggle {
    display: flex;
  }
}

/* ========== HERO ========== */
.cm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cm-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.2) 100%);
  z-index: 1;
}

.cm-hero-badges {
  position: absolute;
  top: 24px;
  left: var(--padding-x);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.cm-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cm-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.cm-hero-left {
  max-width: 600px;
}

.cm-hero-title {
  margin-bottom: 20px;
  color: var(--text);
  opacity: 0;
  transform: translateY(30px);
  animation: cmHeroReveal 0.6s var(--ease) forwards;
}

.cm-hero-sub {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: cmHeroReveal 0.6s var(--ease) 0.15s forwards;
}

.cm-hero-mid-img {
  display: none;
}

.cm-hero-btns {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: cmHeroReveal 0.6s var(--ease) 0.3s forwards;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 56px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.cm-btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.cm-btn-primary:hover {
  transform: scale(1.03);
  background: var(--primary-hover);
  box-shadow: 0 10px 30px rgba(30, 136, 229, 0.4);
}

.cm-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.cm-btn-secondary:hover {
  background: var(--light-blue);
  color: var(--deep-blue);
  border-color: var(--primary-hover);
}

.cm-hero-right {
  position: relative;
}

.cm-hero-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.8);
}

@keyframes cmHeroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .cm-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cm-hero-left {
    max-width: 100%;
  }

  .cm-hero-btns {
    justify-content: center;
  }

  .cm-hero-img {
    min-height: 300px;
  }

  .cm-hero-badges {
    position: relative;
    top: 0;
    left: 0;
    justify-content: center;
    margin-bottom: 20px;
  }

  .cm-hero-inner {
    grid-template-rows: auto 1fr auto;
  }
}

@media (max-width: 768px) {
  .cm-hero-bg-img-mobile {
    display: block;
    filter: brightness(1.15) saturate(0.4) contrast(0.95);
  }

  .cm-hero .cm-hero-bg {
    display: none;
  }

  .cm-hero {
    min-height: auto;
    padding: 60px 0 40px;
    align-items: flex-start;
  }

  .cm-hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.78) 100%);
  }

  .cm-hero-inner {
    grid-template-rows: 1fr;
    gap: 24px;
  }

  .cm-hero-badges {
    display: none;
  }

  .cm-hero-right,
  .cm-hero-img {
    display: none;
  }

  .cm-hero-left {
    order: 1;
  }

  .cm-hero-title {
    font-size: 28px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .cm-hero-sub {
    display: none;
  }

  .cm-hero-mid-img {
    display: block;
    margin: 20px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .cm-hero-mid-img img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    vertical-align: top;
  }

  .cm-hero-btns {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
    gap: 12px;
  }

  .cm-btn {
    width: 100%;
    max-width: none;
    height: 52px;
  }
}

/* ========== SECTIONS ========== */
.cm-section {
  padding: var(--section-gap) 0;
}

.cm-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  box-sizing: border-box;
}

.cm-section {
  position: relative;
}

.cm-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
  opacity: 0.4;
}

.cm-section:last-of-type::after,
.cm-cta-section::after,
.cm-problem::after,
.cm-pricing::after,
.cm-contact::after {
  display: none;
}

.cm-section-title {
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.cm-section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--gray);
  margin-top: -32px;
  margin-bottom: 48px;
}

.cm-solution-title-mobile,
.cm-solution-sub-mobile {
  display: none;
  line-height: 1.6;
}

.cm-section-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 20px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.3px;
  text-align: center;
}

.cm-section-badge--problem {
  background: rgba(30, 136, 229, 0.15);
  color: var(--primary);
}

.cm-section-badge--solution {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.12) 0%, rgba(13, 71, 161, 0.08) 100%);
  color: var(--deep-blue);
}

.cm-section-badge--ba {
  background: rgba(30, 136, 229, 0.15);
  color: var(--primary);
}

.cm-section-badge--service {
  background: rgba(30, 136, 229, 0.12);
  color: var(--deep-blue);
}

.cm-section-badge--pricing {
  background: var(--light-blue);
  color: var(--deep-blue);
}

.cm-section-badge--reviews {
  background: rgba(30, 136, 229, 0.12);
  color: var(--primary);
}

.cm-section-badge--contact {
  background: var(--light-blue);
  color: var(--deep-blue);
}

/* Scroll reveal */
.cm-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.cm-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========== PROBLEM ========== */
.cm-problem {
  position: relative;
  background: var(--light-blue);
  overflow: visible;
}

.cm-problem-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-problem-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 136, 229, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.cm-problem-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(30, 136, 229, 0.1);
}

.cm-problem-circle--1 {
  width: 240px;
  height: 240px;
  top: -60px;
  right: 5%;
}

.cm-problem-circle--2 {
  width: 160px;
  height: 160px;
  bottom: -40px;
  left: -20px;
  opacity: 0.7;
}

.cm-problem .cm-container {
  position: relative;
  z-index: 1;
}

.cm-problem-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 56px;
}

.cm-problem-title-mobile {
  display: none;
}

.cm-problem-highlight {
  color: var(--primary);
  font-weight: 700;
}

.cm-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  padding-top: 72px;
  overflow: visible;
}

.cm-problem-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  font-weight: 800;
  color: rgba(30, 136, 229, 0.12);
}

.cm-problem-card {
  padding: 0;
  padding-top: 64px;
  padding-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cm-problem-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 36px rgba(30, 136, 229, 0.15);
}

.cm-problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--soft-blue));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cm-problem-icon {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.cm-problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cm-problem-card h3 {
  margin: 8px 0 6px;
  padding: 0 24px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.cm-problem-card p {
  margin: 0;
  padding: 0 24px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

/* ========== SOLUTION ========== */
.cm-solution-wrap {
  position: relative;
}

.cm-solution-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cm-solution-line {
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(30, 136, 229, 0.15), transparent);
}

.cm-solution-line--1 {
  top: 20%;
  left: 10%;
}

.cm-solution-line--2 {
  bottom: 20%;
  right: 10%;
}

.cm-solution-wrap .cm-container {
  position: relative;
  z-index: 1;
}

.cm-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.cm-solution-card {
  position: relative;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 136, 229, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.cm-solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(30, 136, 229, 0.12);
  border-color: var(--soft-blue);
}

.cm-solution-card::after {
  content: '✓';
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}

.cm-solution-num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 28px;
  font-weight: 800;
  color: rgba(30, 136, 229, 0.15);
  z-index: 2;
}

.cm-solution-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.cm-solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-solution-card h3,
.cm-solution-card p {
  padding: 0 24px;
}

.cm-solution-card h3 {
  margin-bottom: 12px;
  margin-top: 20px;
  color: var(--text);
}

.cm-solution-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 24px;
}

/* ========== BEFORE/AFTER ========== */
.cm-beforeafter {
  position: relative;
  background: var(--light-blue);
}

.cm-ba-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-ba-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(30deg, rgba(30, 136, 229, 0.03) 12%, transparent 12.5%),
    linear-gradient(150deg, rgba(30, 136, 229, 0.03) 12%, transparent 12.5%);
  background-size: 60px 60px;
}

.cm-beforeafter .cm-container {
  position: relative;
  z-index: 1;
}

.cm-ba-icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.cm-ba-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.cm-ba-instruction {
  text-align: center;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 500;
}


.cm-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.cm-ba-card {
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.cm-ba-slider {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: ew-resize;
}

.cm-ba-before,
.cm-ba-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cm-ba-before {
  z-index: 0;
}

.cm-ba-after {
  z-index: 1;
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.2s ease-out;
}

.cm-ba-slider:hover .cm-ba-after,
.cm-ba-slider.dragging .cm-ba-after {
  transition: none;
}

.cm-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 100%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  pointer-events: none;
  transition: left 0.2s ease-out;
}

.cm-ba-slider.dragging .cm-ba-handle {
  transition: none;
}

.cm-ba-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 10px 18px;
  border-radius: 24px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.cm-ba-bar {
  flex: 1;
  width: 4px;
  min-height: 40px;
  background: var(--primary);
  margin: 4px 0;
  border-radius: 2px;
}

/* ========== SERVICE ========== */
.cm-service-wrap {
  position: relative;
}

.cm-service-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-service-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.04) 0%, transparent 70%);
}

.cm-service-circle--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.cm-service-circle--2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
}

.cm-service-wrap .cm-container {
  position: relative;
  z-index: 1;
}

.cm-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.cm-service-card {
  position: relative;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 136, 229, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.cm-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(30, 136, 229, 0.12);
  border-color: var(--soft-blue);
}

.cm-service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  z-index: 2;
}

.cm-service-tag--hot {
  background: var(--primary);
  color: var(--white);
}

.cm-service-tag--move {
  background: var(--deep-blue);
  color: var(--white);
}

.cm-service-tag--biz {
  background: linear-gradient(135deg, #2E7D32, #1B5E20);
  color: var(--white);
}

.cm-service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.cm-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-service-card h3,
.cm-service-card p {
  padding: 0 24px;
}

.cm-service-card h3 {
  margin-bottom: 12px;
  margin-top: 20px;
  color: var(--text);
}

.cm-service-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 28px;
}

/* ========== PRICING ========== */
.cm-pricing {
  position: relative;
  background: var(--white);
}

.cm-pricing-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-pricing-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 136, 229, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cm-pricing .cm-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cm-price-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 56px;
  text-align: center;
}

.cm-price-title-accent {
  color: var(--primary);
  font-weight: 700;
}

.cm-price-block {
  position: relative;
  margin-bottom: 56px;
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.cm-price-block-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
}

.cm-price-row--highlight {
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.06) 0%, transparent 100%);
}

.cm-price-row--highlight .cm-price-value {
  color: var(--primary);
  font-size: 18px;
}

.cm-price-block:last-child {
  margin-bottom: 0;
}

.cm-price-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cm-price-badge-primary {
  background: var(--primary);
  color: var(--white);
}

.cm-price-badge-optional {
  background: var(--light-blue);
  color: var(--deep-blue);
}

.cm-price-desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cm-price-table {
  background: var(--white);
  border: 1px solid #EEEEEE;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.cm-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #EEEEEE;
  gap: 16px;
}

.cm-price-row:last-child {
  border-bottom: none;
}

.cm-price-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.cm-price-table .cm-price-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.cm-price-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  text-align: center;
}

/* ========== REVIEWS ========== */
.cm-reviews-wrap {
  position: relative;
}

.cm-reviews-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-reviews-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.04) 0%, transparent 70%);
}

.cm-reviews-wrap .cm-container {
  position: relative;
  z-index: 1;
}

.cm-reviews-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: -24px;
  margin-bottom: 40px;
}

.cm-reviews-stat {
  font-size: 15px;
  color: var(--gray);
}

.cm-reviews-stat strong {
  color: var(--primary);
  font-size: 18px;
}

.cm-review-card {
  position: relative;
}

.cm-review-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(30, 136, 229, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.cm-reviews-slider {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.cm-reviews-row {
  overflow: hidden;
  width: 100%;
}

.cm-reviews-row:hover .cm-reviews-track {
  animation-play-state: paused;
}

.cm-reviews-track {
  display: flex;
  gap: var(--grid-gap);
  width: max-content;
}

.cm-reviews-row--fast .cm-reviews-track {
  animation: cmReviewsMarquee 38s linear infinite;
}

.cm-reviews-row--slow .cm-reviews-track {
  animation: cmReviewsMarquee 58s linear infinite;
}

@keyframes cmReviewsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cm-review-card {
  flex: 0 0 360px;
  width: 360px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #EEEEEE;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s var(--ease);
}

.cm-review-card:hover {
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.12);
}

.cm-review-stars {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.cm-review-text {
  color: #555555;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.cm-review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ========== CTA ========== */
.cm-cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--deep-blue) 100%);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cm-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cm-cta-circle--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -80px;
}

.cm-cta-circle--2 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -40px;
}

.cm-cta-circle--3 {
  width: 120px;
  height: 120px;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  opacity: 0.6;
}

.cm-cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.cm-cta-section .cm-container {
  position: relative;
  z-index: 1;
}

.cm-cta-badge {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  letter-spacing: -0.3px;
}

.cm-cta-section h2 {
  margin-bottom: 12px;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cm-cta-sub {
  margin-bottom: 32px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cm-cta-btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  height: 60px;
  background: var(--white);
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xl);
  animation: cmPulse 2s ease-in-out infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cm-cta-btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.cm-cta-btn-lg:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  background: var(--light-blue);
  color: var(--deep-blue);
}

.cm-cta-btn-lg:hover .cm-cta-btn-icon {
  transform: translateX(4px);
}

@keyframes cmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

/* ========== CONTACT ========== */
.cm-contact {
  position: relative;
}

.cm-contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cm-contact-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-blue) 50%, var(--white) 100%);
  opacity: 0.5;
}

.cm-contact-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(30, 136, 229, 0.08) 0%, transparent 50%);
}

.cm-contact .cm-container {
  position: relative;
  z-index: 1;
}

.cm-contact-desc {
  text-align: center;
  font-size: 16px;
  color: var(--gray);
  margin-top: -32px;
  margin-bottom: 16px;
}

.cm-contact-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--gray);
}

.cm-contact-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(30, 136, 229, 0.1);
  border: 1px solid rgba(30, 136, 229, 0.08);
  overflow: hidden;
}

.cm-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.cm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 0;
}

.cm-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cm-form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.cm-form-group input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(30, 136, 229, 0.25);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.cm-form-group input::placeholder {
  color: var(--gray);
}

.cm-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

.cm-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cm-form-submit:hover {
  transform: scale(1.02);
  background: var(--primary-hover);
  box-shadow: 0 10px 30px rgba(30, 136, 229, 0.4);
}

.cm-form-submit::after {
  content: '→';
  margin-left: 8px;
  font-weight: 700;
}

.cm-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.cm-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
}

.cm-contact-btn-icon {
  width: 20px;
  height: 20px;
}

.cm-contact-kakao {
  background: #FEE500;
  color: #191919;
}

.cm-contact-sms {
  background: #34C759;
  color: var(--white);
}

.cm-contact-sms:hover {
  background: #2db34d;
}

.cm-contact-phone {
  background: var(--primary);
  color: var(--white);
}

.cm-contact-phone:hover {
  background: var(--primary-hover);
}

.cm-contact-btn:hover {
  transform: translateY(-4px);
}

/* ========== FOOTER ========== */
.cm-footer {
  position: relative;
  background: linear-gradient(180deg, var(--deep-blue) 0%, #0a3d7a 100%);
  padding: 100px 0 24px;
}

.cm-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cm-footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230D47A1' d='M0 80L60 70C120 60 240 40 360 45C480 50 600 80 720 75C840 70 960 40 1080 45C1200 50 1320 70 1380 75L1440 80V0H0Z'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 80px;
}

.cm-footer-cta {
  margin-top: 16px;
}

.cm-footer-phone {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s;
}

.cm-footer-phone:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cm-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  margin-bottom: 48px;
}

.cm-footer-brand .cm-logo {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

.cm-footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.cm-footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.cm-footer-col ul {
  list-style: none;
}

.cm-footer-col li {
  margin-bottom: 8px;
}

.cm-footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.cm-footer-col a:hover {
  color: var(--soft-blue);
}

.cm-footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cm-footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* ========== MOBILE FIXED ========== */
.cm-mobile-fixed {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 16px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: var(--deep-blue);
  backdrop-filter: blur(12px);
  z-index: 999;
  box-sizing: border-box;
}

.cm-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.cm-mobile-cta:hover {
  background: var(--primary-hover);
}

/* ========== MOBILE FLOATING (사이드 전화/카톡) ========== */
.cm-mobile-floating {
  display: none;
  position: fixed;
  right: 12px;
  bottom: 100px;
  z-index: 998;
  flex-direction: column;
  gap: 12px;
}

.cm-floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cm-floating-btn svg,
.cm-floating-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}

.cm-floating-btn span {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.3px;
  letter-spacing: -0.5px;
}

.cm-floating-phone {
  background: var(--primary);
}

.cm-floating-kakao {
  background: #FEE500;
  color: #191919;
}

.cm-floating-sms {
  background: var(--primary);
  color: var(--white);
}

.cm-floating-sms:hover {
  background: var(--primary-hover);
}

.cm-floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 1024px) {
  .cm-problem-grid,
  .cm-solution-grid,
  .cm-service-grid,
  .cm-ba-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cm-problem-grid {
    gap: 64px;
    padding-top: 88px;
  }

  .cm-problem-card,
  .cm-solution-card,
  .cm-service-card,
  .cm-ba-card {
    min-width: 0;
  }

  .cm-review-card {
    flex: 0 0 320px;
    width: 320px;
  }

  .cm-ba-card {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .cm-problem-title-desktop {
    display: none;
  }

  .cm-problem-title-mobile {
    display: block;
    word-break: keep-all;
    line-height: 1.45;
  }

  .cm-problem-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .cm-solution-title-desktop,
  .cm-solution-sub-desktop {
    display: none;
  }

  .cm-solution-title-mobile,
  .cm-solution-sub-mobile {
    display: block;
    word-break: keep-all;
  }

  .cm-service-card p,
  .cm-solution-card p,
  .cm-problem-card p {
    word-break: keep-all;
  }

  .cm-price-note {
    word-break: keep-all;
  }

  .cm-section {
    padding: 80px 0;
  }

  .cm-container {
    padding: 0 16px;
  }

  .cm-section-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .cm-form-row {
    grid-template-columns: 1fr;
  }

  .cm-contact-buttons {
    flex-direction: column;
  }

  .cm-contact-btn {
    width: 100%;
  }

  .cm-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cm-mobile-fixed {
    display: block;
  }

  .cm-mobile-floating {
    display: flex;
  }

  main {
    padding-bottom: 90px;
  }

  .cm-price-title {
    font-size: 28px;
  }

  .cm-price-row {
    flex-wrap: wrap;
  }

  .cm-price-name {
    font-size: 15px;
  }

  .cm-price-table .cm-price-value {
    font-size: 15px;
  }

  .cm-review-card {
    flex: 0 0 min(280px, 85vw);
    width: min(280px, 85vw);
  }

  .cm-reviews-row {
    overflow-x: hidden;
  }

  .cm-hero-inner {
    padding: 0 16px;
  }

  .cm-header-inner {
    padding: 0 16px;
  }

  .cm-cta-section {
    padding: 80px 0;
  }

  .cm-cta-section h2 {
    font-size: 28px;
  }

  .cm-cta-badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  .cm-section-badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  .cm-contact-inner {
    padding: 24px 20px;
  }
}
