/* =========================================================
   VR 마음돌봄 스테이션 상세 (mindcare.html) 전용 스타일
   site.css 의 토큰(--ink/--indigo/--mist/--frost/--peri 등)과
   공용 컴포넌트(.stats, .cta-band, .eyebrow, .sec, .sub)를 상속한다.
========================================================= */

.mc-sec { padding: var(--secpad) 0; }
.mc-sec.alt { background: #edf2fa; }

/* ── 히어로 (파스텔, three.js 메시 그라디언트) ── */
.mc-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(52% 60% at 82% 18%, #fdeaf4 0%, rgba(253, 234, 244, 0) 100%),
    radial-gradient(55% 65% at 12% 78%, #dfeaff 0%, rgba(223, 234, 255, 0) 100%),
    linear-gradient(115deg, #eef0ff 0%, #f9f6ff 52%, #e9f3ff 100%);
  color: var(--ink);
  padding: calc(var(--headerH) + 76px) 0 92px;
}
#mcGL { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mc-hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: 60px; align-items: center;
}
.mc-hero .eyebrow { color: var(--indigo); }
.mc-hero h1 {
  margin: 16px 0 20px; color: var(--ink);
  font-size: clamp(36px, 4.8vw, 60px); font-weight: 300;
  line-height: 1.16; letter-spacing: -0.02em;
}
.mc-hero h1 strong { font-weight: 700; color: var(--indigo); }
.mc-hero .lead { font-size: clamp(19px, 2vw, 24px); font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.mc-hero .copy { font-size: 16px; font-weight: 300; color: var(--steel); line-height: 1.7; margin: 0 0 30px; }
.mc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mc-cta {
  display: inline-block; background: var(--indigo); color: #fff;
  padding: 14px 30px; border-radius: 4px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.mc-cta:hover { background: var(--indigo-h); transform: translateY(-2px); }
.mc-ghost {
  display: inline-block; color: var(--ink); background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(6, 27, 49, .18);
  padding: 13px 24px; border-radius: 4px; font-size: 15px; font-weight: 400;
  text-decoration: none; transition: border-color .2s ease, background .2s ease;
}
.mc-ghost:hover { border-color: var(--indigo); background: #fff; color: var(--indigo); }
.mc-tel { margin-top: 22px; font-size: 14px; font-weight: 300; color: var(--steel); }
.mc-tel a { color: var(--ink); font-weight: 600; text-decoration: none; }
.mc-tel small { margin-left: 6px; font-size: 12.5px; color: #8595a8; }
.mc-hero-ph { margin: 0; }
.mc-hero-ph img {
  display: block; width: 100%; max-height: 560px; object-fit: cover;
  border: 8px solid #fff; border-radius: 14px; box-sizing: border-box;
}
.mc-hero-ph figcaption { margin-top: 10px; font-size: 12.5px; font-weight: 300; color: var(--steel); }

/* ── 공용 카드 ── */
.mc-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.mc-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.mc-grid5 { grid-template-columns: repeat(5, 1fr); }
.mc-card {
  background: #fff; border: 1px solid var(--frost); border-radius: 8px;
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.mc-card:hover { transform: translateY(-4px); border-color: var(--lilac); }
.mc-card h4 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mc-card p { margin: 0; font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.7; }

/* ── 이용 흐름 ── */
.mc-flow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin: 52px 0 0; padding: 0; list-style: none; counter-reset: none;
}
.mc-flow li {
  position: relative; background: #fff; border: 1px solid var(--frost);
  border-radius: 8px; padding: 24px 18px 22px;
  transition: transform .25s ease, border-color .25s ease;
}
.mc-flow li:hover { transform: translateY(-4px); border-color: var(--lilac); }
.mc-flow li:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%); color: var(--lilac); font-size: 15px; z-index: 1;
}
.mc-flow .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--peri); color: var(--indigo);
  font-size: 14px; font-weight: 700; margin-bottom: 12px;
}
.mc-flow b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.mc-flow p { margin: 0; font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.65; }

/* ── 연구 근거 ── */
.mc-evidence {
  margin: 44px 0 0; padding: 22px 26px;
  background: #dfe2ff; border: 1px solid #c9cef7; border-radius: 8px;
  font-size: 14px; font-weight: 300; color: #3c4d63; line-height: 1.8;
}

/* ── 적용 공간 ── */
.mc-space {
  background: #fff; border: 1px solid var(--frost); border-radius: 8px;
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.mc-space:hover { transform: translateY(-4px); border-color: var(--lilac); }
.mc-space h4 { margin: 0 0 4px; font-size: 19px; font-weight: 700; color: var(--ink); }
.mc-space .who { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--indigo); }
.mc-space ul { margin: 0; padding: 0; list-style: none; }
.mc-space li {
  position: relative; padding: 7px 0 7px 16px;
  font-size: 15px; font-weight: 300; color: var(--steel); line-height: 1.55;
  border-top: 1px solid var(--mist);
  transition: color .2s ease, transform .2s ease;
}
.mc-space li:first-child { border-top: 0; }
.mc-space li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--lilac); }
.mc-space li:hover { color: var(--ink); transform: translateX(3px); }

