/* ==========================================================
   Nergyflux | Shared industry product explorer
   Site-wide fonts, colors, header and footer stay in style.css.
   The compact industrial hero follows the Roadmap page design.
   ========================================================== */

.nf-industry-page {
  --nf-og-blue: var(--nf-blue, #0072bc);
  --nf-og-ink: var(--nf-ink, #142d40);
  --nf-og-body: var(--nf-body, #526675);
  --nf-og-line: var(--nf-line, #dce5eb);
  --nf-og-soft: #f3f7f9;
  background: #fff;
  overflow-x: clip;
}

/* Compact, dark industrial-image hero */
.nf-industry-page .nf-og-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 39vh, 440px);
  overflow: hidden;
  padding: clamp(30px, 3vw, 42px) 0;
  background-color: #061a2b;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 15, 27, .96) 0%,
      rgba(3, 15, 27, .88) 33%,
      rgba(3, 15, 27, .56) 61%,
      rgba(3, 15, 27, .20) 100%
    ),
    linear-gradient(0deg, rgba(3, 15, 27, .50), transparent 48%),
    url("../assets/img/ind_ong_hero.webp");
  background-position: center, center, center 48%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.nf-industry-page .nf-og-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle 260px at calc(100% + 30px) -10px,
            transparent 259px, rgba(117,199,243,.18) 260px, transparent 261px),
        radial-gradient(circle 195px at calc(100% + 30px) -10px,
            transparent 194px, rgba(117,199,243,.18) 195px, transparent 196px);
}

.nf-industry-page .nf-og-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 78% 38%, rgba(0, 114, 188, .18), transparent 42%);
  content: "";
  pointer-events: none;
}

.nf-industry-page .nf-og-hero-kicker {
  margin: 0 0 22px;
  color: var(--nf-sky, #67c5ff);
  font-family: var(--nf-font-body, "DM Sans", sans-serif);
  font-size: var(--nf-text-label, .75rem);
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nf-industry-page .nf-og-hero-kicker span {
  padding-inline: 8px;
  color: #7e9aad;
}

.nf-industry-page .nf-og-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: end;
  gap: clamp(38px, 6.2vw, 96px);
}

.nf-industry-page .nf-og-hero-title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--nf-font-heading, "Manrope", sans-serif);
  font-size: var(--nf-heading-1, clamp(2.45rem, 4.4vw, 4rem));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.nf-industry-page .nf-og-hero-title em {
  color: #8bd2fb;
  font-style: normal;
}

.nf-industry-page .nf-og-hero-copy {
  max-width: 590px;
  margin: 0;
  color: rgba(245, 250, 255, .9);
  font-family: var(--nf-font-body, "DM Sans", sans-serif);
  font-size: var(--nf-text-lead, 1.0625rem);
  line-height: 1.75;
}

.nf-industry-page .nf-og-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.nf-industry-page .nf-og-hero-metrics > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.nf-industry-page .nf-og-hero-metrics strong {
  color: #fff;
  font-family: var(--nf-font-heading, "Manrope", sans-serif);
  font-size: var(--nf-heading-compact, clamp(1.3rem, 2vw, 1.55rem));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.nf-industry-page .nf-og-hero-metrics span {
  color: #c3d2df;
  font-family: var(--nf-font-body, "DM Sans", sans-serif);
  font-size: var(--nf-text-xs, .75rem);
  line-height: 1.4;
}

/* Product explorer section directly follows the hero */
.nf-industry-page .nf-og-products-section {
  padding: clamp(38px, 4.5vw, 58px) 0 clamp(48px, 5vw, 68px);
  background: #fff;
}

/* Desktop: keep product navigation and feature panel side by side.
   This base rule is required; media queries below only adjust the columns. */
.nf-industry-page .nf-og-explorer {
  display: grid;
  grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 48px);
}

/* Left-side product navigation */
.nf-industry-page .nf-og-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 8px 0 0;
}

.nf-industry-page .nf-og-sidebar-heading {
  margin: 0 0 19px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--nf-og-line);
}

