:root {
  --mp-green: #14924a;
  --mp-green-dark: #073f2a;
  --mp-ink: #10231d;
  --mp-muted: #65746f;
  --mp-line: #dbe7e1;
  --mp-bg: #f4f8f6;
  --mp-soft: #eef7f1;
  --mp-warm: #f59f42;
  --mp-danger: #e85d5d;
  --mp-white: #ffffff;
  --mp-shadow: 0 18px 48px rgba(17, 41, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--mp-bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--mp-ink);
  background: var(--mp-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.mp-hero {
  min-height: 440px;
  color: var(--mp-white);
  background:
    linear-gradient(90deg, rgba(7, 44, 30, 0.86), rgba(7, 44, 30, 0.58) 54%, rgba(7, 44, 30, 0.18)),
    url('/image/source/site/bg.jpg') center / cover no-repeat;
}

.mp-nav {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}

.mp-brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--mp-green-dark);
  background: var(--mp-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.mp-nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.mp-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 74px;
}

.mp-eyebrow {
  margin: 0 0 14px;
  color: #cfeee0;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mp-hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: 0;
}

.mp-hero-copy {
  max-width: 600px;
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.5;
}

.mp-search {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 260px) minmax(160px, 210px) 58px;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--mp-shadow);
}

.mp-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid #dce8e2;
  border-radius: 8px;
  background: #fbfefd;
}

.mp-field span {
  color: var(--mp-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mp-field input,
.mp-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--mp-ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.mp-search-button {
  width: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: var(--mp-green);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(20, 146, 74, 0.24);
}

.mp-search-button span {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 3px solid #fff;
  border-radius: 50%;
  position: relative;
}

.mp-search-button span::after {
  content: "";
  width: 10px;
  height: 3px;
  position: absolute;
  right: -8px;
  bottom: -5px;
  border-radius: 4px;
  background: #fff;
  transform: rotate(45deg);
}

.mp-main {
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 70px;
}

.mp-summary {
  min-height: 84px;
  margin-bottom: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--mp-line);
  border-radius: 8px;
  background: var(--mp-white);
  box-shadow: 0 14px 34px rgba(31, 54, 45, 0.08);
}

.mp-summary strong {
  margin-right: 7px;
  color: var(--mp-green);
  font-size: 26px;
}

.mp-summary span {
  color: var(--mp-muted);
  font-weight: 800;
}

.mp-summary a {
  color: var(--mp-green-dark);
  font-weight: 900;
}

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

.mp-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mp-line);
  border-radius: 8px;
  background: var(--mp-white);
  box-shadow: 0 14px 28px rgba(31, 54, 45, 0.07);
}

.mp-card[hidden] {
  display: none;
}

.mp-cover {
  display: block;
  min-height: 154px;
  background-color: #d7e6df;
  background-size: cover;
  background-position: center;
}

.mp-card-body {
  padding: 18px;
}

.mp-card-top {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.mp-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid var(--mp-line);
  border-radius: 8px;
  background: #fff;
}

.mp-logo-fallback {
  display: inline-grid;
  place-items: center;
  color: var(--mp-green-dark);
  background: var(--mp-soft);
  font-weight: 900;
}

.mp-card h2 {
  min-width: 0;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  color: var(--mp-green-dark);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.mp-card-top p,
.mp-address {
  margin: 0;
  color: var(--mp-muted);
  line-height: 1.4;
}

.mp-card-top p {
  min-height: 19px;
  font-weight: 800;
}

.mp-address {
  min-height: 44px;
  margin-top: 15px;
}

.mp-services {
  min-height: 30px;
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mp-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 8px;
  color: var(--mp-green-dark);
  background: var(--mp-soft);
  font-size: 13px;
  font-weight: 900;
}

.mp-chip-muted {
  color: #7a531b;
  background: #fff1d6;
}

.mp-actions {
  margin-top: 18px;
  display: flex;
  gap: 9px;
}

.mp-primary,
.mp-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.mp-primary {
  flex: 1 1 auto;
  color: #fff;
  background: var(--mp-green);
}

.mp-secondary {
  flex: 0 0 auto;
  min-width: 66px;
  padding: 0 14px;
  color: var(--mp-green-dark);
  border: 1px solid var(--mp-line);
  background: #fff;
}

.mp-empty {
  margin-top: 20px;
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed #c6d8ce;
  border-radius: 8px;
  background: #fff;
}

.mp-empty h2 {
  margin: 0 0 8px;
  color: var(--mp-green-dark);
}

.mp-empty p {
  margin: 0;
  color: var(--mp-muted);
}

@media (max-width: 940px) {
  .mp-hero {
    min-height: 520px;
  }

  .mp-hero h1 {
    font-size: 38px;
  }

  .mp-search {
    grid-template-columns: 1fr 1fr;
  }

  .mp-search-button {
    width: 100%;
  }

  .mp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mp-nav,
  .mp-hero-inner,
  .mp-main {
    width: min(100% - 24px, 1180px);
  }

  .mp-nav {
    height: 66px;
  }

  .mp-brand {
    font-size: 16px;
  }

  .mp-brand-mark {
    width: 36px;
    height: 36px;
  }

  .mp-nav-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .mp-hero h1 {
    font-size: 31px;
  }

  .mp-hero-copy {
    font-size: 16px;
  }

  .mp-search {
    grid-template-columns: 1fr;
  }

  .mp-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .mp-grid {
    grid-template-columns: 1fr;
  }
}
