body.home {
  overflow-x: hidden;
}

.qms-home-hero,
.qms-home-hero * {
  box-sizing: border-box;
}

.qms-home-hero {
  position: relative;
  width: 100vw;
  max-width: none;
  min-height: 720px;
  padding: 0 40px;
  margin-right: 0;
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #222;
  background: #fff;
}

.qms-home-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  border: 0;
}

.qms-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 27%, rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0.34) 64%, rgba(255, 255, 255, 0) 100%);
}

.qms-home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.qms-home-hero__copy {
  width: 100%;
  max-width: 820px;
  margin: 0 0 34px;
}

.qms-home-hero__eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #171717;
  background: rgba(250, 10, 122, 0.045);
  border: 1px solid rgba(250, 10, 122, 0.18);
  border-radius: 999px;
  font-family: "Inter", "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.qms-home-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #fa0a7a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(250, 10, 122, 0.1);
}

.qms-home-hero__title {
  width: 100%;
  max-width: 820px;
  padding: 0;
  margin: 0 0 24px;
  color: #222;
  font-family: Cardo, Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 4.55vw, 82px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -1.8px;
  text-align: left;
}

.qms-home-hero__title span {
  display: block;
  color: #ff1178;
}

.qms-home-hero__lead {
  width: 100%;
  max-width: 680px;
  padding: 0;
  margin: 0 0 1.6em;
  color: #333;
  font-family: "Inter", "Work Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.1px;
}

.qms-home-hero__actions {
  width: 100%;
  max-width: 850px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.qms-home-hero__button {
  min-width: 240px;
  height: 58px;
  min-height: 58px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 5px;
  font-family: "Inter", "Work Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.2px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.qms-home-hero__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qms-home-hero__button--primary {
  color: #fff;
  background: #d30066;
  border: 1px solid #d30066;
  box-shadow: 0 12px 28px rgba(255, 17, 120, 0.26);
}

.qms-home-hero__button--outline {
  color: #d30066;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #d30066;
}

.qms-home-hero__button--dark {
  color: #fff;
  background: #3d3d3d;
  border: 1px solid #3d3d3d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.qms-home-hero__button:hover,
.qms-home-hero__button:focus-visible {
  transform: translateY(-2px);
}

.qms-home-hero__button--primary:hover,
.qms-home-hero__button--primary:focus-visible {
  color: #fff;
  background: #c4005f;
  border-color: #c4005f;
  box-shadow: 0 15px 34px rgba(196, 0, 95, 0.32);
}

.qms-home-hero__button--outline:hover,
.qms-home-hero__button--outline:focus-visible {
  color: #fff;
  background: #ff1178;
}

.qms-home-hero__button--dark:hover,
.qms-home-hero__button--dark:focus-visible {
  color: #fff;
  background: #c4005f;
  border-color: #c4005f;
}

@media (max-width: 1366px) {
  .qms-home-hero {
    min-height: 620px;
    padding: 0 36px;
  }

  .qms-home-hero__image {
    object-position: 62% center;
  }

  .qms-home-hero__inner {
    max-width: 1280px;
  }

  .qms-home-hero__copy {
    max-width: 680px;
    margin-bottom: 30px;
  }

  .qms-home-hero__title {
    max-width: 680px;
    font-size: clamp(48px, 4.15vw, 70px);
    line-height: 1.04;
    letter-spacing: -1.3px;
  }

  .qms-home-hero__lead {
    max-width: 600px;
    font-size: 18px;
  }

  .qms-home-hero__button {
    min-width: 220px;
    height: 54px;
    min-height: 54px;
    padding: 0 28px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .qms-home-hero {
    min-height: 500px;
    padding: 0 34px;
  }

  .qms-home-hero__image {
    object-position: 64% center;
  }

  .qms-home-hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 38%, rgba(255, 255, 255, 0.82) 60%, rgba(255, 255, 255, 0.48) 82%, rgba(255, 255, 255, 0.2) 100%);
  }

  .qms-home-hero__inner {
    max-width: 880px;
  }

  .qms-home-hero__copy {
    max-width: 540px;
    margin-bottom: 24px;
  }

  .qms-home-hero__title {
    max-width: 540px;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.55px;
  }

  .qms-home-hero__lead {
    max-width: 500px;
    font-size: 16px;
    line-height: 1.5;
  }

  .qms-home-hero__actions {
    max-width: 620px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .qms-home-hero__button {
    min-width: 190px;
    height: 52px;
    min-height: 52px;
    padding: 0 22px;
    font-size: 13.5px;
  }
}

@media (max-width: 768px) {
  .qms-home-hero {
    min-height: 620px;
    padding: 0 24px;
  }

  .qms-home-hero__image {
    object-position: 66% center;
  }

  .qms-home-hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 52%, rgba(255, 255, 255, 0.86) 73%, rgba(255, 255, 255, 0.58) 90%, rgba(255, 255, 255, 0.3) 100%);
  }

  .qms-home-hero__inner {
    width: 100%;
    max-width: none;
    padding: 0 20px;
  }

  .qms-home-hero__copy {
    max-width: 360px;
    margin-bottom: 22px;
  }

  .qms-home-hero__eyebrow {
    margin-bottom: 14px;
    padding: 7px 11px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 1px;
  }

  .qms-home-hero__eyebrow::before {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
  }

  .qms-home-hero__title {
    max-width: 360px;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.4px;
  }

  .qms-home-hero__lead {
    max-width: 360px;
    font-size: 16px;
    line-height: 1.5;
  }

  .qms-home-hero__actions {
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }

  .qms-home-hero__button {
    width: 100%;
    min-width: 100%;
    height: 54px;
    min-height: 54px;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .qms-home-hero {
    min-height: 560px;
    padding: 0 20px;
  }

  .qms-home-hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.78) 66%, rgba(255, 255, 255, 0.42) 86%, rgba(255, 255, 255, 0.16) 100%);
  }

  .qms-home-hero__inner {
    padding: 0 14px;
  }

  .qms-home-hero__copy {
    max-width: 320px;
    margin-bottom: 20px;
  }

  .qms-home-hero__title,
  .qms-home-hero__lead,
  .qms-home-hero__actions {
    max-width: 320px;
  }

  .qms-home-hero__title {
    font-size: 30px;
    letter-spacing: -0.3px;
  }

  .qms-home-hero__lead {
    font-size: 15px;
  }

  .qms-home-hero__button {
    height: 52px;
    min-height: 52px;
  }
}

@media (max-width: 360px) {
  .qms-home-hero {
    min-height: 535px;
    padding: 0 18px;
  }

  .qms-home-hero__image {
    object-position: 67% center;
  }

  .qms-home-hero__inner,
  .qms-home-hero__copy,
  .qms-home-hero__lead,
  .qms-home-hero__actions {
    max-width: 300px;
  }

  .qms-home-hero__title {
    max-width: 300px;
    font-size: 28px;
  }

  .qms-home-hero__lead {
    font-size: 14.5px;
  }
}
