/* =========================================================
   AURENGIS — INDUSTRIES
========================================================= */

:root {
  --industries-bg: #061521;
  --industries-bg-deep: #04111b;

  --industries-panel: rgba(255, 255, 255, 0.026);

  --industries-border: rgba(213, 157, 68, 0.34);

  --industries-text: #f4f2ec;

  --industries-muted: rgba(232, 237, 239, 0.77);

  --industries-gold: #d9a24c;
}


/* =========================================================
   HERO
========================================================= */

.industries-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #05131f;
}

.industries-hero-media {
  position: absolute;
  inset: 0;
}

.industries-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.industries-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(2, 10, 17, 0.13) 0%,
      rgba(3, 12, 20, 0.12) 38%,
      rgba(3, 13, 21, 0.70) 76%,
      rgba(3, 13, 21, 0.97) 100%
    );
}

.industries-hero-content {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 100px), 1250px);

  margin-inline: auto;

  padding-top: 315px;

  text-align: center;
}

.industries-hero h1 {
  margin: 0;

  color: white;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(54px, 5.3vw, 78px);
  font-weight: 400;

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.industries-hero h1 span {
  display: block;
}

.industries-accent {
  color: var(--industries-gold);
}

.industries-hero-content > p {
  max-width: 850px;

  margin: 22px auto 0;

  color: rgba(255, 255, 255, 0.88);

  font-size: 18px;
  line-height: 1.65;
}

.industries-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  margin-top: 28px;
}


/* =========================================================
   MAIN
========================================================= */

.industries-main-section {
  padding: 36px 0 46px;

  color: var(--industries-text);

  background:
    radial-gradient(
      circle at 50% 0%,
      #0a2231 0%,
      #061622 38%,
      #04111b 100%
    );
}

.industries-container {
  width: min(calc(100% - 70px), 1480px);
  margin-inline: auto;
}

.industries-main-section h2 {
  margin: 0 0 18px;

  color: white;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;

  letter-spacing: -0.03em;
}


/* =========================================================
   INDUSTRIES WE SERVE
========================================================= */

.industry-showcase-grid {
  display: grid;

  grid-template-columns:
    repeat(8, minmax(0, 1fr));

  gap: 10px;
}

.industry-showcase-card {
  min-width: 0;

  overflow: hidden;

  background: rgba(5, 19, 30, 0.78);

  border: 1px solid var(--industries-border);

  border-radius: 6px;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.industry-showcase-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(221, 166, 78, 0.72);

  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   CARD IMAGES
========================================================= */

.industry-photo-placeholder {
  position: relative;

  height: 145px;

  overflow: hidden;

  background-color: #10202b;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.08);
}

.industry-photo-placeholder::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(2, 11, 18, 0.03) 0%,
      rgba(2, 11, 18, 0.05) 52%,
      rgba(2, 11, 18, 0.34) 100%
    );

  pointer-events: none;
}


/* =========================================================
   INDIVIDUAL INDUSTRY IMAGES
========================================================= */

.industry-photo-placeholder.logistics {
  background-image:
    url("../assets/images/industries/cards/logistics.png");

  background-position: center 54%;
}

.industry-photo-placeholder.manufacturing {
  background-image:
    url("../assets/images/industries/cards/manufacturing.png");

  background-position: center;
}

.industry-photo-placeholder.agriculture {
  background-image:
    url("../assets/images/industries/cards/agriculture.png");

  background-position: center 57%;
}

.industry-photo-placeholder.hospitality {
  background-image:
    url("../assets/images/industries/cards/hospitality.png");

  background-position: center 48%;
}

.industry-photo-placeholder.construction {
  background-image:
    url("../assets/images/industries/cards/construction.png");

  background-position: center 48%;
}

.industry-photo-placeholder.field {
  background-image:
    url("../assets/images/industries/cards/field-services.png");

  background-position: center 45%;
}

.industry-photo-placeholder.energy {
  background-image:
    url("../assets/images/industries/cards/energy.png");

  background-position: center 50%;
}

.industry-photo-placeholder.professional {
  background-image:
    url("../assets/images/industries/cards/professional-operations.png");

  background-position: center 44%;
}


/* =========================================================
   INDUSTRY CARD CONTENT
========================================================= */

.industry-showcase-body {
  padding: 17px 13px 18px;
}

.industry-icon,
.challenge-icon,
.why-icon {
  color: var(--industries-gold);
}

.industry-icon {
  min-height: 33px;

  font-size: 27px;
}

.industry-showcase-card h3 {
  min-height: 47px;

  margin: 7px 0 0;

  color: white;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17px;
  font-weight: 400;

  line-height: 1.23;
}

.industry-showcase-card p {
  margin: 8px 0 0;

  color: var(--industries-muted);

  font-size: 12px;

  line-height: 1.55;
}


/* =========================================================
   SUBSECTIONS
========================================================= */

.industry-subsection {
  margin-top: 32px;
}


/* =========================================================
   CHALLENGES
========================================================= */

.challenge-grid {
  display: grid;

  grid-template-columns:
    repeat(8, minmax(0, 1fr));

  gap: 10px;
}

.challenge-grid article {
  min-height: 180px;

  padding: 16px 12px;

  background:
    var(--industries-panel);

  border:
    1px solid var(--industries-border);

  border-radius: 5px;

  text-align: center;
}

