/* ==========================================================================
   Direct Homes – "Why Choose Us" cards
   Icons: SVGs (assets/images/icons) used as a CSS mask, so they take the
   brand gold (--dh-accent).
   ========================================================================== */

section.dh-why {
  padding: 4.6rem 0;
  background: #fff;
}

.dh-why__grid {
  row-gap: 30px;
}

.dh-why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 34px 26px 30px;
  border: 1px solid var(--dh-sand);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.dh-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--dh-accent-rgb), 0.45);
  box-shadow: 0 18px 40px rgba(var(--dh-primary-rgb), 0.10);
}

/* Recoloured SVG icon */
.dh-why-card__icon {
  display: block;
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  background-color: var(--dh-accent);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: transform 0.35s ease;
}

.dh-why-card:hover .dh-why-card__icon {
  transform: scale(1.06);
}

.dh-why-card__title {
  margin: 0 0 12px;
  font-family: var(--dh-font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dh-primary);
  text-transform: none;
}

.dh-why-card__text {
  margin: 0;
  font-family: var(--dh-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #666;
}

@media (prefers-reduced-motion: reduce) {
  .dh-why-card,
  .dh-why-card__icon {
    transition: none;
  }
}
