/* =========================================================
   시각 설계 — style.css / product.css / refine.css 다음에 로드
   의료 장비의 정밀함을 어휘로 삼는다: 정확한 타이포, 얕은 층, 계측선
   ========================================================= */

:root {
  /* 표제용 서체 — IBM Plex Sans KR: 엔지니어링 문서의 정밀한 인상 */
  --font-display: "IBM Plex Sans KR", var(--font-sans);

  /* 계측선 색 */
  --rule: #dfe5ec;
  --rule-strong: #c7d1dc;
}

/* ---------- 타이포 위계 ----------
   표제는 Plex, 본문은 Pretendard. 두 서체의 역할을 분명히 나눈다. */
.hero-copy h1,
.section-head h2,
.group-copy h2,
.logistics-copy h2,
.software-copy h2,
.mv-card h3,
.why-card h3,
.reason-list h3,
.product-body h4,
.lineup-cat,
.hero-tel a,
.brand-logo-text {
  font-family: var(--font-display);
  font-feature-settings: "ss01", "tnum";
}

.hero-copy h1 {
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: 1.16;
}
.section-head h2,
.group-copy h2,
.logistics-copy h2,
.software-copy h2 {
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.24;
}
.section-head h2 { font-size: clamp(28px, 3.5vw, 43px); }

/* 본문 가독성 */
body { letter-spacing: -.012em; }
.section-sub { font-size: 16.5px; line-height: 1.8; color: var(--ink-mute); }

/* ---------- 히어로: 스캔 모티프를 배경으로 ---------- */
.hero-product { overflow: hidden; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/assets/img/scan-motif.svg") no-repeat 78% -6%;
  background-size: min(760px, 62%) auto;
  opacity: .9;
  pointer-events: none;
}
/* 기존 격자는 약화 — 모티프가 주인공 */
.hero-bg::after { opacity: .45; }

.hero-product .hero-bg {
  background:
    radial-gradient(120% 92% at 76% 4%, rgba(24, 155, 189, .40) 0%, transparent 56%),
    radial-gradient(88% 68% at 8% 100%, rgba(14, 124, 155, .30) 0%, transparent 58%),
    linear-gradient(160deg, #0B1330 0%, #16214F 42%, #26358A 100%);
}

.hero-copy h1 .accent {
  background: linear-gradient(94deg, #ffffff 6%, #9BE0EF 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 섹션 바탕: 평면 → 얕은 층 ---------- */
.section-tinted {
  background:
    radial-gradient(90% 60% at 14% 0%, rgba(47, 66, 149, .05) 0%, transparent 60%),
    linear-gradient(180deg, #f7f9fb 0%, #eef2f7 100%);
}
.section-dark {
  background:
    radial-gradient(70% 60% at 82% 6%, rgba(24, 155, 189, .20) 0%, transparent 58%),
    linear-gradient(165deg, #0B1330 0%, #16214F 72%, #1C2A64 100%);
}
.section-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 78%);
}
.section-dark > .wrap { position: relative; z-index: 1; }

/* ---------- 섹션 제목 위 계측선 ---------- */
.section-head { position: relative; padding-top: 26px; }
.section-head::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 46px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--navy-700));
}
.section-dark .section-head::before {
  background: linear-gradient(90deg, var(--teal-300), rgba(134, 213, 232, .2));
}

/* ---------- 제품 카드: 장비를 놓는 자리 ---------- */
.product-card { border-color: var(--rule); border-radius: 12px; }
.product-img {
  padding: 26px 22px 18px;
  background:
    radial-gradient(70% 60% at 50% 88%, rgba(47, 66, 149, .07) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--rule);
}
.product-img img { height: 210px; filter: drop-shadow(0 12px 18px rgba(17, 26, 63, .13)); }
.product-body { padding: 22px 24px 24px; }
.product-body h4 { font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.product-body p { font-size: 14.5px; color: var(--ink-mute); }
.product-link { font-weight: 700; letter-spacing: -.02em; }
.product-card:hover { border-color: var(--navy-700); }

/* 카테고리 제목 */
.lineup-cat {
  font-size: 20px; font-weight: 700; letter-spacing: -.035em;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 22px;
}
.lineup-cat::before { height: 20px; }
.lineup-cat span { font-family: var(--font-sans); }

/* ---------- 구매 이유 목록 ---------- */
.reason-list { border-color: var(--rule); }
.reason-list li { border-color: var(--rule); }
.reason-list h3 { font-size: 20px; font-weight: 700; letter-spacing: -.035em; }

/* ---------- 미션·비전 카드 ---------- */
.mv-card {
  border-color: var(--rule); border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}
.mv-card h3 { font-weight: 700; letter-spacing: -.045em; }

/* ---------- 물류 사진 ---------- */
.logistics-photo img { border-radius: 12px; }
.logistics-photo {
  position: relative;
}
.logistics-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  pointer-events: none;
}

