/* Solution page layout - elements left, vertical image right. Site colors only. */

/* main.css sets padding-top:110px on .product-page-main inside the (broken) mobile
   media block; the hero supplies its own top spacing instead. */
.product-page-main {
  padding-top: 0 !important;
}

.solution-hero {
  position: relative;
  padding: 148px 60px 56px;
}

.solution-hero-inner {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

/* --- left: elements --- */
.solution-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.solution-hero .section-label.solution-label {
  margin-bottom: 32px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  background: linear-gradient(100deg,
    #7a5c10 0%, #d4af37 12%, #fff8d8 26%, #ffe9a0 34%, #e3c15a 46%,
    #8a6a14 58%, #fff3c6 72%, #e8c766 84%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d4af37;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(232, 199, 102, 0.45));
}

.solution-hero .section-label.solution-label::before {
  background: linear-gradient(90deg, #8a6a14, #f5e2a6, #c9a227);
  height: 2px;
  width: 34px;
  border-radius: 2px;
}

/* main.css keeps the product-page block inside an unclosed mobile media query,
   so the intended title/capsule styling is restated here for all viewports. */
.solution-hero .product-page-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.1rem, 4.3vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--white);
  text-transform: uppercase;
}

/* capsule keeps its existing colors; only the text turns gold */
.solution-hero .product-page-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 34px 0 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.75);
  background: linear-gradient(140deg, rgba(212, 175, 55, 0.26), rgba(12, 40, 74, 0.52));
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.22);
  color: #e8c766;
  font-size: clamp(0.84rem, 1.04vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  text-align: left;
}

.solution-hero .product-page-tagline::before {
  content: '\2726';
  color: #d4af37;
  font-size: 0.95em;
}

.solution-hero .product-page-tagline[hidden] {
  display: none !important;
}

.solution-hero-description {
  margin: 40px 0 0;
  max-width: 660px;
  color: #ffffff;
  font-size: clamp(1.14rem, 1.4vw, 1.34rem);
  line-height: 1.75;
}

.solution-hero-actions {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* button shape/colors come from the global buttons.css; only the disabled state lives here */
#download-catalogue-btn.solution-catalogue-btn.is-disabled {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none;
}

/* --- right: image --- */
.solution-hero-media {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: min(46vw, 560px);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c284a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.solution-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-hero-media.is-empty {
  display: none;
}

/* --- responsive --- */
@media (max-width: 1024px) {
  .solution-hero {
    padding: 132px 28px 48px;
  }

  .solution-hero .product-page-title {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
  }

  .solution-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .solution-hero-media {
    max-width: min(78vw, 420px);
  }
}

@media (max-width: 640px) {
  .solution-hero {
    padding: 124px 20px 40px;
  }

  .solution-hero .product-page-title {
    font-size: clamp(1.8rem, 8.6vw, 2.6rem);
  }

  .solution-hero .product-page-tagline {
    padding: 7px 14px;
    font-size: clamp(0.72rem, 3.2vw, 0.86rem);
    letter-spacing: 0.02em;
  }

  .solution-hero-inner {
    gap: 26px;
  }

  .solution-hero-media {
    max-width: min(86vw, 340px);
  }

  .solution-hero-description {
    font-size: 1.06rem;
    line-height: 1.7;
  }

  #download-catalogue-btn.solution-catalogue-btn {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 24px;
    justify-content: center;
  }
}
