.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 720px;
  text-wrap: balance;
}

.hero-summary {
  display: grid;
  gap: 0.7rem;
  max-width: 650px;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 3px solid var(--cyan);
}

.hero-summary p {
  margin: 0;
  color: #aebfdd;
  font-size: 0.95rem;
  line-height: 1.75;
}

.hero-summary .lede {
  color: #eef6ff;
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.55;
}

.hero-showcase {
  position: relative;
  z-index: 1;
  width: min(100%, 590px);
  aspect-ratio: 4 / 3;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(121, 211, 255, 0.3);
  border-radius: 26px;
  background: #07152f;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(71, 190, 255, 0.05);
}

.repair-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.75s ease, transform 1.1s ease;
  pointer-events: none;
}

.repair-slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.repair-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 35, 0.03) 42%, rgba(5, 15, 35, 0.92) 100%);
}

.repair-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.repair-slide figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 4vw, 1.5rem);
  right: clamp(1rem, 4vw, 1.5rem);
  bottom: clamp(1rem, 4vw, 1.45rem);
  display: grid;
  gap: 0.32rem;
  color: #fff;
}

.repair-slide figcaption small {
  color: var(--cyan);
  font: 700 0.67rem/1.2 "DM Mono", monospace;
  letter-spacing: 0.12em;
}

.repair-slide figcaption strong {
  max-width: 430px;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.25;
}

.carousel-controls {
  position: absolute;
  z-index: 5;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.carousel-dots {
  display: flex;
  gap: 0.38rem;
  padding: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 15, 35, 0.62);
  backdrop-filter: blur(10px);
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.active {
  width: 25px;
  background: var(--cyan);
}

.carousel-dots button:focus-visible,
.carousel-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.carousel-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.72rem;
  background: rgba(5, 15, 35, 0.68);
  color: #fff;
  font: 700 0.68rem/1 Manrope, Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

@media (max-width: 760px) {
  .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-summary { padding-left: 0.9rem; }
  .hero-summary .lede { font-size: 1rem; }
  .hero-summary p { font-size: 0.88rem; }
  .hero-showcase { width: 100%; border-radius: 20px; }
  .carousel-toggle { padding: 0.48rem 0.65rem; }
}

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