/* ===========================================================================
   ServicesMaVietnam — Section layouts, grids, cards, statistics, and team band.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Hero section: .mv-hero
   --------------------------------------------------------------------------- */
.mv-hero {
  background: linear-gradient(180deg, var(--mv-surface) 0%, var(--mv-white) 100%);
  padding: clamp(36px, 4vw, 64px) 0 clamp(44px, 5vw, 72px);
  border-bottom: 1px solid var(--mv-line);
}

.mv-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 1100px) {
  .mv-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.mv-hero__txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-hero__h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--mv-navy);
  margin: 0;
  letter-spacing: -0.01em;
}

.mv-hero__lead {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2.05;
  color: var(--mv-muted);
}

.mv-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.mv-hero__more {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--mv-blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.mv-hero__more:hover {
  color: var(--mv-blue);
}

.mv-hero__more:focus-visible {
  outline: 3px solid var(--mv-blue);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   KV Overview band: .mv-kv (ngay dưới hero, KHÔNG ảnh)
   --------------------------------------------------------------------------- */
.mv-kv {
  background: var(--mv-surface);
  border-bottom: 1px solid var(--mv-line);
  padding: clamp(28px, 3.4vw, 42px) 0;
}

.mv-kv__lead {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--mv-navy);
  text-align: center;
  margin: 0 0 24px;
}

.mv-kv__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 860px) {
  .mv-kv__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mv-kv__links {
    grid-template-columns: 1fr;
  }
}

.mv-kv__links li {
  margin: 0;
}

.mv-kv__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  min-height: 44px;
  background: var(--mv-white);
  border: 1px solid var(--mv-line-strong);
  border-radius: 8px;
  text-decoration: none;
  color: var(--mv-navy);
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.mv-kv__links a:hover {
  border-color: var(--mv-blue);
  box-shadow: 0 6px 16px rgba(27, 111, 179, 0.12);
  transform: translateY(-2px);
}

.mv-kv__links a:focus-visible {
  outline: 3px solid var(--mv-blue);
  outline-offset: 2px;
}

.mv-kv__num {
  font-size: 14px;
  font-weight: 900;
  color: var(--mv-blue);
  flex: none;
}

.mv-kv__txt {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   こんな課題に: 4 pain points
   --------------------------------------------------------------------------- */
.mv-pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(45%, 280px)), 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.mv-pain__item {
  background: var(--mv-white);
  border: 1px solid var(--mv-line);
  border-left: 3px solid var(--mv-blue);
  padding: 24px 26px;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
  border-radius: 0 6px 6px 0;
}

.mv-pain__item span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mv-ink);
  display: block;
}

/* ---------------------------------------------------------------------------
   提供内容: 4 steps (01–04)
   --------------------------------------------------------------------------- */
.mv-steps {
  padding: clamp(48px, 6vw, 84px) 0;
}

.mv-lead {
  margin: 0 0 clamp(32px, 4vw, 48px);
  max-width: 880px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2.1;
  color: var(--mv-muted);
}

.mv-step {
  padding: clamp(36px, 4.5vw, 60px) 0;
  border-top: 1px solid var(--mv-line);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 900px) {
  .mv-step {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.mv-step__txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-step__t {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
}

.mv-step__n {
  font-size: 24px;
  font-weight: 900;
  color: var(--mv-blue);
  line-height: 1;
}

.mv-step__name {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--mv-navy);
  line-height: 1.4;
}

.mv-step__lead {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2.05;
  color: var(--mv-muted);
}

.mv-step__do {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mv-step__do li {
  background: var(--mv-surface);
  border: 1px solid var(--mv-line);
  border-left: 3px solid var(--mv-blue);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
}

.mv-step__do h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mv-navy);
  line-height: 1.5;
}

.mv-step__do p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mv-muted);
}

/* ---------------------------------------------------------------------------
   特徴・強み: .mv-feat
   --------------------------------------------------------------------------- */
.mv-feat__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .mv-feat__grid {
    grid-template-columns: 1fr;
  }
}

.mv-feat__card {
  border: 1px solid var(--mv-line);
  background: var(--mv-white);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
  border-top: 3px solid var(--mv-blue);
  padding: clamp(28px, 3vw, 36px);
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-feat__card h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--mv-navy);
}

.mv-feat__card p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--mv-muted);
}

.mv-feat__subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(45%, 280px)), 1fr));
  gap: 20px;
}

.mv-feat__subcard {
  background: var(--mv-white);
  border: 1px solid var(--mv-line);
  padding: 24px 26px;
  border-radius: 6px;
}

.mv-feat__subcard h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--mv-navy);
}

.mv-feat__subcard p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mv-muted);
}

/* ---------------------------------------------------------------------------
   導入効果: .mv-effect
   --------------------------------------------------------------------------- */
.mv-effect__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(45%, 280px)), 1fr));
  gap: 20px;
}

.mv-effect__card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-line);
  padding: 28px 26px;
  border-radius: 8px;
}

.mv-effect__card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--mv-navy);
}

.mv-effect__card p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--mv-muted);
}

/* ---------------------------------------------------------------------------
   別のサービスのご案内 (ServicesAidd): .mv-rel-svc
   --------------------------------------------------------------------------- */
.mv-rel-svc {
  background: linear-gradient(135deg, color-mix(in srgb, var(--mv-blue-pale) 12%, var(--mv-white)) 0%, color-mix(in srgb, var(--mv-blue-pale) 20%, var(--mv-white)) 100%);
  border: 1px solid var(--mv-line);
  border-radius: 12px;
  padding: clamp(32px, 4vw, 48px);
  margin-top: 24px;
}

