.branding-products {
  padding: 64px 24px;
  background: #f4f5f5;
}

.branding-products__container {
  max-width: var(--container-width);
  margin-inline: auto;
}

.branding-products__heading {
  max-width: 982px;
  margin: 0 auto 32px;
  text-align: center;
}

.branding-products__eyebrow {
  margin: 0;
  color: rgba(95, 45, 164, .8);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.branding-products__title {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.branding-products__description {
  margin: 12px 0 0;
  color: rgba(23, 20, 27, .8);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -.03em;
}

/* Temporary crop from the supplied reference; replace with the original export. */
.branding-products__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1480 / 500;
  object-fit: cover;
}

.branding-products__categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.branding-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 88px;
  padding: 12px 16px;
  gap: 8px;
  border-radius: 16px;
  background: #eaebeb;
  letter-spacing: -.03em;
  transition: background-color 160ms ease;
}

.branding-product__number {
  color: #5f2da4;
  font-family: "Onest", Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.branding-product__name {
  color: rgba(23, 20, 27, .8);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.branding-products__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 41px;
}

.branding-products__actions .button {
  min-height: 62px;
  padding: 19px 48px;
}

.branding-products__budget {
  border: 1px solid rgba(23, 20, 27, .1);
  background: #fff;
  color: rgba(23, 20, 27, .8);
}

@media (hover: hover) {
  .branding-product:hover {
    background: #e5dcec;
  }

  .branding-products__budget:hover {
    background: var(--color-brand-hover);
    color: #fff;
  }
}

.branding-product:active {
  background: #f4d9e8;
}

.branding-products__budget:active {
  background: var(--color-brand-active);
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .branding-products__title {
    font-size: 32px;
  }

  .branding-product__name {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .branding-products {
    padding: 24px 0;
  }

  .branding-products__heading {
    max-width: 360px;
    margin-bottom: 13px;
    padding-inline: 8px;
  }

  .branding-products__eyebrow {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .branding-products__title {
    max-width: 260px;
    margin-inline: auto;
    font-size: 24px;
  }

  .branding-products__description {
    margin-top: 8px;
    font-size: 14px;
  }

  .branding-products__categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 13px 8px 0;
  }

  .branding-product {
    min-height: 96px;
    padding: 12px 12px 8px;
    border-radius: 12px;
  }

  .branding-product__number {
    font-size: 28px;
  }

  .branding-product__name {
    max-width: 144px;
    font-size: 14px;
    font-weight: 400;
  }

  .branding-products__actions {
    flex-direction: column;
    gap: 8px;
    margin: 13px 8px 0;
  }

  .branding-products__actions .button {
    width: 100%;
    min-height: 56px;
    padding: 17px 24px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .branding-product {
    transition: none;
  }
}