/* ---------- 소프트웨어 화면 ---------- */
.software-shot img { border-radius: 12px; }

/* ---------- 브랜드 월 ---------- */
.brand-grid, .brand-grid li { border-color: var(--rule); }
.partner-wall-title, .block-title { font-family: var(--font-display); letter-spacing: -.02em; }

/* ---------- 폼 ---------- */
.contact-form { border-color: var(--rule); border-radius: 12px; }
.field input, .field select, .field textarea { border-color: var(--rule); border-radius: 8px; }
.field label { font-family: var(--font-display); letter-spacing: -.02em; }

/* ---------- 버튼 ---------- */
.btn { font-family: var(--font-display); letter-spacing: -.025em; }
.btn-primary {
  background: linear-gradient(170deg, var(--navy-700) 0%, var(--navy-800) 100%);
  box-shadow: 0 10px 24px rgba(30, 43, 99, .26);
}
.btn-primary:hover {
  background: linear-gradient(170deg, #3A4FAF 0%, var(--navy-700) 100%);
  box-shadow: 0 14px 30px rgba(30, 43, 99, .32);
}

/* ---------- 푸터 ---------- */
.site-footer {
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(24, 155, 189, .12) 0%, transparent 60%),
    #0B1330;
}
.footer-brand strong, .footer-info span { font-family: var(--font-display); }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1024px) {
  .hero-bg::before { background-position: 50% -2%; background-size: 92% auto; opacity: .7; }
}
@media (max-width: 860px) {
  .section-head { padding-top: 20px; }
  .section-head::before { width: 38px; height: 2.5px; }
  .product-img { padding: 18px 14px 12px; }
  .product-img img { height: 160px; }
  .lineup-cat { font-size: 18px; }
}

/* =========================================================
   여백과 스케일 — 고급스러움은 밀도가 아니라 호흡에서 온다
   ========================================================= */
.section { padding: 148px 0; }
#why { padding-top: 148px; }
.section-head { margin-bottom: 60px; }

/* 스케일 대비: 제목은 더 크게, 라벨은 더 작게 */
.software-kicker, .lf-kicker, .partner-wall-title, .block-title {
  font-size: 13px; font-weight: 700; letter-spacing: -.005em;
}
.mv-card h3 { font-size: 26px; }

/* 히어로를 더 크게 */
.hero-product { padding-top: 132px; }
.hero-split { padding-bottom: 104px; gap: 64px; }
.hero-visual img { max-width: 470px; }

/* =========================================================
   물류 — 풀블리드 사진 위 텍스트
   ========================================================= */
.logistics-full {
  position: relative; overflow: hidden;
  padding: 168px 0; color: #fff; isolation: isolate;
}
.logistics-bg { position: absolute; inset: 0; z-index: -2; }
.logistics-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  display: block; filter: saturate(.86);
}
.logistics-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 14, 38, .93) 0%, rgba(11, 19, 48, .82) 46%, rgba(11, 19, 48, .40) 100%);
}

.logistics-inner { max-width: 1180px; }
.lf-kicker { color: var(--teal-300); margin-bottom: 14px; }
.logistics-full h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.22;
  margin-bottom: 22px;
}
.lf-lead {
  font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .80);
  max-width: 54ch; margin-bottom: 44px;
}
.lf-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 980px; border-top: 1px solid rgba(255, 255, 255, .22);
}
.lf-points li {
  padding: 26px 28px 4px 0; display: flex; flex-direction: column; gap: 8px;
}
.lf-points li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.lf-points strong {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: -.03em; color: #fff;
}
.lf-points span { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .68); }

