/* 채팅 상담 페이지 전용 (chat.php) */
.sw-chat-page .sw-chat-banner,
.sw-chat .sw-chat-banner-wrap {
  margin-bottom: 28px;
}
.sw-chat-page .sw-chat-banner .sw-figure {
  overflow: visible;
  background: transparent;
}
.sw-chat-page .sw-chat-banner .sw-figure img,
.sw-chat .sw-chat-banner-link img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
  max-width: 100%;
}

.sw-chat-body,
.sw-chat-intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sw-chat-intro {
  gap: 14px;
  margin-bottom: 0;
}
.sw-chat-lead {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
  color: #222;
  word-break: keep-all;
}
.sw-chat-desc {
  margin: -12px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  word-break: keep-all;
}

.sw-chat-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}
.sw-chat-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 18px 24px;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.sw-chat-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #567898 0%, #3f5f78 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.sw-chat-feature-icon svg {
  display: block;
  width: 32px;
  height: 32px;
}
.sw-chat-feature-icon svg path,
.sw-chat-feature-icon svg circle,
.sw-chat-feature-icon svg rect {
  fill: #ffffff;
  stroke: none;
}
.sw-chat-feature strong {
  font-size: 17px;
  color: #222;
}
.sw-chat-feature span {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.sw-chat-cta-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  min-height: 168px;
  margin-top: 4px;
  padding: 36px 32px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3d2b55 0%, #2a1f3d 100%);
  text-align: center;
  box-sizing: border-box;
}
.sw-chat-cta-action {
  display: flex;
  justify-content: center;
  width: 100%;
}
.sw-chat-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 440px);
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #fee500;
  color: #191919 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.sw-chat-cta-btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.sw-chat-cta-btn-icon path {
  fill: #191919;
}
.sw-chat-cta-btn:hover,
.sw-chat-cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  color: #191919 !important;
}
.sw-chat-note,
.sw-content .sw-chat-note,
.sw-chat .sw-chat-note {
  margin: 0;
  font-size: 15.6px;
  color: #FFF;
  line-height: 1.6;
  text-align: center;
  padding: 0 4px;
}
.sw-chat .sw-chat-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3d2b55 0%, #2a1f3d 100%);
  color: #fff;
}
.sw-chat .sw-chat-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}
.sw-chat .sw-chat-kakao-btn {
  background: #fee500 !important;
  border-color: #fee500 !important;
  color: #191919 !important;
}

.sw-chat-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f5f7f9;
  border: 1px solid #e8edf2;
}
.sw-chat-privacy-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #456580;
  border: 1px solid #d8e0e8;
  font-size: 16px;
}
.sw-chat-privacy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  word-break: keep-all;
}

@media (max-width: 767px) {
  .sw-chat-features {
    grid-template-columns: 1fr;
  }
  .sw-chat-cta-box {
    padding: 28px 20px 24px;
    min-height: 0;
  }
  .sw-chat-cta-btn {
    width: 100%;
  }
}
