.hero-visual {
  background: #4f7547;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 51, 43, 0.02) 42%, rgba(24, 51, 43, 0.44) 100%);
}

.photo-stat {
  position: absolute;
  z-index: 3;
  min-width: 118px;
  padding: 13px 15px;
  border: 1px solid rgba(24, 51, 43, 0.28);
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 6px 7px 0 rgba(24, 51, 43, 0.16);
  backdrop-filter: blur(8px);
}

.photo-stat small,
.photo-stat strong {
  display: block;
}

.photo-stat small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-stat strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}

.photo-stat.sensor-one {
  top: 38%;
  left: 7%;
}

.photo-stat.sensor-two {
  top: 18%;
  right: 7%;
}

.analysis-card {
  z-index: 3;
  background: rgba(24, 51, 43, 0.94);
  backdrop-filter: blur(10px);
}

.product-photo {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  background: #e2eadb;
}

.lesson-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 51, 43, 0.12);
}

.lesson-visual .play-large {
  position: relative;
  z-index: 2;
}

.lesson-visual b {
  z-index: 2;
}

@media (max-width: 950px) {
  .hero-photo {
    object-position: center 58%;
  }
}

@media (max-width: 620px) {
  .hero-photo {
    object-position: 54% center;
  }

  .photo-stat {
    min-width: 104px;
    padding: 11px 12px;
  }

  .photo-stat strong {
    font-size: 22px;
  }

  .photo-stat.sensor-one {
    top: 13%;
    left: 18px;
  }

  .photo-stat.sensor-two {
    top: 13%;
    right: 18px;
  }

  .product-photo {
    height: 260px;
  }
}
