@import url("https://fonts.googleapis.com/css?family=Inter:400,600,700,800&display=swap&subset=cyrillic");
@import url("https://fonts.googleapis.com/css?family=Manrope:400,700,800&display=swap&subset=cyrillic");
@import url("https://fonts.googleapis.com/css?family=Montserrat:600&display=swap&subset=cyrillic");
@import url("./hero.css");
@import url("./quiz.css");

:root {
  --background: #ffffff;
  --foreground: #334155;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.nhq-hero {
  min-height: 87vh;
  background-image: url("/assets/hero-reception.png");
  background-position: center center;
  background-size: cover;
}

.nhq-hero__cta-wrap {
  margin: 0 0 36px;
}

.quiz-section {
  width: 100%;
  background: #fff;
}

.quiz-section__container {
  display: flex;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
  flex-direction: column;
}

.quiz-heading {
  width: 100%;
  height: 107.59375px;
  margin: 0 0 20px;
  padding-top: 40px;
  text-align: center;
}

.quiz-heading h2 {
  margin: 0;
  color: #000;
  font-family: Inter, sans-serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.3;
}

.quiz-widget {
  width: 100%;
  margin: 0;
}

.quiz-widget__frame {
  width: 100%;
  margin: 0 0 60px;
  border: 3px solid #f36a11;
  border-radius: 5px;
}

.rfm-inline-card {
  max-width: 900px;
  padding: 34px;
  border-radius: 30px;
  background: #fff;
}

.rfm-inline-quiz .rfm-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rfm-inline-quiz .rfm-contact-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rfm-inline-quiz .rfm-options span,
.rfm-inline-quiz .rfm-contact-options span,
.rfm-inline-quiz .rfm-phone input {
  color: #2e231f;
}

.thankyou-page {
  min-height: 100vh;
  padding: 125.75px 20px 40px;
  text-align: center;
}

.thankyou-page h2 {
  width: min(1120px, 100%);
  margin: 0 auto 19.75px;
  color: #000;
  font-family: Manrope, sans-serif;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.3;
}

.thankyou-page a {
  display: inline-flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border-radius: 15px;
  background: #fe7239;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.privacy-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 80px;
  color: #2e231f;
  font-family: Manrope, Arial, sans-serif;
}

.privacy-page h1 {
  margin: 0 0 28px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
}

.privacy-page h2 {
  margin: 34px 0 12px;
  color: #2e231f;
  font-size: 24px;
  line-height: 1.25;
}

.privacy-page p,
.privacy-page li {
  color: #5c514c;
}

.privacy-page a {
  color: #7353a6;
}

.privacy-page__back {
  display: inline-block;
  margin-top: 30px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .nhq-hero {
    min-height: 100vh;
  }
}

@media (max-width: 767px) {
  .nhq-hero {
    min-height: 100vh;
  }

  .nhq-hero__inner {
    padding: 30px 20px 40px;
  }

  .quiz-heading {
    height: auto;
    min-height: 86px;
    padding-top: 28px;
  }

  .quiz-heading h2 {
    font-size: 31px;
  }

  .rfm-inline-quiz .rfm-options,
  .rfm-inline-quiz .rfm-contact-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .thankyou-page {
    padding-top: 90px;
  }

  .thankyou-page h2 {
    font-size: 34px;
  }
}
