.qmr-hero-banner {
  display: flex;
  justify-content: center;
  overflow: hidden;
  color: var(--qmr-gray-100);
  background: var(--qmr-gradient-dark-to-blue);
  font-family: "Source Sans Pro", "Segoe UI", sans-serif;
}

.qmr-hero-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: 73.5556rem;
  min-height: 480px;
}

.qmr-hero-banner__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
}

@media (min-width: 1400px) {
  .qmr-hero-banner__content {
    padding-left: 0;
  }

  .qmr-hero-banner__media {
    padding-right: 0 !important;
  }
}

.qmr-hero-banner__eyebrow {
  margin: 0 0 1.5rem;
  color: #7ab1d5;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.qmr-hero-banner__eyebrow span {
  padding: 0 0.35em;
}

.qmr-hero-banner__title {
  margin: 0 0 1.5rem;
  color: var(--qmr-gray-100);
  font-size: clamp(2.8rem, 4.5vw, 2.4444rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.qmr-hero-banner__description {
  max-width: 39rem;
  margin: 0 0 1.5rem;
  color: #E5E7EB;
  font-size: clamp(1rem, 1.35vw, 1rem);
  line-height: 1.6;
}

.qmr-hero-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid var(--qmr-gray-100);
  color: var(--qmr-primary-dark);
  background: var(--qmr-gray-100);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.qmr-hero-banner__cta:hover {
  border-color: #d0d7e3;
  color: var(--qmr-primary-dark);
  background: #d0d7e3;
}

.qmr-hero-banner__cta:focus-visible {
  outline: 2px solid #5790ff;
  outline-offset: 3px;
}

.qmr-hero-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.75rem) clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 3.75rem) 0;
}

.qmr-hero-banner__media img {
  display: block;
  width: 100%;
  max-height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1199px) {
  .qmr-hero-banner__inner {
    min-height: 480px;
  }

  .qmr-hero-banner__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .qmr-hero-banner__content {
    padding-right: clamp(2rem, 5vw, 4rem);
    padding-left: clamp(2rem, 5vw, 4rem);
  }

  .qmr-hero-banner__media {
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 991px) {
  .qmr-hero-banner__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 416px;
  }

  .qmr-hero-banner__title {
    font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  }
}

@media (max-width: 767px) {
  .qmr-hero-banner {
    min-height: 0;
  }

  .qmr-hero-banner__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .qmr-hero-banner__content {
    padding: 3rem 1.5rem;
  }

  .qmr-hero-banner__media {
    width: 100%;
    padding: 0 1.5rem 1.5rem;
  }

  .qmr-hero-banner__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 575px) {
  .qmr-hero-banner__content {
    padding: 2.25rem 1.25rem;
  }

  .qmr-hero-banner__media {
    padding: 0 1.25rem 1.25rem;
  }

  .qmr-hero-banner__eyebrow {
    margin-bottom: 1rem;
    font-size: 0.7rem;
  }

  .qmr-hero-banner__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .qmr-hero-banner__description {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}

.qmr-modal {
  padding: 0;
  border: none;
  width: 90%;
  max-width: 40rem;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.qmr-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.qmr-modal__panel {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.qmr-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--qmr-primary-dark);
  color: var(--qmr-gray-100);
}

.qmr-modal__title {
  margin: 0;
  font-size: 1.25rem;
}

.qmr-modal__close {
  border: none;
  padding: 0.25rem 0.5rem;
  color: var(--qmr-gray-100);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.qmr-modal__content {
  padding: 1.5rem;
  overflow: auto;
}

