/* Makhanley homepage hero: keep the pond video full-bleed while placing
   hero copy and trust chips in normal document flow. This prevents the chips
   from overlapping the paragraph on tall, short, zoomed or narrow screens. */
body.home-page #home {
  position: relative;
  isolation: isolate;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100%;
  max-width: none;
  height: auto !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  box-sizing: border-box;
  padding: clamp(8.5rem, 15vh, 9.5rem) 0 3rem !important;
}

/* Hero copy retains its existing typography and content, with no artificial
   top margin; the section's padding positions it below the floating header. */
body.home-page #home > .z-10 {
  position: relative;
  flex: 0 0 auto;
  width: min(calc(100% - 2.5rem), 56rem);
  max-width: 56rem;
  margin: 0 auto !important;
  transform: none !important;
}

/* Keep the copy-to-chip spacing deliberate: the trust band owns this gap,
   so the paragraph's former button-oriented bottom margin is removed. */
body.home-page #home > .z-10 h1 + p {
  margin-bottom: 0 !important;
}

/* Trust chips now follow the description in normal flow. They reserve their
   own vertical space, with a deliberate gap after the copy. */
body.home-page #home .home-hero-trust-band {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  z-index: 12;
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: clamp(2rem, 4vh, 2.75rem) 0 0 !important;
  padding: 0 clamp(1rem, 3vw, 3rem);
  box-sizing: border-box;
  background: transparent;
  border: 0;
}

body.home-page #home .home-hero-trust-grid {
  display: grid;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 228px));
  justify-content: center;
  align-items: stretch;
  column-gap: 28px;
  row-gap: 18px;
}

body.home-page #home .home-trust-chip {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  justify-content: flex-start;
  gap: .65rem;
  padding: .42rem .9rem;
  box-sizing: border-box;
  border: 1px solid rgb(26 59 40 / 10%);
  border-radius: 999px;
  background: #fff;
  color: #1a3b28;
  box-shadow: 0 4px 16px rgb(0 0 0 / 13%);
  font-family: inherit;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

body.home-page #home .home-trust-chip--action {
  cursor: pointer;
  background: #c59a5c;
  border-color: rgb(197 154 92 / 75%);
  color: #1a3b28;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.home-page #home .home-trust-chip--action:hover {
  background: #b8894e;
  box-shadow: 0 6px 18px rgb(0 0 0 / 17%);
  transform: translateY(-1px);
}
body.home-page #home .home-trust-chip--action:focus-visible {
  outline: 3px solid #d7a64a;
  outline-offset: 3px;
}

body.home-page #home .home-trust-chip__badge {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border-radius: 50%;
}
body.home-page #home .home-trust-chip__badge--pan {
  width: 40px;
  flex-basis: 40px;
  border-radius: 0;
}
body.home-page #home .home-trust-chip__delivery-icon {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}
body.home-page #home .home-trust-chip__whatsapp {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #1a3b28;
}
body.home-page #home .home-trust-chip__label {
  display: block;
  min-width: 0;
}

@media (max-width: 1100px) and (min-width: 901px) {
  body.home-page #home .home-hero-trust-grid {
    max-width: 980px;
    grid-template-columns: repeat(4, minmax(0, 214px));
    justify-content: center;
    column-gap: 20px;
    row-gap: 14px;
  }
  body.home-page #home .home-trust-chip {
    gap: .5rem;
    padding-inline: .72rem;
    font-size: .88rem;
  }
  body.home-page #home .home-trust-chip__badge {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  body.home-page #home .home-trust-chip__delivery-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (max-width: 900px) {
  body.home-page #home {
    padding-top: clamp(7.5rem, 13svh, 8.5rem) !important;
    padding-bottom: 2.75rem !important;
  }
  body.home-page #home .home-hero-trust-grid {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 12px 16px;
  }
}

@media (max-width: 700px) {
  body.home-page #home {
    min-height: 100svh !important;
    padding-top: clamp(7rem, 12svh, 7.75rem) !important;
    padding-bottom: 2rem !important;
  }
  body.home-page #home > .z-10 {
    width: min(calc(100% - 2rem), 48rem);
  }
  body.home-page #home .home-hero-trust-band {
    width: 100%;
    max-width: 510px;
    margin-top: 2rem !important;
    padding-inline: 1rem;
  }
  body.home-page #home .home-hero-trust-grid {
    width: 100%;
    max-width: 474px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  body.home-page #home .home-trust-chip {
    min-height: 56px;
    gap: .42rem;
    padding: .35rem .55rem;
    font-size: .82rem;
    white-space: normal;
  }
  body.home-page #home .home-trust-chip__badge {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  body.home-page #home .home-trust-chip__delivery-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  body.home-page #home .home-trust-chip__whatsapp {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    color: #1a3b28;
  }
}

@media (max-width: 380px) {
  body.home-page #home .home-hero-trust-grid { gap: .5rem; }
  body.home-page #home .home-trust-chip {
    gap: .32rem;
    padding-inline: .4rem;
    font-size: .75rem;
  }
  body.home-page #home .home-trust-chip__badge {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  body.home-page #home .home-trust-chip__delivery-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page #home .home-trust-chip--action { transition: none; }
}