/* ── 제품 특징 ── */
.mc-feat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.mc-feat > div {
  background: #fff; border: 1px solid var(--frost); border-radius: 8px;
  padding: 26px 20px;
  transition: transform .25s ease, border-color .25s ease;
}
.mc-feat > div:hover { transform: translateY(-4px); border-color: var(--lilac); }
.mc-feat h4 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--indigo); letter-spacing: -0.01em; }
.mc-feat p { margin: 0; font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.7; }

/* ── 상담과의 관계 ── */
.mc-quote {
  margin: 0; max-width: 900px;
  font-size: clamp(21px, 2vw, 27px); font-weight: 300;
  color: var(--ink); line-height: 1.65; letter-spacing: -0.01em;
}
.mc-quote strong { font-weight: 700; color: var(--indigo); }

/* ── 설치 모습 갤러리 ── */
.mc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.mc-gallery figure { margin: 0; }
.mc-gallery .imgwrap { overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 5; }
.mc-gallery img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.mc-gallery figure:hover img { transform: scale(1.05); }
.mc-gallery figcaption { margin-top: 10px; font-size: 13px; font-weight: 300; color: var(--steel); }

/* ── 도입 방식 ── */
.mc-proc {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  margin-top: 34px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--frost); border-radius: 8px;
}
.mc-proc span { position: relative; font-size: 14px; font-weight: 400; color: var(--ink); }
.mc-proc span:not(:last-child)::after {
  content: "→"; position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%); color: var(--lilac); font-size: 13px;
}
.mc-adopt-notes { margin-top: 26px; }
.mc-adopt-notes p {
  margin: 0 0 10px; font-size: 14px; font-weight: 300; color: var(--steel); line-height: 1.75;
}
.mc-adopt-notes b { font-weight: 700; color: var(--ink); margin-right: 8px; }

