/* Exact reference-image refinements layered on top of the approved redesign. */
.site-header .brand {
  display: flex !important;
  min-width: 290px;
  min-height: 64px;
  padding: 0 !important;
  align-items: center;
  gap: 15px;
}

.site-header .brand::before {
  content: none !important;
}

.reference-brand-mark {
  display: block;
  width: 67px;
  height: 61px;
  overflow: hidden;
  flex: 0 0 auto;
}

.reference-brand-mark img {
  display: block;
  width: 67px;
  height: auto;
  transform: translateY(-1px);
}

.reference-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.reference-brand-copy strong {
  color: #061b3e;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 17px !important;
  font-weight: 800;
  letter-spacing: .05em !important;
  white-space: nowrap;
}

.reference-brand-copy small {
  margin-top: 7px;
  color: #34445f;
  font: 600 10px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.hero-media picture {
  width: min(100%, 720px) !important;
  transform: none !important;
}

.hero-media picture::before {
  content: none !important;
}

.hero-media picture img {
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  box-shadow: 0 20px 45px rgba(6, 27, 62, .12);
}

.hero-media::before,
.procurement-intro {
  background-image: linear-gradient(rgba(6,27,62,.86),rgba(6,27,62,.86)), url("/images/logo-minghe-transparent.png") !important;
}

.hero-media::before {
  background-image: url("/images/logo-minghe-transparent.png") !important;
}

.reference-assurance {
  max-width: 1320px;
  margin: -74px auto 110px;
  padding: 0 clamp(20px, 3vw, 42px);
}

.reference-help-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  min-height: 138px;
  align-items: center;
  border: 1px solid #d8dee8;
  background: #fff;
}

.reference-help-icon {
  display: grid;
  height: 100%;
  place-items: center;
  color: #fff;
  background: #062450;
}

.reference-help-icon svg {
  width: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.reference-help-copy {
  padding: 24px 38px;
}

.reference-help-copy h2 {
  margin: 0 0 12px;
  color: #061b3e;
  font-size: 25px;
}

.reference-help-copy p {
  margin: 0;
  color: #8490a3;
  font-size: 14px;
}

.reference-help-actions {
  display: grid;
  min-width: 230px;
  padding-right: 36px;
  gap: 9px;
}

.reference-help-actions button {
  min-height: 45px;
  border: 0;
  font-size: 14px;
  font-weight: 750;
}

.reference-primary-action {
  color: #fff;
  background: #ff781f;
}

.reference-order-action {
  color: #253a59;
  background: transparent;
}

.reference-help-actions span {
  margin-left: 12px;
}

.reference-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid #d8dee8;
  background: #fff;
}

.reference-benefits article {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 122px;
  align-items: center;
  gap: 18px;
  padding: 22px 30px;
  border-right: 1px solid #d8dee8;
}

.reference-benefits article:last-child {
  border-right: 0;
}

.reference-benefits svg {
  width: 50px;
  fill: none;
  stroke: #061b3e;
  stroke-width: 1.8;
}

.reference-benefits h3 {
  margin: 0 0 8px;
  color: #061b3e;
  font-size: 16px;
}

.reference-benefits p {
  margin: 0;
  color: #7f8a9c;
  font-size: 12px;
  line-height: 1.75;
}

.site-footer {
  display: block !important;
  min-height: 0 !important;
  padding: 0 clamp(24px, 5.4vw, 96px) !important;
  background: #062450 !important;
}

.site-footer::before {
  content: none !important;
}

.reference-footer-main {
  display: grid;
  grid-template-columns: minmax(380px, 1.35fr) repeat(3, minmax(130px, .65fr));
  gap: clamp(46px, 6vw, 110px);
  padding: 58px 0 32px !important;
}

.reference-footer-brand {
  min-width: 0;
}

.reference-footer-lockup {
  width: 360px;
  height: 74px;
  overflow: hidden;
}

.reference-footer-lockup img {
  display: block;
  width: 360px;
  height: auto;
  transform: translateY(-2px);
  filter: brightness(0) invert(1);
}

.reference-footer-brand > p {
  margin: 20px 0 18px;
  color: #cad4e3;
  font-size: 14px;
  line-height: 1.8;
}

.reference-footer-brand ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  color: #d6deea;
  list-style: none;
  font-size: 13px;
}

.reference-footer-brand li span {
  display: inline-block;
  width: 24px;
  color: #fff;
}

.reference-footer-column {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 10px !important;
  align-self: start !important;
}

.reference-footer-column h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.reference-footer-column a,
.reference-footer-column button {
  padding: 0;
  border: 0;
  color: #c6d1e0 !important;
  background: transparent;
  font-size: 13px !important;
  line-height: 1.45;
  text-decoration: none;
}

.reference-footer-column a:hover,
.reference-footer-column button:hover {
  color: #ff781f !important;
}

.reference-footer-copyright {
  margin: 0 !important;
  padding: 18px 0 22px !important;
  color: #aebbcf !important;
  border-top: 1px solid rgba(255,255,255,.17) !important;
  text-align: center;
  font-size: 12px !important;
}

@media (max-width: 980px) {
  .site-header .brand { min-width: 0; }
  .reference-brand-copy strong { font-size: 14px !important; }
  .reference-help-row { grid-template-columns: 104px 1fr; }
  .reference-help-actions { grid-column: 2; padding: 0 28px 24px; grid-template-columns: 1fr 1fr; }
  .reference-benefits { grid-template-columns: 1fr 1fr; }
  .reference-benefits article:nth-child(2) { border-right: 0; }
  .reference-benefits article:nth-child(-n+2) { border-bottom: 1px solid #d8dee8; }
  .reference-footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .reference-footer-column:last-child { grid-column: 2 / 4; flex-direction: row !important; flex-wrap: wrap; }
  .reference-footer-column:last-child h3 { width: 100%; }
}

@media (max-width: 620px) {
  .reference-brand-copy strong { font-size: 12px !important; }
  .reference-brand-copy small { font-size: 8px; }
  .reference-brand-mark { width: 50px; height: 48px; }
  .reference-brand-mark img { width: 50px; }
  .hero-media picture { width: 100% !important; }
  .reference-assurance { margin: -45px auto 75px; padding: 0 20px; }
  .reference-help-row { grid-template-columns: 76px 1fr; }
  .reference-help-copy { padding: 22px 18px; }
  .reference-help-copy h2 { font-size: 18px; }
  .reference-help-actions { grid-column: 1 / -1; padding: 0 16px 18px; }
  .reference-benefits { grid-template-columns: 1fr; }
  .reference-benefits article { border-right: 0; border-bottom: 1px solid #d8dee8; }
  .reference-benefits article:last-child { border-bottom: 0; }
  .reference-footer-main { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .reference-footer-brand { grid-column: 1 / -1; }
  .reference-footer-lockup { width: 280px; height: 60px; }
  .reference-footer-lockup img { width: 280px; }
  .reference-footer-column:last-child { grid-column: 1 / -1; }
}
