/* Products & Solutions grid (homepage catalogue) */
.ecs-products .sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.ecs-products .sec-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  font-weight: 700;
}

.ecs-products .sec-head p {
  margin: 0;
  color: #4a5568;
  font-size: 18px;
  max-width: 560px;
  line-height: 1.5;
}

.ecs-products .link-arrow {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ecs-products .link-arrow:hover {
  color: var(--orange);
}

@media (max-width: 900px) {
  .ecs-products .sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ecs-products .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1000px) {
  .ecs-products .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ecs-products .prod-grid {
    grid-template-columns: 1fr;
  }
}

.ecs-products .prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  outline: 0;
  height: 100%;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ecs-products .prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 27, 51, 0.14);
  border-color: transparent;
}

.ecs-products .prod-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.ecs-products .prod-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1b33;
}

.ecs-products .prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.92);
  transition: transform 0.5s ease;
}

.ecs-products .prod-card:hover .prod-media img {
  transform: scale(1.07);
}

.ecs-products .prod-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 50, 100, 0.22);
  pointer-events: none;
}

.ecs-products .prod-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 27, 51, 0.55));
  pointer-events: none;
}

.ecs-products .prod-ico {
  position: absolute;
  left: 16px;
  bottom: 14px;
  top: auto;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(255, 106, 26, 0.4);
  font-size: 18px;
  line-height: 1;
}

.ecs-products .prod-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 27, 51, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ecs-products .prod-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ecs-products .prod-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  color: #0b1b33;
  text-transform: none !important;
}

.ecs-products .prod-body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #4a5568;
  text-transform: none !important;
}

.ecs-products .prod-bullets {
  margin: 0 0 18px;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  line-height: 1.45;
  color: #4a5568;
  text-transform: none !important;
}

.ecs-products .prod-bullets li {
  margin: 0 0 4px;
}

.ecs-products .prod-bullets li:last-child {
  margin-bottom: 0;
}

.ecs-products .prod-more {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: #0b1b33;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.ecs-products .prod-more i {
  font-style: normal;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.ecs-products .prod-card:hover .prod-more i {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .ecs-products .prod-card,
  .ecs-products .prod-media img,
  .ecs-products .prod-more i {
    transition: none;
  }
}
