/* =========================================================
   QUOTE BANNER
   ========================================================= */

.rsp-sa-quote-banner {
  position: relative;
	display: block !important;

  width: 100%;

  overflow: visible;

  background: #000;
  color: #fff;

  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.rsp-sa-quote-banner__background {
  position: absolute;

  inset: 0;

  overflow: hidden;
}

.rsp-sa-quote-banner__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.rsp-sa-quote-banner__overlay {
  position: absolute;

  inset: 0;

  background:
    rgba(
      0,
      0,
      0,
      0.72
    );
}


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

.rsp-sa-quote-banner__content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  margin-inline: auto;

  padding:
    96px
    24px;

  text-align: center;
}


/* =========================================================
   TITLE
   ========================================================= */

.rsp-sa-quote-banner__title {
  margin: 0 auto;

  color: #de0e1f;

  font-size: clamp(
    26.29px,
    calc(23.21px + 0.8565vw),
    35.54px
  );

  font-weight: 700;
  line-height: 1.2;

  letter-spacing: normal;
}


/* =========================================================
   TEXT
   ========================================================= */

.rsp-sa-quote-banner__text {
  max-width: 60ch;

  margin: 20px auto 0;

  color:
    rgba(
      255,
      255,
      255,
      0.85
    );

  font-size: clamp(
    16.08px,
    calc(15.44px + 0.1778vw),
    18px
  );

  line-height: 1.6;
}


/* =========================================================
   PHONE BUTTON
   ========================================================= */

.rsp-sa-quote-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 47px;

  margin:
    27px
    auto
    0;

  padding-inline: 27px;

  border-radius: 5px;

  background: #de0e1f;
  color: #fff !important;

  font-size: clamp(
    16.08px,
    calc(15.44px + 0.1778vw),
    18px
  );

  font-weight: 400;
  line-height: 1;

  text-decoration: none;

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.rsp-sa-quote-banner__button:hover {
  opacity: 0.85;
}

.rsp-sa-quote-banner__button:active {
  transform: translateY(1px);
}


/* =========================================================
   STICKY DOCK
   ========================================================= */

.rsp-sa-sticky-cta__dock {
  position: relative;
  z-index: 3;

  width: 100%;
}


/* =========================================================
   STICKY CTA
   ========================================================= */

.rsp-sa-sticky-cta {
  width: 100%;

  background: #000;
  color: #fff;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.14
    );

  transition:
    box-shadow 180ms ease;
}


/* =========================================================
   INNER
   ========================================================= */

.rsp-sa-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 1320px;

  min-height: 72px;

  margin-inline: auto;
  padding: 12px 24px;

  gap: 32px;
}


/* =========================================================
   TITLE
   ========================================================= */

.rsp-sa-sticky-cta__title {
  margin: 0;

  color: #fff;

  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}


/* =========================================================
   FEE
   ========================================================= */

.rsp-sa-sticky-cta__fee {
  margin: 0;

  color: #fff;

  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;

  text-align: center;
}


/* =========================================================
   BUTTON
   ========================================================= */

.rsp-sa-sticky-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 47px;

  padding-inline: 27px;

  border-radius: 5px;

  background: #de0e1f;
  color: #fff !important;

  font-size: 16px;
  font-weight: 400;
  line-height: 1;

  text-decoration: none;

  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.rsp-sa-sticky-cta__button:hover {
  opacity: 0.85;
}

.rsp-sa-sticky-cta__button:active {
  transform: translateY(1px);
}


/* =========================================================
   FIXED STATE
   ========================================================= */

.rsp-sa-sticky-cta[data-fixed="true"] {
  position: fixed;

  z-index: 9999;

  right: 0;
  bottom: 0;
  left: 0;

  box-shadow:
    0 -8px 30px
    rgba(
      0,
      0,
      0,
      0.22
    );
}


/* =========================================================
   DOCKED STATE
   ========================================================= */

.rsp-sa-sticky-cta[data-fixed="false"] {
  position: relative;

  z-index: 3;

  right: auto;
  bottom: auto;
  left: auto;

  box-shadow: none;
}


/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1023px) {

  .rsp-sa-sticky-cta__inner {
    gap: 20px;

    padding:
      12px
      20px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .rsp-sa-quote-banner__content {
    padding:
      64px
      20px;
  }

  .rsp-sa-sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 72px;

    gap: 16px;

    padding:
      12px
      20px;
  }

  .rsp-sa-sticky-cta__title {
    min-width: 0;

    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
  }

  /*
   * Artifact requirement:
   * hide centre offer below 768px.
   */
  .rsp-sa-sticky-cta__fee {
    display: none;
  }

  .rsp-sa-sticky-cta__button {
    flex: 0 0 auto;

    min-height: 47px;

    padding-inline: 20px;

    font-size: 16px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .rsp-sa-sticky-cta__inner {
    gap: 12px;

    padding:
      10px
      14px;
  }

  .rsp-sa-sticky-cta__title {
    font-size: 16px;
  }

  .rsp-sa-sticky-cta__button {
    padding-inline: 16px;

    font-size: 14px;
  }
}