/* Homepage full-bleed solution hero */

.ck-home-hero-wrap {
  --ck-hero-navy: #0a1424;
  --ck-hero-navy-mid: #101e33;
  --ck-hero-blue: #1c98df;
  --ck-hero-gold: #ffce22;
  --ck-hero-pad-x: clamp(20px, 4.2vw, 72px);
  --ck-hero-pad-y: clamp(28px, 5vw, 72px);
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ck-home-hero-wrap > .e-con-inner {
  max-width: none !important;
  width: 100%;
  padding: 0 !important;
}

.ck-home-hero {
  position: relative;
  width: 100%;
  height: min(78vh, 720px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ck-hero-navy);
  color: #fff;
  isolation: isolate;
}

.ck-home-hero__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.ck-home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.ck-home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.ck-home-hero__media,
.ck-home-hero__shade {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ck-home-hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ck-home-hero__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
}

.ck-home-hero__slide--veolia .ck-home-hero__media img { object-position: 68% 46%; }
.ck-home-hero__slide--dupont .ck-home-hero__media img { object-position: 62% 50%; }
.ck-home-hero__slide--etatron .ck-home-hero__media img { object-position: 62% 50%; }
.ck-home-hero__slide--apc .ck-home-hero__media img { object-position: 58% 48%; }
.ck-home-hero__slide--canpure .ck-home-hero__media img { object-position: 55% 48%; }
.ck-home-hero__slide--stairs .ck-home-hero__media img { object-position: 70% 50%; }
.ck-home-hero__slide--andritz .ck-home-hero__media img { object-position: 54% 48%; }
.ck-home-hero__slide--uf .ck-home-hero__media img { object-position: 55% 48%; }
.ck-home-hero__slide--etp .ck-home-hero__media img { object-position: 48% 42%; }
.ck-home-hero__slide--ro .ck-home-hero__media img { object-position: 58% 50%; }

.ck-home-hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 16, 30, 0.88) 0%, rgba(8, 16, 30, 0.62) 38%, rgba(8, 16, 30, 0.28) 68%, rgba(8, 16, 30, 0.16) 100%);
  z-index: 1;
}

.ck-home-hero__content,
.ck-home-hero__product-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  max-width: 720px;
  padding: var(--ck-hero-pad-y) var(--ck-hero-pad-x) 84px;
  box-sizing: border-box;
}

.ck-home-hero__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 6px 10px;
  min-height: 0;
  max-width: min(100%, 320px);
  line-height: 0;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.ck-home-hero__logo img {
  display: block;
  width: auto !important;
  height: 40px !important;
  max-height: 44px !important;
  max-width: 220px !important;
  object-fit: contain;
}

.ck-home-hero__logo--dark {
  background: rgba(10, 20, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ck-home-hero__logo--bare {
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}

.ck-home-hero__logo--bare img {
  max-height: 46px;
  max-width: 200px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.ck-home-hero__kicker {
  margin: 0 0 10px;
  font-family: Rubik, "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ck-hero-gold);
}

.ck-home-hero .ck-home-hero__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff !important;
  text-transform: none !important;
  text-wrap: balance;
}

.ck-home-hero__caption {
  margin: 16px 0 0;
  max-width: 36rem;
  font-family: Rubik, "Open Sans", sans-serif;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9) !important;
}

.ck-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ck-home-hero a.ck-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 15px;
  font-family: Rubik, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: capitalize;
  filter: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ck-home-hero a.ck-home-hero__btn:hover,
.ck-home-hero a.ck-home-hero__btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  filter: none;
}

.ck-home-hero a.ck-home-hero__btn--gold {
  background: var(--ck-hero-gold) !important;
  background-color: var(--ck-hero-gold) !important;
  color: var(--ck-hero-navy-mid) !important;
  border: 1.5px solid var(--ck-hero-gold) !important;
  box-shadow: 0 10px 24px rgba(255, 206, 34, 0.28);
}

.ck-home-hero a.ck-home-hero__btn--gold:hover,
.ck-home-hero a.ck-home-hero__btn--gold:focus-visible {
  background: var(--ck-hero-navy-mid) !important;
  background-color: var(--ck-hero-navy-mid) !important;
  color: var(--ck-hero-gold) !important;
  border-color: var(--ck-hero-gold) !important;
}

.ck-home-hero a.ck-home-hero__btn--ghost {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.72) !important;
}

.ck-home-hero a.ck-home-hero__btn--ghost:hover,
.ck-home-hero a.ck-home-hero__btn--ghost:focus-visible {
  background: #fff !important;
  background-color: #fff !important;
  color: var(--ck-hero-navy-mid) !important;
  border-color: #fff !important;
}

