/* ===== 폰트 (font 폴더) ===== */
@font-face {
  font-family: "Paperlogy";
  font-weight: 100;
  font-style: normal;
  src: url("../font/Paperlogy-1Thin.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 200;
  font-style: normal;
  src: url("../font/Paperlogy-2ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 300;
  font-style: normal;
  src: url("../font/Paperlogy-3Light.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 400;
  font-style: normal;
  src: url("../font/Paperlogy-4Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 500;
  font-style: normal;
  src: url("../font/Paperlogy-5Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 600;
  font-style: normal;
  src: url("../font/Paperlogy-6SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 700;
  font-style: normal;
  src: url("../font/Paperlogy-7Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 800;
  font-style: normal;
  src: url("../font/Paperlogy-8ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Paperlogy";
  font-weight: 900;
  font-style: normal;
  src: url("../font/Paperlogy-9Black.ttf") format("truetype");
}

/* ===== 리셋 & 기본 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Paperlogy", sans-serif;
}

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

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

/* ===== 헤더 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #62bfff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  min-height: 72px;
}

/* 로고 이미지 + 로고명 (PC에서 더 크게) */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.logo-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-rams {
  color: #0c4a6e;
  text-shadow: 0 1px 2px #fff, 0 2px 4px rgba(255, 255, 255, 0.8);
}

.logo-clean {
  color: #14532d;
  text-shadow: 0 1px 2px #fff, 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* PC: 전화번호 + 문의하기 (크게, 임팩트) */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: none;
  border: none;
}

.header-phone {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.header-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: icon-ring 2s ease-in-out infinite;
}

.header-phone-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

@keyframes icon-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-10deg); }
  60% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}

.btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0369a1;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-inquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: #0c4a6e;
  color: #fff;
  border-color: #0c4a6e;
}

/* PC에서만 표시 */
.pc-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* 햄버거 메뉴 버튼 (모바일) */
.menu-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s, opacity 0.25s;
}

/* ===== 모바일 슬라이드 메뉴 (오른쪽 → 왼쪽) ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #62bfff;
  z-index: 201;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

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

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  z-index: 1;
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem 1.5rem;
  gap: 0.25rem;
  text-align: center;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  width: 100%;
  max-width: 200px;
  text-align: center;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
}

.mobile-phone {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #fff;
}

/* 슬라이드 메뉴 하단 로고 */
.mobile-menu-footer {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
}

/* ===== 히어로 섹션 (h-1 통 이미지 + h-2 위에 겹침) ===== */
.hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
  opacity: 0;
  animation: hero-fade-in 0.8s ease-out forwards;
}

@media (min-width: 1024px) {
  .hero {
    max-width: 1920px;
    height: 800px;
  }
}

@keyframes hero-fade-in {
  to { opacity: 1; }
}

/* 히어로 배경: PC / 모바일 분리 (picture) */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.hero-bg-wrap .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* h-2: h-1 위에 겹침 (오른쪽 하단) */
.hero-overlay-img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 55%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

/* 히어로 중앙 왼쪽 하단 CTA */
.hero-cta {
  position: absolute;
  left: 38%;
  bottom: 22%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  min-width: 280px;
}

.hero-cta-estimate {
  color: #fff;
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.hero-cta-estimate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.hero-cta-call {
  color: #0369a1;
  background: #fff;
  border: 2px solid #0369a1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.hero-cta-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #f0f9ff;
}

/* ===== Before → After 비교 섹션 ===== */
.compare-section {
  padding: 4rem 1.5rem 5rem;
  background: #fafafa;
}

.compare-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.compare-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.compare-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  position: relative;
  display: inline-block;
}

.compare-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #62bfff, #0284c7);
  border-radius: 2px;
}

.compare-desc {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.compare-slider {
  position: relative;
  overflow: visible;
  min-height: 420px;
}

.compare-track {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.compare-set {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  pointer-events: none;
}

.compare-set.is-active {
  position: absolute;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.compare-set.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.compare-card {
  position: relative;
  flex: 0 0 auto;
  width: 380px;
  max-width: calc(50% - 40px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.compare-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.22);
}

.compare-card-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.compare-card-before .compare-card-label {
  background: rgba(30, 41, 59, 0.85);
  color: #fff;
}

.compare-card-after .compare-card-label {
  background: rgba(2, 132, 199, 0.9);
  color: #fff;
}

.compare-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

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


.compare-arrow {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0284c7;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
  transition: transform 0.25s ease;
}

.compare-arrow:hover {
  transform: scale(1.08);
}

.compare-arrow svg {
  width: 26px;
  height: 26px;
}

.compare-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.compare-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.3s, width 0.3s ease, border-radius 0.3s;
  padding: 0;
}

.compare-dots button:hover {
  background: #94a3b8;
}

.compare-dots button.is-active {
  background: #0284c7;
  width: 24px;
  border-radius: 4px;
}

/* ===== 프로세스 섹션 (카드형) ===== */
.process-section {
  padding: 5rem 1.5rem 6rem;
  background: #62bfff;
  color: #fff;
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 3rem;
}

.process-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.process-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.process-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.process-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.process-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.process-card:hover,
.process-card.is-highlight {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
  border-color: #fff;
}

.process-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

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

.process-card-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0369a1;
  margin: 1rem 1rem 0;
}

.process-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.25rem 1rem 1.25rem;
  min-height: 1.5em;
}

.process-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.process-card-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-card:hover .process-card-trust,
.process-card.is-highlight .process-card-trust {
  opacity: 1;
  transform: translateX(0);
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

.process-btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0369a1;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.process-btn-inquiry:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  background: #0c4a6e;
  color: #fff;
  border-color: #0c4a6e;
}

@media (max-width: 768px) {
  .process-section {
    padding: 3.5rem 1rem 4.5rem;
  }

  .process-cta {
    margin-top: 2.25rem;
  }

  .process-btn-inquiry {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .process-header {
    margin-bottom: 2rem;
  }

  .process-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .process-card-num {
    margin: 0.75rem 0.75rem 0;
    font-size: 0.75rem;
  }

  .process-card-title-row {
    margin: 0.2rem 0.75rem 1rem;
  }

  .process-card-name {
    font-size: 1rem;
  }

  .process-card-trust {
    font-size: 1.1rem;
  }
}

/* ===== 믿고 맡길 수 있는 이유 | 람스클린의 자랑 ===== */
.pride-section {
  padding: 4rem 0 4.5rem;
  background: #62bfff;
}

.pride-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pride-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pride-title {
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.pride-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  letter-spacing: 0.02em;
}

.pride-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pride-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pride-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.pride-icon {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.9rem;
}

.pride-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.pride-card-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .pride-section {
    padding: 3rem 0 3.5rem;
  }

  .pride-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .pride-card {
    padding: 1.35rem 1rem;
  }

  .pride-icon {
    font-size: 1.85rem;
    margin-bottom: 0.6rem;
  }

  .pride-card-title {
    font-size: 1rem;
  }

  .pride-card-desc {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .pride-list {
    grid-template-columns: 1fr;
  }
}

/* ===== 실시간 고객후기 섹션 (s-4, 네이버 리뷰 스타일) ===== */
.review-section {
  padding: 4rem 0 4.5rem;
  background: #f5f6f8;
}

.review-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.review-header {
  text-align: center;
  margin-bottom: 2rem;
}

.review-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin: 0;
}

.review-slider-wrap {
  margin: 0 -0.5rem;
}

/* 기본(모바일): 한 줄로 카드 나열, 계속 자동 이동 */
.review-track {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0 1.5rem;
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

/* PC: 가로 2개, 아래→위 2초 간격 슬라이드 */
@media (min-width: 769px) {
  .review-slider-wrap {
    height: 340px;
    margin: 0;
    overflow: hidden;
  }

  .review-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 340px);
    gap: 1rem;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    transition: transform 0.6s ease-out;
    will-change: transform;
  }

  .review-card {
    flex: none;
    width: auto;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    scroll-snap-align: none;
  }

  .review-card-img {
    flex: 0 0 140px;
    aspect-ratio: auto;
    min-height: 140px;
  }

  .review-card-img img {
    object-fit: contain;
  }

  .review-card-stars {
    padding: 0.4rem 1rem 0;
  }

  .review-card-title {
    -webkit-line-clamp: 1;
  }

  .review-card-text {
    flex: 1;
    -webkit-line-clamp: 2;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 260px;
    width: 260px;
    height: auto;
    scroll-snap-align: none;
    display: block;
  }

  .review-card-img {
    aspect-ratio: auto;
    min-height: 160px;
    flex: none;
  }
}

