/* ===== 폰트 (font 폴더) ===== */
@font-face {
  font-family: 'Paperlogy';
  src: url('font/Paperlogy-4Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('font/Paperlogy-5Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('font/Paperlogy-7Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 헤더 (PC / 모바일 공통) ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: block;
  line-height: 0;
}

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

/* 연락처 + 전화 이모티콘 - 깜빡임 */
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  box-shadow: 0 2px 12px rgba(13, 71, 161, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-phone:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.3);
}

.phone-icon {
  font-size: 1.3rem;
  animation: phone-blink 1.2s ease-in-out infinite;
}

.phone-number {
  font-weight: 700;
  animation: text-glow 1.2s ease-in-out infinite;
}

@keyframes phone-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes text-glow {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(13, 71, 161, 0.4); }
  50% { opacity: 0.9; text-shadow: 0 0 16px rgba(13, 71, 161, 0.6); }
}

/* 모바일 헤더 */
@media (max-width: 768px) {
  .header-inner {
    padding: 10px 16px;
  }
  .logo {
    height: 52px;
  }
  .contact-phone {
    font-size: 0.95rem;
    padding: 8px 12px;
    gap: 6px;
  }
  .phone-icon {
    font-size: 1.1rem;
  }
}

/* ===== 이미지 섹션: 맨 첫 1.webp, 전후 아래 2.webp 등 / PC 1080px·모바일 꽉참 ===== */
.gallery-wrap {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  padding-top: 92px; /* PC: 고정 헤더 높이만큼 여백 → 첫 히어로 이미지 전체 노출 */
}

.img-section {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
  max-width: 1080px; /* PC: 가로 1080으로, 안 잘리게 */
  margin-left: auto;
  margin-right: auto;
}

.img-section + .img-section {
  margin-top: 0;
}

.section-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: contain; /* 안 잘리게 전체 노출 */
}

/* 진행 섹션: 3.webp 가로 1080px */
.progress-img-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.progress-img-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}

.progress-img {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* PC: pc 이미지만 표시 */
.img-mob {
  display: none !important;
}

.img-pc {
  display: block !important;
}

/* 모바일: 이미지 꽉 차게 + mob 이미지 표시 */
@media (max-width: 768px) {
  .gallery-wrap {
    padding-top: 76px; /* 모바일 헤더 높이만큼 여백 */
  }
  .img-section {
    max-width: 100%; /* 모바일은 전체 너비로 꽉 차게 */
  }
  .img-pc {
    display: none !important;
  }
  .img-mob {
    display: block !important;
  }
}

/* ===== 전후 사진 비교 섹션 ===== */
.before-after-section {
  padding: clamp(48px, 8vw, 72px) 0;
  background: #fff;
  overflow: hidden;
}

.before-after-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 제목 · 설명: Paperlogy 파일글꼴, 역동적 가독성 */
.before-after-title {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: #0d47a1;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 14px;
  animation: title-reveal 0.8s ease-out;
}

.before-after-desc {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #37474f;
  text-align: center;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
  animation: desc-reveal 0.8s ease-out 0.15s both;
}

@keyframes title-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes desc-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 슬라이더 래퍼 */
.before-after-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 71, 161, 0.15);
}

.before-after-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.before-after-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 0;
}

/* Before / After 카드 역동 스타일 */
.before-after-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1a1a1a;
}

.before-after-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Before: 노란 톤 (옛날/시공 전 느낌) */
.before-card img {
  filter: sepia(0.4) saturate(1.35);
}

/* After: 밝게 흰색 톤 (깨끗한 시공 후 느낌) */
.after-card img {
  filter: brightness(1.2) contrast(1.08);
}

.before-after-slide.is-active .before-card img {
  animation: card-in-left 0.6s ease-out;
}

.before-after-slide.is-active .after-card img {
  animation: card-in-right 0.6s ease-out 0.1s both;
}

