.rh-wrapper,
.rh-wrapper *,
.rh-wrapper *::before,
.rh-wrapper *::after {
  box-sizing: border-box;
}
.rh-wrapper {
  width: 100%;
  color: #28292b;
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Raleway", sans-serif;
  font-feature-settings: "pnum" on, "lnum" on;
  font-optical-sizing: auto;
}
.rh-wrapper p {
  margin: 0;
}
.rh-wrapper img {
  max-width: 100%;
  display: block;
}
.rh-main-text p {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
}
.rh-bold-text p {
  font-weight: 700;
}
.rh-sbold-text p {
  font-weight: 600;
}
.rh-blue-text p {
  color: #2756aa;
}
.rh-white-text p {
  color: #fff;
}
.rh-text-h0 p {
  font-size: 50px;
}
.rh-text-h1 p {
  font-size: 45px;
}
.rh-text-h2 p {
  font-size: 30px;
}
.rh-text-h3 p {
  font-size: 24px;
}
.rh-text-h4 p {
  font-size: 20px;
}
.rh-text-h5 p {
  font-size: 16px;
}
.rh-center-text p {
  text-align: center;
}
.rh-mrg-b15 {
  margin-bottom: 15px;
}
.rh-hide-list {
  display: none;
}
.rh-show-block {
  animation: rhShowBlock 1s linear forwards;
}
@keyframes rhShowBlock {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.rh-section {
  max-width: 100%;
  width: 100%;
  position: relative;
  padding: 0 0 50px;
}
.rh-section__content {
  max-width: 1100px;
  margin: 0 auto;
}
.rh-hero {
  padding-bottom: 30px;
}
.rh-grad-block {
  background-image: url("../public/img/respiratory/rh-bg1.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-radius: 20px;
  height: 320px;
  max-width: 1280px;
  margin: 0 auto;
}
.rh-hero-title {
  margin: 0;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}
.rh-blue-block {
  background: rgba(231, 240, 255, 0.2);
  backdrop-filter: blur(2px);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 20px;
}
.rh-questions {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.rh-question {
  display: none;
}
.rh-question--active {
  display: block;
}
.rh-question,
.rh-results {
  scroll-margin-top: 92px;
}
.rh-question-card {
  height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(39, 86, 170, 0.08);
  min-height: 480px;
}
.rh-question-card__left {
  display: flex;
  flex-direction: column;
  max-width: 50%;
  justify-content: space-between;
}
.rh-question-card__right {
  max-width: 47%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 40px 40px 0;
}
.rh-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 40px 0 0 40px;
}
.rh-step {
  width: 58px;
  height: 48px;
  border-radius: 12px;
  background: #e7f2fe;
  color: #2756aa;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.rh-step--active {
  background: #2756aa;
  color: #fff;
}
.rh-step--answered:not(.rh-step--active) {
  background: #cfe3fb;
  color: #2756aa;
}
.rh-question-title {
  padding-left: 40px;
}
.rh-question-illustration {
  display: flex;
  justify-content: flex-start;
}
.rh-question-illustration img {
  height: auto;
}
.rh-answers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}
.rh-answer {
  width: 100%;
  max-width: 480px;
  height: 100px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f3f6fa;
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding-left: 25px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.rh-answer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rh-answer:hover {
  background: #eaf1fb;
}
.rh-answer--selected {
  border-color: #0f62f5;
  background: #e7f2fe;
  box-shadow: 0 0 0 1px rgba(39, 86, 170, 0.12);
}
.rh-answer__radio {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #0f62f5;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s ease;
}
.rh-answer__radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #0f62f5;
  transform: scale(0);
  transition: transform 0.15s ease;
}
.rh-answer--selected .rh-answer__radio::after {
  transform: scale(1);
}
.rh-answer:has(input:focus-visible) {
  outline: 3px solid #7fb3ff;
  outline-offset: 2px;
}
.rh-answer__text {
  flex: 1 1 auto;
  min-width: 0;
}
.rh-answer__image {
  width: 155px;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rh-answer__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.rh-question-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  width: 100%;
}
.rh-question-nav {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.rh-nav-btn {
  font-family: "Raleway", sans-serif;
  min-height: 56px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.15s ease, background 0.2s ease;
}
.rh-nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.rh-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.rh-nav-btn--prev {
  flex: 0 0 30%;
  max-width: 30%;
  padding: 0 16px;
  background: #f0f4fa;
  color: #28292b;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.rh-nav-btn--prev img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.rh-nav-btn--next {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 28px;
  background: #4a8bff;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  line-height: 1.2;
}
.rh-nav-btn--final {
  padding-top: 8px;
  padding-bottom: 8px;
}
.rh-question-disclaimer {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: #8a93a3;
  text-align: right;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}
.rh-question-disclaimer--visible {
  max-height: 80px;
  opacity: 1;
}
.rh-results {
  padding: 10px 20px 50px;
}
.rh-results__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.rh-results__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 19px 40px;
  border-radius: 30px;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.rh-results__nav-btn img {
  width: 16px;
  height: 16px;
}
.rh-results__nav-btn:hover {
  transform: translateY(-1px);
}
.rh-results__nav-btn--home {
  background: #fff;
  border: 1.5px solid #2756aa;
  color: #2756aa;
}
.rh-results__nav-btn--restart {
  background: #2756aa;
  border: 1.5px solid #2756aa;
  color: #fff;
}
.rh-results-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 32px 24px;
  box-shadow: 0 10px 30px rgba(39, 86, 170, 0.08);
  position: relative;
  overflow: hidden;
  --rh-risk: #4caf50;
}
.rh-results-card[data-risk="medium"] {
  --rh-risk: #e6a700;
}
.rh-results-card[data-risk="high"] {
  --rh-risk: #e35d5d;
}
.rh-results-score-line p {
  color: #28292b;
}
.rh-results-score-accent {
  color: var(--rh-risk);
  font-weight: 700;
}
.rh-results-card__middle {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 28px 0 30px;
}
.rh-results-shield-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}
.rh-results-shield {
  position: relative;
  width: 250px;
  display: flex;
  justify-content: center;
}
.rh-results-shield__body {
  position: relative;
}
.rh-results-shield__img {
  width: 100%;
  height: auto;
}
.rh-results-shield__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22% 12%;
  pointer-events: none;
}
.rh-results-shield__num {
  font-family: "Raleway", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 0.95;
  color: #1a1a1a;
}
.rh-results-shield__of {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin-top: 2px;
}
.rh-results-shield__unit {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: #6b7280;
  margin-top: 2px;
}
.rh-results-badge {
  background: linear-gradient(180deg, #ddf8d7 0%, #c8f6c7 100%);
  border-radius: 12px;
  color: #28292b;
  text-align: center;
  padding: 10px 14px;
  font-weight: 700;
  line-height: 120%;
  max-width: 100%;
  margin-top: -20px;
  z-index: 2;
}
.rh-results-card[data-risk="medium"] .rh-results-badge {
  background: #fbf0e5;
}
.rh-results-card[data-risk="high"] .rh-results-badge {
  background: #fbe5e5;
}
.rh-results-card[data-risk="medium"] .rh-results-illustration {
  flex: 0 0 340px;
}
.rh-results-card[data-risk="medium"] .rh-results-cta {
  max-width: 380px;
}
.rh-results-card[data-risk="medium"] .rh-results-cta__lead p {
  font-size: 18px;
}
.rh-results-card[data-risk="medium"] .rh-results-cta__know p {
  font-size: 16px;
}
.rh-results-cta {
  flex: 1 1 auto;
  max-width: 310px;
  min-width: 0;
}
.rh-results-cta__lead p {
  font-size: 20px;
  line-height: 130%;
  color: #28292b;
}
.rh-results-cta__know p {
  line-height: 130%;
  color: #4d4d4d;
}
.rh-results-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 56px;
  padding: 18px 40px;
  border-radius: 30px;
  background: #4a8bff;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.rh-results-cta__btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.rh-results-illustration {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 0 0 400px;
}
.rh-results-illustration img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}
.rh-results-card__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.rh-results-card__bottom--with-alert {
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto 1fr;
}
.rh-results-card__bottom--with-alert .rh-results-box--actions {
  grid-row: 1 / -1;
}
.rh-results-card__bottom--with-alert .rh-results-box--alert {
  grid-column: 2;
  grid-row: 1;
}
.rh-results-card__bottom--with-alert .rh-results-box--doctor {
  grid-column: 2;
  grid-row: 2;
}
.rh-results-box {
  border-radius: 18px;
  padding: 20px 22px;
  min-width: 0;
}
.rh-results-box--actions {
  background: linear-gradient(180deg, #ddf8d7 0%, #c8f6c7 100%);
  border-radius: 20px;
}
.rh-results-box--alert {
  background: #fff3e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rh-results-box--alert.rh-hide-list {
  display: none;
}
.rh-results-box--doctor {
  background: #eaf2ff;
}
.rh-results-card[data-risk="low"] .rh-results-box--alert {
  display: none;
}
.rh-results-card[data-risk="medium"] .rh-results-card__bottom--with-alert,
.rh-results-card[data-risk="high"] .rh-results-card__bottom--with-alert {
  grid-template-columns: 0.35fr 1fr;
}
.rh-results-card[data-risk="high"] .rh-results-box--alert {
  background: #fbe5e5;
}
.rh-results-card[data-risk="high"] .rh-results-alert__icon {
  background: #e35d5d;
}
.rh-results-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rh-results-alert .rh-main-text p {
  font-size: 16px;
  line-height: 130%;
  color: #28292b;
  font-weight: 600;
}
.rh-results-alert__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5a623;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
  font-family: "Raleway", sans-serif;
}
.rh-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rh-results-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rh-results-list__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}
.rh-results-list__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rh-results-list .rh-main-text p {
  font-size: 16px;
  line-height: 130%;
  color: #28292b;
}
.rh-results-disclaimer {
  display: flex;
  justify-content: center;
  opacity: 0.55;
  pointer-events: none;
  margin-top: 8px;
}
.rh-results-disclaimer img {
  width: 100%;
  max-width: 980px;
  height: auto;
}
.rh-doctor-title span {
  font-weight: 700;
}
@media (max-width: 1100px) {
  .rh-question-card {
    gap: 20px;
    height: auto;
    min-height: 480px;
  }
  .rh-question-card__left,
  .rh-question-card__right {
    flex: 1 1 0;
    min-width: 0;
  }
  .rh-results-card__middle {
    gap: 16px;
  }
  .rh-results-shield-wrap {
    width: auto;
    flex: 0 0 200px;
  }
  .rh-results-shield,
  .rh-results-shield__body {
    width: 225px;
  }
  .rh-results-illustration,
  .rh-results-card[data-risk="medium"] .rh-results-illustration {
    flex: 0 1 240px;
  }
  .rh-results-illustration img,
  .rh-results-card[data-risk="medium"] .rh-results-illustration img {
    max-height: 230px;
    max-width: 100%;
  }
  .rh-results-cta,
  .rh-results-card[data-risk="medium"] .rh-results-cta {
    max-width: 280px;
  }
}
@media (max-width: 900px) {
  .rh-text-h0 p {
    font-size: 40px;
  }
  .rh-text-h1 p {
    font-size: 30px;
  }
  .rh-text-h2 p {
    font-size: 24px;
  }
  .rh-text-h3 p {
    font-size: 20px;
  }
  .rh-text-h4 p {
    font-size: 18px;
  }
  .rh-hero-title {
    font-size: 40px;
  }
  .rh-section {
    padding-bottom: 30px;
  }
  .rh-question-card {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .rh-question-card__left,
  .rh-question-card__right {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
  .rh-question-card__right {
    align-items: stretch;
    padding: 0 24px 28px;
  }
  .rh-steps,
  .rh-question-title {
    padding-left: 24px;
    padding-right: 24px;
  }
  .rh-question-illustration {
    min-height: 0;
    justify-content: center;
  }
  .rh-question-illustration img {
    max-height: 240px;
    width: auto;
    max-width: 100%;
  }
  .rh-answers,
  .rh-answer {
    width: 100%;
    max-width: none;
  }
  .rh-answer {
    height: auto;
    min-height: 88px;
  }
  .rh-results {
    padding-left: 16px;
    padding-right: 16px;
  }
  .rh-results-card {
    padding: 24px 20px 18px;
  }
  .rh-results-card__middle {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rh-results-shield-wrap,
  .rh-results-illustration,
  .rh-results-card[data-risk="medium"] .rh-results-illustration,
  .rh-results-card[data-risk="high"] .rh-results-illustration {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
  }
  .rh-results-cta,
  .rh-results-card[data-risk="medium"] .rh-results-cta,
  .rh-results-card[data-risk="high"] .rh-results-cta {
    flex: 0 1 auto;
    width: 100%;
    max-width: 480px;
  }
  .rh-results-cta__btn {
    width: 100%;
    max-width: 280px;
  }
  .rh-results-card__bottom,
  .rh-results-card__bottom--with-alert,
  .rh-results-card[data-risk="medium"] .rh-results-card__bottom--with-alert,
  .rh-results-card[data-risk="high"] .rh-results-card__bottom--with-alert {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .rh-results-card__bottom--with-alert .rh-results-box--actions,
  .rh-results-card__bottom--with-alert .rh-results-box--alert,
  .rh-results-card__bottom--with-alert .rh-results-box--doctor {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 768px) {
  .rh-answer {
    gap: 10px;
    padding-left: 16px;
    min-height: 76px;
  }
  .rh-answer__image {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .rh-results-shield,
  .rh-results-shield__body {
    width: 160px;
  }
  .rh-results-shield__num {
    font-size: 34px;
  }
  .rh-results-shield__of {
    font-size: 16px;
  }
  .rh-results-illustration img {
    max-height: 200px;
  }
}
@media (max-width: 550px) {
  .rh-text-h0 p {
    font-size: 35px;
  }
  .rh-text-h1 p {
    font-size: 28px;
  }
  .rh-hero-title {
    font-size: 35px;
  }
  .rh-grad-block {
    height: auto;
    min-height: 160px;
    margin: 0 12px;
    padding: 20px;
  }
  .rh-questions {
    padding: 0 12px 30px;
  }
  .rh-results {
    padding-left: 12px;
    padding-right: 12px;
  }
  .rh-question-card {
    border-radius: 18px;
  }
  .rh-question-card__right,
  .rh-steps,
  .rh-question-title {
    padding-left: 16px;
    padding-right: 16px;
  }
  .rh-question-card__right {
    padding-bottom: 20px;
  }
  .rh-steps {
    padding-top: 20px;
    gap: 6px;
  }
  .rh-step {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 8px;
  }
  .rh-answer {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    min-height: 64px;
  }
  .rh-answer__image {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  .rh-nav-btn {
    min-height: 44px;
    font-size: 15px;
  }
  .rh-nav-btn--prev {
    flex: 0 0 auto;
    max-width: none;
    padding: 0 14px;
  }
  .rh-nav-btn--next {
    padding: 0 16px;
  }
  .rh-results-card__header .rh-text-h2 p,
  .rh-results-score-line p {
    font-size: 16px;
  }
  .rh-results-cta__lead p {
    font-size: 18px;
  }
  .rh-question-disclaimer {
    font-size: 11px;
    text-align: left;
  }
  .rh-results__nav-btn {
    width: 100%;
    justify-content: center;
  }
  .rh-results-box {
    padding: 16px;
  }
  .rh-results-list .rh-main-text p {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  .rh-results-disclaimer {
    opacity: 0.4;
  }
  .rh-question-nav {
    flex-direction: column-reverse;
  }
}
@media (max-width: 450px) {
  .rh-blue-block {
    flex-direction: column;
    gap: 5px;
  }
  .rh-blue-block img {
    transform: rotate(90deg);
  }
}
