
.mg-product-page {
  background: #ffffff;
  color: #0B2D3A;
  font-family: Inter, Arial, sans-serif;
}

.mg-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.mg-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 30px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.mg-label,
.mg-sub {
  display: inline-block;
  color: #6DAFD4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: inherit;
}

.mg-hero h1 {
  color: #0B2D3A;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 0 0 22px;
  font-family: inherit;
}

.mg-hero p {
  color: #4D545C;
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 34px;
  max-width: 640px;
}

.mg-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mg-btn-primary,
.mg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  font-family: inherit;
  transition: all .25s ease;
}

.mg-btn-primary {
  background: #1F8EDB;
  color: #ffffff;
}

.mg-btn-primary:hover {
  background: #6DAFD4;
  transform: translateY(-2px);
}

.mg-btn-secondary {
  border: 1px solid rgba(11,45,58,.25);
  color: #0B2D3A;
  background: #ffffff;
}

.mg-btn-secondary:hover {
  border-color: #6DAFD4;
  color: #6DAFD4;
  transform: translateY(-2px);
}

.mg-hero-image,
.mg-process-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(77,84,92,.22);
  box-shadow: 0 24px 60px rgba(11,45,58,.11);
}

.mg-hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.mg-overview {
  padding: 85px 0;
  background: #F5F8FA;
}

.mg-overview h2,
.mg-section-head h2,
.mg-applications h2,
.mg-process h2,
.mg-cta h2 {
  color: #0B2D3A;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin: 0 0 22px;
  font-family: inherit;
}

.mg-overview p,
.mg-applications p,
.mg-process p,
.mg-cta p {
  color: #4D545C;
  font-size: 16px;
  line-height: 1.8;
  max-width: 920px;
  margin: 0 0 18px;
}

.mg-features {
  padding: 95px 0;
  background: #ffffff;
}

.mg-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.mg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.mg-card {
  background: #ffffff;
  border: 1px solid rgba(77,84,92,.22);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 10px 28px rgba(11,45,58,.05);
  transition: all .28s ease;
}

.mg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(11,45,58,.1);
  border-color: rgba(109,175,212,.7);
}

.mg-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(109,175,212,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 18px;
}

.mg-card h3 {
  color: #0B2D3A;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
  font-family: inherit;
}

.mg-card p {
  color: #4D545C;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.mg-applications {
  padding: 90px 0;
  background: #03396E;
  color: #ffffff;
}

.mg-applications h2,
.mg-applications p {
  color: #ffffff;
}

.mg-applications p {
  color: rgba(255,255,255,.82);
}

.mg-app-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.mg-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mg-list div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 15px 16px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  line-height: 1.45;
}

.mg-process {
  padding: 95px 0;
  background: #ffffff;
}

.mg-process-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.mg-process-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.mg-cta {
  padding: 90px 20px;
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
    url("../img/catalog/3.webp");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.mg-cta-content {
  max-width: 820px;
  margin: 0 auto;
}

.mg-cta p {
  margin: 0 auto 30px;
}

@media (max-width: 1024px) {
  .mg-hero,
  .mg-app-grid,
  .mg-process-grid {
    grid-template-columns: 1fr;
  }

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

  .mg-hero-image img,
  .mg-process-image img {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .mg-hero {
    padding: 65px 16px;
  }

  .mg-hero h1 {
    font-size: 34px;
  }

  .mg-hero p {
    font-size: 16px;
  }

  .mg-overview,
  .mg-features,
  .mg-applications,
  .mg-process,
  .mg-cta {
    padding: 70px 0;
  }

  .mg-grid,
  .mg-list {
    grid-template-columns: 1fr;
  }

  .mg-overview h2,
  .mg-section-head h2,
  .mg-applications h2,
  .mg-process h2,
  .mg-cta h2 {
    font-size: 30px;
  }

  .mg-hero-image img,
  .mg-process-image img {
    height: 310px;
  }

  .mg-btn-primary,
  .mg-btn-secondary {
    width: 100%;
  }
}