@media (max-width: 1024px) {
  .section { padding: 108px 0; }
  #why { padding-top: 108px; }
  .logistics-full { padding: 120px 0; }
  .lf-points { grid-template-columns: 1fr; border-top: 0; }
  .lf-points li {
    padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .lf-points li + li { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .section { padding: 82px 0; }
  #why { padding-top: 82px; }
  .section-head { margin-bottom: 40px; }
  .logistics-full { padding: 92px 0; }
  .logistics-bg img { object-position: 60% 55%; }
  .logistics-full::before {
    background: linear-gradient(180deg, rgba(8, 14, 38, .92) 0%, rgba(11, 19, 48, .88) 100%);
  }
  .hero-product { padding-top: 88px; }
  .hero-split { padding-bottom: 72px; }
}

/* =========================================================
   어두운 배경 위 CTA — 버튼이 배경에 묻히지 않게
   (측정: 기존 네이비 버튼은 히어로 배경과 대비 1.31:1)
   ========================================================= */
.hero-actions .btn-primary,
.group-actions .btn-primary {
  background: #ffffff;
  color: var(--navy-800);
  box-shadow: 0 14px 34px rgba(4, 10, 32, .42);
}
.hero-actions .btn-primary:hover,
.group-actions .btn-primary:hover {
  background: #eaf6fa;
  color: var(--navy-800);
  box-shadow: 0 18px 40px rgba(4, 10, 32, .5);
}

/* 보조 버튼은 윤곽만 — 위계를 분명히 */
.hero-actions .btn-ghost,
.group-actions .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
}
.hero-actions .btn-ghost:hover,
.group-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: #fff;
}

/* =========================================================
   히어로 실사 — 제품 단독 컷 대신 검사 장면
   ========================================================= */
.hero-visual {
  margin: 0; position: relative;
  border-radius: 16px; overflow: visible;
}
.hero-visual img {
  width: 100%; max-width: 560px; height: auto; display: block;
  border-radius: 16px; background: #fff;
  box-shadow: 0 34px 78px rgba(4, 10, 32, .48);
  animation: none;                       /* 사진은 떠다니지 않는다 */
}
/* 사진 위 얕은 톤 조정 — 화면의 청색 계열과 붙게 */
.hero-visual::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(180deg, rgba(11, 19, 48, 0) 62%, rgba(11, 19, 48, .22) 100%);
  pointer-events: none;
}
/* 뒤 광원은 유지하되 약하게 — 사진이 주인공 */
.hero-visual::before { opacity: .55; width: 108%; }

/* 스캔 모티프는 사진과 경쟁하지 않게 낮춘다 */
.hero-bg::before { opacity: .42; }

/* 칩은 사진 위에 */
.hero-chips span { animation: none; box-shadow: 0 10px 28px rgba(4, 10, 32, .34); }
.hero-chips span:nth-child(1) { top: 10%;   left: -6%; }
.hero-chips span:nth-child(2) { top: 47%;   right: -7%; }
.hero-chips span:nth-child(3) { bottom: 12%; left: -9%; }

@media (max-width: 1024px) {
  .hero-visual img { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .hero-visual img { max-width: 100%; border-radius: 12px; }
  .hero-visual::after { border-radius: 12px; }
}

/* 히어로 사진 아래 보증 항목 — 사진을 가리지 않는다 */
.hero-assurance {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; max-width: 560px;
}
.hero-assurance span {
  font-size: 12.5px; font-weight: 600; letter-spacing: -.01em;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 7px 14px;
  backdrop-filter: blur(6px);
}
@media (max-width: 1024px) {
  .hero-assurance { justify-content: center; margin-inline: auto; }
}
@media (max-width: 420px) {
  .hero-assurance span { font-size: 11.5px; padding: 6px 11px; }
}

/* =========================================================
   그레인 질감 — 평면 색면에 물성을 준다
   (참고: thinkcompany.com 의 어두운 배경 처리)
   ========================================================= */
.hero-product,
.section-dark,
.logistics-full,
.site-footer { position: relative; }

.hero-product::after,
.section-dark::before,
.logistics-full::after,
.site-footer::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: url("/assets/img/grain.svg");
  background-size: 240px 240px;
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* 그레인 위로 내용이 오도록 */
.hero-product > .wrap,
.section-dark > .wrap,
.logistics-full > .wrap,
.site-footer > .wrap { position: relative; z-index: 2; }

/* 어두운 섹션의 기존 격자는 그레인과 겹치지 않게 약화 */
.section-dark::after { opacity: .55; }

/* =========================================================
   선언 문장 — 큰 타이포 한 순간
   ========================================================= */
.statement {
  padding: 150px 0;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(24, 155, 189, .16) 0%, transparent 62%),
    linear-gradient(170deg, #0B1330 0%, #16214F 100%);
  color: #fff; position: relative; overflow: hidden;
}
.statement::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("/assets/img/grain.svg");
  background-size: 240px 240px; opacity: .18; mix-blend-mode: overlay;
  pointer-events: none;
}
.statement > .wrap { position: relative; z-index: 2; text-align: center; }
.statement h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 6.2vw, 78px);
  letter-spacing: -.06em; line-height: 1.12; margin-bottom: 26px;
}
.statement h2 em {
  font-style: normal;
  background: linear-gradient(96deg, #9BE0EF 0%, #4FC3DE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statement p {
  font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .74);
  max-width: 62ch; margin: 0 auto;
}

