/* ==========================================================================
   AVCO Design System - Industries Section
   ========================================================================== */

body.avco-page .avco-industries {
  padding: var(--avco-space-16) 0 0;
  position: relative;
}

body.avco-page .avco-industries .avco-industries-top {
  padding: 0 var(--avco-space-15);
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-8);
}

body.avco-page .avco-industries .avco-industries-header {
  display: flex;
  gap: var(--avco-space-25);
  align-items: center;
}

body.avco-page .avco-industries h2.avco-industries-heading {
  font-family: var(--avco-font-heading);
  font-size: var(--avco-text-7xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.065rem;
  color: var(--avco-primary-950);
  width: 35rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

body.avco-page .avco-industries .avco-industries-right {
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-6);
}

body.avco-page .avco-industries p.avco-industries-desc {
  font-size: var(--avco-text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--avco-gray-600);
  max-width: 32.0625rem;
  margin: 0;
}

body.avco-page .avco-industries .avco-industries-nav {
  border-top: 0.0625rem solid var(--avco-primary-100);
  padding-top: var(--avco-space-2);
  display: flex;
  justify-content: flex-end;
  gap: var(--avco-space-2);
}

body.avco-page .avco-industries .avco-industries-carousel {
  display: flex;
  gap: var(--avco-space-6);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: var(--avco-space-12);
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--avco-space-15);
  position: relative;
  z-index: 3;
}

body.avco-page .avco-industries .avco-industries-carousel::before {
  content: '';
  flex-shrink: 0;
  width: var(--avco-space-15);
}

body.avco-page .avco-industries .avco-industries-carousel::after {
  content: '';
  flex-shrink: 0;
  width: var(--avco-space-15);
}

body.avco-page .avco-industries .avco-industries-carousel::-webkit-scrollbar {
  display: none;
}

/* ── Industry Card ── */
body.avco-page .avco-industries .avco-industry-card {
  background: var(--avco-white);
  border: 0.0625rem solid var(--avco-primary-50);
  overflow: hidden;
  flex-shrink: 0;
  width: 23.875rem;
  display: flex;
  flex-direction: column;
  gap: var(--avco-space-6);
  scroll-snap-align: start;
}

/* Card hover — uses unified .avco-hover-card from avco-base.css */

body.avco-page .avco-industries .avco-industry-card-img {
  width: 100%;
  height: 16.6875rem;
  overflow: hidden;
  background: var(--avco-primary-200);
}

body.avco-page .avco-industries .avco-industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--avco-transition-base);
}

body.avco-page .avco-industries .avco-industry-card:hover .avco-industry-card-img img {
  transform: scale(1.08);
}

body.avco-page .avco-industries h3.avco-industry-card-title {
  font-family: var(--avco-font-heading);
  font-size: var(--avco-text-4xl);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.0625rem;
  color: var(--avco-primary-950);
  padding: 0 var(--avco-space-6) var(--avco-space-4);
  margin: 0;
}

body.avco-page .avco-industries .avco-industry-card-bottom {
  border-top: 0.0625rem solid var(--avco-primary-100);
  display: flex;
  justify-content: flex-end;
}
