/* 카카오톡 채팅 문의(메인 화면·전화 예약 안내 공용)
   - 운영 설정에 카카오톡 채널 주소를 넣었을 때만 화면에 나타납니다.
   - 넓은 화면: QR 코드(눌러도 이동) + 단추 / 휴대폰 화면(760px 이하): 큰 단추만
   - 카카오 노랑(#fee500)은 단추에만 쓰고, 나머지는 홈페이지 색(청록·아이보리)을 따릅니다. */
.kakao-chat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 32px;
  margin-top: 24px;
  padding: 22px 26px;
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: #fffbf5;
  color: #3d4d52;
}
.kakao-chat-body { min-width: 0; }
.kakao-chat-label { margin: 0 0 4px; color: #03797a; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.kakao-chat-title { margin: 0 0 8px; color: #055270; font-size: 20px; font-weight: 700; line-height: 1.4; }
.kakao-chat-hint { margin: 0 0 14px; color: #58686c; font-size: 15px; line-height: 1.6; }
.kakao-chat-hint-mobile { display: none; }
.kakao-chat-caution { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid #fda615; border-radius: 4px; background: #ffffff; color: #58686c; font-size: 14px; line-height: 1.6; word-break: keep-all; }

.kakao-chat-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid #e6cf00;
  border-radius: 999px;
  background: #fee500;
  color: #191919;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 160ms ease;
}
.kakao-chat-button:hover { filter: brightness(0.96); }
.kakao-chat-button:focus-visible { outline: 2px solid #03797a; outline-offset: 3px; }
.kakao-chat-icon { width: 20px; height: 20px; flex-shrink: 0; fill: #191919; }

.kakao-chat-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border: 1px solid #e7e2d8; border-radius: 12px; background: #ffffff; color: #58686c; text-decoration: none; }
.kakao-chat-qr:focus-visible { outline: 2px solid #03797a; outline-offset: 3px; }
.kakao-chat-qr .qr-code { display: block; width: 148px; height: 148px; }
.kakao-chat-qr-caption { font-size: 13px; }

/* 휴대폰: QR 코드는 같은 휴대폰으로 찍을 수 없으므로 숨기고, 손가락으로 누르기 쉬운 큰 단추(높이 56px, 가로 전체) */
@media (max-width: 760px) {
  .kakao-chat { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .kakao-chat-qr, .kakao-chat-hint-pc { display: none; }
  .kakao-chat-hint-mobile { display: block; }
  .kakao-chat-title { font-size: 18px; }
  .kakao-chat-button-large { display: flex; width: 100%; min-height: 56px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .kakao-chat-button { transition: none; }
}
