/* Industry pages. Scoped so the shared header and footer keep their own styles. */
main.industry,
main.industry *,
main.industry *::before,
main.industry *::after { box-sizing: border-box; }

main.industry {
  --aps-primary-blue: #344f96;
  --factovize-brand-blue: #1660a7;
  --dark-blue: #17264d;
  --supporting-light-blue: #9aaad0;
  --light-background: #f4f6fb;
  --btn-primary: #ffc622;
  --btn-primary-hover: #e0a914;
  --btn-secondary: #1660a7;
  --btn-secondary-hover: #344f96;
  --text-default: #212121;
  --red-accent: #cb243a;
  --light-red-bg: #ffeff1;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 16px rgba(23, 38, 77, 0.06);
  --shadow-md: 0 12px 32px rgba(23, 38, 77, 0.12);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-default);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

main.industry img { display: block; max-width: 100%; }
/* main.industry a { color: inherit; text-decoration: none; } */
main.industry h1,
main.industry h2,
main.industry h3 { font-family: "Satoshi", sans-serif; color: #212121; }

main.industry .heading-hero {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
main.industry .heading-section {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
main.industry .text-main { font-size: 17px; line-height: 1.6; }
main.industry .section-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--factovize-brand-blue);
  margin-bottom: 12px;
}

main.industry .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 0;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
main.industry .btn-primary {
  background: var(--btn-primary);
  color: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(255, 198, 34, 0.25);
}
main.industry .btn-primary:hover { background: var(--btn-primary-hover); color: var(--dark-blue); }
main.industry .btn-secondary {
  background: var(--btn-secondary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 96, 167, 0.22);
}
main.industry .btn-secondary:hover { background: var(--btn-secondary-hover); color: #fff; }

main.industry .section { padding: 80px 0; }
main.industry .bg-light { background: #0D3F70; }
main.industry .section-intro { max-width: 760px; margin-bottom: 36px; }
main.industry .section-intro.is-centered {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
main.industry .section-intro.is-centered .section-label,
main.industry .section-intro.is-centered .heading-section,
main.industry .section-intro.is-centered p {
  text-align: center;
}
main.industry .section-intro p { margin-top: 14px; }
main.industry .section-intro a { color: var(--factovize-brand-blue); font-weight: 700; }
main.industry .section-intro a:hover { text-decoration: underline; }

main.industry .hero-section {
  background: #EAF5FF;
  border-bottom: 1px solid rgba(154, 170, 208, 0.3);
  padding: 72px 0 80px;
}
main.industry .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
main.industry .hero-copy p { margin-top: 20px; max-width: 560px; }
main.industry .hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
main.industry .hero-figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(154, 170, 208, 0.45);
  box-shadow: var(--shadow-md);
  background: #e8eef8;
}
main.industry .hero-figure img {
  width: 100%;
  object-fit: cover;
}

main.industry .prose p + p { margin-top: 14px; }
main.industry .process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
main.industry .process-card {
  background: #fff;
  border: 1px solid rgba(154, 170, 208, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
main.industry .process-card img { width: 100%; height: 180px; object-fit: cover; }
main.industry .process-card div { padding: 20px 22px 22px; }
main.industry .process-card h3 { font-size: 18px; font-weight: 700; color: var(--dark-blue); margin-bottom: 8px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
main.industry .card-grid.center-last {
  grid-template-columns: repeat(6, 1fr);
}
main.industry .card-grid.center-last > * { grid-column: span 2; }
main.industry .card-grid.center-last > :nth-child(4) { grid-column: 2 / span 2; }
main.industry .card-grid.center-last > :nth-child(5) { grid-column: 4 / span 2; }
main.industry .info-card {
  background: #fff;
  border: 1px solid rgba(154, 170, 208, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px;
}
main.industry .bg-light .info-card { background: #fff; }
main.industry .info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 10px;
}
main.industry .info-card .benefit {
  margin-top: 12px;
  color: var(--factovize-brand-blue);
  font-weight: 600;
}
main.industry .info-card .product-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--factovize-brand-blue);
  font-weight: 700;
}
main.industry .info-card .product-link:hover { text-decoration: underline; }

main.industry .help-grid { align-items: start; }
@media (min-width: 641px) {
  main.industry .help-grid.equal-cards {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }
  main.industry .help-grid.equal-cards .help-card .product-link {
    margin-top: auto;
  }
  main.industry .help-grid.equal-cards .product-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 8px 18px;
    margin-top: auto;
  }
  main.industry .help-grid.equal-cards .product-links .product-link {
    margin-top: 0;
    white-space: nowrap;
  }
}
main.industry .help-card {
  display: flex;
  flex-direction: column;
}
main.industry .help-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
main.industry .help-card-head h3 { margin-bottom: 0; }
main.industry .help-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(22, 96, 167, 0.1);
  color: var(--factovize-brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
main.industry .help-sub {
  margin: -4px 0 8px;
  font-weight: 700;
  color: var(--dark-blue);
}
main.industry .help-card .capability-list { font-size: 14.5px; }
main.industry .help-card .capability-list li + li { margin-top: 4px; }
main.industry .help-card .apply {
  margin-top: 12px;
  color: #3d4d63;
}
main.industry .help-card .apply strong { color: var(--dark-blue); }
main.industry .help-card .product-link { margin-top: 16px; }
main.industry .kpi-inline {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f4f7fc;
  border: 1px solid rgba(22, 96, 167, 0.18);
}
main.industry .kpi-inline .section-label { margin-bottom: 6px; }
main.industry .kpi-inline p { margin-top: 6px; }
main.industry .kpi-inline .kpi-formula {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--dark-blue);
  font-weight: 700;
  line-height: 1.4;
}
main.industry .kpi-inline .kpi-note { color: #3d4d63; font-size: 14px; }
main.industry .flow-label {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--factovize-brand-blue);
}
main.industry .route-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
main.industry .route-flow li {
  display: inline-flex;
  align-items: center;
}
main.industry .route-flow span {
  background: #eef3fb;
  color: var(--dark-blue);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}
main.industry .route-flow li:not(:last-child)::after {
  content: "→";
  margin: 0 6px;
  color: var(--factovize-brand-blue);
  font-weight: 700;
}

main.industry .help-list { display: grid; gap: 16px; }
main.industry .help-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(154, 170, 208, 0.4);
}
main.industry .help-item:last-child { border-bottom: 1px solid rgba(154, 170, 208, 0.4); }
main.industry .help-item a {
  font-weight: 700;
  color: var(--dark-blue);
}
main.industry .help-item a:hover { color: var(--factovize-brand-blue); }

main.industry .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
main.industry .product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(154, 170, 208, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
main.industry .product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--light-background);
}
main.industry .product-card img.is-icon { object-fit: contain; padding: 24px; }
main.industry .product-card div { padding: 22px; display: flex; flex-direction: column; flex: 1; }
main.industry .product-card h3 { font-size: 18px; font-weight: 800; color: var(--dark-blue); margin-bottom: 8px; }
main.industry .product-card p { flex: 1; }
main.industry .product-card .explore {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 700;
  color: var(--factovize-brand-blue);
}
main.industry .product-card .explore:hover { text-decoration: underline; }

main.industry .final-cta {
  background: linear-gradient(135deg, var(--factovize-brand-blue) 0%, var(--aps-primary-blue) 50%, var(--dark-blue) 100%);
  color: #fff;
  text-align: center;
  padding: 88px 0;
}
main.industry .final-cta .heading-section { color: #fff; margin-bottom: 16px; }
main.industry .final-cta p { max-width: 640px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.95); font-size: 17px; }
main.industry .final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
main.industry .final-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: none;
}
main.industry .final-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

main.industry .energy-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
main.industry .energy-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
main.industry .energy-points li {
  padding: 12px 0 12px 18px;
  border-top: 1px solid rgba(154, 170, 208, 0.4);
  position: relative;
}
main.industry .energy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--factovize-brand-blue);
}
main.industry .kpi-highlight {
  background: var(--dark-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}
main.industry .kpi-highlight .section-label { color: var(--btn-primary); }
main.industry .kpi-highlight h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
main.industry .kpi-formula {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  line-height: 1.45;
}
main.industry .kpi-highlight .kpi-note { margin-top: 14px; color: #d5deea; }

main.industry .capability-list { margin: 12px 0 0; padding-left: 18px; }
main.industry .capability-list li + li { margin-top: 6px; }

main.industry .product-card.is-primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  background: var(--dark-blue);
  border-color: var(--aps-primary-blue);
  color: #fff;
}
main.industry .product-card.is-primary img {
  height: 160px;
  min-height: 0;
  width: 180px;
  background: transparent;
}
main.industry .product-card.is-primary h3 { color: #fff; }
main.industry .product-card.is-primary p,
main.industry .product-card.is-primary .capability-list { color: #d5deea; }
main.industry .product-card.is-primary .explore { color: var(--btn-primary); }
@media (min-width: 1025px) {
  main.industry .product-card.is-primary.has-photo { grid-template-columns: 320px 1fr; }
  main.industry .product-card.is-primary.has-photo img {
    /* width: 320px;
    height: 220px; */
    object-fit: cover;
    padding: 0;
  }
}
main.industry .product-grid.products-three { grid-template-columns: 1fr 1fr 1fr; }

main.industry .priority-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
main.industry .priority-row article {
  background: #fff;
  border: 1px solid rgba(154, 170, 208, 0.4);
  border-radius: 12px;
  padding: 16px 18px;
}
main.industry .priority-row strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 4px;
}
main.industry .energy-title {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #212121;
  margin-bottom: 14px;
}
main.industry .note { margin-top: 12px; color: #3d4d63; }
main.industry .priority-row p { margin: 0; font-size: 14px; }

main.industry .stage-flow {
  list-style: none;
  margin: 16px 0 14px;
  padding: 0;
}
main.industry .stage-flow li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 14px;
}
main.industry .stage-flow li:last-child { padding-bottom: 0; }
main.industry .stage-flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: rgba(22, 96, 167, 0.28);
}
main.industry .stage-flow span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--factovize-brand-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

main.industry .energy-block { margin-top: 24px; }
main.industry .energy-block a.product-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--factovize-brand-blue);
  font-weight: 700;
}
main.industry .energy-block a.product-link:hover { text-decoration: underline; }
main.industry .energy-follow { margin-top: 24px; }

