.portfolio-showcase {
  padding-top: 90px;
  padding-bottom: 90px;
}

.portfolio-showcase__intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.portfolio-showcase__cover {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(3, 22, 51, 0.2);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.portfolio-showcase__cover:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(3, 22, 51, 0.28);
}

.portfolio-showcase__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio-showcase__copy h2 {
  max-width: 760px;
  margin: 12px 0 20px;
  color: #071d43;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.portfolio-showcase__copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #586579;
  font-size: 17px;
  line-height: 1.7;
}

.portfolio-showcase__copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.portfolio-showcase__copy li {
  position: relative;
  padding-left: 20px;
  color: #152947;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.portfolio-showcase__copy li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  background: #ff5a00;
}

.portfolio-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portfolio-showcase .button-outline {
  border: 1px solid #071d43;
  color: #071d43;
  background: transparent;
}

.portfolio-showcase__copy small {
  display: block;
  margin-top: 14px;
  color: #7a8493;
}

.portfolio-showcase__heading {
  margin-top: 80px;
}

.portfolio-showcase__heading h3 {
  margin: 10px 0 26px;
  color: #071d43;
  font-size: clamp(28px, 4vw, 46px);
}

.portfolio-showcase__gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-showcase__preview {
  position: relative;
  overflow: hidden;
  display: block;
  background: #eef1f5;
  box-shadow: 0 14px 34px rgba(3, 22, 51, 0.1);
}

.portfolio-showcase__preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 280ms ease;
}

.portfolio-showcase__preview:hover img {
  transform: scale(1.035);
}

.portfolio-showcase__preview span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(3, 22, 51, 0.9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.equipment-carousel {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 420px;
  background: #061a3c;
}

.equipment-carousel__track {
  display: grid;
  width: min(100%, 1296px);
  margin: 0 auto;
}

.equipment-carousel__slide {
  grid-area: 1 / 1;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.equipment-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.equipment-carousel__slide img {
  display: block;
  width: 100%;
  max-height: 720px;
  aspect-ratio: 1.8 / 1;
  object-fit: contain;
}

.equipment-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 21, 49, 0.78);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.equipment-carousel__arrow:hover { background: #ff5a00; }
.equipment-carousel__arrow--prev { left: max(16px, calc((100% - 1370px) / 2)); }
.equipment-carousel__arrow--next { right: max(16px, calc((100% - 1370px) / 2)); }

.equipment-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.equipment-carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(3, 21, 49, 0.65);
  cursor: pointer;
}

.equipment-carousel__dots button.is-active {
  width: 28px;
  border-radius: 10px;
  background: #ff5a00;
}

.catalog-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-category-card,
.catalog-category-card:first-child {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 1.8 / 1;
}

.catalog-category-card img[data-category-banner] {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center !important;
  background: #f5f6f7;
  filter: saturate(1.04) contrast(1.02);
}

.catalog-category-card:has(img[data-category-banner])::after {
  background: linear-gradient(180deg, rgba(3, 20, 48, 0.02) 18%, rgba(3, 20, 48, 0.88) 100%);
}

@media (max-width: 720px) {
  .portfolio-showcase {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .portfolio-showcase__intro {
    grid-template-columns: 1fr;
  }

  .portfolio-showcase__cover {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .portfolio-showcase__copy ul {
    grid-template-columns: 1fr;
  }

  .portfolio-showcase__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-showcase__actions .button {
    justify-content: center;
    text-align: center;
  }

  .portfolio-showcase__heading {
    margin-top: 58px;
  }

  .portfolio-showcase__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-showcase__preview:first-child {
    grid-column: span 2;
  }

  .equipment-carousel {
    min-height: 0;
  }

  .equipment-carousel__track {
    width: 100%;
  }

  .equipment-carousel__slide img {
    width: 100%;
    height: auto;
  }

  .equipment-carousel__arrow {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .equipment-carousel__arrow--prev { left: 8px; }
  .equipment-carousel__arrow--next { right: 8px; }
  .equipment-carousel__dots { bottom: 8px; }

  .catalog-category-grid {
    grid-template-columns: 1fr;
  }

  .catalog-category-card,
  .catalog-category-card:first-child {
    min-height: 0;
    aspect-ratio: 1.8 / 1;
  }

  .catalog-category-card img[data-category-banner] {
    object-position: center !important;
  }
}
