/* =============================================================
   MEDISO v2 — concept-1 「클리니컬 트러스트」 (archetype A)
   base-v2.css의 불변식(컨테이너 1개·팔레트·프리미티브)을 상속.
   이 파일은 레이아웃/밀도/컴포넌트/타이포/이미지톤만 추가한다.
   성격: 사진 중심, 넉넉한 여백, 소프트 카드, 큰 디스플레이 타이포.
   ============================================================= */

/* ---------- 헤더 보조 ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-2);
  padding: 8px var(--gutter) 18px;
}
.mobile-nav[data-open] { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- 히어로 ---------- */
.hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(56px, 7vw, 88px);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero-copy h1 { margin-top: 18px; }
.hero-copy .lead { margin-top: 22px; max-width: 46ch; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 32px;
}
.hero-trustline {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--muted); font-weight: 600;
}
.hero-trustline svg { width: 17px; height: 17px; color: var(--accent-strong); flex-shrink: 0; }

.hero-media {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 5;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-panel);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,44,57,0) 55%, rgba(6,44,57,.42) 100%);
  pointer-events: none;
}

/* ---------- 프루프 스트립 래퍼 ---------- */
.proof-wrap { padding-block: 0 clamp(56px, 7vw, 88px); }

/* ---------- 섹션 헤드(공통) ---------- */
.section-head { max-width: 58ch; margin-bottom: clamp(36px, 4.5vw, 52px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 14px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- 제품군 8-그리드 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
}
.product-icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-wash);
  display: grid; place-items: center;
  color: var(--accent-strong);
  flex-shrink: 0;
}
.product-icon-tile svg { width: 26px; height: 26px; }
.product-index {
  font-size: 13px; font-weight: 700; color: var(--soft);
  letter-spacing: .02em;
}
.product-card h3 { margin-top: 2px; }
.product-card .body { margin-top: -4px; }
.product-card .cat-strip { margin-top: -4px; }
.product-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.product-card-foot .small { flex: 1 1 auto; }
.product-card-foot .btn-ghost {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; white-space: nowrap;
}
.product-card-foot .btn-ghost svg { width: 15px; height: 15px; }

/* ---------- 공급/신뢰 밴드 ---------- */
.supply-band .container {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}
.supply-media {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 5 / 6;
}
.supply-media img { width: 100%; height: 100%; object-fit: cover; }

.supply-steps { display: flex; flex-direction: column; gap: 0; }
.supply-step {
  display: flex; gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.supply-step:first-of-type { border-top: 0; padding-top: 0; }
.supply-step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: var(--primary);
}
.supply-step h3 { font-size: 17.5px; }
.supply-step p { margin-top: 6px; }

/* ---------- 유통 브랜드 ---------- */
.brand-band .section-head { margin-bottom: 30px; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.brand-tile {
  aspect-ratio: 3 / 2;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px dashed var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px;
  text-align: center;
}
.brand-tile span {
  font-size: 12px; font-weight: 600; color: var(--soft);
  line-height: 1.4;
}
.brand-band .todo-note { margin-top: 24px; }

/* ---------- 납품 문의 CTA ---------- */
.contact-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-copy .lead { margin-top: 16px; max-width: 44ch; }
.contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 600;
}
.contact-info-row svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--accent);
}
.contact-form {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-panel);
  padding: clamp(24px, 3vw, 36px);
}
.contact-form .field { margin-bottom: 18px; }
.contact-form .field:last-of-type { margin-bottom: 22px; }
.contact-band .field label { color: var(--on-dark); }
.contact-band .field input,
.contact-band .field select,
.contact-band .field textarea {
  background: rgba(255,255,255,.06);
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.contact-band .field input::placeholder,
.contact-band .field textarea::placeholder { color: var(--on-dark-soft); }
.contact-band .field .hint { color: var(--on-dark-soft); }
.contact-form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--on-dark-soft);
}
.contact-form .btn-primary { width: 100%; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .supply-band .container { grid-template-columns: 1fr; }
  .supply-media { order: -1; aspect-ratio: 16/9; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-band .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .supply-step { flex-direction: column; gap: 10px; }
}