.mv-rel-svc__in {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-rel-svc h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--mv-navy);
  margin: 0;
  line-height: 1.4;
}

.mv-rel-svc p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--mv-muted);
  margin: 0;
}

.mv-rel-svc__btn-wrap {
  margin-top: 8px;
}

/* ---------------------------------------------------------------------------
   第三者認証: .mv-cert
   --------------------------------------------------------------------------- */
.mv-cert__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(45%, 300px)), 1fr));
  gap: 24px;
}

.mv-cert__item {
  background: var(--mv-white);
  border: 1px solid var(--mv-line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, 0.04);
}

.mv-cert__item img {
  width: auto;
  max-width: 240px;
  height: 90px;
  object-fit: contain;
}

.mv-cert__item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--mv-navy);
}

.mv-cert__item p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mv-muted);
}

/* ---------------------------------------------------------------------------
   実績: .mv-stat
   --------------------------------------------------------------------------- */
.mv-stat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(20%, 150px)), 1fr));
  gap: clamp(28px, 3vw, 48px);
}

.mv-stat__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mv-stat__tag {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--mv-muted);
}

.mv-stat__num {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--mv-navy);
}

.mv-stat__plus {
  font-size: 0.5em;
  font-weight: 700;
}

.mv-stat__bar {
  width: 36px;
  height: 3px;
  background: var(--mv-navy);
}

.mv-stat__bar--blue {
  background: var(--mv-blue);
}

.mv-stat__bar--light {
  background: var(--mv-blue-pale);
}

.mv-stat__h2 {
  margin: 0 0 clamp(28px, 3vw, 42px);
  max-width: 760px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.65;
  font-weight: 700;
  color: var(--mv-navy);
  text-wrap: pretty;
}

.mv-stat__desc {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mv-muted);
}

/* ---------------------------------------------------------------------------
   対応領域: .mv-scope
   --------------------------------------------------------------------------- */
.mv-scope__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(45%, 280px)), 1fr));
  gap: 20px;
}

.mv-scope__item {
  background: var(--mv-surface);
  border: 1px solid var(--mv-line);
  border-left: 3px solid var(--mv-blue);
  padding: 24px 26px;
  border-radius: 0 6px 6px 0;
}

.mv-scope__tag {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mv-blue);
}

.mv-scope__item p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--mv-ink);
}

.mv-scope__note {
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mv-muted);
}


/* ServicesMaVietnam — phần riêng so với khung ActiveLabo (đổi al- → mv-):
   khối 課題 2 cột, thân 4 thẻ 成果物, độ rộng hình. */

/* 課題: vấn đề trái, film phải (≥1180px); hẹp hơn thì xếp chồng */
@media (min-width: 1180px) {
  .mv-kadai {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 620px;
    gap: 40px;
    align-items: start;
  }
  .mv-kadai .mv-pain__grid {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
  .mv-kadai .mv-fig {
    max-width: 620px;
  }
}

/* Hero: hình có nền navy riêng, bo góc */
.mv-hero__fig svg {
  border-radius: 16px;
}

/* T1: ô tên công ty = thanh xám, không tên thật */
.mv-card__ph {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--mv-line-strong);
}
.mv-card__ph--1 { width: 82%; }
.mv-card__ph--2 { width: 64%; }
.mv-card__ph--3 { width: 74%; }
.mv-card__ph--4 { width: 56%; }

.mv-card__nda {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.mv-card__doc {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--mv-line-strong);
  background: var(--mv-surface);
  font-size: 13px;
  font-weight: 700;
  color: var(--mv-navy);
}
.mv-card__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--mv-blue-dark);
  font-size: 13px;
  font-weight: 700;
  color: var(--mv-blue-dark);
}

/* T2: hai tờ cạnh nhau */
.mv-card__sheets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .mv-card__sheets { grid-template-columns: 1fr; }
}
.mv-card__sheet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--mv-line);
  border-radius: 6px;
  background: var(--mv-surface);
}
.mv-card__sheet strong {
  font-size: 13px;
  color: var(--mv-navy);
}
.mv-card__cols {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 56px;
}
.mv-card__cols i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--mv-line-strong);
}
.mv-card__cols .c1 { height: 40%; }
.mv-card__cols .c2 { height: 70%; background: var(--mv-blue-pale); }
.mv-card__cols .c3 { height: 55%; }
.mv-card__cols .c4 { height: 90%; background: var(--mv-blue); }
.mv-card__range {
  position: relative;
  display: block;
  height: 14px;
  margin-top: 20px;
  border-radius: 7px;
  background: var(--mv-line);
}
.mv-card__range i {
  position: absolute;
  left: 30%;
  width: 40%;
  top: 0;
  bottom: 0;
  border-radius: 7px;
  background: var(--mv-blue);
}

/* T3: bìa hợp đồng */
.mv-card__cover {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--mv-line-strong);
  border-radius: 6px;
  background: var(--mv-white);
}
.mv-card__cover strong {
  font-size: 14px;
  color: var(--mv-navy);
}
.mv-card__cover span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--mv-line);
}
.mv-card__cover span.s { width: 60%; }

.mv-scope__note {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mv-muted);
}

/* 導入効果 và こんな方に: 3 thẻ một hàng (ActiveLabo có 4 thẻ nên lưới 2 cột) */
.mv-effect__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
