/* ==========================================================================
   SOLUTIONS PAGE - NEW DESIGN (VANILLA CSS)
   ========================================================================== */

:root {
  --solutions-slider-height-lg: 500px;
  --solutions-slider-height-md: 380px;
  --solutions-slider-height-sm: 300px;
  --solutions-slider-height-xs: 205px;
  --sol-text-max-width: 590px;
}

.solutions-page {
  background-color: #0d1519;
  color: #f9f9f9;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 300;
}

/* ====================
   HERO SLIDER SECTION
   ==================== */

.meco-slider-section {
  position: relative;
  width: 100%;
  background-color: #0d1519;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 77px var(--meco-container-px-1220) 0 var(--meco-container-px-1220);
}

.meco-slider-container {
  position: relative;
  width: 100%;
  height: var(--solutions-slider-height-lg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);
  max-width: 1220px;
  margin: 0 auto;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079, 1079px);
    height: var(--solutions-slider-height-md);
  }

  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640, 640px);
    height: var(--solutions-slider-height-sm);
  }
  @media (max-width: 479px) {
    max-width: var(--meco-container-399, 399px);
    height: var(--solutions-slider-height-xs);
  }
}

.meco-slider-image-w.meco-product-label-info {
  bottom: 0;
}

.meco-product-info a {
  transition: 0.3s;
  cursor: pointer;
  width: fit-content;
}

.meco-product-info a:hover {
  color: #6ec1e4;
}

.meco-product-info {
  bottom: 20px;
  left: 32px;
}

.meco-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #252525);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.meco-product:hover .meco-image-overlay {
  opacity: 0.7;
}

.meco-devices:hover {
  box-shadow: 0px 0 16px 0px #ffffff !important;
}

.meco-slider-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.meco-slider-img-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

.meco-slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out;
}
 .meco-slider-img-link.active {
  opacity: 1;
}



.meco-slider-subtitle {
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  letter-spacing: 0;
  color: #f9f9f9;
  text-transform: uppercase;
  position: absolute;
  bottom: 68px;
  left: 40px;
  margin: 0;
  z-index: 10;
}

/* ====================
   IMAGE-BASED SLIDER INDICATORS
   ==================== */

