/* 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; }
}

/* Fimex's logo after "A Labone development by" under the hero pictures (fades in with the chip's words) */
.chip_logo { height: 1.3em; width: auto; margin-left: .45em; font-size: 14.4px; display: block; flex: none; }

/* Amenities on the home page (Fimex, 29 Nov 2026): six of the amenities, each opening the Amenities page.
   The cards are the Apartments overview's: the site's frame with three rounded corners, Reckless names. */
.home_amen_head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: end; gap: 1.5rem 4rem; margin-bottom: 3rem; }
.home_amen_title {
  font-family: var(--fonts--reckless-font); font-weight: 300; margin: 0; color: var(--base-color-neutral--dark);
  font-size: clamp(3rem, 7vw, 7.25rem); line-height: .95; letter-spacing: -.025em;
}
.home_amen_lead { margin: 0 0 .6rem; font-size: 1.05rem; line-height: 1.5; }
.home_amen_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
.home_amen_item { display: flex; flex-direction: column; gap: .9rem; text-decoration: none; color: var(--base-color-neutral--dark); }
.home_amen_item:focus-visible { outline: 2px solid var(--base-color-neutral--dark); outline-offset: 4px; }
.home_amen_img {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e6e5e3;
  border-radius: var(--border-radius--main-small) 0 var(--border-radius--main-small) var(--border-radius--main-small);
}
.home_amen_img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .6s ease; }
.home_amen_item:hover .home_amen_img img { transform: scale(1.1); }
.home_amen_name { font-family: var(--fonts--reckless-font); font-size: 1.5rem; line-height: 1.1; }
.home_amen_more { margin-top: 3rem; }
@media (max-width: 767px) {
  .home_amen_head { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .home_amen_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .home_amen_name { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .home_amen_img img { transition: none; } }
