.get-quote {
  display: flex;
  flex-direction: column;
  background-color: #1e292f;
  margin: 0 0 5.5rem;
}

/* ---------- Image panel ---------- */
.get-quote__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 26rem;
  overflow: hidden;
}
.get-quote__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 41, 47, 0) 46.63%,
    #1e292f 89.82%
  );
  pointer-events: none;
}
.get-quote__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.get-quote__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 26.75rem;
  padding: 0 1.25rem 2rem;
  color: #ffffff;
  box-sizing: content-box;
}
.get-quote__title {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 2.25rem;
  color: #ffffff;
  margin: 0;
}
.get-quote__description {
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #ffffff;
  margin: 0;
  max-width: 18.875rem;
}
.get-quote__description strong {
  font-weight: 700;
}

/* ---------- Form panel / card ---------- */
.get-quote__form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 2.5rem;
}
/* card matches .quote-modal__dialog / .quote-modal__body */
.get-quote__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 31.5rem;
  padding: 1.75rem 1.25rem;
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.get-quote__fineprint {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #5e6c84;
  text-align: center;
  margin: 0.75rem 0 0;
}

/* ---------- Tablet ---------- */
@media screen and (min-width: 768px) {
  .get-quote__card {
    padding: 2.5rem;
  }
  .get-quote__media {
    min-height: 32rem;
  }
  .get-quote__copy {
    gap: 1.5rem;
    padding-bottom: 3rem;
  }
  .get-quote__title {
    font-size: 2.25rem;
    line-height: 2.75rem;
  }
  .get-quote__description {
    font-size: 1.125rem;
  }
  .get-quote__form-panel {
    padding: 3rem 2.5rem;
  }
}

/* ---------- Desktop: side by side ---------- */
@media screen and (min-width: 992px) {
  .get-quote {
    flex-direction: row;
    min-height: 45.4375rem;
  }
  .get-quote__media,
  .get-quote__form-panel {
    flex: 1 1 50%;
    width: 50%;
  }
  .get-quote__media {
    min-height: 0;
  }
  .get-quote__copy {
    padding-bottom: 6.75rem;
  }
  .get-quote__form-panel {
    padding: 1.625rem 2.5rem;
  }
  /* Backgrounds stay full-bleed, but past the 90rem container (.container in main.css) the
     outer edges gain padding so the copy and card stay centred in each half of the container
     instead of drifting apart on wide screens. % padding resolves against .get-quote's width. */
  .get-quote__media {
    padding-left: max(0px, calc((100% - 90rem) / 2));
  }
  .get-quote__form-panel {
    padding-right: max(2.5rem, calc((100% - 90rem) / 2 + 2.5rem));
  }
}

/* ---------- Mobile (Figma 717:108) ---------- */
@media screen and (max-width: 767px) {
  .get-quote {
    gap: 0.75rem;
    padding: 2.875rem 1.25rem 2.5rem;
    background-color: #eceeee;
  }
  .get-quote__media {
    display: block;
    min-height: 0;
    overflow: visible;
  }
  .get-quote__media::after,
  .get-quote__image {
    display: none;
  }
  .get-quote__copy {
    gap: 1.25rem;
    max-width: none;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
  }
  .get-quote__title {
    font-weight: 500;
    font-size: 1.875rem;
    line-height: 2.375rem;
    color: #19a5c9;
  }
  .get-quote__description {
    max-width: none;
    font-family: "Noto Sans", "Nunito", sans-serif;
    font-size: 0.9375rem;
    line-height: 1.375rem;
    color: #1f2b32;
  }
  .get-quote__description strong {
    font-weight: 400;
  }
  .get-quote__form-panel {
    padding: 0;
  }
  .get-quote__card {
    max-width: none;
    box-shadow: none;
  }
}
