/* /diagnosis/ 전용. 폼·결과 카드는 contact/contact.css 를 그대로 쓰고, 여기서는 이 페이지만의 블록을 잡는다. */
.diag-hero {
  padding: 96px 0 40px;
}
.diag-hero__inner {
  max-width: 760px;
}
.diag-hero h1 {
  margin: 10px 0 8px;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.diag-hero__lead {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}
.diag-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.diag-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px;
  border: 1px solid var(--glass-border-light, rgba(15, 23, 42, .08));
  border-radius: 14px;
  background: rgba(255, 255, 255, .66);
}
.diag-hero__facts strong { font-size: 17px; letter-spacing: -0.02em; }
.diag-hero__facts span { font-size: 13px; color: var(--muted); }

.diag-section { padding: 36px 0; }
.diag-section .page-shell { max-width: 760px; }
.diag-section h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.diag-check { margin: 0; padding: 0; list-style: none; }
.diag-check li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.diag-check li:last-child { border-bottom: 0; }
.diag-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.diag-note {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(27, 98, 237, .06);
  font-size: 15px;
}

.diag-form-section { padding: 40px 0 96px; }
.diag-form__inner { max-width: 760px; }
.diag-form__inner > h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.diag-form__lead { margin: 0 0 20px; font-size: 15px; color: var(--muted); }

.diag-card { display: flex; flex-direction: column; gap: 18px; }
.diag-field { display: flex; flex-direction: column; gap: 8px; }
.diag-field label { font-size: 14px; font-weight: 600; }
.diag-field input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.diag-field input:focus { border-color: var(--blue); outline: none; }

.diag-consent { font-size: 14px; }
/* contact.css 의 [data-contact-form] label span 은 필수 표시 * 를 파랗게 하려는 규칙이다.
   동의 문구는 통째로 span 이라 그 색을 그대로 뒤집어쓴다. 여기서 본문 색으로 되돌린다.
   클래스를 둘 겹쳐 그 규칙보다 우선순위를 높인다. */
.contact-consent.diag-consent > span {
  color: var(--ink);
  font-weight: 400;
}


.diag-submit {
  padding: 16px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.diag-submit:hover { background: var(--blue-hover); }
.diag-submit:disabled { opacity: .55; cursor: default; }

@media (max-width: 700px) {
  .diag-hero { padding: 64px 0 28px; }
  .diag-hero h1 { font-size: 32px; }
  .diag-hero__lead { font-size: 16px; }
  .diag-hero__facts li { flex: 1 1 calc(50% - 5px); padding: 10px 14px; }
}
