/* ==========================================================
   SECTION WRAPPER
========================================================== */

.final-cta {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* IMPORTANT:
   Remove the 100vw breakout (it causes horizontal scrollbar).
   The section is already full width by default. */
.final-cta-bg-wrap {
  width: 100%;
  margin: 0;
}

/* BLUE BACKGROUND CARD */
.final-cta-bg-card {
  position: relative;
  width: 100%;

  /* TOP corners rounded, BOTTOM corners square */
  border-radius: 40px 50px 0 0;

  overflow: hidden;
  background-image: url("../images/footer-bg.webp");
  background-size: cover;
  background-position: center;

  /* No extra space outside blue */
  padding: 64px 0 64px;
}

/* If you use overlays/pseudo elements, match the SAME radius */
.final-cta-bg-card::before,
.final-cta-bg-card::after {
  border-radius: 52px 52px 0 0;
}

.final-cta-bg,
.final-cta-overlay {
  border-radius: 52px 52px 0 0;
}

/* ==========================================================
   CENTERED CONTENT
========================================================== */

.final-cta-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* MAIN GRID */
.final-cta-content {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 56px;
  align-items: center;
}

/* ==========================================================
   LEFT SIDE
========================================================== */

.final-left {
  color: #fff;
}

.final-logo-box {
  width: 168px;
  height: 122px;
  background: #fff;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  margin-bottom: 22px;
}

.final-logo-box img {
  width: 110px;
}

.final-title {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px;
}

.final-desc {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 24px;
}

/* CALL BUTTON */
.final-call {
  display: inline-block;
  background: #e51b27;
  border-radius: 12px;
  padding: 16px 22px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 5px 15px rgba(229, 27, 39, .45);
}

.final-call-top {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.final-call-main {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

/* ==========================================================
   RIGHT SIDE
========================================================== */

.final-right {
  text-align: center;
  color: #fff;
}

/* Offer heading */
.final-offer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.final-offer-pill {
  background: linear-gradient(90deg, #ff8a00, #ff2d55);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 900;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.final-offer-text {
  font-size: 30px;
  font-weight: 900;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.final-offer-sub {
  font-size: 20px;
  letter-spacing: 6px;
  margin-bottom: 16px;
  font-weight: 800;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* FORM */
.final-form {
  max-width: 760px;
  margin: 0 auto;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.final-field label {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1.6px;
  margin-bottom: 6px;
  display: block;
  text-align: left;
}

.final-field input,
.final-field select {
  width: 100%;
  height: 44px;
  border-radius: 7px;
  border: none;
  padding: 0 14px;
  font-size: 16px;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

/* SUBMIT */
.final-submit {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-top: 16px;
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: none;
  background: #e51b27;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(229, 27, 39, .45);
}

/* NOTE */
.final-note {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.75;
}

/* ==========================================================
   BOTTOM FOOTER TEXT (INSIDE BLUE)
========================================================== */

.final-bottom {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.credits {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.fw-semibold {
  color: rgb(229, 229, 229);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}


/* ==========================================================
   BACK TO TOP BUTTON
========================================================== */

.final-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: none;
  font-weight: 900;
  cursor: pointer;
}



@media (max-width: 992px) {

  /* SECTION: no side padding that creates white gutters */
  .final-cta {
    padding: 0;
    background: #fff;
  }

  /* WRAP: must be zero padding so blue can touch the edges */
  .final-cta-bg-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    /* IMPORTANT */
  }

  /* BLUE BACKGROUND CARD: must be full width and NO radius for true edge-to-edge */
  .final-cta-bg-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 26px 0 26px;
    border-radius: 40px 40px 0 0;
    /* IMPORTANT: radius causes white edges */
    background-position: center top;
  }

  /* If you have overlays/pseudo-elements, match the no-radius */
  .final-cta-bg-card::before,
  .final-cta-bg-card::after,
  .final-cta-bg,
  .final-cta-overlay {
    border-radius: 0;
  }

  /* CONTENT CONTAINER: add padding HERE (content only) */
  .final-cta-container {
    max-width: 100%;
    padding: 0 14px;
    overflow-x: clip;
  }

  /* LAYOUT: stack columns */
  .final-cta-content {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  /* Prevent grid overflow on mobile */
  .final-cta-content>* {
    min-width: 0;
  }

  /* LEFT */
  .final-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .final-logo-box {
    width: 160px;
    height: 110px;
    margin: 0 auto 14px;
    border-radius: 14px;
  }

  .final-logo-box img {
    width: 105px;
    height: auto;
  }

  .final-title {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.12;
    margin: 0 0 10px;
  }

  .final-desc {
    max-width: 520px;
    margin: 0 auto 16px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
  }

  .final-call {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 16px 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
  }

  .final-call-top {
    font-size: 16px;
    margin-bottom: 4px;
    white-space: normal;
  }

  .final-call-main {
    font-size: 26px;
    white-space: normal;
  }

  /* RIGHT */
  .final-right {
    width: 100%;
  }

  .final-offer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 8px;
    align-items: center;
    justify-content: center;
  }

  .final-offer-pill {
    font-size: 22px;
    padding: 10px 18px;
    border-radius: 10px;
  }

  .final-offer-text {
    font-size: 28px;
    line-height: 1.05;
  }

  .final-offer-sub {
    font-size: 12px;
    letter-spacing: 6px;
    margin-bottom: 12px;
  }

  /* FORM */
  .final-form {
    width: 100%;
  }

  .final-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 10px;
  }

  .final-field label {
    display: none;
  }

  .final-field input,
  .final-field select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 56px;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    box-sizing: border-box;
  }

  .final-submit {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    font-size: 16px;
    margin-top: 14px;
  }

  .final-note {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 10px;
  }

  /* BOTTOM COPYRIGHT */
  .final-bottom {
    margin-top: 18px;
    padding-bottom: 6px;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
  }

  .final-field input::placeholder{
    opacity: 0.85;
  }

}

/* Placeholders OFF on desktop */
@media (min-width: 993px){
  .final-field input::placeholder{
    opacity: 0;
  }
}

/* ===== reCAPTCHA (desktop) ===== */
.final-recaptcha{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;   /* ✅ match the select row visually */
  margin: 0 0 0 35px ;                 /* ✅ remove messy offsets */
}

/* scale wrapper */
.final-recaptcha .recaptcha-scale{
  display: inline-block;
  transform: scale(0.88);
  transform-origin: left center;

  /* ✅ lock the footprint so it doesn't push layout weirdly */
  width: calc(304px * 0.88);
  height: calc(78px * 0.88);
}

/* ===== mobile ===== */
@media (max-width: 992px){
  .final-recaptcha{
    grid-column: 1 / -1;          /* if you’re using grid */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0 6px;
  }

}