@media (max-width: 860px) {
  .statement { padding: 96px 0; }
  .statement p { font-size: 15.5px; }
}

/* =========================================================
   Mindray 글로벌 소개
   ========================================================= */
.mindray .section-head { max-width: 780px; }
.mindray .section-sub { color: rgba(255, 255, 255, .72); max-width: 66ch; }

.mr-stats {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  margin-bottom: 52px;
}
.mr-stats li {
  padding: 26px 18px; text-align: center;
  display: flex; flex-direction: column; gap: 7px;
}
.mr-stats li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.mr-stats strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -.045em;
  color: #fff; line-height: 1.1;
}
.mr-stats strong i {
  font-style: normal; font-size: .58em; color: var(--teal-300);
  margin-left: 2px; letter-spacing: -.02em;
}
.mr-stats span { font-size: 13px; color: rgba(255, 255, 255, .58); }

.mr-map { margin: 0 0 34px; }
.mr-map img { width: 100%; height: auto; display: block; }
.mr-map figcaption {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 10px;
}
.mr-legend {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: rgba(255, 255, 255, .58);
}
.mr-legend::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .9);
}
.mr-hq::before { background: var(--teal-300); width: 11px; height: 11px; }

.mr-note {
  margin: 0; padding: 22px 26px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, .8);
  text-align: center;
}
.mr-note strong { color: var(--teal-300); font-weight: 700; }

@media (max-width: 1024px) {
  .mr-stats { grid-template-columns: repeat(3, 1fr); }
  .mr-stats li:nth-child(3n+1) { border-left: 0; }
  .mr-stats li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 560px) {
  .mr-stats { grid-template-columns: repeat(2, 1fr); }
  .mr-stats li:nth-child(3n+1) { border-left: 1px solid rgba(255, 255, 255, .14); }
  .mr-stats li:nth-child(2n+1) { border-left: 0; }
  .mr-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .mr-stats li { padding: 20px 10px; }
  .mr-note { font-size: 14.5px; padding: 18px 18px; text-align: left; }
}


/* --- 초음파 부문 글로벌 순위 --- */
.mr-rank {
  margin: 0 0 40px;
  padding: 26px 30px;
  border: 1px solid rgba(134, 213, 232, .3);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(24, 155, 189, .16), rgba(24, 155, 189, 0) 62%),
    rgba(255, 255, 255, .04);
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 8px 22px;
}
.mr-rank-lead {
  margin: 0; font-size: 14px; letter-spacing: .01em;
  color: rgba(255, 255, 255, .66);
}
.mr-rank-main {
  margin: 0; display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); letter-spacing: -.04em; line-height: 1;
}
.mr-rank-main strong {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: #fff;
}
.mr-rank-main b {
  font-size: clamp(17px, 2vw, 23px); font-weight: 600; color: var(--teal-300);
}
.mr-rank-main b::before {
  content: ""; display: inline-block;
  width: 1px; height: .95em; margin-right: 14px;
  background: rgba(255, 255, 255, .24);
  transform: translateY(.12em);
}
.mr-rank-src {
  margin: 0 0 0 auto; font-size: 12.5px;
  color: rgba(255, 255, 255, .45); white-space: nowrap;
}

/* --- 국내 도입 실적 --- */
.mr-refs { margin: 0 0 30px; }
.mr-refs h3 {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px); font-weight: 700;
  letter-spacing: -.035em; color: #fff;
}
.mr-refs-sub {
  margin: 0 0 20px; max-width: 62ch;
  font-size: 15px; line-height: 1.72; color: rgba(255, 255, 255, .68);
}
.mr-ref-major {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 0 0 18px; padding: 0; list-style: none;
}
.mr-ref-major li {
  padding: 24px 16px; border-radius: 12px;
  border: 1px solid rgba(134, 213, 232, .26);
  background:
    linear-gradient(140deg, rgba(24, 155, 189, .13), rgba(24, 155, 189, 0) 70%),
    rgba(255, 255, 255, .05);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(17px, 1.9vw, 21px); letter-spacing: -.035em;
  color: #fff; text-align: center;
}
.mr-refs-more {
  margin: 0 0 10px; max-width: 62ch;
  font-size: 15px; line-height: 1.72; color: rgba(255, 255, 255, .7);
}
.mr-refs-note { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .42); }

