/* ===== 하이엔드 배관케어 · U&C 프리미엄 스타일 기반 ===== */
:root {
  --primary: #0a1c3d;
  --secondary: #153a8a;
  --accent: rgba(122, 170, 255, 0.38);
  --accent-solid: #7aabff;
  --bg: #f4f6fa;
  --text: #0f1f3a;
  --white: #ffffff;
  --line: rgba(10, 28, 61, 0.15);
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-1Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-2ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-3Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-5Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-6SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-8ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("font/Paperlogy-9Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Paperlogy", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1756px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.07em;
}

h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

/* ===== 헤더 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 28, 61, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

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

.brand-link {
  display: block;
}

.brand-logo {
  height: 66px;
  width: auto;
  object-fit: contain;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

@media (min-width: 1025px) {
  .brand-link {
    margin-left: 200px;
  }
  .desktop-nav {
    margin-right: 200px;
  }
}

/* ===== 모바일 드로어 ===== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 340px);
  height: 100vh;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  background: linear-gradient(180deg, #08152e, #0a1c3d);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 16px 18px 22px;
  padding-top: 56px;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 20px;
}

.drawer-nav a {
  color: rgba(236, 243, 255, 0.96);
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.drawer-tel {
  color: var(--accent-solid) !important;
  font-weight: 700;
}

.drawer-kakao {
  background: #fee500;
  color: #191919 !important;
  text-align: center;
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px !important;
  border: none !important;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== 1. 히어로 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(10, 28, 61, 0.62) 0%, rgba(10, 28, 61, 0.38) 45%, rgba(10, 28, 61, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 100px;
  text-align: center;
}

.hero-copy {
  color: var(--white);
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  color: rgba(210, 225, 255, 0.9);
}

.hero-title {
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.hero-title-accent {
  color: var(--accent-solid);
}

.hero-sub {
  margin: 22px 0 16px;
  color: rgba(233, 239, 255, 0.95);
  font-size: clamp(16px, 1.35vw, 20px);
}

.hero-desc {
  margin: 0 0 28px;
  color: rgba(210, 225, 255, 0.9);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.75;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}

.hero-stat-title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(233, 239, 255, 0.9);
}

.hero-stat-value {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  min-width: 180px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
  transition: 0.2s ease;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(140deg, var(--secondary), #2f63d8);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 34px rgba(21, 58, 138, 0.32);
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-kakao {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.btn-kakao:hover {
  background: #fee500;
  color: #191919;
  border-color: #fee500;
}

.contact-actions .btn-kakao {
  background: #fee500;
  color: #191919;
  border-color: #fee500;
}

.contact-actions .btn-kakao:hover {
  background: #f5d900;
  border-color: #f5d900;
}

.btn-submit {
  background: linear-gradient(140deg, var(--secondary), #2f63d8);
  color: var(--white);
  border: none;
}

/* ===== 2. 문제 공감 ===== */
.section-problems {
  background: #eef2f7;
}

.section-title {
  margin: 0 0 40px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.07em;
  color: var(--primary);
}

.problem-cards {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(10, 28, 61, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.problem-card:hover {
  border-color: rgba(21, 58, 138, 0.25);
  box-shadow: 0 6px 24px rgba(10, 28, 61, 0.1);
}

.problem-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--bg);
}

.problem-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.problem-card-x {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0.92;
}

.problem-text {
  margin: 0;
  padding: 20px 20px 24px;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.problem-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.problems-footer {
  text-align: center;
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(15, 31, 58, 0.85);
  line-height: 1.7;
}

/* ===== 3. 서비스 소개 ===== */
.section-services {
  background: var(--white);
}

.service-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(21, 58, 138, 0.1);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 28, 61, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(10, 28, 61, 0.12);
}

.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-inner {
  text-align: left;
  padding: 24px 24px 28px;
}

.service-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: linear-gradient(135deg, #1659cb, #3a54f9);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
  color: var(--primary);
  text-align: left;
  letter-spacing: -0.02em;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231659cb'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== 4. 작업 과정 ===== */
.section-process {
  background: linear-gradient(150deg, #0a1c3d, #102a5d);
  color: var(--white);
}

.section-process .section-title {
  color: var(--white);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

.process-step-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: rgba(0, 0, 0, 0.2);
}

.process-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-step-num {
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: rgba(122, 171, 255, 0.35);
  border: 1px solid rgba(181, 208, 255, 0.4);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-top: 14px;
  margin-bottom: 10px;
}

.process-step-content {
  padding: 0 16px 24px;
}

.process-step-content h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  color: var(--white);
}

.process-step-content p {
  margin: 0;
  font-size: 14px;
  color: rgba(233, 239, 255, 0.85);
  line-height: 1.6;
}

/* ===== 5. 작업 전후 슬라이더 ===== */
.section-before-after {
  background: #eef2f7;
}

.before-after-slider-wrap {
  margin-bottom: 24px;
}

.before-after-slider {
  width: 100%;
  overflow: hidden;
}

.before-after-track {
  display: flex;
  width: 300%;
  transition: transform 0.4s ease;
}

.before-after-slide {
  flex: 0 0 33.33333%;
  width: 33.33333%;
  min-width: 0;
}

.before-after-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 0 8px;
}

.ba-box {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(10, 28, 61, 0.06);
  border: 1px solid var(--line);
}

.ba-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.ba-before .ba-label {
  color: #b91c1c;
}

.ba-after .ba-label {
  color: #047857;
}

.ba-box p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.ba-img {
  aspect-ratio: 16/10;
  min-height: 200px;
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img.placeholder {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 31, 58, 0.5);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(10, 28, 61, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

/* ===== 6. 실제 현장 사진 ===== */
.section-works {
  background: var(--white);
}

.works-lead {
  text-align: center;
  margin: -8px 0 32px;
  font-size: 16px;
  color: rgba(15, 31, 58, 0.8);
  font-weight: 500;
}

.works-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.works-item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(10, 28, 61, 0.06);
  border: 1px solid var(--line);
}

.works-item img {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 200px;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

/* ===== 7. 고객 후기 ===== */
.section-reviews {
  background: #eef2f7;
}

.review-slider-wrap {
  overflow: hidden;
  margin: 0 -10px;
}

.review-track {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-card-img {
  aspect-ratio: 16/10;
  min-height: 120px;
  background: #f5f5f5;
  overflow: hidden;
}

.review-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #888;
  flex-wrap: wrap;
  gap: 4px;
}

.review-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-region {
  color: #666;
  font-weight: 600;
}

.review-name {
  color: var(--text);
  font-weight: 600;
}

.review-date {
  color: #999;
  font-size: 12px;
}

.review-stars {
  color: #FFC107;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.review-text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 8. 문의 (최종 CTA) ===== */
.section-contact {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 80px;
  background: var(--white);
  color: var(--white);
  text-align: center;
}

.section-contact .container {
  position: relative;
  z-index: 2;
}

.contact-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25)), url("images/hero-bg.jpg") center / cover no-repeat;
  background-color: var(--primary);
}

.section-contact .section-title {
  color: var(--white);
}

.contact-sub {
  margin: -8px 0 24px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  letter-spacing: 0.02em;
}

.contact-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 28, 61, 0.12);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(10, 28, 61, 0.12);
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10, 28, 61, 0.2);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(15, 31, 58, 0.5);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-actions .btn {
  flex: 1;
  min-width: 140px;
}

