
/* =========================================================
   ioriX — SOLUTIONS PAGE
   Scoped styles to avoid conflicts with other pages
   ========================================================= */

.solutions-page {
  --solutions-black: #050505;
  --solutions-white: #fff;
  --solutions-muted: rgba(255, 255, 255, 0.7);
  --solutions-line: rgba(255, 255, 255, 0.2);
  --solutions-gutter: clamp(24px, 8vw, 128px);

  color: var(--solutions-white);
  background: var(--solutions-black);
  overflow: clip;
}

.solutions-page *,
.solutions-page *::before,
.solutions-page *::after {
  box-sizing: border-box;
}

.solutions-page a {
  color: inherit;
  text-decoration: none;
}

.solutions-page section {
  position: relative;
  isolation: isolate;
}

/* =========================================================
   BACKGROUNDS AND OVERLAYS
   ========================================================= */

.solutions-background,
.solution-feature-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #111;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform 1.2s ease;
}

.solutions-hero:hover .solutions-background,
.solution-feature:hover .solution-feature-background {
  transform: scale(1.025);
}

.solutions-background-hero {
  background-image: url("../media/Image7.jpeg");
}

.solution-background-operator {
  background-image: url("../media/photo5.jpeg");
}

.solution-background-transport {
  background-image: url("../media/Image6.jpeg");
}

.solution-background-industrial {
  background-image: url("../media/Image7.jpeg");
}

.solutions-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.48) 50%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 75%
    );
}

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

.solutions-hero {
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px var(--solutions-gutter) 110px;
  background: var(--solutions-black);
  overflow: hidden;
}

.solutions-content {
  width: min(100%, 1000px);
}

.solutions-eyebrow {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.solutions-heading {
  margin: 0 0 28px;
  font-size: clamp(3.2rem, 7.4vw, 7.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  text-wrap: balance;
}

.solutions-heading span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
}

.solutions-description {
  max-width: 610px;
  margin: 0;
  color: var(--solutions-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.9;
}

.solutions-scroll {
  position: absolute;
  right: var(--solutions-gutter);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.solutions-scroll span {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   BUTTON
   ========================================================= */

.solutions-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  margin-top: 28px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--solutions-white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.solutions-button:hover {
  border-color: var(--solutions-white);
  color: var(--solutions-black);
  background: var(--solutions-white);
}

.solutions-button span:last-child {
  font-size: 17px;
  transition: transform 220ms ease;
}

.solutions-button:hover span:last-child {
  transform: translate(3px, -2px);
}

/* =========================================================
   FEATURE SECTIONS
   ========================================================= */

.solution-feature {
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  min-height: 92svh;
  padding: 130px var(--solutions-gutter) 100px;
  overflow: hidden;
  background: #080808;
}

.solution-feature-content {
  width: min(100%, 760px);
}

.solution-feature .solutions-heading {
  font-size: clamp(3rem, 6.4vw, 6.2rem);
}

.solution-feature .solutions-description {
  max-width: 590px;
}

.solutions-index {
  position: absolute;
  right: var(--solutions-gutter);
  bottom: 38px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* =========================================================
   APPROACH SECTION
   ========================================================= */

.solutions-approach {
  padding: clamp(85px, 11vw, 155px) var(--solutions-gutter);
  background: #080808;
}

.solutions-approach-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.solutions-section-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--solutions-line);
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.15em;
}

.solutions-approach-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 9%;
  padding-top: 85px;
}

.solutions-approach-grid h2 {
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.solutions-approach-grid h2 span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
}

.solutions-approach-copy {
  padding-top: 5px;
}

.solutions-approach-copy p {
  margin: 0 0 20px;
  color: var(--solutions-muted);
  font-size: 14px;
  line-height: 1.9;
}

.solutions-approach-copy .solutions-approach-lead {
  margin-bottom: 24px;
  color: var(--solutions-white);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

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

.solutions-contact {
  padding: clamp(90px, 12vw, 165px) var(--solutions-gutter);
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.solutions-contact-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.solutions-contact .solutions-heading {
  font-size: clamp(3rem, 7vw, 7rem);
}

.solutions-contact .solutions-description {
  max-width: 570px;
}

/* =========================================================
   EXISTING SITE FOOTER — LOCAL ADJUSTMENTS
   ========================================================= */

.solutions-page + .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--solutions-gutter);
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.solutions-page + .footer .footer__text,
.solutions-page + .footer .footer__list__link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  letter-spacing: 0.08em;
}

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

@media (max-width: 900px) {
  .solutions-page {
    --solutions-gutter: 6%;
  }

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

  .solution-feature {
    min-height: 82vh;
    min-height: 82svh;
  }

  .solutions-approach-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 60px;
  }
}

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

@media (max-width: 600px) {
  .solutions-page {
    --solutions-gutter: 6%;
  }

  .solutions-hero {
    min-height: 100svh;
    padding-top: 120px;
    padding-bottom: 90px;
  }

  .solutions-heading {
    font-size: clamp(2.7rem, 10.5vw, 4.5rem);
    line-height: 0.98;
  }

  .solutions-eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .solutions-description {
    font-size: 13px;
    line-height: 1.85;
  }

  .solutions-button {
    gap: 18px;
    max-width: 100%;
    margin-top: 22px;
    padding: 14px;
    font-size: 9px;
  }

  .solutions-scroll {
    right: 6%;
    bottom: 26px;
    font-size: 8px;
  }

  .solution-feature {
    min-height: 85svh;
    padding: 120px 6% 85px;
  }

  .solution-feature .solutions-heading {
    font-size: clamp(2.6rem, 9.5vw, 4.2rem);
  }

  .solutions-index {
    right: 6%;
    bottom: 25px;
    font-size: 9px;
  }

  .solutions-section-label {
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
  }

  .solutions-approach {
    padding: 80px 6%;
  }

  .solutions-approach-grid {
    gap: 30px;
    padding-top: 50px;
  }

  .solutions-approach-grid h2 {
    font-size: clamp(2.8rem, 10vw, 4.2rem);
  }

  .solutions-approach-copy p {
    font-size: 13px;
  }

  .solutions-contact {
    padding: 85px 6%;
  }

  .solutions-contact .solutions-heading {
    font-size: clamp(2.6rem, 9.5vw, 4.2rem);
  }

  .solutions-page + .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 6%;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .solutions-page *,
  .solutions-page *::before,
  .solutions-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
