@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================================
   NaturaDiet homepage hero
   Typography: Inter
   ========================================================= */

.nd-homehero,
.nd-homehero * {
  box-sizing: border-box;
}

.nd-homehero {
  position: relative;
  width: 100%;
  min-height: 610px;
  overflow: hidden;
  background: #eef3ee;
  color: #15291f;
}

.nd-homehero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nd-homehero__image,
.nd-homehero__placeholder,
.nd-homehero__placeholder .placeholder-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 610px;
}

.nd-homehero__image {
  object-fit: cover;
  object-position: center center;
}

.nd-homehero__placeholder .placeholder-svg {
  background: #e8eee8;
}

.nd-homehero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(247, 249, 246, .98) 0%,
      rgba(247, 249, 246, .95) 24%,
      rgba(247, 249, 246, .76) 42%,
      rgba(247, 249, 246, .18) 64%,
      rgba(247, 249, 246, 0) 82%
    );
}

.nd-homehero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  min-height: 610px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 56px;
}

.nd-homehero__content {
  width: min(590px, 48%);
  margin-left: 0;
}

.nd-homehero__eyebrow {
  display: inline-flex;
  margin: 0 0 14px !important;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(219, 234, 221, .92);
  color: #28583f;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
}

.nd-homehero__heading {
  max-width: 570px;
  margin: 0 !important;
  color: #12281e;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 4.4vw, 72px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.045em;
  text-transform: none !important;
}

.nd-homehero__subheading {
  max-width: 560px;
  margin: 16px 0 0 !important;
  color: #183229;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
  text-transform: none !important;
}

.nd-homehero__text {
  max-width: 535px;
  margin-top: 18px;
  color: #50635a;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.nd-homehero__text p {
  margin: 0 !important;
}

.nd-homehero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.nd-homehero__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 23px;
  border: 1px solid #1c5d40;
  border-radius: 999px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.nd-homehero__button:hover,
.nd-homehero__button:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.nd-homehero__button--primary {
  background: #1c5d40;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(28, 93, 64, .18);
}

.nd-homehero__button--primary:hover,
.nd-homehero__button--primary:focus {
  background: #144a32;
  color: #fff !important;
}

.nd-homehero__button--secondary {
  border-color: rgba(28, 93, 64, .22);
  background: rgba(255,255,255,.86);
  color: #174b34 !important;
}

.nd-homehero__button--secondary:hover,
.nd-homehero__button--secondary:focus {
  background: #fff;
  color: #123c2a !important;
}

.nd-homehero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin-top: 28px;
}

.nd-homehero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #44594f;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.nd-homehero__trust-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #1c5d40;
}

.nd-homehero__trust-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media screen and (max-width: 989px) {
  .nd-homehero {
    min-height: 560px;
  }

  .nd-homehero__image,
  .nd-homehero__placeholder,
  .nd-homehero__placeholder .placeholder-svg,
  .nd-homehero__inner {
    min-height: 560px;
  }

  .nd-homehero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(247, 249, 246, .98) 0%,
        rgba(247, 249, 246, .93) 43%,
        rgba(247, 249, 246, .48) 67%,
        rgba(247, 249, 246, .08) 100%
      );
  }

  .nd-homehero__content {
    width: 58%;
  }

  .nd-homehero__heading {
    font-size: 52px;
  }

  .nd-homehero__trust {
    max-width: 510px;
  }
}

@media screen and (max-width: 749px) {
  .nd-homehero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: #f6f8f5;
  }

  .nd-homehero__media {
    position: relative;
    order: 2;
    min-height: 330px;
  }

  .nd-homehero__image,
  .nd-homehero__placeholder,
  .nd-homehero__placeholder .placeholder-svg {
    min-height: 330px;
  }

  .nd-homehero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(246,248,245,.95) 0%,
        rgba(246,248,245,.25) 28%,
        rgba(246,248,245,0) 58%
      );
  }

  .nd-homehero__inner {
    order: 1;
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .nd-homehero__content {
    width: 100%;
  }

  .nd-homehero__heading {
    font-size: clamp(42px, 11vw, 56px);
    line-height: 1.02;
  }

  .nd-homehero__subheading {
    margin-top: 14px !important;
    font-size: 20px;
  }

  .nd-homehero__text {
    margin-top: 16px;
    font-size: 16px;
  }

  .nd-homehero__buttons {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .nd-homehero__button {
    width: 100%;
  }

  .nd-homehero__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 23px;
  }
}
