/* ============================================================
   TREATMENT PAGE — 시술 큐레이션 페이지 공용 컴포넌트
   적용: skin/{complex,firming,index,whitening}, vitality (5개)
   섹션: SECTION COMMON / CONCERNS MATCHER / AI BANNER /
         TREATMENTS / PROCESS / SAFETY
   ============================================================ */
/* ========== SECTION COMMON ========== */
.section-eyebrow {
  font-size: 15px; font-weight: 700;
  color: var(--magenta); margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-title {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 800; line-height: 1.25;
  letter-spacing: -0.035em; color: var(--charcoal);
  margin-bottom: 24px;
}
.section-desc {
  font-size: 18px; color: var(--gray-700);
  max-width: 640px; line-height: 1.8;
}


/* ========== CONCERNS MATCHER ========== */
.concerns { background: var(--gray-50); padding: clamp(72px, 9vw, 120px) 0; }
.concerns-head { text-align: center; margin-bottom: 64px; }
.concerns-head .section-desc { margin: 24px auto 0; }
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .concerns-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .concerns-grid { grid-template-columns: 1fr; } }
.cc-card {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
  cursor: pointer;
}
.cc-card:hover { border-color: var(--magenta); }
.cc-icon {
  font-size: 32px;
  margin-bottom: 20px;
}
.cc-title {
  font-size: 22px; font-weight: 800;
  color: var(--charcoal); letter-spacing: -0.025em;
  margin-bottom: 12px; line-height: 1.3;
}
.cc-desc {
  font-size: 15px; color: var(--gray-700);
  line-height: 1.7; margin-bottom: 24px;
}
.cc-recommends {
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.cc-r-label {
  font-size: 12px; font-weight: 700;
  color: var(--gray-500); letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cc-r-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cc-r-list span {
  background: var(--magenta-soft);
  color: var(--magenta);
  font-size: 13px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}


/* ========== AI BANNER ========== */
.ai-banner {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.ai-banner::before {
  content: "AI DIAGNOSIS";
  position: absolute;
  top: 50%; right: -3%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  line-height: 0.9;
  pointer-events: none;
  white-space: nowrap;
}
.ai-inner { position: relative; z-index: 2; max-width: 720px; }
.ai-banner .section-eyebrow { color: var(--magenta); }
.ai-banner h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.2; margin-bottom: 24px;
}
.ai-banner h2 .accent { color: var(--magenta); }
.ai-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .ai-features { grid-template-columns: 1fr; gap: 20px; } }
.ai-feature strong {
  display: block;
  font-size: 32px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ai-feature span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}


/* ========== TREATMENTS ========== */
.treatments { padding: clamp(80px, 10vw, 130px) 0; }
.tr-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap; gap: 32px;
}
.tr-head-text { flex: 1; min-width: 300px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.filter button {
  font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px;
  background: var(--white); color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
  transition: all 0.2s;
}
.filter button:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter button.active {
  background: var(--charcoal); color: var(--white);
  border-color: var(--charcoal);
}

.treatment {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-100);
}
.treatment:first-of-type { border-top: 2px solid var(--charcoal); }
@media (max-width: 720px) {
  .treatment { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
}
.tr-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 56px;
  color: var(--magenta);
  line-height: 1;
  font-weight: 400;
}
.tr-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .tr-body { grid-template-columns: 1fr; gap: 32px; }
}
.tr-name {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800; color: var(--charcoal);
  letter-spacing: -0.03em; line-height: 1.15;
  margin-bottom: 8px;
}
.tr-cat {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--magenta);
  background: var(--magenta-soft);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.tr-tagline {
  font-size: 19px;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.tr-desc {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 28px;
}
.tr-points {
  list-style: none;
  margin-bottom: 32px;
}
.tr-points li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  gap: 12px;
}
.tr-points li::before {
  content: "→";
  color: var(--magenta);
  font-weight: 700;
  flex-shrink: 0;
}
.tr-spec {
  background: var(--gray-50);
  padding: 32px;
  border: 1px solid var(--gray-100);
  align-self: start;
}
.tr-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
.tr-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}
.tr-spec-row:last-child { border-bottom: none; }
.tr-spec-key { color: var(--gray-700); }
.tr-spec-val { font-weight: 700; color: var(--charcoal); }
.tr-recommend {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--magenta-soft);
  border-left: 3px solid var(--magenta);
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
}
.tr-recommend strong { color: var(--magenta); display: block; margin-bottom: 4px; font-weight: 700; }


/* ========== PROCESS ========== */
.process { background: var(--gray-50); padding: clamp(72px, 9vw, 120px) 0; }
.process-head { text-align: center; margin-bottom: 72px; }
.process-head .section-desc { margin: 24px auto 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.pr-step {
  background: var(--white);
  padding: 36px 28px;
  border-top: 4px solid var(--magenta);
  position: relative;
}
.pr-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 14px;
  color: var(--magenta);
  margin-bottom: 16px;
}
.pr-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.pr-desc {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
}


/* ========== SAFETY ========== */
.safety { padding: clamp(72px, 9vw, 120px) 0; }
.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 880px) { .safety-inner { grid-template-columns: 1fr; gap: 48px; } }
.safety-list {
  list-style: none;
}
.safety-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.safety-list li:first-child { border-top: 2px solid var(--charcoal); }
.safety-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 28px;
  color: var(--magenta);
  line-height: 1;
}
.safety-text strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.safety-text p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
}


