/* =========================
   CONTACT
========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background-color: #ffffff;
}

.contact-screen {
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #ffffff;
}

/* =========================
   헤더
========================= */

.contact-header {
  position: relative;
  width: 100%;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #eeeeee;
  background-color: #ffffff;
}

.contact-header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.back-button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.back-button img {
  width: 22px;
  height: 22px;
  display: block;
}

.header-space {
  width: 32px;
  height: 32px;
}

/* =========================
   문의 내용
========================= */

.contact-content {
  flex: 1;
  padding: 58px 24px 30px;
  background-color: #ffffff;
  text-align: center;
}

.contact-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background-color: #edf7f7;
}

.contact-icon span {
  color: #52aead;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.contact-content h2 {
  margin: 0 0 12px;
  color: #222222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-description {
  margin: 0;
  color: #777777;
  font-size: 15px;
  line-height: 1.65;
}

/* =========================
   문의 정보
========================= */

.contact-info-box {
  margin-top: 38px;
  padding: 4px 18px;
  border-radius: 14px;
  background-color: #f7f9f9;
  text-align: left;
}

.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 17px 0;
}

.contact-info-row + .contact-info-row {
  border-top: 1px solid #e8eaea;
}

.info-label {
  color: #555555;
  font-size: 13px;
  font-weight: 700;
}

.info-value {
  color: #777777;
  font-size: 14px;
  line-height: 1.45;
}

.privacy-guide {
  margin: 18px 4px 0;
  color: #999999;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  word-break: keep-all;
}

/* =========================
   문의 버튼
========================= */

.contact-button-area {
  flex-shrink: 0;
  width: 100%;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
  background-color: #ffffff;
}

.contact-button {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 12px;
  background-color: #52aead;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-button:active {
  transform: scale(0.98);
  opacity: 0.9;
}

/* =========================
   PC / 태블릿 미리보기
========================= */

@media (min-width: 480px) {
  body {
    background-color: #f2f3f6;
  }

  .contact-screen {
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  }
}
