/* Shared machine-brand detail hero. */

.mb-hero,
.mb-hero * {
  box-sizing: border-box;
}

.mb-hero {
  overflow: hidden;
  background: #f4f5f6;
}

.mb-hero__shell {
  position: relative;
  display: grid;
  width: 80%;
  max-width: 1600px;
  min-height: 340px;
  margin-inline: auto;
  grid-template-columns: 31% 36% 33%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 58px rgba(14, 18, 24, 0.14);
}

.mb-hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  padding: clamp(28px, 2.7vw, 44px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(195, 15, 31, 0.14), transparent 44%),
    linear-gradient(180deg, #1b1f26, #101318);
  color: #fff;
}

.mb-hero__copy::after {
  position: absolute;
  top: 0;
  right: -58px;
  width: 58px;
  height: 100%;
  background: #151920;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
  pointer-events: none;
}

.mb-hero .cp-eyebrow {
  margin-bottom: 11px;
  color: #ff747f;
}

.mb-hero h1 {
  max-width: 540px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.15rem, 3vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.mb-hero__lead {
  max-width: 570px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.58;
}

.mb-hero__copy .cp-button {
  margin-top: auto;
  padding-top: 13px;
  padding-bottom: 13px;
}

.mb-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 340px;
  margin: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 58%, rgba(195, 15, 31, 0.07), transparent 36%),
    linear-gradient(145deg, #fff 0%, #f5f6f8 100%);
}

.mb-hero__visual::after {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 78px;
  height: 122px;
  background: #eceff2;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.mb-hero__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 8px 14px;
  object-fit: contain;
  object-position: center;
}

.mb-hero__machine-shadow {
  position: absolute;
  z-index: 1;
  right: 14%;
  bottom: 36px;
  left: 14%;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 18, 24, 0.16);
  filter: blur(13px);
}

.mb-hero__proof {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(26px, 2.45vw, 40px);
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), transparent 52%),
    #eceff2;
}

.mb-hero__proof::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: #c30f1f;
  content: "";
}

.mb-hero__proof .cp-eyebrow {
  color: #c30f1f;
}

.mb-hero__proof h2 {
  max-width: 450px;
  margin: 0 0 18px;
  color: #151920;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.mb-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.mb-hero__stats div {
  min-width: 0;
  padding: 17px 12px 15px;
  border: 1px solid rgba(21, 25, 32, 0.1);
  border-top: 3px solid #c30f1f;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 18px rgba(21, 25, 32, 0.055);
}

.mb-hero__stats dt {
  color: #151920;
  font-size: clamp(1.38rem, 2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mb-hero__stats dd {
  margin: 7px 0 0;
  color: #5d6470;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mb-hero__proof-note {
  margin: 15px 0 0;
  color: #5d6470;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1260px) {
  .mb-hero__shell {
    width: 88%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mb-hero__proof {
    grid-column: 1 / -1;
  }

  .mb-hero__proof h2 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .mb-hero__shell {
    width: min(calc(100% - 32px), 1600px);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mb-hero__visual {
    order: -1;
    min-height: 0;
    aspect-ratio: 1.9 / 1;
  }

  .mb-hero__visual img {
    min-height: 0;
  }

  .mb-hero__copy::after {
    display: none;
  }

  .mb-hero__copy .cp-button {
    margin-top: 24px;
  }

  .mb-hero__proof {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .mb-hero__shell {
    width: min(calc(100% - 24px), 1600px);
  }

  .mb-hero__visual {
    aspect-ratio: 1.52 / 1;
  }

  .mb-hero__copy,
  .mb-hero__proof {
    padding: 28px 22px;
  }

  .mb-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.2rem);
    overflow-wrap: break-word;
  }

  .mb-hero__stats {
    grid-template-columns: 1fr;
  }

  .mb-hero__stats div {
    display: grid;
    grid-template-columns: minmax(88px, auto) 1fr;
    align-items: center;
    gap: 13px;
  }

  .mb-hero__stats dd {
    margin: 0;
  }
}
