/**
 * /service/oborudovanie-meditsinskih-tsentrov/
 * Page content only (etalon: medpribor.pro/service/oborudovanie-meditsinskih-tsentrov/)
 */

.mp-omt {
  margin: 0 0 2.5rem;
  color: #526371;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.mp-omt a {
  color: #00bf80;
  text-decoration: none;
}

.mp-omt a:hover {
  color: #0055a6;
}

.mp-omt__head {
  margin: 0 0 1.5rem;
}

.mp-omt__title {
  margin: 0 0 1rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

.mp-omt__lead {
  max-width: 56rem;
}

.mp-omt__lead p {
  margin: 0 0 0.85rem;
}

.mp-omt__mail {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
}

.mp-omt-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100vw, var(--mp-canvas, 1300px));
  max-width: min(100vw, var(--mp-canvas, 1300px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1.75rem 0 1.25rem;
  padding: 1.1rem 1rem;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  background: #00bf80;
}

.mp-omt-section {
  margin: 0 0 0.5rem;
}

.mp-omt-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem 0.85rem;
}

.mp-omt-tile {
  display: flex;
  flex-direction: column;
  color: inherit !important;
  text-align: center;
}

.mp-omt-tile:hover {
  color: #00bf80 !important;
}

.mp-omt-tile__media {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #f3f5f7;
  aspect-ratio: 16 / 10;
}

.mp-omt-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.mp-omt-tile:hover .mp-omt-tile__media img {
  transform: scale(1.03);
}

.mp-omt-tile__title {
  display: block;
  margin-top: 0.55rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #434955;
}

.mp-omt-tile:hover .mp-omt-tile__title {
  color: #00bf80;
}

.mp-omt-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 1.5rem;
}

.mp-omt-offer {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border: 1px solid #d7ebe2;
  border-radius: 4px;
  background: #f7fbf9;
  color: inherit !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mp-omt-offer:hover {
  border-color: #00bf80;
  background: #eef8f3;
  color: inherit !important;
}

.mp-omt-offer__icon {
  flex: 0 0 auto;
  color: #00bf80;
  line-height: 0;
}

.mp-omt-offer__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.mp-omt-offer__title {
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
}

.mp-omt-offer__desc {
  font-size: 0.95rem;
  color: #526371;
}

.mp-omt-about__text {
  max-width: 56rem;
  margin: 0 0 1.25rem;
}

.mp-omt-about__text p {
  margin: 0 0 0.75rem;
}

.mp-omt-about__phone {
  font-weight: 600;
}

.mp-omt-start {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: #f5f7f9;
  border-radius: 4px;
}

.mp-omt-start__title {
  margin: 0 0 0.55rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.mp-omt-start p {
  margin: 0 0 1rem;
}

.mp-omt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  background: #00bf80;
  color: #fff !important;
  font-family: Roboto, "Exo 2", sans-serif;
  font-weight: 600;
}

.mp-omt__btn:hover {
  background: #00a86f;
  color: #fff !important;
}

@media (max-width: 1100px) {
  .mp-omt-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .mp-omt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .mp-omt-bar {
    font-size: 1.1rem;
    padding: 0.95rem 0.75rem;
  }

  .mp-omt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.65rem;
  }

  .mp-omt-start {
    padding: 1.15rem 1rem;
  }
}
