.reference-hero {
  align-items: stretch;
  background-image: linear-gradient(90deg, rgba(3, 20, 32, .96) 0%, rgba(3, 20, 32, .9) 30%, rgba(3, 20, 32, .42) 55%, rgba(3, 20, 32, .05) 82%), url('/images/hero/Celbert-light.webp');
  background-position: center;
  background-size: cover;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(145px, 15vh, 230px) 7vw 54px;
  text-align: left;
}

.reference-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1120px;
  width: min(100%, 1120px);
}

.reference-hero-copy h1 {
  color: #fff;
  font-size: clamp(2.8rem, 4vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
  margin: 0 0 2rem;
  text-shadow: 0 5px 18px rgba(0,0,0,.45);
}

.reference-hero-copy h1 span { color: #ff2438; }
.reference-hero-copy h1 small {
  color: #fff;
  display: block;
  font-size: .45em;
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: .35rem;
}
.reference-hero-copy p {
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.4;
  margin: 0 0 2.8rem;
  text-shadow: 0 3px 12px rgba(0,0,0,.75);
}

.reference-benefits {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
}
.reference-benefit {
  align-items: center;
  background: rgba(255,255,255,.97);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
  color: #102234;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 178px;
  padding: 1.15rem .9rem;
  text-align: center;
}
.reference-benefit i {
  align-items: center;
  background: radial-gradient(circle at 30% 25%, #ff7b87 0%, #ff263f 52%, #c9162d 100%);
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(230,57,70,.48), 0 3px 0 rgba(138,10,27,.25);
  color: #fff;
  display: flex;
  flex: 0 0 74px;
  font-size: 2.45rem;
  height: 74px;
  justify-content: center;
  margin-bottom: .7rem;
  width: 74px;
}
.reference-benefit strong { font-size: clamp(.95rem, 1.15vw, 1.3rem); line-height: 1.2; }
.reference-benefit span { color: #344457; font-size: 1rem; margin-top: .35rem; }
.reference-benefit em { color: #f11d35; font-style: normal; }

.reference-hero-actions { display: flex; gap: 1.5rem; margin-bottom: 1.8rem; }
.reference-cta {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  font-weight: 800;
  gap: .7rem;
  justify-content: center;
  min-height: 68px;
  padding: .85rem 1.5rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.reference-cta:hover,
.reference-cta:focus-visible {
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
  transform: translateY(-3px);
}
.reference-cta-primary:hover { background: #e2182f; }
.reference-cta-secondary:hover { background: #fff1f3; }
.reference-cta i { font-size: 1.65rem; line-height: 1; }
.reference-cta-primary i { color: #fff; }
.reference-cta-secondary i { color: #f11d35; }
.reference-cta-primary { background: #ff1f35; color: #fff; min-width: 450px; }
.reference-cta-primary img { filter: brightness(0) invert(1); }
.reference-cta-secondary { background: #fff; border: 3px solid #ff1f35; color: #f11d35; min-width: 320px; }
.reference-trust { align-items: center; color: #fff; display: flex; flex-wrap: wrap; gap: 1rem; }
.reference-trust span { align-items: center; display: inline-flex; font-size: clamp(.85rem, 1vw, 1.05rem); gap: .5rem; text-shadow: 0 2px 8px rgba(0,0,0,.75); }
.reference-trust i { color: #fff; font-size: 1.8rem; line-height: 1; }
.reference-trust span:not(:last-child)::after { background: rgba(255,255,255,.7); content: ''; height: 24px; margin-left: 1rem; width: 1px; }

@media (max-width: 1100px) {
  .reference-hero { padding-left: 4vw; padding-right: 4vw; }
  .reference-hero-content { max-width: 780px; }
  .reference-benefit { min-height: 155px; }
  .reference-cta-primary { min-width: 0; flex: 1; }
  .reference-cta-secondary { min-width: 0; flex: 1; }
}
@media (max-width: 700px) {
  .reference-hero {
    background-image: linear-gradient(180deg, rgba(3,20,32,.94), rgba(3,20,32,.82)), url('/images/hero/backgrounds/house-mobile-900x1200.webp');
    min-height: auto;
    padding: 148px 18px 34px;
  }
  .reference-hero-content { transform: none; }
  .reference-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
  .reference-hero-copy p { font-size: 1rem; }
  .reference-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .reference-benefit { min-height: 175px; padding-left: .65rem; padding-right: .65rem; }
  .reference-benefit:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .reference-hero-actions { flex-direction: column; gap: .8rem; }
  .reference-cta { min-width: 0; width: 100%; }
  .reference-trust { align-items: center; flex-direction: column; gap: .65rem; text-align: center; width: 100%; }
  .reference-trust span { justify-content: center; }
  .reference-trust span:not(:last-child)::after { display: none; }
}