.meco-slider-indicators {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.meco-indicator-bar {
  flex: 1;
  height: 8px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.meco-indicator-bar img {
  position: absolute;
  left: 0;
  width: 100%;
  object-fit: cover;
  /* Forces the SVG to stretch to full width */
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.meco-bar-inactive {
  height: 4px;
  opacity: 1;
  z-index: 1;
}

.meco-bar-active {
  height: 4px;
  opacity: 0;
  z-index: 2;
}

.meco-bar-hover {
  height: 8px;
  opacity: 0;
  z-index: 3;
}

/* Active State */
.meco-indicator-bar.active .meco-bar-active {
  opacity: 1;
}

.meco-indicator-bar.active .meco-bar-inactive {
  opacity: 0;
}

/* Hover State - Replaces other images instead of overlapping */
.meco-indicator-bar:hover .meco-bar-hover {
  opacity: 1;
}

.meco-indicator-bar:hover .meco-bar-active,
.meco-indicator-bar:hover .meco-bar-inactive {
  opacity: 0;
}

/* ====================
   MEDIA QUERIES
   ==================== */

@media (max-width: 1279px) and (min-width: 1080px) {
  .meco-slider-section {
    padding: 76px var(--meco-container-px-1079) 0 var(--meco-container-px-1079);
  }

  .meco-slider-subtitle {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (max-width: 1079px) and (min-width: 480px) {
  .meco-slider-section {
    padding: 77px var(--meco-container-px-640) 0 var(--meco-container-px-640);
  }

  .meco-slider-subtitle {
    font-size: 20px;
    line-height: 24px;
    bottom: 50px;
    left: 20px;
    right: 20px;
  }

  .meco-slider-indicators {
    bottom: 30px;
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 479px) {
  .meco-slider-section {
    padding: 77px var(--meco-container-px-399) 0 var(--meco-container-px-399);
  }

  .meco-slider-subtitle {
    font-size: 20px;
    line-height: 24px;
    bottom: 50px;
    left: 20px;
    right: 20px;
  }

  .meco-slider-indicators {
    bottom: 30px;
    left: 20px;
    right: 20px;
  }
}

.solutions-page {
  background-color: #0d1519;
  color: #f9f9f9;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 300;
}

/* ----- Shared Container (matches meco-container-1220 from home.css) ----- */
.sol-container {
  max-width: var(--meco-container-1220);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.sol-container::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #f9f9f9;
  opacity: 20%;
  max-width: 1220px;
  width: 100%;
  bottom: -100px;
}
.sol-hero  {
  padding-bottom: 0 !important;
}
.sol-hero .sol-container::before {
  display: none;
}

/* ----- Shared Section Padding ----- */
.sol-section {
  padding: 100px var(--meco-container-px-1220) 100px
    var(--meco-container-px-1220);
}

/* =============================================
   HERO SECTION
   ============================================= */
.sol-hero__group {
  @media screen and (max-width: 1079px) {
    max-width: 400px;
    margin: 0 auto;
  }
}
.sol-hero__title {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 60px;
  line-height: 48px;
  font-family: "Poppins";
}

.sol-hero__desc {
  font-size: 16px;
  line-height: 24px;
  max-width: var(--sol-text-max-width);
  font-weight: 300;
}

/* =============================================
   CORE SERIES SECTION
   ============================================= */

.sol-core__header {
  margin-bottom: 0px;
}

.sol-core__title {
  font-size: 32px;
  font-weight: 400;
  color: #f9f9f9;
  /* text-transform: lowercase; */
  margin-bottom: 24px;
  letter-spacing: -4%;
  line-height: 32px;
  font-family: "Poppins", sans-serif;
}

.sol-core__title strong {
  font-weight: 900;
}

.sol-core__desc {
  font-size: 16px;
  line-height: 24px;
  max-width: var(--sol-text-max-width);
  margin-bottom: 80px;
  font-weight: 300;
}

.sol-core__desc p {
  color: #f9f9f9;
  font-weight: 300;
}

.sol-core__desc p:not(:last-child) {
  margin-bottom: 24px;
}

.sol-core__group {
  @media screen and (max-width: 1079px) {
    margin: auto;
    max-width: 400px;
  }
}

.sol-core__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  @media screen and (max-width: 1079px) {
    grid-template-columns: 1fr;
  }
}

/* ----- Product Card (shared) ----- */
.sol-product {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}

.sol-product__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #f9f9f933;
  border-radius: 4px;
}

.sol-product__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.sol-product__info {
  margin-top: 20px;
}

.sol-product__tag {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: #b8b8b7;
  /* text-transform: uppercase; */
  letter-spacing: 4%;
  margin-bottom: 4px;
}

.sol-product__name {
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  color: #f9f9f9;
  /* text-transform: uppercase; */
  margin-bottom: 0;

  @media screen and (max-width: 1279px) {
    font-size: 24px;
    line-height: 28px;
  }
  @media screen and (max-width: 1079px) {
    font-size: 20px;
    line-height: 24px;
  }
}

.meco-plus-sign {
  font-size: 0.65em;
  vertical-align: super;
  position: relative;
  top: 0.1em;
  margin-left: 1px;
}

.sol-product__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.sol-product__badge {
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  color: #37a1d4;
  border: 1px solid #37a1d4;
  padding: 2px 4.5px;
  border-radius: 2px;
  /* text-transform: uppercase; */
  font-family: inherit;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -1px;
  font-family: "Poppins";
}

.sol-product__link {
  font-size: 11px;
  font-weight: 400;
  color: #37a1d4;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

.sol-product__link:hover {
  color: #5fb4dd;
}

/* =============================================
   NEO SERIES SECTION
   ============================================= */

.sol-neo__group {
  @media screen and (max-width: 1079px) {
    margin: auto;
    max-width: 400px;
  }
}
.sol-neo__header {
  margin-bottom: 80px;
}

.sol-neo__title {
  font-size: 32px;
  line-height: 32px;
  font-weight: 300;
  /* text-transform: uppercase; */
  margin-bottom: 24px;
  letter-spacing: -4%;
  font-family: "Gotham", sans-serif;
}

.sol-neo__title strong {
  font-size: 32px;
  line-height: 32px;
  font-weight: 900;
}

.sol-neo__desc {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  max-width: var(--sol-text-max-width);
}

.sol-neo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;

  @media screen and (max-width: 1079px) {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   DEVICES SECTION (Cold Air + Industrial)
   ============================================= */
.sol-devices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;

  @media screen and (max-width: 1079px) {
    max-width: 400px;
    margin: auto;
    grid-template-columns: 1fr;
  }
  @media screen and (max-width: 479px) {
    max-width: 100%;
    .sol-devices__grid {
      grid-template-columns: 1fr;
    }
  }
}

.sol-devices__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 300;
  /* text-transform: uppercase; */
  margin-bottom: 60px;

  @media screen and (max-width: 1079px) {
    font-size: 24px;
    line-height: 32px;
  }
}

/* Device Card */
.sol-device {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
  width: 100%;
}

.sol-device__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sol-device__info {
  margin-top: 12px;
}

.sol-device__tag {
  font-size: 14px;
  line-height: 20px;
  color: #b8b8b7;
  /* text-transform: uppercase; */
  margin-top: 20px;
}

.sol-device__name {
  font-size: 24px;
  line-height: 32px;
  /* text-transform: uppercase; */
  margin-top: 8px;

  @media screen and (max-width: 1279px) {
    font-size: 24px;
    line-height: 28px;
  }
  @media screen and (max-width: 1079px) {
    font-size: 20px;
    line-height: 24px;
  }
}

.sol-device__desc {
  font-size: 16px;
  line-height: 24px;
  margin-top: 24px;
}

p.sol-device__desc {
  color: #f9f9f9;
  font-weight: 300;
}

/* =============================================
   INNOVATION / CTA SECTION
   ============================================= */
.sol-cta__wrapper {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 4px;
  gap: 60px;

  @media (max-width: 1079px) {
    max-width: 400px;
    margin: auto;
    flex-direction: column;
  }
}

.sol-cta__image {
  flex: 0 0 50%;
  max-width: 50%;
}

.sol-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0px 4px 20px 0px #0d151940;
  border: 1px solid #f9f9f933;
  border-radius: 4px;
  /* max-height: 280px; */
}

.sol-cta__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* max-width: 340px; */

  @media screen and (max-width: 1079px) {
    max-width: 100%;
  }
}

.sol-cta__title {
  font-size: 40px;
  line-height: 48px;
  /* text-transform: uppercase; */
  font-family: "Poppins";
  margin-bottom: 20px;
  font-weight: 400;

  @media screen and (max-width: 1079px) {
    font-size: 24px;
    line-height: 32px;
  }
}

.sol-cta__desc {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 40px;
}

p.sol-cta__desc {
  color: #f9f9f9;
  font-weight: 300;
}

.sol-cta__btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #f9f9f9;
  color: #f9f9f9;
  font-size: 12px;
  font-weight: 500;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.sol-cta__btn:hover {
  background-color: #f9f9f9;
  color: #0d1519;
}

/* =============================================
   RESPONSIVE — matching home.css breakpoints
   ============================================= */

/* Big Tablet: 1080px–1279px */
@media (max-width: 1279px) and (min-width: 1080px) {
  .sol-section {
    padding: 100px var(--meco-container-px-1079) 100px
      var(--meco-container-px-1079);
  }

  .sol-container {
    max-width: var(--meco-container-1079);
  }

  .sol-hero__title {
    font-size: 34px;
  }
}

/* Small Tablet: 480px–1079px */
@media (max-width: 1079px) and (min-width: 480px) {
  .sol-section {
    padding: 80px var(--meco-container-px-640) 80px var(--meco-container-px-640);
  }

  .sol-container {
    max-width: var(--meco-container-640);
  }

  .sol-container::before {
    bottom: -80px;
  }

  .sol-hero__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 36px;
  }

  .sol-cta__image {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .sol-device {
    max-width: 100%;
  }
}

/* Mobile: below 480px */
@media (max-width: 479px) {
  .sol-section {
    padding: 80px var(--meco-container-px-399) 80px var(--meco-container-px-399);
  }

  .sol-container {
    max-width: var(--meco-container-439);
  }

  .sol-container::before {
    bottom: -80px;
  }

  .sol-hero__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 36px;
  }

  .sol-cta__image {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .sol-device {
    max-width: 100%;
  }
}

.meco-slider-img-link::before {
  position: absolute;
  content: '';
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(360deg, rgba(13, 21, 25, 0.8) 0%, rgba(13, 21, 25, 0) 50%);
  z-index: 1;
}

.custom-headline {
  font-size: 32px;
  line-height: 32px;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -4%;
}