.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  background: var(--navy);
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-carousel-controls {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 112px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.hero-arrow,
.hero-dot {
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(9, 43, 77, .62);
  color: #fff;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: .4rem;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.hero-dot.active {
  background: var(--green);
  border-color: var(--green);
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-carousel-controls { bottom: 126px; }
}

@media (max-width: 560px) {
  .hero-carousel-controls {
    right: 1rem;
    bottom: 118px;
  }
  .hero-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

@media (min-width: 901px) {
  .service-ribbon { grid-template-columns: repeat(4, 1fr); }
}
