/* ============================================================
   SECTION 4 — DESIGNED TO RISE ABOVE EXPECTATIONS
   ============================================================ */

.expectations-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: #f7f3eb; /* Fallback light sand color matching the bright sky backdrop */
}

/* ── Background sky and building overlay ── */
.expectations-section__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.expectations-section__sky-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.expectations-section__building-fg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center; /* Positions building on the right, keeping it clear of text */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Content on the left ── */
.expectations-section__content {
  position: relative;
  z-index: 2;
  padding-left: 11vw; /* Left padding 10-12% of viewport */
  padding-right: 24px;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Scroll reveal states */
.expectations-section__content.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.expectations-section__content.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Heading ── */
.expectations-section__heading {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 45px;
  font-weight: 500;
  line-height: 1.05;
  color: #6B1E1E; /* Deep burgundy */
  margin: 0 0 30px 0;
  text-transform: capitalize;
}

/* ── Body copy ── */
.expectations-section__desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: #6B1E1E; /* Matching burgundy */
  max-width: 100%;
  margin: 0;
}

.expectations__desc-mobile {
  display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .expectations-section__content {
    padding-left: 8vw;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .expectations-section__content {
    padding-left: 6vw;
    max-width: 90%;
  }

  .expectations-section__heading {
    font-size: 35px;
  }

  .expectations-section__desc {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .expectations-section {
    display: block !important;
    position: relative !important;
    height: 846px !important;
    min-height: 846px !important;
    background-color: #FFF0D3 !important;
    background-image:
      linear-gradient(
        to bottom,
        #FFF0D3 0%,
        #FFF0D3 33%,
        rgba(255, 240, 211, 0) 42%
      ),
      url('../assets/banners/mobile_expectations.png') !important;
    background-position: center top, center bottom !important;
    background-size: 100% 100%, cover !important;
    background-repeat: no-repeat !important;
  }

  .expectations-section__bg-wrap {
    display: none !important;
  }

  .expectations-section__content {
    position: relative !important;
    z-index: 2 !important;
    padding: 68px 24px 0 !important;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .expectations-section__heading {
    margin: 0 0 58px !important;
    font-family: 'ClassyVogue', 'Cormorant Garamond', 'Georgia', serif !important;
    font-size: 37px !important;
    line-height: 1.02 !important;
    font-weight: 400 !important;
    text-align: center !important;
    color: #500806 !important; /* Dark maroon */
  }

  .expectations-section__desc {
    max-width: 250px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    color: #500806 !important;
    margin: 0 auto !important;
  }

  .expectations__desc-desktop {
    display: none !important;
  }

  .expectations__desc-mobile {
    display: inline !important;
  }
}