.nf-industry-page .nf-og-sidebar-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--nf-blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.nf-industry-page .nf-og-sidebar-heading h2 {
  margin: 0;
  color: var(--nf-og-ink);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.nf-industry-page .nf-og-product-nav {
  display: flex;
  flex-direction: column;
}

.nf-industry-page .nf-og-product {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 14px 15px 17px;
  border: 0;
  border-bottom: 1px solid #e5ebef;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #344e60;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease;
}

.nf-industry-page .nf-og-product:hover {
  padding-left: 21px;
  background: #f6f9fb;
  color: var(--nf-og-blue);
}

.nf-industry-page .nf-og-product.is-active {
  border-left-color: var(--nf-og-blue);
  background: #f1f7fb;
  color: var(--nf-og-ink);
  font-weight: 700;
}

.nf-industry-page .nf-og-product:focus-visible {
  z-index: 1;
  outline: 2px solid var(--nf-og-blue);
  outline-offset: 2px;
}

.nf-industry-page .nf-og-trademark {
  position: relative;
  top: -.28em;
  margin-left: 1px;
  font-size: .55em;
  font-weight: 700;
  line-height: 0;
}

.nf-industry-page .nf-og-product-arrow {
  flex: 0 0 auto;
  color: #8b9da8;
  font-size: 1rem;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.nf-industry-page .nf-og-product:hover .nf-og-product-arrow,
.nf-industry-page .nf-og-product.is-active .nf-og-product-arrow {
  color: var(--nf-og-blue);
  opacity: 1;
  transform: translate(0, 0);
}

.nf-industry-page .nf-og-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: #7b8d99;
  font-size: .78rem;
  font-weight: 500;
}

.nf-industry-page .nf-og-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #19a58d;
  box-shadow: 0 0 0 4px rgba(25, 165, 141, .11);
}

/* Large visual panel and overlaid product details card */
.nf-industry-page .nf-og-feature {
  --nf-og-image: url("../assets/img/industry-oil-gas.webp");
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 548px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #dce6ef;
  background-image: var(--nf-og-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 14px 36px rgba(22, 48, 66, .08);
  transition: background-image .25s ease;
}

.nf-industry-page .nf-og-feature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 28, 43, .25), rgba(10, 31, 48, .05) 78%);
  content: "";
}

.nf-industry-page .nf-og-feature-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 24, 39, .22), transparent 46%);
  pointer-events: none;
}

.nf-industry-page .nf-og-info-card {
  position: relative;
  width: min(470px, 66%);
  min-height: 350px;
  margin: 58px 0 58px clamp(32px, 7.5%, 86px);
  padding: clamp(28px, 3.3vw, 44px);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 48px rgba(10, 31, 47, .13);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

.nf-industry-page .nf-og-info-card.is-updating {
  opacity: .25;
  transform: translateY(5px);
}

.nf-industry-page .nf-og-card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: var(--nf-og-blue);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.nf-industry-page .nf-og-card-kicker [data-product-sequence] {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e8f3fa;
  color: var(--nf-og-blue);
  font-size: .68rem;
  letter-spacing: 0;
}

.nf-industry-page .nf-og-card-kicker > span:nth-child(2) { color: #b3c0c8; }

.nf-industry-page .nf-og-info-card h2 {
  margin: 0 0 15px;
  color: #102a3c;
  font-size: clamp(1.65rem, 2.3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.18;
}

.nf-industry-page .nf-og-product-logo-wrap {
  display: flex;
  min-height: 42px;
  align-items: center;
  margin: 0 0 13px;
}

.nf-industry-page .nf-og-product-logo {
  display: block;
  width: auto;
  max-width: min(100%, 270px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.nf-industry-page .nf-og-product-description {
  margin: 0;
  color: #41596a;
  font-size: .97rem;
  line-height: 1.65;
}

.nf-industry-page .nf-og-capabilities-wrap { margin-top: 23px; }

.nf-industry-page .nf-og-capabilities-label {
  margin: 0 0 9px;
  color: #8495a0;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.nf-industry-page .nf-og-capabilities {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-industry-page .nf-og-capabilities li {
  position: relative;
  padding-left: 17px;
  color: #40596a;
  font-size: .86rem;
  line-height: 1.45;
}

.nf-industry-page .nf-og-capabilities li::before {
  position: absolute;
  top: .54em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nf-og-blue);
  content: "";
}

.nf-industry-page .nf-og-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--nf-og-blue);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none;
}

.nf-industry-page .nf-og-detail-link span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(0, 114, 188, .3);
  border-radius: 50%;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.nf-industry-page .nf-og-detail-link:hover { color: var(--nf-og-ink); }
.nf-industry-page .nf-og-detail-link:hover span {
  transform: translateX(3px);
  background: var(--nf-og-blue);
  color: #fff;
}

.nf-industry-page .nf-og-detail-link:focus-visible {
  outline: 2px solid var(--nf-og-blue);
  outline-offset: 5px;
}

.nf-industry-page .nf-og-image-credit {
  position: absolute;
  right: 17px;
  bottom: 14px;
  color: rgba(255, 255, 255, .88);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-shadow: 0 1px 7px rgba(0, 0, 0, .45);
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .nf-industry-page .nf-og-hero { background-position: center, center, 61% center; }
  .nf-industry-page .nf-og-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 34px; }
  .nf-industry-page .nf-og-explorer { grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); gap: 24px; }
  .nf-industry-page .nf-og-feature { min-height: 520px; }
  .nf-industry-page .nf-og-info-card { width: min(430px, 77%); margin-left: 5.5%; padding: 30px; }
}

