.mc-gift-home {
  --mc-charcoal: #171a15;
  --mc-ivory: #f7f5eb;
  --mc-lime: #b9ff35;
  --mc-lime-soft: #dfff9c;
  --mc-line: rgba(23, 26, 21, 0.14);
  color: var(--mc-charcoal);
  background: var(--mc-ivory);
  overflow: hidden;
}

.mc-gift-home__anchor {
  position: relative;
  top: -92px;
  display: block;
  visibility: hidden;
}

.mc-gift-home *,
.mc-gift-home *::before,
.mc-gift-home *::after {
  box-sizing: border-box;
}

.mc-gift-home__hero {
  width: 100%;
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: #fbfaf5;
}

.mc-gift-home__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 72px) clamp(32px, 5vw, 72px);
}

.mc-gift-home__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mc-gift-home__title {
  max-width: 650px;
  margin: 0;
  color: var(--mc-charcoal);
  font-size: clamp(48px, 4.65vw, 70px);
  font-weight: 850;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.mc-gift-home__description {
  max-width: 590px;
  margin: 25px 0 0;
  color: rgba(23, 26, 21, 0.72);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.mc-gift-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.mc-gift-home__button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 2px solid var(--mc-charcoal);
  border-radius: 6px;
  color: var(--mc-charcoal);
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.mc-gift-home__button--primary {
  background: var(--mc-lime);
  box-shadow: 4px 4px 0 var(--mc-charcoal);
}

.mc-gift-home__button:hover,
.mc-gift-home__button:focus-visible {
  color: var(--mc-charcoal);
  transform: translateY(-2px);
}

.mc-gift-home__button--primary:hover,
.mc-gift-home__button--primary:focus-visible {
  box-shadow: 6px 6px 0 var(--mc-charcoal);
}

.mc-gift-home__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(23, 26, 21, 0.72);
  font-size: 13px;
  line-height: 1.3;
  list-style: none;
}

.mc-gift-home__proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mc-gift-home__proof svg {
  width: 15px;
  height: 15px;
  color: #5b8318;
  fill: currentColor;
}

.mc-gift-home__visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #e9eadc;
}

.mc-gift-home__visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(23, 26, 21, 0.12));
}

.mc-gift-home__visual img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  display: block;
  object-fit: cover;
  object-position: 56% center;
}

@media screen and (min-width: 990px) {
  .mc-gift-home__copy {
    padding-left: max(clamp(32px, 5vw, 72px), calc((100vw - 1260px) / 2 + 28px));
  }

  body[data-template="index"] .header__container--middle-line {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: clamp(28px, 4vw, 60px);
  }

  body[data-template="index"] .header__heading {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  body[data-template="index"] .header__inline-nav {
    width: auto;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }

  body[data-template="index"] .header__buttons.display-none-tablet {
    position: static;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

.mc-gift-home__badge {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--mc-charcoal);
  border-radius: 50%;
  background: var(--mc-lime);
  box-shadow: 3px 3px 0 rgba(23, 26, 21, 0.86);
  transform: rotate(5deg);
}

.mc-gift-home__badge strong {
  font-size: 27px;
  line-height: 0.9;
}

.mc-gift-home__badge span {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-gift-home__trust {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 26, 21, 0.75);
  border-bottom: 1px solid rgba(23, 26, 21, 0.75);
  background: var(--mc-lime-soft);
}

.mc-gift-home__trust-carousel {
  display: block;
}

.mc-gift-home__trust-item {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 22px;
  border-right: 1px solid rgba(23, 26, 21, 0.28);
}

.mc-gift-home__trust-item:last-child {
  border-right: 0;
}

.mc-gift-home__trust-icon {
  width: 35px;
  height: 35px;
  display: inline-flex;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
}

.mc-gift-home__trust-icon svg {
  width: 31px;
  height: 31px;
}

.mc-gift-home__trust-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-gift-home__trust-item strong {
  font-size: 14px;
  line-height: 1.25;
}

.mc-gift-home__trust-item small {
  color: rgba(23, 26, 21, 0.66);
  font-size: 12px;
  line-height: 1.35;
}

@media screen and (max-width: 989px) {
  .mc-gift-home__hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mc-gift-home__copy {
    padding: 46px 24px 38px;
  }

  .mc-gift-home__title {
    max-width: 720px;
    font-size: clamp(44px, 9.3vw, 66px);
  }

  .mc-gift-home__visual,
  .mc-gift-home__visual img {
    min-height: 500px;
  }

  .mc-gift-home__visual img {
    object-position: 55% center;
  }

  .mc-gift-home__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-gift-home__trust-item:nth-child(2) {
    border-right: 0;
  }

  .mc-gift-home__trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 26, 21, 0.28);
  }
}

@media screen and (max-width: 599px) {
  .mc-gift-home__hero {
    position: relative;
    min-height: 500px;
    display: block;
    background: #24271f;
  }

  .mc-gift-home__copy {
    position: absolute;
    z-index: 2;
    inset: 0;
    justify-content: flex-end;
    padding: 28px 20px 32px;
    color: #ffffff;
    pointer-events: none;
  }

  .mc-gift-home__eyebrow,
  .mc-gift-home__description,
  .mc-gift-home__proof,
  .mc-gift-home__badge {
    display: none;
  }

  .mc-gift-home__title {
    max-width: 345px;
    color: #ffffff;
    font-size: clamp(40px, 11.8vw, 46px);
    line-height: 0.99;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42);
  }

  .mc-gift-home__actions {
    display: block;
    margin-top: 22px;
    pointer-events: auto;
  }

  .mc-gift-home__button--primary {
    width: auto;
    min-width: 172px;
    min-height: 48px;
    padding-inline: 22px;
  }

  .mc-gift-home__visual,
  .mc-gift-home__visual img {
    height: 500px;
    min-height: 500px;
  }

  .mc-gift-home__visual img {
    object-position: 58% center;
  }

  .mc-gift-home__visual::after {
    z-index: 1;
    height: 82%;
    background: linear-gradient(180deg, transparent 6%, rgba(12, 15, 10, 0.12) 32%, rgba(12, 15, 10, 0.86) 100%);
  }

  .mc-gift-home__trust {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-top: 0;
    border-bottom: 0;
    overscroll-behavior-inline: contain;
  }

  .mc-gift-home__trust::-webkit-scrollbar {
    display: none;
  }

  .mc-gift-home__trust-carousel {
    overflow: hidden;
    border-top: 0;
    border-bottom: 0;
    background: var(--mc-lime-soft);
  }

  .mc-gift-home__trust-item {
    width: 100%;
    min-width: 100%;
    min-height: 66px;
    flex: 0 0 100%;
    justify-content: center;
    gap: 10px;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .mc-gift-home__trust-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .mc-gift-home__trust-icon svg {
    width: 25px;
    height: 25px;
  }

  .mc-gift-home__trust-item > span:last-child {
    gap: 2px;
  }

  .mc-gift-home__trust-item strong {
    font-size: 14px;
  }

  .mc-gift-home__trust-item small {
    font-size: 11px;
    line-height: 1.25;
  }
}

@media screen and (min-width: 990px) {
  .mc-gift-home__trust-item {
    min-height: 70px;
    padding-block: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-gift-home__button {
    transition: none;
  }
}