/* ── 도입 상담 (인디고 밴드) ── */
.mc-consult { padding: var(--secpad) 0; }
.mc-consult .eyebrow { color: rgba(255, 255, 255, .8); }
.mc-consult h3.sec { color: #fff; }
.mc-consult p.sub { color: rgba(255, 255, 255, .78); }
.mc-consult p.sub a.tel { color: #fff; font-weight: 600; text-decoration: none; }
.mc-consult-grid {
  display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 28px; align-items: stretch; margin-top: 40px;
}
.mc-consult-ph figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.mc-consult-ph .imgbox { position: relative; flex: 1; min-height: 320px; overflow: hidden; border-radius: 8px; }
.mc-consult-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-consult-ph figcaption { margin-top: 8px; font-size: 12.5px; font-weight: 300; color: rgba(255, 255, 255, .72); }
.mc-form-wrap {
  max-width: 640px;
  background: #fff; border-radius: 8px; padding: 34px 32px 30px;
}
.mc-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mc-form .field { margin-bottom: 14px; }
.mc-form label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.mc-form label .req { color: #d9534f; }
.mc-form input, .mc-form select, .mc-form textarea {
  width: 100%; padding: 11px 12px; font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fff;
  border: 1px solid var(--frost); border-radius: 4px; outline: none;
}
.mc-form textarea { min-height: 96px; resize: vertical; }
.mc-form input:focus, .mc-form select:focus, .mc-form textarea:focus {
  border-color: var(--indigo); box-shadow: 0 0 0 3px var(--peri);
}
.mc-form .agree {
  display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 20px;
  font-size: 13.5px; font-weight: 300; color: var(--steel); line-height: 1.55;
}
.mc-form .agree input { width: auto; margin-top: 3px; accent-color: var(--indigo); }
.mc-form .agree a { color: var(--indigo); }
.mc-form .submit {
  width: 100%; padding: 15px; font-size: 16px; font-weight: 600; font-family: inherit;
  color: #fff; background: var(--indigo); border: 0; border-radius: 4px; cursor: pointer;
  transition: background .2s ease;
}
.mc-form .submit:hover { background: var(--indigo-h); }
.mc-form .submit:disabled { opacity: .6; cursor: default; }
.mc-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mc-form .form-status { display: none; margin-top: 14px; border-radius: 4px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.mc-form .form-status.show { display: block; }
.mc-form .form-status.ok { background: #e9f8f1; border: 1px solid #b3e3cb; color: #14653f; }
.mc-form .form-status.err { background: #fdedeb; border: 1px solid #f4c5be; color: #972e20; }
.mc-form .form-status.wait { background: #eef6fd; border: 1px solid #c3ddf3; color: #1f5480; }
.mc-alt-cta { margin-top: 18px; }
.mc-alt-cta a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px;
  padding: 8px 14px; text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.mc-alt-cta a:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ── 반응형 ── */
@media (max-width: 1020px) {
  .mc-flow { grid-template-columns: repeat(3, 1fr); }
  .mc-flow li:nth-child(3)::after { display: none; }
  .mc-feat, .mc-grid5 { grid-template-columns: repeat(3, 1fr); }
  .mc-grid4:not(.mc-grid5) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mc-hero .container { grid-template-columns: 1fr; gap: 40px; }
  .mc-hero { padding: calc(var(--headerH) + 52px) 0 68px; }
  .mc-hero-ph img { max-height: 420px; }
  .mc-gallery { grid-template-columns: 1fr 1fr; }
  .mc-grid3 { grid-template-columns: 1fr; }
  .mc-consult-grid { grid-template-columns: 1fr; }
  .mc-consult-ph .imgbox { flex: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .mc-grid4, .mc-feat, .mc-flow, .mc-gallery { grid-template-columns: 1fr; }
  .mc-flow li::after, .mc-flow li:nth-child(3)::after { display: none; }
  .mc-form .row2 { grid-template-columns: 1fr; gap: 0; }
  .mc-form-wrap { padding: 26px 20px 24px; }
  .mc-proc { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mc-proc span:not(:last-child)::after { display: none; }
}

/* ── Why 리컴포지션: 통계 블록 + 대상 리스트 ── */
.mc-why-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 64px; margin-top: 48px; align-items: start;
}
.mc-why-stats .ws { padding: 20px 0; border-top: 1px solid var(--frost); }
.mc-why-stats .ws:first-child { border-top: 0; padding-top: 0; }
.mc-why-stats b {
  display: block; font-size: clamp(34px, 3.2vw, 48px); font-weight: 700;
  color: var(--indigo); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.mc-why-stats b small { font-size: .5em; font-weight: 500; margin-left: 2px; }
.mc-why-stats .ws span { display: block; margin-top: 6px; font-size: 14px; font-weight: 300; color: var(--steel); }
.mc-why-stats .wnote {
  margin: 24px 0 0; padding: 16px 20px;
  background: var(--peri); border-radius: 8px;
  font-size: 13.5px; font-weight: 300; color: #3c4d63; line-height: 1.7;
}
.mc-why-list { margin: 0; padding: 0; list-style: none; }
.mc-why-list li {
  padding: 20px 4px; border-top: 1px solid var(--frost);
  transition: transform .2s ease;
}
.mc-why-list li:first-child { border-top: 0; padding-top: 4px; }
.mc-why-list b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; transition: color .2s ease; }
.mc-why-list li span { display: block; font-size: 14.5px; font-weight: 300; color: var(--steel); line-height: 1.65; }
.mc-why-list li:hover { transform: translateX(4px); }
.mc-why-list li:hover b { color: var(--indigo); }

/* ── How it works 리컴포지션: 세로 스텝 + 콘텐츠 이미지 ── */
.mc-how-grid {
  display: grid; grid-template-columns: 1fr .95fr;
  gap: 64px; margin-top: 48px; align-items: start;
}
.mc-steps { margin: 0; padding: 0; list-style: none; }
.mc-steps li { position: relative; display: flex; gap: 18px; padding-bottom: 28px; }
.mc-steps li::before {
  content: ""; position: absolute; left: 15px; top: 36px; bottom: 2px;
  width: 2px; background: var(--lilac);
}
.mc-steps li:last-child { padding-bottom: 0; }
.mc-steps li:last-child::before { display: none; }
.mc-steps .n {
  flex: none; position: relative; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--peri); color: var(--indigo);
  font-size: 14px; font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.mc-steps li:hover .n { background: var(--indigo); color: #fff; }
.mc-steps b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin: 4px 0 5px; }
.mc-steps p { margin: 0; font-size: 14.5px; font-weight: 300; color: var(--steel); line-height: 1.65; }
.mc-how-side figure { margin: 0; }
.mc-how-side img { display: block; width: 100%; border-radius: 8px; }
.mc-how-side figcaption { margin-top: 10px; font-size: 13px; font-weight: 300; color: var(--steel); }
.mc-how-side .mc-evidence { margin-top: 24px; }

@media (max-width: 900px) {
  .mc-why-grid, .mc-how-grid { grid-template-columns: 1fr; gap: 40px; }
}