/* ===== 모바일 고정 CTA ===== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  padding: 10px;
  background: rgba(10, 28, 61, 0.92);
  backdrop-filter: blur(6px);
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sticky-phone,
.sticky-kakao {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.2s;
  font-family: inherit;
}

.sticky-phone {
  background: linear-gradient(140deg, var(--secondary), #2f63d8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-kakao {
  background: #fee500;
  color: #191919;
}

/* ===== 푸터 ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 40px 0 32px;
}

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

.footer-brand {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-desc {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== TOP 버튼 ===== */
.top-button {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(10, 28, 61, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  z-index: 999;
}

.top-button.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-button:hover {
  background: var(--secondary);
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .problem-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .before-after-pair {
    grid-template-columns: 1fr;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .brand-link {
    margin-left: 0;
  }
  .section {
    padding: 56px 0;
  }
  .hero-content {
    padding-top: 90px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 26px;
  }
  .hero-stat-card {
    padding: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-actions {
    flex-direction: column;
  }
  .contact-actions .btn {
    width: 100%;
  }
  .mobile-sticky-cta {
    display: grid;
  }
  body {
    padding-bottom: 78px;
  }
  .top-button {
    right: 14px;
    bottom: 92px;
  }

  /* ========== 모바일: 작업 전후 비교 (한 세트씩만, 위→아래 배치) ========== */
  .section-before-after .container {
    padding-left: 0;
    padding-right: 0;
  }
  .before-after-slider-wrap {
    margin-bottom: 20px;
    overflow: hidden;
  }
  .before-after-slide {
    padding: 0 14px;
    box-sizing: border-box;
  }
  .before-after-pair {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 2px;
  }
  .ba-box {
    padding: 14px;
    border-radius: 12px;
  }
  .ba-img {
    aspect-ratio: 4/3;
    min-height: 200px;
    border-radius: 10px;
  }
  .section-before-after .slider-dots {
    margin-top: 14px;
  }

  /* ========== 모바일: 고객 후기 (한 카드씩만) ========== */
  .review-slider-wrap {
    overflow: hidden;
    margin: 0 -16px;
  }
  .review-track {
    display: flex;
    width: 1200%;
    padding: 0;
    margin: 0;
    gap: 0;
    transition: transform 0.4s ease;
    list-style: none;
  }
  .review-card {
    flex: 0 0 8.33333%;
    width: 8.33333%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 57px;
  }
}
