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

.hero::after {
  background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 29, 39, .2) 45%, rgba(11, 29, 39, .35));
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-media {
    inset: 0;
    width: 100%;
    opacity: .25;
  }

  .hero::after {
    inset: 0;
    opacity: 1;
    background: linear-gradient(90deg, rgba(11, 29, 39, .82), rgba(11, 29, 39, .48));
  }
}

/* WCAG AA contrast corrections for numbered feature cards and dark inquiry blocks. */
.feature-number {
  color: var(--red-dark);
}

.section-dark .eyebrow,
.section-dark .text-link {
  color: #ff9ca0;
}

.section-dark p,
.section-dark .contact-list a {
  color: #d7e1e5;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 11px 18px 11px 13px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #0b6f39;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  transition: transform .2s ease, background .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #07552c;
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #10212b;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    min-height: 56px;
    padding: 12px;
    justify-content: center;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
