/* =========================================================
   AURENGIS — SOLUTIONS
========================================================= */

:root {
  --solutions-bg: #061521;
  --solutions-bg-deep: #04111b;
  --solutions-panel: rgba(255, 255, 255, 0.035);

  --solutions-border: rgba(255, 255, 255, 0.14);

  --solutions-text: #f3f3ef;
  --solutions-muted: rgba(235, 239, 241, 0.78);

  --solutions-gold: #dda64e;
}

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

.solutions-hero {
  position: relative;

  min-height: 610px;

  overflow: hidden;

  background: var(--solutions-bg-deep);
}

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

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

.solutions-hero-image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

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

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

  background:
    linear-gradient(
      90deg,
      rgba(3, 12, 19, 0.94) 0%,
      rgba(4, 14, 22, 0.83) 32%,
      rgba(5, 15, 23, 0.54) 56%,
      rgba(5, 14, 21, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 9, 15, 0.28) 0%,
      rgba(2, 9, 15, 0.04) 48%,
      rgba(2, 9, 15, 0.37) 100%
    );
}

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

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

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

  margin-inline: auto;

  padding-top: 160px;
}

.solutions-kicker {
  margin: 0 0 15px;

  color: var(--solutions-gold);

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.solutions-hero h1 {
  max-width: 680px;

  margin: 0;

  color: white;

  font-size: clamp(48px, 5vw, 76px);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.solutions-hero-description {
  max-width: 650px;

  margin: 27px 0 0;

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

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

/* =========================================================
   COMMON SECTION CONTAINER
========================================================= */

.solutions-container {
  width: min(calc(100% - 120px), 1400px);

  margin-inline: auto;
}

/* =========================================================
   SOLUTIONS OVERVIEW
========================================================= */

.solutions-overview {
  padding: 58px 0 64px;

  color: var(--solutions-text);

  background:
    linear-gradient(
      135deg,
      #061621 0%,
      #071925 55%,
      #05141f 100%
    );
}

.solutions-section-heading {
  max-width: 950px;

  margin-bottom: 36px;
}

.solutions-section-heading h2,
.results-heading h2 {
  margin: 0;

  color: white;

  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.solutions-section-heading > p:last-child {
  max-width: 920px;

  margin: 18px 0 0;

  color: var(--solutions-muted);

  font-size: 16px;
  line-height: 1.7;
}

/* =========================================================
   GRID
========================================================= */

.solutions-grid {
  display: grid;

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

  gap: 28px;
}

/* =========================================================
   SOLUTION CARD
========================================================= */

.solution-card {
  min-height: 315px;

  display: flex;
  flex-direction: column;

  padding: 34px 34px 30px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    );

  border: 1px solid var(--solutions-border);
  border-radius: 7px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025);

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.solution-card:hover {
  transform: translateY(-3px);

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

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.025)
    );
}

.solution-card-icon {
  min-height: 65px;

  display: flex;
  align-items: center;

  color: var(--solutions-gold);

  font-size: 52px;
  font-weight: 300;
}

.solution-card h3 {
  margin: 22px 0 0;

  color: white;

  font-size: 21px;
  font-weight: 500;
}

.solution-card p {
  margin: 16px 0 0;

  color: var(--solutions-muted);

  font-size: 15px;
  line-height: 1.6;
}

.solution-card a {
  display: inline-flex;
  align-items: center;

  gap: 14px;

  width: fit-content;

  margin-top: auto;
  padding-top: 25px;

  color: var(--solutions-gold);

  font-size: 15px;
}

.solution-card a span {
  font-size: 20px;

  transition: transform 180ms ease;
}

.solution-card a:hover span {
  transform: translateX(4px);
}

/* =========================================================
   RESULTS
========================================================= */

.solutions-results {
  padding: 34px 0 52px;

  color: var(--solutions-text);

  background:
    linear-gradient(
      180deg,
      #061521 0%,
      #05131e 100%
    );

  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.results-heading {
  margin-bottom: 34px;
}

/* =========================================================
   RESULT GRID
========================================================= */

.results-grid {
  display: grid;

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

.result-item {
  min-height: 160px;

  padding: 0 28px;

  text-align: center;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.13);
}

.result-item:first-child {
  padding-left: 0;
}

.result-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.result-icon {
  color: var(--solutions-gold);

  font-size: 46px;
  line-height: 1;
}

.result-item h3 {
  margin: 18px 0 0;

  color: white;

  font-size: 17px;
  font-weight: 500;
}

.result-item p {
  margin: 10px auto 0;

  max-width: 190px;

  color: var(--solutions-muted);

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

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

.solutions-final-cta {
  margin-top: 48px;

  text-align: center;
}

.solutions-final-cta h2 {
  margin: 0 0 18px;

  color: white;

  font-size: 21px;
  font-weight: 500;
}

.solutions-cta-button {
  min-width: 250px;
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 34px;

  padding: 0 25px;

  color: white;

  background:
    linear-gradient(
      135deg,
      #d8aa64,
      #b98547
    );

  border-radius: 4px;

  font-size: 15px;

  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.solutions-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* =========================================================
   ACTIVE HEADER LINK
========================================================= */

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

.desktop-nav .active::after {
  width: 100%;
  background: var(--solutions-gold);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

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

  .solutions-hero-content,
  .solutions-container {
    width: min(calc(100% - 60px), 1400px);
  }

  .solutions-hero-content {
    padding-top: 135px;
  }

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

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

    gap: 0;
  }

  .result-item {
    border-right: 0;
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.10);

    padding: 30px 20px;
  }

  .result-item:last-child {
    grid-column: 1 / -1;

    border-bottom: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .solutions-hero {
    min-height: 590px;
  }

  .solutions-hero-image {
    object-position: 62% center;
  }

  .solutions-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 12, 19, 0.38) 0%,
        rgba(3, 12, 19, 0.46) 30%,
        rgba(3, 12, 19, 0.95) 100%
      );
  }

  .solutions-hero-content,
  .solutions-container {
    width: calc(100% - 36px);
  }

  .solutions-hero-content {
    padding-top: 270px;
  }

  .solutions-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .solutions-hero-description {
    font-size: 16px;
  }

  .solutions-overview {
    padding-top: 42px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 280px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-item,
  .result-item:last-child {
    grid-column: auto;

    padding: 28px 0;

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

  .result-item:last-child {
    border-bottom: 0;
  }
}
