/* Home page: a slim bar on the "Live fully" hero, and the green band with the summary, prices and the enquiry form. */

/* green band right after the hero, in the language of The Building's facts band */
.lg_grid { align-items: center; grid-column-gap: 6rem; }
.lg_text { display: flex; flex-direction: column; gap: 2rem; }
.lg_title { margin: 0; font-size: clamp(2.4rem, 4.2vw, 4.4rem); line-height: 1.02; }
.lg_lead { color: var(--base-color-neutral--light-pink); font-size: var(--text-size--main, 1.1875rem); line-height: 1.5; margin: 0; max-width: 34em; }
.lg_prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.lg_prices .facts_item { padding-top: .8rem; }
.lg_note { color: var(--base-color-neutral--light-pink); opacity: .75; font-size: .85rem; margin: 0; }
.lg_form .landing_card { margin-left: auto; }
.lg_form .landing_small a { color: inherit; }

/* slim bar along the bottom of the hero */
.hb {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem 3%;
  background: var(--base-color-neutral--green);
  color: var(--base-color-neutral--light-pink);
  text-decoration: none;
  font-size: 1.05rem;
}
.hb_dot { margin: 0 .75rem; opacity: .6; }
.hb_btn {
  flex: none;
  background: var(--base-color-neutral--light-pink);
  color: var(--base-color-neutral--dark);
  border-radius: 2rem;
  padding: .7rem 1.4rem;
  font-size: .95rem;
}
.hb:hover .hb_btn { background: #fff; }


/* phones: the way to the form stays on screen while scrolling, until the form itself is in view */
.hb_sticky { display: none; }
@media (max-width: 767px) {
  .hb_sticky {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 999;
    text-align: center; text-decoration: none; padding: 1rem;
    background: var(--base-color-neutral--dark); color: #fff; border-radius: 2rem;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .25);
    transition: opacity .3s, transform .3s;
  }
  .hb_sticky.is-hidden { opacity: 0; transform: translateY(1rem); pointer-events: none; }
}

@media (max-width: 991px) {
  .lg_grid { grid-template-columns: 1fr; grid-row-gap: 2.5rem; }
  .lg_form .landing_card { margin: 0; max-width: none; }
  .hb { flex-direction: column; align-items: stretch; text-align: center; gap: .7rem; padding: .9rem 1.25rem; font-size: .9rem; }
  .hb_dot { margin: 0 .4rem; }
  .hb_btn { text-align: center; }
}
@media (max-width: 600px) {
  .lg_prices { grid-template-columns: 1fr; gap: .4rem; }
}