.ck-home-hero__slide--product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  background:
    radial-gradient(720px 380px at 12% -8%, rgba(28, 152, 223, 0.28), transparent 58%),
    linear-gradient(135deg, #08101e 0%, #101e33 52%, #16324f 100%);
}

.ck-home-hero__product-copy {
  max-width: none;
}

.ck-home-hero__product-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(20px, 3vw, 48px);
  background:
    linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.ck-home-hero__product-visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(62vh, 560px);
  object-fit: contain;
}

.ck-home-hero button.ck-home-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 50% !important;
  background: rgba(10, 20, 36, 0.72) !important;
  color: #fff !important;
  fill: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-transform: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.ck-home-hero button.ck-home-hero__nav:hover,
.ck-home-hero button.ck-home-hero__nav:focus-visible {
  background: rgba(10, 20, 36, 0.92) !important;
  border-color: #fff !important;
  outline: none;
}

.ck-home-hero button.ck-home-hero__nav svg {
  width: 18px;
  height: 18px;
  fill: none !important;
  stroke: #fff !important;
  display: block;
}

.ck-home-hero__nav--prev { left: 16px; }
.ck-home-hero__nav--next { right: 16px; }

.ck-home-hero__dots {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 18px;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px;
  width: max-content;
  max-width: calc(100% - 132px);
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 20, 36, 0.58);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.ck-home-hero button.ck-home-hero__dot {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 99px !important;
  background: rgba(255, 255, 255, 0.42) !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-transform: none !important;
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease;
}

.ck-home-hero button.ck-home-hero__dot.is-active {
  width: 26px !important;
  background: var(--ck-hero-gold) !important;
}

.ck-home-hero button.ck-home-hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .ck-home-hero {
    height: min(72vh, 640px);
    min-height: 500px;
  }

  .ck-home-hero__slide--product {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.82fr);
  }

  .ck-home-hero__nav--prev { left: 10px; }
  .ck-home-hero__nav--next { right: 10px; }
}

@media (max-width: 767px) {
  .ck-home-hero {
    height: auto;
    min-height: 0;
  }

  .ck-home-hero__track {
    min-height: 0;
  }

  .ck-home-hero__slide {
    position: relative;
    inset: auto;
    min-height: min(88svh, 640px);
    display: none;
  }

  .ck-home-hero__slide.is-active {
    display: block;
  }

  .ck-home-hero__slide--photo.is-active {
    display: block;
    min-height: min(88svh, 640px);
  }

  .ck-home-hero__media,
  .ck-home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .ck-home-hero__media picture,
  .ck-home-hero__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .ck-home-hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 16, 30, 0.78) 0%, rgba(8, 16, 30, 0.72) 48%, rgba(8, 16, 30, 0.5) 100%);
  }

  .ck-home-hero__content {
    position: relative;
    z-index: 2;
    min-height: min(88svh, 640px);
    padding: 36px 20px 78px;
    max-width: none;
  }

  .ck-home-hero__slide--product {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .ck-home-hero__slide--product.is-active {
    display: grid;
  }

  .ck-home-hero__product-copy {
    height: auto;
    min-height: 0;
    padding: 36px 20px 24px;
  }

  .ck-home-hero__product-visual {
    min-height: 220px;
    padding: 12px 24px 64px;
  }

  .ck-home-hero__product-visual img {
    max-height: 240px;
  }

  .ck-home-hero__slide--etatron .ck-home-hero__media img { object-position: 46% 50%; }
  .ck-home-hero__slide--apc .ck-home-hero__media img { object-position: 62% 50%; }
  .ck-home-hero__slide--canpure .ck-home-hero__media img { object-position: 58% 48%; }
  .ck-home-hero__slide--stairs .ck-home-hero__media img { object-position: 84% 50%; }
  .ck-home-hero__slide--andritz .ck-home-hero__media img { object-position: 52% 48%; }
  .ck-home-hero__slide--uf .ck-home-hero__media img { object-position: 52% 48%; }
  .ck-home-hero__slide--etp .ck-home-hero__media img { object-position: 55% 45%; }
  .ck-home-hero__slide--ro .ck-home-hero__media img { object-position: 60% 50%; }

  .ck-home-hero__title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .ck-home-hero__btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .ck-home-hero button.ck-home-hero__nav {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .ck-home-hero__nav--prev { left: 8px; }
  .ck-home-hero__nav--next { right: 8px; }

  .ck-home-hero__dots {
    bottom: 12px;
    max-width: calc(100% - 96px);
    padding: 8px 10px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ck-home-hero__slide,
  .ck-home-hero__btn,
  .ck-home-hero__dot,
  .ck-home-hero__nav {
    transition: none;
  }
}
