/* ============================================================
   SECTION: FOOTER CTA — START
   The photo fills the whole section behind a dark gradient, with the copy
   centred over it. The photo lives in .right-col, so that column is lifted
   out of the flex flow and pinned across the section as the background,
   and .left-col spans the full width on top.
   ============================================================ */

.footer-cta {
  position: relative;
  padding: 295px 0 125px !important; 
  overflow: hidden;
  clip-path: inset(0);
  /* background-color: #000000; */
}

/* --- Right column becomes the full-bleed parallax background --- */
.footer-cta .right-col {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

.footer-cta .footer-cta-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 0;
}

/* max-height:none overrides component-common.css's `.footer-cta-image img
   { max-height: 650px }`, which capped the photo and left a strip of the
   section uncovered at wide viewports. */
.footer-cta .footer-cta-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

/* dark gradient over the photo, matching v1 */
.footer-cta .right-col::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(56, 47, 45, 0.5) 0, #000 80%);
}

/* --- Copy sits centred on top ---
   The wrapper must NOT be positioned: it carries .container, which
   component-main.css sets to position:relative, and that made it the offset
   parent for .right-col — pinning the photo to the 1140px container instead
   of to the section. Forced static here; the stacking context moves to
   .left-col instead. */
.footer-cta .footer-cta-wrapper {
  position: static;
  max-width: 1140px;
}

.footer-cta .left-col {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.footer-cta .footer-cta-content .section-title {
  margin-left: auto;
  margin-right: auto;
}
.footer-cta .footer-cta-content h3{
  margin-left: auto;
  margin-right: auto;
}
.footer-cta .footer-cta-content .section-content {
  margin: 0 auto 30px;
  padding: 25px 0;
  border-top: 1px solid #9f662d;
  border-bottom: 1px solid #9f662d;
}

.footer-cta .footer-cta-content .cta-text {
  font-weight: 300;
}

.footer-cta .footer-cta-content a:not(.btn) {
  color: #b98a52;
  text-decoration: underline;
}

/* --- Button: uppercase, letterspaced, with v1's ring --- */
.footer-cta .cta-buttons {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding-top: 25px;
  gap: 10px;
}

.footer-cta .cta-buttons > a {
  position: relative;
  margin: 50px 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* circle ring decoration around the button, like live site */
.footer-cta .cta-buttons > a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: url("../../../../../../themes/lvl29-v2/assets/images/icons/half-circle.svg") no-repeat 50%;
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 767px) {
  /* Tighter padding. Parallax is dropped here — a fixed background is janky on touch devices, so the photo scrolls with the section instead. */
  .footer-cta {
    padding: 165px 0 75px !important;
    clip-path: none;
  }

  .footer-cta .right-col {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
  }

  .footer-cta .footer-cta-wrapper {
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-cta .cta-buttons {
    margin-top: 25px;
  }

  .footer-cta .cta-buttons > a {
    margin: 40px 0 !important;
  }

  .footer-cta .footer-cta-content .cta-text {
    font-size: 1.143rem;
    line-height: 1.5;
  }
}
/* ============================================================
   SECTION: FOOTER CTA — END
   ============================================================ */

/* ===== LVL29 ADDITIONAL CONTENT 3 ===== */
.additional-content-3 {
  position: relative;
  background-color: #000000;
}

.additional-content-3 .section-bg-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.additional-content-3 .section-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.additional-content-3 .section-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.additional-content-3 .container.container-medium {
  max-width: 1140px;
  display: flex;
}

.additional-content-3 .container {
  position: relative;
  z-index: 5;
  margin-bottom: -130px;
  background: rgba(163, 147, 131, 0.7);
  padding: 50px 100px 85px;
  text-align: right;
  border-bottom-left-radius: 300px;
}

.additional-content-3 .section-details,
.additional-content-3 .section-counters {
  position: relative;
  width: 50%;
}

.additional-content-3 .section-details .section-content p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

.additional-content-3 .single-counter-item {
  display: block;
  max-width: 320px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #9f662d;
  transition: all 0.8s ease;
}

.additional-content-3 .single-counter-item span.counter-detail {
  display: block;
  margin: 0;
  font-size: 1.071rem;
  font-weight: 700;
  line-height: 1.5;
  color: #382f2d;
}

.additional-content-3 .single-counter-item span.counter-number {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.429rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .additional-content-3 .container {
    display: block;
    padding: 75px 20px 30px;
    border-bottom-left-radius: 100px;
    text-align: center;
  }

  .additional-content-3 .section-details,
  .additional-content-3 .section-counters { width: 100%; }
  .additional-content-3 .container h2 { font-size: 1.714rem; }
  .additional-content-3 .section-details .section-content p { font-size: 1.143rem; }
  .additional-content-3 .single-counter-item { padding: 10px; }
  .additional-content-3 .single-counter-item span.counter-number { font-size: 1.571rem; }
  .additional-content-3 .single-counter-item span.counter-detail { font-size: 1rem; }
  .additional-content-3 .container.container-medium{
    flex-flow: wrap;
  }
  .footer .attribution {
    margin-left: inherit;
  }
}
