.sectors-carousel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(210px, .3fr) 1fr;
  align-items: center;
  gap: 48px;
  margin-top: 34px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.sectors-heading .eyebrow {
  margin-bottom: 10px;
}

.sectors-heading h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.025em;
}

.sectors-window {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.sectors-track {
  display: flex;
  width: max-content;
  padding: 4px 5%;
  animation: sector-slide 20s ease-in-out infinite alternate;
}

.sectors-window:hover .sectors-track,
.sectors-window:focus-within .sectors-track {
  animation-play-state: paused;
}

.sectors-group {
  display: flex;
  gap: 12px;
}

.sector-item {
  width: 166px;
  min-height: 124px;
  padding: 19px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(6, 29, 55, .045);
}

.sector-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf5fe;
  color: var(--blue);
}

.sector-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sector-tire::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #eaf5fe, inset 0 0 0 5px currentColor;
}

@keyframes sector-slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% + min(870px, 70vw))); }
}

@media (max-width: 850px) {
  .sectors-carousel {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 12px;
    padding-top: 34px;
  }

  .sectors-window {
    overflow-x: auto;
    margin-right: -28px;
    padding-right: 28px;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .sectors-window::-webkit-scrollbar { display: none; }
  .sectors-track { animation: none; padding: 2px 0 12px; }
  .sector-item { scroll-snap-align: start; width: 154px; min-height: 116px; }
}

@media (prefers-reduced-motion: reduce) {
  .sectors-track { animation: none; }
  .sectors-window { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