@media (max-width: 1024px) {
  main.industry .heading-hero { font-size: 40px; }
  main.industry .heading-section { font-size: 32px; }
  main.industry .hero-grid,
  main.industry .process-grid,
  main.industry .help-item,
  main.industry .energy-layout,
  main.industry .product-card.is-primary,
  main.industry .product-card.is-primary.has-photo { grid-template-columns: 1fr; }
  main.industry .product-card.is-primary.has-photo img { width: 100%; height: 200px; object-fit: cover; padding: 0; }
  main.industry .card-grid,
  main.industry .card-grid.cols-2,
  main.industry .product-grid { grid-template-columns: repeat(2, 1fr); }
  main.industry .card-grid.center-last { grid-template-columns: repeat(2, 1fr); }
  main.industry .help-grid.equal-cards .product-links { flex-wrap: wrap; }
  main.industry .card-grid.center-last > *,
  main.industry .card-grid.center-last > :nth-child(4),
  main.industry .card-grid.center-last > :nth-child(5) { grid-column: auto; }
  main.industry .card-grid.center-last > :last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 24px) / 2);
  }
  main.industry .hero-figure img { height: 300px; }
}

@media (max-width: 640px) {
  main.industry .section,
  main.industry .hero-section { padding-top: 48px; padding-bottom: 56px; }
  main.industry .heading-hero { font-size: 32px; }
  main.industry .heading-section { font-size: 28px; }
  main.industry .card-grid,
  main.industry .card-grid.cols-2,
  main.industry .card-grid.center-last,
  main.industry .product-grid,
  main.industry .product-grid.products-three,
  main.industry .priority-row { grid-template-columns: 1fr; }
  main.industry .card-grid.center-last > :nth-child(4),
  main.industry .card-grid.center-last > :nth-child(5),
  main.industry .card-grid.center-last > :last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
  main.industry .hero-ctas .btn,
  main.industry .final-cta-actions .btn { width: 100%; }
  main.industry .hero-figure,
  main.industry .hero-figure img { min-height: 220px; height: 240px; }
}