.challenge-icon {
  font-size: 36px;
}

.challenge-grid h3 {
  margin: 10px 0 0;

  color: white;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 16px;
  font-weight: 400;

  line-height: 1.15;
}

.challenge-grid p {
  margin: 9px 0 0;

  color: var(--industries-muted);

  font-size: 11px;
  line-height: 1.45;
}


/* =========================================================
   WHERE AURENGIS FITS
========================================================= */

.fit-grid {
  display: grid;

  grid-template-columns:
    repeat(8, minmax(0, 1fr));

  gap: 10px;
}

.fit-grid article {
  padding: 14px 12px 15px;

  background:
    rgba(4, 17, 27, 0.67);

  border:
    1px solid var(--industries-border);

  border-radius: 5px;
}

.fit-grid h3 {
  min-height: 43px;

  margin: 6px 0 8px;

  color: white;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 15px;
  font-weight: 400;

  line-height: 1.15;
}

.fit-grid ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.fit-grid li {
  position: relative;

  margin-top: 5px;

  padding-left: 15px;

  color: var(--industries-muted);

  font-size: 10px;
  line-height: 1.4;
}

.fit-grid li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 5px;

  width: 6px;
  height: 6px;

  border:
    1px solid
    var(--industries-gold);

  border-radius: 50%;
}


/* =========================================================
   WHY INDUSTRIES CHOOSE AURENGIS
========================================================= */

.why-grid {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 10px;
}

.why-grid article {
  min-height: 125px;

  display: grid;

  grid-template-columns:
    58px 1fr;

  align-items: center;

  gap: 13px;

  padding: 17px;

  background:
    rgba(5, 19, 30, 0.65);

  border:
    1px solid var(--industries-border);

  border-radius: 5px;
}

.why-icon {
  font-size: 43px;

  text-align: center;
}

.why-grid h3 {
  margin: 0;

  color: white;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 16px;
  font-weight: 400;
}

.why-grid p {
  margin: 6px 0 0;

  color: var(--industries-muted);

  font-size: 11px;
  line-height: 1.45;
}


/* =========================================================
   FINAL CTA
========================================================= */

.industries-cta {
  margin-top: 24px;

  min-height: 150px;

  display: grid;

  grid-template-columns:
    150px 1fr auto;

  align-items: center;

  gap: 28px;

  padding: 20px 28px;

  background:
    linear-gradient(
      135deg,
      rgba(8, 29, 44, 0.95),
      rgba(6, 21, 33, 0.95)
    );

  border:
    1px solid var(--industries-border);

  border-radius: 6px;
}

.industries-cta-symbol {
  color: var(--industries-gold);

  font-size: 80px;

  text-align: center;
}

.industries-cta-copy h2 {
  margin: 0;

  font-size: 27px;
}

.industries-cta-copy p {
  max-width: 760px;

  margin: 8px 0 0;

  color: var(--industries-muted);

  font-size: 14px;
  line-height: 1.55;
}

.industries-cta-actions {
  display: flex;

  flex-direction: column;

  align-items: stretch;

  gap: 12px;
}

.industries-text-link {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 22px;

  color: var(--industries-gold);

  font-size: 14px;
}


/* =========================================================
   ACTIVE NAVIGATION
========================================================= */

.desktop-nav .active {
  color: white;
}

.desktop-nav .active::after {
  width: 100%;

  background:
    var(--industries-gold);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

  .industry-showcase-grid,
  .challenge-grid,
  .fit-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .why-grid article:last-child {
    grid-column: 1 / -1;
  }

}


@media (max-width: 900px) {

  .industries-hero {
    min-height: 570px;
  }

  .industries-hero-content {
    width: calc(100% - 50px);

    padding-top: 280px;
  }

  .industries-container {
    width: calc(100% - 40px);
  }

  .industries-hero-actions {
    flex-wrap: wrap;
  }

  .industries-cta {
    grid-template-columns:
      110px 1fr;
  }

  .industries-cta-actions {
    grid-column: 1 / -1;

    flex-direction: row;

    justify-content: center;
  }

}


@media (max-width: 700px) {

  .industries-hero {
    min-height: 620px;
  }

  .industries-hero-content {
    width: calc(100% - 32px);

    padding-top: 300px;
  }

  .industries-hero h1 {
    font-size:
      clamp(42px, 11vw, 55px);
  }

  .industries-hero-content > p {
    font-size: 16px;
  }

  .industries-hero-actions {
    display: grid;

    grid-template-columns: 1fr;

    width: 100%;
  }

  .industries-main-section {
    padding-top: 28px;
  }

  .industries-container {
    width: calc(100% - 28px);
  }

  .industry-showcase-grid,
  .challenge-grid,
  .fit-grid,
  .why-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .why-grid article,
  .why-grid article:last-child {
    grid-column: auto;

    grid-template-columns: 1fr;

    text-align: center;
  }

  .industry-photo-placeholder {
    height: 150px;
  }

  .industries-cta {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .industries-cta-symbol {
    font-size: 60px;
  }

  .industries-cta-actions {
    grid-column: auto;

    flex-direction: column;
  }

}


@media (max-width: 470px) {

  .industry-showcase-grid,
  .challenge-grid,
  .fit-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .industry-showcase-card h3,
  .fit-grid h3 {
    min-height: 0;
  }

  .industry-photo-placeholder {
    height: 190px;
  }

}
