/* Focused refinements for the Industries, Services and Products cards. */
.hc-ind-grid,
.hc-ind-grid--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.services-grid .service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  background: var(--glass-tint-strong) !important;
  box-shadow: var(--floating-shadow);
}

.services-grid .service-card:hover,
.services-grid .service-card:focus-within {
  border-color: var(--primary) !important;
  box-shadow: var(--tech-glow-shadow);
}

.services-grid .service-card .card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
  border-radius: 10px;
  object-fit: cover;
}

.services-grid .service-top {
  margin: 0 0 14px;
}

.services-grid .service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.services-grid .service-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.services-grid .service-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.services-grid .service-card p {
  flex: 1;
  min-height: 0;
  margin: 0 0 18px;
  line-height: 1.7;
}

.services-grid .service-link {
  align-self: flex-start;
  gap: 8px;
  height: auto;
  padding: 0;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.services-grid .service-link svg,
.product-grid:not(.product-grid-home) .sub-link svg {
  transition: transform .2s ease;
}

.services-grid .service-link:hover svg,
.product-grid:not(.product-grid-home) .product-card:hover .sub-link svg {
  transform: translate(3px, -1px);
}

.product-grid:not(.product-grid-home) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 32px;
}

.product-grid:not(.product-grid-home) .product-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-tint-strong);
  box-shadow: var(--floating-shadow);
}

.product-grid:not(.product-grid-home) .product-card:hover,
.product-grid:not(.product-grid-home) .product-card:focus-visible {
  border-color: var(--primary);
  box-shadow: var(--tech-glow-shadow);
}

.product-grid:not(.product-grid-home) .card-photo {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 4px;
  border-radius: 10px;
  object-fit: cover;
}

.product-grid:not(.product-grid-home) .product-top {
  margin-top: 2px;
}

.product-grid:not(.product-grid-home) .product-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.product-grid:not(.product-grid-home) .product-top .mono-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--brand-soft);
}

.product-grid:not(.product-grid-home) .product-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.product-grid:not(.product-grid-home) .product-card p {
  flex: 1;
  line-height: 1.65;
}

.product-grid:not(.product-grid-home) .sub-link {
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hc-ind-grid,
  .hc-ind-grid--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .product-grid:not(.product-grid-home) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid .service-card {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .hc-ind-grid:not(.hc-ind-grid--page) {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 82%;
    gap: 12px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 4px 16px 14px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .hc-ind-grid--page {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    gap: 14px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .hc-ind-grid:not(.hc-ind-grid--page) .hc-ind {
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .product-grid:not(.product-grid-home) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid .service-card,
  .services-grid .service-card:hover,
  .product-grid:not(.product-grid-home) .product-card,
  .product-grid:not(.product-grid-home) .product-card:hover,
  .services-grid .service-link svg,
  .product-grid:not(.product-grid-home) .sub-link svg {
    transition: none;
    transform: none;
  }
}

/* v2.7.59 — Products, Services and Industries pages reuse the homepage product card (.hc-card.hc-prod). */
.hc-grid--page {
  margin-top: 32px;
}

.hc-grid--page .hc-card {
  height: 100%;
}

.hc-label {
  margin: 2px 0 -4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.hc-label span {
  margin-right: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--highlight);
}

.hc-ticks--links a {
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .2s;
}

.hc-ticks--links a:hover,
.hc-ticks--links a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

.hc-ticks--links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.hc-sol {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--foreground);
  background: var(--brand-soft);
  text-decoration: none;
  transition: border-color .25s, background .25s;
}

.hc-sol > svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 50%;
  color: var(--on-dark);
  background: var(--primary);
}

.hc-sol small {
  display: block;
  margin-bottom: 1px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--highlight);
}

.hc-sol:hover,
.hc-sol:focus-visible {
  border-color: var(--primary);
  background: var(--background);
}

.hc-sol:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hc-ind-page .hc-tag {
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-demo svg {
  width: 15px;
  height: 15px;
}

.hc-grid--page .hc-cta,
.hc-grid--page .hc-demo {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hc-grid--page {
    margin-top: 24px;
  }
}