/* 기관이 넷이라 좁아지면 2열로 접는다 */
@media (max-width: 960px) {
  .mr-ref-major { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .mr-rank { padding: 20px 18px; gap: 6px 14px; }
  .mr-rank-src { margin-left: 0; white-space: normal; }
  .mr-ref-major { grid-template-columns: 1fr; gap: 10px; }
  .mr-ref-major li { padding: 18px 14px; }
  .mr-refs-more { font-size: 14.5px; }
}

/* 메뉴 항목이 늘어 1080px 이하에서는 햄버거로 전환 */
@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: 66px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px; box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 66px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a {
    padding: 15px 6px; font-size: 16.5px;
    border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  .site-nav a.is-active::after { display: none; }
  .site-nav .nav-tel {
    text-align: center; font-size: 19px; padding: 16px 6px;
  }
  .site-nav .nav-cta {
    margin: 16px 0 0; border-radius: 999px; text-align: center;
    justify-content: center; border-bottom: 0; padding: 15px;
  }
}

/* =========================================================
   회사소개 맺음 — 대표이사 서명
   ========================================================= */
.signature {
  margin: 34px 0 0;
  text-align: right;
}
.sig-co {
  margin: 0 0 4px;
  font-size: 15px; letter-spacing: -.01em;
  color: var(--ink-soft);
}
.sig-line {
  margin: 0;
  display: inline-flex; align-items: baseline; gap: 16px;
}
.sig-role { font-size: 14px; color: var(--ink-mute); }
.sig-name {
  font-family: "Nanum Brush Script", var(--font-serif), cursive;
  font-size: 42px; line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: .02em;
}

@media (max-width: 560px) {
  .signature { margin-top: 40px; padding-top: 24px; }
  .sig-co { font-size: 14px; }
  .sig-name { font-size: 36px; }
}

/* 회사소개 스토리 맺음 문장 */
.story-close {
  margin-top: 1.5em !important;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: 18.5px !important;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--navy-800) !important;
}
@media (max-width: 720px) {
  .story-close { font-size: 17px !important; }
}

/* VisitSales 공식 로고 (앱과 동일: 방문 핀 + 완료 체크 + 코랄 점 · 워드마크 Visit/Sales) */
.vs-logo {
  display: flex; align-items: center; gap: .26em;
  line-height: 1;
}
.vs-logo-symbol { height: .96em; width: auto; display: block; flex: none; }
.vs-logo-word {
  font-family: "Sora", var(--font-display), sans-serif;
  font-weight: 800; letter-spacing: -.03em;
  color: #131722; white-space: nowrap;
}
.vs-logo-word b { font-weight: 800; color: #2F4295; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.software-note strong {
  display: block; margin-bottom: 4px;
  color: var(--navy-800); font-weight: 700;
}

/* VisitSales 공식 태그라인 + 분류 */
.software-sub {
  margin: 12px 0 5px !important;
  font-size: clamp(17px, 1.9vw, 19.5px) !important;
  font-weight: 700 !important;
  letter-spacing: -.025em;
  color: var(--navy-800) !important;
}
.software-cat {
  margin: 0 0 22px;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink-mute);
}

/* 마인드레이 섹션 제목 — 회사명을 공식 워드마크로 대체
   빨강(#C8000B)을 남색 위에 직접 올리면 대비가 2.2:1 뿐이라
   로고 규정대로 흰 바탕에 올려 6.07:1 을 확보한다 */