.review-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e8;
  padding-bottom: 1.25rem;
  transition: box-shadow 0.25s ease;
}

.review-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.review-card-img {
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

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

.review-card-stars {
  padding: 0.6rem 1rem 0;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #ffc107;
  line-height: 1;
}

.review-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 1rem 0.35rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .review-section {
    padding: 3rem 0 3.5rem;
  }

  .review-inner {
    padding: 0 1rem;
  }

  .review-slider-wrap {
    margin: 0 -1rem;
    overflow: hidden;
  }

  .review-track {
    width: 100%;
  }

  .review-card {
    flex: 0 0 260px;
    width: 260px;
  }
}

/* ===== 서비스 영역 섹션 (s-5) ===== */
.service-area-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.service-area-img-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.service-area-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* ===== 온라인 문의하기 폼 ===== */
.contact-section {
  padding: 4rem 1.5rem 5rem;
  background: #f8fafc;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row:last-of-type {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: #0284c7;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: "Paperlogy", sans-serif;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #62bfff;
  box-shadow: 0 0 0 3px rgba(98, 191, 255, 0.2);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-submit {
  display: block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Paperlogy", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1rem 4rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ===== 푸터 ===== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: block;
  margin: 0 auto 1.25rem;
  height: 52px;
  width: auto;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.footer-info {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  display: inline-block;
  text-align: left;
}

.footer-info li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.footer-label {
  flex: 0 0 72px;
  color: #64748b;
}

.footer-value {
  color: #e2e8f0;
}

.footer-link:hover {
  color: #62bfff;
  text-decoration: underline;
}

/* 오른쪽 하단 상담문의 아이콘 (PC·모바일 공통, 클릭 시 #contact 문의하기 섹션으로 이동) */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: block;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.floating-contact:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.floating-contact img {
  display: block;
  width: 302px;
  height: auto;
  max-width: 502px;
}

@media (max-width: 768px) {
  .floating-contact {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: none;
    text-align: center;
  }

  .floating-contact:hover {
    transform: none;
    opacity: 0.95;
  }

  .floating-contact img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  /* 푸터가 고정 하단 이미지에 가리지 않도록 하단 여백 확보 (이미지 높이만큼) */
  .footer {
    padding-bottom: 6.5rem;
  }

  /* 모바일: 푸터 로고 1.5배 크게 */
  .footer-logo {
    height: 78px;
  }
}

/* ===== 반응형: 모바일에서 PC 요소 숨김, 햄버거 표시 ===== */
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .header-inner {
    padding: 0.6rem 1rem;
  }

  .logo-img {
    height: 50px;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  /* 모바일: 히어로 이미지 높이에 맞춰 흰 공백 없음 */
  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-bg-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .hero-bg-wrap .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .hero-overlay-img {
    max-width: 75%;
    max-height: 70%;
  }

  .hero-cta {
    left: 50%;
    bottom: 53%;
    transform: translateX(-50%);
    gap: 0.6rem;
  }

  .hero-cta-btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    min-width: 240px;
  }

  .compare-section {
    padding: 3rem 1rem 4rem;
  }

  .compare-slider {
    min-height: 360px;
  }

  .compare-track {
    min-height: 360px;
  }

  .compare-set {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    max-width: 100%;
  }

  .compare-card {
    max-width: 100%;
    width: 100%;
  }

  .compare-arrow {
    transform: rotate(90deg);
  }
}
