.home-hero {
  padding-top: 52px;
  padding-bottom: 56px;
}

.home-hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  max-width: 980px;
}

.home-hero__content {
  text-align: center;
}

.home-hero__media {
  width: min(100%, 980px);
  margin: 0 auto 18px;
}

.home-hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--dm-radius-soft);
  box-shadow: var(--dm-shadow-soft);
}

.home-hero__content .lead {
  margin: 0 auto;
  width: min(100%, 980px);
  max-width: 980px;
}

.home-hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.home-hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-section-lead {
  margin: 0 auto 40px;
}

.home-hero__media,
.certificate-media,
.customers-media {
  width: min(100%, 980px);
  margin-inline: auto;
}

.certificate-media,
.customers-media {
  margin-block: 0;
}

.home-hero__media img,
.certificate-media img,
.customers-media img {
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
}

.certificate-media img {
  border-radius: var(--dm-radius-soft);
  box-shadow: var(--dm-shadow-medium);
}

.stats-grid,
.feature-grid,
.product-grid,
.post-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid,
.post-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.feature-card,
.product-card,
.post-card {
  padding: 24px;
  border: 1px solid var(--dm-color-border);
  border-radius: var(--dm-radius-card);
  background: var(--dm-color-bg);
}

.stat-card strong {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

.home-cta {
  text-align: center;
  background: #f7f7f7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home {
  margin: 0;
}

.site-home {
  position: relative;
}

.site-home .snap-section {
  min-height: auto;
  height: auto;
  display: block;
  padding: 56px 0;
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-img-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: var(--dm-radius-soft);
  box-shadow: var(--dm-shadow-soft);
}

.product-img-card {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.product-img-card h3 {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.4;
}
