.peptides-hero {
  overflow-x: clip;
  overflow-y: visible;
}

.peptides-hero__main {
  position: relative;
  min-height: 772px;
}

.peptides-hero__layout {
  position: relative;
  min-height: 772px;
  padding-top: 177px;
}

.peptides-hero__copy,
.peptides-hero__tags,
.peptides-hero__actions {
  position: relative;
  z-index: 2;
}

.peptides-hero__copy {
  width: min(100%, 530px);
}

.peptides-hero__eyebrow,
.peptides-hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 500;
  line-height: 1;
}

.peptides-hero__eyebrow {
  width: max-content;
  border: 1px solid rgb(221 82 214 / 30%);
  background: linear-gradient(96deg, #f9f4f9, #eff0fc);
  box-shadow: 0 2px 2px rgb(0 0 0 / 7%);
  font-size: 16px;
}

.peptides-hero__eyebrow img,
.peptides-hero__tag img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.peptides-hero__title {
  width: min(100%, 466px);
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 90px;
  font-variation-settings:
    "wdth" 100,
    "wght" 500;
  font-weight: 500;
  line-height: 1.0778;
}

.peptides-hero__title span {
  display: block;
}

.peptides-hero__title .text-gradient {
  width: max-content;
  max-width: none;
  padding-right: 0.18em;
  padding-left: 0.08em;
  margin-right: -0.18em;
  margin-left: -0.08em;
  font-style: italic;
}

.peptides-hero__description {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.2;
}

.peptides-hero__visual {
  --peptides-hero-visual-overflow: 120px;
  position: absolute;
  z-index: 0;
  right: calc(-1 * var(--page-gutter) - var(--peptides-hero-visual-overflow));
  bottom: 0;
  width: min(67.8472vw, 977px);
}

.peptides-hero__visual img {
  width: 100%;
  height: auto;
}

.peptides-hero__tags {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 670px);
  margin-top: 32px;
}

.peptides-hero__tag {
  border-top: 1px solid rgb(255 255 255 / 90%);
  border-left: 1px solid rgb(255 255 255 / 90%);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 6%),
    rgb(255 255 255 / 22%)
  );
  box-shadow:
    inset 0 5px 8px rgb(63 43 91 / 5%),
    inset 0 -5px 9px rgb(255 255 255 / 82%),
    0 2px 4px rgb(63 43 91 / 7%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 16px;
  white-space: nowrap;
}

.peptides-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100%, 530px);
  margin-top: 60px;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .peptides-hero__main,
  .peptides-hero__layout {
    min-height: 710px;
  }

  .peptides-hero__title {
    font-size: clamp(64px, 7.5vw, 82px);
  }

  .peptides-hero__visual {
    width: min(72vw, 977px);
  }

  .peptides-hero__tags {
    gap: 10px;
  }

  .peptides-hero__tag {
    padding-inline: 16px;
    font-size: 14px;
  }
}

@media (max-width: 1000px) and (min-width: 769px) {
  .peptides-hero__main,
  .peptides-hero__layout {
    min-height: 650px;
  }

  .peptides-hero__title {
    width: max-content;
    max-width: none;
    /*font-size: clamp(46px, 6.4vw, 64px);*/
    white-space: nowrap;
  }

  .peptides-hero__title span {
    display: inline-block;
  }

  .peptides-hero__description {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .peptides-hero__main,
  .peptides-hero__layout {
    min-height: 0;
  }

  .peptides-hero__layout {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding-top: 125px;
    padding-bottom: 30px;
  }

  .peptides-hero__copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .peptides-hero__eyebrow {
    font-size: 12px;
  }

  .peptides-hero__eyebrow img {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .peptides-hero__title {
    width: 100%;
    margin-top: 24px;
    font-size: clamp(58px, 19.4444vw, 70px);
    line-height: 0.9571;
    text-align: center;
  }

  .peptides-hero__title .text-gradient {
    margin-inline: auto;
  }

  .peptides-hero__description {
    width: 100%;
    margin-top: 24px;
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }

  .peptides-hero__visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    order: 2;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
  }

  .peptides-hero__tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    order: 3;
    width: 100%;
    margin-top: -10px;
  }

  .peptides-hero__tag {
    justify-content: center;
    min-width: 0;
    padding: 8px 10px;
    font-size: 12px;
  }

  .peptides-hero__tag:last-child {
    grid-column: 1 / -1;
  }

  .peptides-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    order: 4;
    width: 100%;
    margin-top: 0;
  }

  .peptides-hero__actions .button {
    width: 100%;
  }

  .peptides-hero__consultation {
    order: -1;
  }
}
