/* "Customization" page (inc/customization.php). Reuses compliance.css + contact.css (.qst-comp*, .qst-contact*);
   this file only adds what is different. Colour rules stay weaker than Elementor's own. */

/* hero: own photo, wider than the contact one (the product line-up is landscape) */
.elementor .e-con.qst-comp-hero.qst-contact-hero.qst-cust-hero { min-height: clamp(32rem, 78vh, 46rem); }
.elementor .e-con.qst-comp-hero.qst-contact-hero.qst-cust-hero::after {
  background-image: url("img/customization-hero.webp");
  background-position: center;
  opacity: 0.07;
}
.elementor .e-con.qst-cust-hero > .e-con.qst-contact-hero__art { width: min(44vw, 44rem); }
.qst-cust-hero .qst-contact-hero__img img { aspect-ratio: 16 / 10; object-position: 50% 50%; }
.elementor .e-con.qst-cust-hero > .elementor-widget:not(.qst-comp-hero__crumbs),
.elementor .e-con.qst-cust-hero > .e-con.qst-comp-hero__btns { max-width: 46%; }

/* what you can customize: six cards, 3 × 2 */
.qst-cust-what .qst-contact__label .elementor-heading-title { margin-bottom: clamp(1.2rem, 3.4vh, 2rem); }
.qst-cust-what .qst-contact__value .elementor-heading-title { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }

/* how it works: five steps in a row, a line running through the numbers */
.elementor .e-con.qst-cust-how { border-top: 1px solid var(--qm-line); }
.elementor .e-con.qst-cust-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  width: 100%;
  padding: 0;
}
.elementor .e-con.qst-cust-steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.6rem;
  height: 1px;
  background: var(--qm-line);
  z-index: 0;
}
.elementor .e-con.qst-cust-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; width: 100%; padding: 0; }
.elementor .e-con.qst-cust-step .elementor-widget { width: 100%; }
.qst-cust-how .qst-cust-step__num .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 0 1.3rem;
  border: 1px solid var(--qm-ink);
  border-radius: 50%;
  background: #eeefeb;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--qm-ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
.elementor .e-con.qst-cust-step:hover .qst-cust-step__num .elementor-heading-title { background: var(--qm-accent); border-color: var(--qm-accent); color: #fff; }
.qst-cust-how .qst-cust-step__title .elementor-heading-title {
  margin: 0 0 0.6rem;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 1.7vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qm-ink);
}
.qst-cust-how .qst-cust-step__text,
.qst-cust-how .qst-cust-step__text p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--qm-dim); }
.qst-cust-how .qst-cust-step__tag .elementor-heading-title {
  margin: 1rem 0 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qm-accent);
}

@media (max-width: 1000px) {
  .elementor .e-con.qst-cust-hero > .elementor-widget:not(.qst-comp-hero__crumbs),
  .elementor .e-con.qst-cust-hero > .e-con.qst-comp-hero__btns { max-width: 100%; }
  .elementor .e-con.qst-cust-hero > .e-con.qst-contact-hero__art { width: calc(100% - 1.1rem); }
  .elementor .e-con.qst-cust-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .elementor .e-con.qst-cust-steps::after { display: none; }
}
@media (max-width: 560px) {
  .elementor .e-con.qst-cust-steps { grid-template-columns: 1fr; }
}