@media (max-width: 991.98px) {
  .nf-industry-page .nf-og-hero { min-height: 0; }
  .nf-industry-page .nf-og-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .nf-industry-page .nf-og-hero-kicker { margin-bottom: 17px; }
  .nf-industry-page .nf-og-hero-copy { max-width: 760px; }
}

@media (max-width: 767.98px) {
  .nf-industry-page .nf-og-hero {
    padding: 38px 0;
    background-image:
      linear-gradient(90deg, rgba(3, 15, 27, .93) 0%, rgba(3, 15, 27, .78) 52%, rgba(3, 15, 27, .43) 100%),
      linear-gradient(0deg, rgba(3, 15, 27, .38), transparent 60%),
      url("../assets/img/ind_ong_hero.webp");
    background-position: center, center, 60% center;
  }
  .nf-industry-page .nf-og-hero-title { font-size: var(--nf-heading-1, clamp(2.15rem, 8.3vw, 3.1rem)); }
  .nf-industry-page .nf-og-hero-copy { font-size: var(--nf-text-lead, 1rem); line-height: 1.65; }
  .nf-industry-page .nf-og-hero-metrics { margin-top: 20px; padding-top: 14px; gap: 9px; }
  .nf-industry-page .nf-og-hero-metrics span { font-size: .7rem; }
  .nf-industry-page .nf-og-products-section { padding-top: 30px; }
  .nf-industry-page .nf-og-explorer { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nf-industry-page .nf-og-sidebar { padding-top: 0; }
  .nf-industry-page .nf-og-sidebar-heading { margin-bottom: 10px; padding-bottom: 12px; }
  .nf-industry-page .nf-og-sidebar-heading h2 { font-size: 1.35rem; }
  .nf-industry-page .nf-og-sidebar-kicker { margin-bottom: 4px; }
  .nf-industry-page .nf-og-product-nav {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .nf-industry-page .nf-og-product {
    width: auto;
    min-width: max-content;
    min-height: 42px;
    justify-content: center;
    gap: 5px;
    padding: 10px 13px;
    border: 1px solid var(--nf-og-line);
    border-left: 1px solid var(--nf-og-line);
    border-radius: 4px;
    background: #fff;
    font-size: .84rem;
  }
  .nf-industry-page .nf-og-product:hover { padding-left: 13px; }
  .nf-industry-page .nf-og-product.is-active {
    border-color: var(--nf-og-blue);
    background: #eef6fb;
    color: var(--nf-og-blue-dark, #005b98);
  }
  .nf-industry-page .nf-og-product-arrow { display: none; }
  .nf-industry-page .nf-og-sidebar-footer { display: none; }
  .nf-industry-page .nf-og-feature { min-height: 565px; background-position: center; }
  .nf-industry-page .nf-og-info-card {
    width: calc(100% - 28px);
    min-height: 0;
    margin: 28px 14px 48px;
    padding: 27px 25px;
  }
  .nf-industry-page .nf-og-info-card h2 { font-size: 1.8rem; }
  .nf-industry-page .nf-og-product-logo-wrap {
  display: flex;
  min-height: 52px;
  align-items: center;
  margin: 0 0 13px;
}

.nf-industry-page .nf-og-product-logo {
  display: block;
  width: auto;
  max-width: min(100%, 270px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nf-industry-page .nf-og-product-description { font-size: .93rem; }
  .nf-industry-page .nf-og-image-credit { right: 13px; bottom: 10px; font-size: .58rem; }
}

@media (max-width: 420px) {
  .nf-industry-page .nf-og-feature { min-height: 600px; }
  .nf-industry-page .nf-og-info-card { padding: 23px 20px; }
  .nf-industry-page .nf-og-detail-link { font-size: .73rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-industry-page .nf-og-product,
  .nf-industry-page .nf-og-product-arrow,
  .nf-industry-page .nf-og-info-card,
  .nf-industry-page .nf-og-detail-link span { transition: none !important; }
}

/* Industry-specific hero imagery; shared layout and typography remain above. */
.nf-industry-page[data-industry="power"] .nf-og-hero { --nf-industry-hero: url("../assets/img/ind_util_hero.webp"); }
.nf-industry-page[data-industry="manufacturing"] .nf-og-hero { --nf-industry-hero: url("../assets/img/ind_mfg_hero.webp"); }
.nf-industry-page[data-industry="sustainability"] .nf-og-hero { --nf-industry-hero: url("../assets/img/ind_sustain_hero.webp"); }
.nf-industry-page[data-industry]:not([data-industry="oil-gas"]) .nf-og-hero {
  background-image: linear-gradient(90deg,rgba(3,15,27,.96) 0%,rgba(3,15,27,.88) 33%,rgba(3,15,27,.56) 61%,rgba(3,15,27,.20) 100%),linear-gradient(0deg,rgba(3,15,27,.50),transparent 48%),var(--nf-industry-hero);
}
@media(max-width:767.98px){.nf-industry-page[data-industry]:not([data-industry="oil-gas"]) .nf-og-hero{background-image:linear-gradient(90deg,rgba(3,15,27,.93) 0%,rgba(3,15,27,.78) 52%,rgba(3,15,27,.43) 100%),linear-gradient(0deg,rgba(3,15,27,.38),transparent 60%),var(--nf-industry-hero);}}


/* Industry hero: solid navy background with Case Studies circular decoration */
.nf-industry-page.nf-og-page[data-industry] .nf-og-hero {
    background-color: #03111d;
    /* background-image: linear-gradient(115deg, #03111d 0%, #061a2b 100%);*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.nf-industry-page.nf-og-page[data-industry] .nf-og-hero::before,
.nf-industry-page.nf-og-page[data-industry] .nf-og-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(117,199,243,.18);
    border-radius: 50%;
    pointer-events: none;
    background: none;
}

.nf-industry-page.nf-og-page[data-industry] .nf-og-hero::before {
    width: 520px;
    height: 520px;
    right: -230px;
    top: -270px;
    inset: -270px -230px auto auto;
}

.nf-industry-page.nf-og-page[data-industry] .nf-og-hero::after {
    width: 390px;
    height: 390px;
    right: -165px;
    top: -205px;
    inset: -205px -165px auto auto;
}

@media (max-width: 767.98px) {

  /* Hide the industrial background image on mobile */
  .nf-industry-page.nf-og-page[data-industry] .nf-og-hero {
    background-image: linear-gradient(115deg, #03111d 0%, #061a2b 100%);
  }

  /* Smaller outer decorative circle at top-right */
  .nf-industry-page.nf-og-page[data-industry] .nf-og-hero::before {
    width: 190px;
    height: 190px;
    inset: -100px -85px auto auto;
  }

  /* Smaller inner decorative circle */
  .nf-industry-page.nf-og-page[data-industry] .nf-og-hero::after {
    width: 135px;
    height: 135px;
    inset: -72px -58px auto auto;
  }

}