.mr-title { display: flex; flex-wrap: wrap; align-items: center; gap: .06em; }
.mr-wordmark {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 10px;
  padding: .26em .42em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.mr-wordmark img { height: .70em; width: auto; display: block; }

@media (max-width: 560px) {
  .mr-wordmark { padding: .22em .34em; border-radius: 8px; }
}

/* =========================================================
   제품 브로셔 — 카드 이미지와 버튼에서 PDF 열기
   ========================================================= */
.product-doc-img { position: relative; cursor: pointer; }
.product-doc-badge {
  position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 6px);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(17, 26, 63, .9); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.product-card:hover .product-doc-badge,
.product-doc-img:focus-visible .product-doc-badge {
  opacity: 1; transform: translate(-50%, 0);
}

.product-actions {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.product-actions .product-link { margin-top: 0; }
.product-doc {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-tint);
  font-size: 14px; font-weight: 700; color: var(--navy-800);
  letter-spacing: -.015em;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.product-doc span { font-size: 11.5px; font-weight: 500; color: var(--ink-mute); }
.product-doc:hover { border-color: var(--teal-500); background: #fff; }
.product-doc:hover span { color: var(--teal-600); }

/* 터치 기기에는 호버가 없으므로 배지를 항상 보여준다 */
@media (hover: none) {
  .product-doc-badge { opacity: 1; transform: translate(-50%, 0); }
}

/* =========================================================
   브로셔 모달 — 페이지를 떠나지 않고 같은 화면에서 본다
   ========================================================= */
body.doc-open-lock { overflow: hidden; }

.doc-modal { position: fixed; inset: 0; z-index: 200; display: flex; }
.doc-modal[hidden] { display: none; }
.doc-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 19, 48, .62);
  backdrop-filter: blur(3px);
  animation: docFade .18s var(--ease);
}
.doc-panel {
  position: relative; margin: auto;
  width: min(1120px, calc(100vw - 40px));
  height: min(88vh, calc(100vh - 48px));
  display: flex; flex-direction: column;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(11, 19, 48, .45);
  animation: docRise .22s var(--ease);
}
@keyframes docFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes docRise { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

.doc-head {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}
.doc-head h3 {
  margin: 0; flex: 1; min-width: 0;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; letter-spacing: -.025em;
  color: var(--navy-800);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.doc-head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.doc-open {
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--navy-800);
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.doc-open:hover { border-color: var(--teal-500); color: var(--teal-600); }
.doc-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font-size: 15px; line-height: 1; color: var(--ink-soft); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.doc-close:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.doc-body { flex: 1; min-height: 0; background: #f1f4f7; }
.doc-frame { width: 100%; height: 100%; border: 0; display: block; }
.doc-fallback {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  padding: 32px 24px; text-align: center;
}
.doc-fallback p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

@media (max-width: 720px) {
  .doc-panel {
    width: 100vw; height: 100vh; max-height: none;
    border-radius: 0; margin: 0;
  }
  .doc-head { padding: 14px 14px 14px 18px; gap: 10px; }
  .doc-head h3 { font-size: 15px; }
  .doc-open { padding: 8px 12px; font-size: 12.5px; }
}

/* 사업 영역 목록 중 아래에서 이어 설명하는 항목 */
.item-list li.item-link { padding: 0; }
.item-list li.item-link > a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; width: 100%; padding: 17px 2px; color: inherit;
  transition: color .2s var(--ease);
}
.item-list li.item-link strong::after {
  content: "↓"; margin-left: 8px; font-size: .8em;
  color: var(--teal-600); font-weight: 700;
}
.item-list li.item-link > a:hover strong { color: var(--teal-600); }

/* 제품 카드 — 흰 배경 제품컷을 더 크게 보여준다 */
.product-img { padding: 10px 12px 6px; }
.product-img img {
  height: 270px;
  filter: none;              /* 흰 배경 컷에는 그림자가 지저분하게 남는다 */
}
.product-dept {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 600; letter-spacing: -.015em;
  color: var(--teal-600);
}

@media (max-width: 1024px) { .product-img img { height: 230px; } }
@media (max-width: 860px)  { .product-img img { height: 210px; } }
@media (max-width: 560px)  {
  .product-img img { height: 240px; }
  .product-dept { font-size: 12.5px; }
}

/* 개발 거점 — '중국산' 인식에 대한 사실 보강 */
.mr-origin {
  margin: -26px 0 40px; max-width: 70ch;
  font-size: 15.5px; line-height: 1.75;
  color: rgba(255, 255, 255, .74);
}
.mr-origin strong { color: var(--teal-300); font-weight: 700; }
@media (max-width: 720px) { .mr-origin { margin: -18px 0 30px; font-size: 14.5px; } }

/* 모바일에서는 하단 고정바가 전화 버튼을 이미 제공한다.
   860px 이하에서 같은 화면에 전화 버튼이 두 개 보이던 것을 정리한다. */
@media (max-width: 860px) {
  .hide-when-mcta { display: none; }
}

/* =========================================================
   제품 카드 → 모델별 상세 페이지 링크
   카드 안에서 가장 먼저 눌리기를 바라는 버튼이라 채워진 알약으로 둔다.
   PDF 와 견적 문의는 그 옆의 보조 동작으로 남긴다.
   ========================================================= */
.product-more {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--navy-800); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -.015em;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.product-more::after {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); margin-left: 1px;
}
.product-more:hover { background: var(--teal-600); transform: translateX(1px); }
.product-card:hover .product-more { background: var(--navy-700); }
.product-card:hover .product-more:hover { background: var(--teal-600); }

/* =========================================================
   문의 수단 세 가지 — 카카오톡 · 전화 · 이메일
   요즘은 전화를 서로 꺼린다. 진료 중에는 받기도 어렵다.
   그래서 카카오톡을 맨 앞에 두고 가장 눈에 띄게 만든다.
   채널 ID 가 없으면 main.js 가 이 카드를 통째로 들어낸다.
   ========================================================= */
.contact-ways {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.cw > a {
  display: block;
  height: 100%;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.cw > a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}
.cw-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 13px;
  border-radius: 11px;
  background: var(--bg-tint);
  color: var(--navy-700);
}
.cw-ico svg { width: 21px; height: 21px; }
.cw strong {
  display: block;
  font-size: 16.5px; letter-spacing: -.025em;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.cw em {
  display: block;
  font-style: normal;
  font-size: 14px; line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 13px;
}
.cw-act {
  display: inline-block;
  font-size: 15.5px; font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy-700);
}
.cw-sub {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* 카카오톡 카드만 노란 바탕으로 띄운다 */
.cw-kakao > a {
  background: #FEE500;
  border-color: #F2D900;
}
.cw-kakao > a:hover { border-color: #e0c900; background: #ffe924; }
.cw-kakao .cw-ico { background: rgba(0, 0, 0, .08); color: #000; }
.cw-kakao strong,
.cw-kakao .cw-act { color: #000; }
.cw-kakao em { color: rgba(0, 0, 0, .72); }
.cw-kakao .cw-act::after {
  content: " →";
  font-weight: 700;
}

.contact-ways-note {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--ink-mute);
}

/* ---------- 모바일 하단 바 ---------- */
.mcta-kakao svg { width: 18px; height: 18px; }

/* ---------- 상세 페이지 CTA 의 카카오 버튼 ---------- */
.btn-kakao {
  background: #FEE500;
  border-color: #F2D900;
  color: #000;
  gap: 7px;
}
.btn-kakao svg { width: 18px; height: 18px; }
.btn-kakao:hover { background: #ffe924; border-color: #e0c900; color: #000; }

@media (max-width: 860px) {
  /* 카카오가 켜지면 전화·견적과 함께 셋이 된다 */
  body.has-kakao .mobile-cta { grid-template-columns: 1fr 1fr 1fr; }
  body.has-kakao .mobile-cta a { font-size: 14.5px; gap: 5px; }
  .mcta-kakao { background: #FEE500; color: #000; border: 1px solid #F2D900; }
}

/* =========================================================
   공식 파트너사 — 로고 정돈
   받은 로고가 제각각이다. 가로:세로 비율이 1:1(메드라인, 색면 정사각)부터
   4:1(비브라운 워드마크)까지 흩어져 있어, 높이만 맞추면 폭이 42px~168px로
   벌어져 어떤 로고는 거대하고 어떤 로고는 점처럼 보인다.
   그래서 로고마다 높이를 따로 줘서 '보이는 덩어리'를 비슷하게 맞춘다.
   가로로 긴 워드마크는 낮게, 정사각·배지형은 높게.
   ========================================================= */
.brand-link img[src*="bbraun"]          { --lh: 37px; }   /* 4.00 : 워드마크 + 태그라인 */
.brand-link img[src*="hlb-lifescience"] { --lh: 27px; }   /* 7.00 : 가장 납작한 워드마크 */
.brand-link img[src*="medicpro"]        { --lh: 29px; }   /* 5.99 : 워드마크 + 태그라인 */
.brand-link img[src*="dct"]             { --lh: 28px; }   /* 5.02 : 꽉 찬 굵은 글자라 실제보다 무거워 보여 조금 낮게 */
.brand-link img[src*="double-safe"]     { --lh: 34px; }   /* 4.20 : 둥근 테두리 배지형 */
.brand-link img[src*="sejong-healthcare"] { --lh: 38px; }   /* 3.38 : 심벌 + 국문·영문 두 줄 */
.brand-link img[src*="genopy"]          { --lh: 29px; }   /* 5.17 : 원형 심벌 + 넓은 자간 워드마크 */
.brand-link img[src*="seinmedi"]        { --lh: 37px; }   /* 3.88 : 입체 심벌 + 워드마크 + 슬로건 */
.brand-link img[src*="korea-gems"]      { --lh: 40px; }   /* 2.11 : 영문 + 국문 두 줄 */
.brand-link img[src*="medimaster"]        { --lh: 38px; }   /* 3.40 : 큰 M 심벌 + 두 줄 워드마크 */
.brand-link img[src*="jeil-pharm"]        { --lh: 36px; }   /* 3.91 : 타원 심벌 + 국문 */
.brand-link img[src*="bandgold"]          { --lh: 33px; }   /* 4.67 : 원형 심벌 + 워드마크 + Since 1992 */
.brand-link img[src*="soyeon-medical"]    { --lh: 32px; }   /* 4.66 : 워드마크 + 작은 심벌 */
.brand-link img[src*="humost"]            { --lh: 35px; }   /* 4.18 : 심벌 + 워드마크 + 슬로건 */
.brand-link img[src*="yunbiotech"]        { --lh: 26px; }   /* 6.82 : 아주 납작한 워드마크 */
.brand-link img[src*="yuhan-kimberly"]  { --lh: 36px; }   /* 3.94 : 가로로 긴 워드마크 */
.brand-link img[src*="convatec"]        { --lh: 38px; }   /* 3.83 : 심벌 + 워드마크 + 태그라인 */
.brand-link img[src*="addgo"]           { --lh: 40px; }   /* 2.88 */
.brand-link img[src*="applied-medical"] { --lh: 40px; }   /* 2.84 */
.brand-link img[src*="surgiplus"]       { --lh: 42px; }   /* 2.83 : 박스형 + 하단 태그라인 */
.brand-link img[src*="drager"]          { --lh: 40px; }   /* 2.58 */
.brand-link img[src*="mindray"]         { --lh: 42px; }   /* 2.40 : 대표 브랜드라 조금 크게 */
.brand-link img[src*="penko"]           { --lh: 46px; }   /* 2.03 : 타원 배지형 */
.brand-link img[src*="medline"]         { --lh: 54px; border-radius: 8px; }   /* 1.00 : 색면 정사각 타일 */

/* ---------- 카드 전체를 누르면 공식 사이트로 ---------- */
.brand-link { color: inherit; text-decoration: none; position: relative; }
a.brand-link { transition: background .2s var(--ease); }
a.brand-link::after {                       /* 새 창으로 열린다는 표시 */
  content: "";
  position: absolute; top: 10px; right: 10px;
  width: 13px; height: 13px;
  opacity: 0; transform: translate(-2px, 2px);
  background: currentColor;
  color: var(--teal-600);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  -webkit-mask: var(--ext-ico) center / contain no-repeat;
          mask: var(--ext-ico) center / contain no-repeat;
}
:root {
  --ext-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4L10 14'/%3E%3Cpath d='M19 14v5a1 1 0 01-1 1H5a1 1 0 01-1-1V6a1 1 0 011-1h5'/%3E%3C/svg%3E");
}
a.brand-link:hover { background: var(--bg-tint); }
a.brand-link:hover::after { opacity: .85; transform: translate(0, 0); }
a.brand-link:focus-visible { outline: 2px solid var(--teal-500); outline-offset: -2px; }

@media (max-width: 860px) {
  a.brand-link::after { top: 12px; right: 12px; opacity: .45; transform: none; }
}


/* =========================================================
   히어로·상단 메뉴의 카카오톡 버튼
   채널 ID 가 없으면 main.js 가 이 요소들을 들어낸다.
   ========================================================= */

/* 히어로: 어두운 배경 위 노란 알약 */
.hero-tel .hero-kakao {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: #FEE500; color: #000;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.02em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  align-self: center;
}
.hero-tel .hero-kakao svg { width: 17px; height: 17px; flex: none; }
.hero-tel .hero-kakao:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }

/* 상단 메뉴: 전화번호 옆 작은 노란 버튼 */
.site-nav .nav-kakao {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 8px;
  background: #FEE500; color: #000;
  font-size: 14px; font-weight: 700;
}
.site-nav .nav-kakao svg { width: 16px; height: 16px; flex: none; }
.site-nav .nav-kakao em { font-style: normal; }
.site-nav .nav-kakao:hover { background: #ffe924; color: #000; }
.site-nav .nav-kakao::after { display: none; }

/* 메뉴가 좁아지는 구간에서는 글자를 빼고 아이콘만 남긴다 */
@media (max-width: 1260px) and (min-width: 1081px) {
  .site-nav .nav-kakao em { display: none; }
  .site-nav .nav-kakao { padding: 8px 10px; }
}

/* 햄버거 메뉴 안에서는 다른 항목과 같은 줄 모양으로 */
@media (max-width: 1080px) {
  .site-nav .nav-kakao {
    justify-content: flex-start; border-radius: 0;
    background: transparent; color: var(--ink-soft);
    padding: 13px 6px; font-size: 16px; font-weight: 600;
  }
  .site-nav .nav-kakao svg { color: #000; background: #FEE500; border-radius: 4px; padding: 2px; width: 20px; height: 20px; }
}

@media (max-width: 640px) {
  .hero-tel .hero-kakao { font-size: 13.5px; padding: 7px 12px 7px 10px; }
  /* 운영시간 안내는 버튼 옆에 끼지 않게 제 줄로 내린다 */
  .hero-tel span { flex: 1 1 100%; margin-top: 2px; }
}