@keyframes card-in-left {
  from {
    opacity: 0;
    transform: translateX(-12px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes card-in-right {
  from {
    opacity: 0;
    transform: translateX(12px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.before-after-card:hover img {
  transform: scale(1.04);
}

.before-after-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  animation: label-pop 0.5s ease-out both;
}

.before-card .before-after-label {
  left: 14px;
  background: linear-gradient(135deg, #37474f 0%, #546e7a 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.after-card .before-after-label {
  right: 14px;
  left: auto;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.4);
}

.before-after-slide.is-active .before-card .before-after-label {
  animation: label-pop 0.5s ease-out 0.2s both;
}

.before-after-slide.is-active .after-card .before-after-label {
  animation: label-pop 0.5s ease-out 0.35s both;
}

@keyframes label-pop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 인디케이터 dots */
.before-after-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  margin-top: 4px;
}

.before-after-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #b0bec5;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.before-after-dot:hover {
  background: #78909c;
  transform: scale(1.15);
}

.before-after-dot.is-active {
  background: #0d47a1;
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.25);
}

@media (max-width: 768px) {
  .before-after-section {
    padding: 40px 0;
  }
  .before-after-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .before-after-card {
    aspect-ratio: 16/10;
  }
  .before-after-label {
    top: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .before-card .before-after-label {
    left: 10px;
  }
  .after-card .before-after-label {
    right: 10px;
  }
}

/* ===== 고객 후기 섹션 (카드형, 네이버 느낌) ===== */
.review-section {
  padding: clamp(48px, 8vw, 64px) 0;
  background: #fff;
}

.review-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.review-title {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 28px;
}

.review-slider {
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.review-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.review-card {
  flex-shrink: 0;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.review-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}

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

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

.review-meta {
  padding: 4px 14px 0;
  font-family: 'Paperlogy', sans-serif;
  font-size: 0.85rem;
  color: #666;
}

.review-text {
  padding: 10px 14px 16px;
  font-family: 'Paperlogy', sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .review-section {
    padding: 40px 0;
  }
  .review-slider {
    overflow: hidden;
  }
  .review-track {
    width: max-content;
    padding: 0 20px;
  }
  .review-card {
    flex: 0 0 280px;
    min-width: 280px;
  }
}

/* ===== 우리집 배관케어 솔루션 (진행 스텝) ===== */
.solution-section {
  padding: clamp(48px, 8vw, 72px) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #e8f4fd 100%);
}

.solution-container {
  max-width: 960px;
}

.solution-title {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: #0d47a1;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.solution-sub {
  text-align: center;
  font-family: 'Paperlogy', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #37474f;
  margin-bottom: 40px;
  line-height: 1.6;
}

.solution-no {
  color: #78909c;
  font-weight: 500;
}

.solution-sep {
  color: #546e7a;
}

.solution-yes {
  color: #0d47a1;
  font-weight: 700;
}

.solution-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

.step-card {
  width: 100%;
  background: #fff;
  border: 3px solid #0d47a1;
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow: 0 6px 24px rgba(13, 71, 161, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 71, 161, 0.2);
}

.step-emoji {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 12px;
  text-align: center;
}

.step-num {
  display: block;
  text-align: center;
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #0d47a1;
  margin-bottom: 8px;
}

.step-title {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #0d47a1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-align: center;
}

.step-desc {
  font-family: 'Paperlogy', sans-serif;
  font-size: 1rem;
  color: #546e7a;
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  font-size: 1.75rem;
  color: #0d47a1;
  line-height: 1;
}

@media (max-width: 768px) {
  .solution-section {
    padding: 40px 0;
  }
  .solution-steps {
    max-width: 100%;
  }
  .step-card {
    padding: 22px 20px 26px;
  }
  .step-emoji {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .step-title {
    font-size: 1.3rem;
  }
  .step-desc {
    font-size: 0.95rem;
  }
  .step-arrow {
    padding: 12px 0;
    font-size: 1.5rem;
  }
}

/* ===== 후기 속 실제 현장 사진 (에스컬레이터식 가로 스크롤) ===== */
.job-section {
  padding: clamp(48px, 8vw, 64px) 0;
  background: #fff;
  overflow: hidden;
}

.job-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 24px;
}

.job-title {
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 8px;
}

.job-desc {
  font-family: 'Paperlogy', sans-serif;
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  margin-bottom: 28px;
}

.job-scroll-wrap {
  width: 100%;
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
}

.job-track {
  display: flex;
  width: 200%;
  animation: jobScroll 40s linear infinite;
}

.job-item {
  flex: 0 0 12.5%;
  padding: 0 8px;
  box-sizing: border-box;
}

.job-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@keyframes jobScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .job-section {
    padding: 40px 0;
  }
  .job-track {
    width: 1600%;
    animation-duration: 35s;
  }
  .job-item {
    flex: 0 0 6.25%;
    padding: 0 6px;
  }
}

/* ===== 비용 섹션 ===== */
.price-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #e8f4fd 100%);
}

.price-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  color: #0d47a1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.price-sub {
  text-align: center;
  color: #37474f;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.price-trust {
  text-align: center;
  color: #546e7a;
  font-size: 1.05rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

.trust-line {
  display: inline-block;
}

/* 중요 문구 강조: 깜빡임 + 글로우 + 살짝 움직임 */
.trust-emphasis {
  display: inline-block;
  color: #0d47a1;
  font-weight: 700;
  padding: 0 4px;
  animation: trust-pulse 2.2s ease-in-out infinite;
}

.trust-emphasis--sub {
  animation-delay: 0.6s;
}

@keyframes trust-pulse {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 0 rgba(13, 71, 161, 0);
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    text-shadow: 0 0 14px rgba(13, 71, 161, 0.5);
    transform: scale(1.03);
  }
}

/* 항목별 가로 카드 */
.price-cards {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  gap: 24px;
}

.price-card .card-label {
  color: #37474f;
  font-size: 1.25rem;
  font-weight: 500;
}

.price-card .card-price {
  font-weight: 700;
  color: #0d47a1;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* 문의 카드: 텍스트 + 문의(버튼) */
.price-card--inquiry .card-label {
  flex: 1;
}

.btn-inquiry-card {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.btn-inquiry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 71, 161, 0.4);
}

@media (max-width: 768px) {
  .price-card {
    padding: 20px 24px;
    gap: 16px;
  }
  .price-card .card-label {
    font-size: 1.1rem;
  }
  .price-card .card-price {
    font-size: 1.2rem;
  }
  .btn-inquiry-card {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* ===== 문의 폼 섹션 ===== */
.form-section {
  padding: 64px 0 80px;
  background: #fff;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.inquiry-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #37474f;
}

.required {
  color: #c62828;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  font-family: 'Paperlogy', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d47a1;
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Paperlogy', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.35);
}

/* ===== 오른쪽 하단 고정 아이콘 (Top · 전화) ===== */
.fixed-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fixed-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fixed-action:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fixed-action--top {
  background: linear-gradient(135deg, #37474f 0%, #546e7a 100%);
}

.fixed-action--top .icon-top {
  display: block;
  line-height: 1;
  font-size: 1.5rem;
}

.fixed-action--phone {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
}

.fixed-action--phone .icon-phone {
  display: block;
  line-height: 1;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .fixed-actions {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }
  .fixed-action {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .fixed-action--top .icon-top,
  .fixed-action--phone .icon-phone {
    font-size: 1.35rem;
  }
}

/* ===== 푸터 ===== */
.footer {
  padding: 40px 0 24px;
  background: #1a1a1a;
  color: #b0bec5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #333;
}

.footer-info {
  flex: 1;
  min-width: 240px;
}

.footer-company {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.footer-detail {
  font-size: 0.875rem;
  margin: 0 0 6px;
  color: #9e9e9e;
}

.footer-detail a {
  color: #81c784;
  text-decoration: none;
}

.footer-detail a:hover {
  text-decoration: underline;
}

.footer-services {
  flex: 1;
  min-width: 240px;
  text-align: right;
}

.footer-services-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}

.footer-services-list {
  font-size: 0.85rem;
  color: #9e9e9e;
  margin: 0;
  line-height: 1.6;
}

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  .footer-services {
    text-align: left;
  }
}

/* ===== 문의 완료 모달 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px 32px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.is-active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1a5f4a 0%, #2d8b6e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 95, 74, 0.35);
}

.modal-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
}

.modal-message {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.modal-btn {
  display: inline-block;
  padding: 14px 48px;
  background: linear-gradient(135deg, #1a5f4a 0%, #2d8b6e 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 74, 0.4);
}

.modal-btn:active {
  transform: translateY(0);
}
