/* MEDIHIM 3대 솔루션 · v7 · 2026-07-24 */
.mh-solutions {
  --mh-solutions-ink: #102826;
  --mh-solutions-muted: #60716f;
  --mh-solutions-green: #0d766b;
  --mh-solutions-mint: #dff4ef;
  --mh-solutions-ice: #f3f8f7;
  --mh-solutions-line: #d9e6e3;
  padding: 112px 0;
  color: var(--mh-solutions-ink);
  background: #fff;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
}

.mh-solutions__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.mh-solutions__head {
  max-width: 800px;
  margin-bottom: 42px;
}

.mh-solutions__eyebrow,
.mh-solution-card__number {
  margin: 0 0 16px;
  color: var(--mh-solutions-green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.mh-solutions__head h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.mh-solutions__head > p:last-child {
  margin: 0;
  color: var(--mh-solutions-muted);
  font-size: 19px;
  line-height: 1.7;
}

.mh-solutions__path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--mh-solutions-line);
  border-radius: 18px;
  background: var(--mh-solutions-ice);
}

.mh-solutions__path li {
  position: relative;
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid var(--mh-solutions-line);
}

.mh-solutions__path li:last-child {
  border-right: 0;
}

.mh-solutions__path b {
  display: block;
  color: var(--mh-solutions-green);
  font-size: 13px;
}

.mh-solutions__path span {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 750;
}

.mh-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mh-solution-card {
  display: flex;
  min-width: 0;
  min-height: 460px;
  padding: 32px;
  flex-direction: column;
  border: 1px solid var(--mh-solutions-line);
  border-radius: 22px;
  background: #fff;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.mh-solution-card:hover {
  transform: translateY(-5px);
  border-color: #b7d5cf;
  box-shadow: 0 18px 54px rgba(10, 63, 58, .1);
}

.mh-solution-card h3 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.mh-solution-card__summary {
  min-height: 96px;
  margin: 0;
  color: var(--mh-solutions-muted);
  line-height: 1.65;
}

.mh-solution-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mh-solutions-line);
}

.mh-solution-card li {
  border-bottom: 1px solid var(--mh-solutions-line);
}

.mh-solution-card li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: #475d5a;
  font-weight: 700;
  text-decoration: none;
}

.mh-solution-card li a span {
  color: var(--mh-solutions-green);
}

.mh-solution-card li a:hover {
  color: var(--mh-solutions-green);
}

.mh-solution-card dl {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  margin: 22px 0 0;
  font-size: 14px;
}

.mh-solution-card dt {
  color: var(--mh-solutions-green);
  font-weight: 800;
}

.mh-solution-card dd {
  margin: 0;
  color: var(--mh-solutions-muted);
}

.mh-solution-card__overview {
  margin-top: auto;
  padding-top: 26px;
  color: var(--mh-solutions-green);
  font-weight: 800;
  text-decoration: none;
}

.mh-solution-card a:focus-visible {
  outline: 3px solid var(--mh-solutions-mint);
  outline-offset: 5px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .mh-solutions__grid {
    grid-template-columns: 1fr;
  }

  .mh-solution-card {
    min-height: auto;
  }

  .mh-solution-card__summary {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .mh-solutions {
    padding: 78px 0;
  }

  .mh-solutions__inner {
    width: min(calc(100% - 32px), 1180px);
  }

  .mh-solutions__head > p:last-child {
    font-size: 17px;
  }

  .mh-solutions__path {
    grid-template-columns: 1fr;
  }

  .mh-solutions__path li {
    border-right: 0;
    border-bottom: 1px solid var(--mh-solutions-line);
  }

  .mh-solutions__path li:last-child {
    border-bottom: 0;
  }

  .mh-solution-card {
    padding: 26px;
  }

  .mh-solution-card h3 {
    font-size: 23px;
  }
}

@media (max-width: 360px) {
  .mh-solutions__inner {
    width: min(calc(100% - 24px), 1180px);
  }

  .mh-solutions__head h2 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-solution-card {
    transition: none;
  }
}
