/* stylelint-disable */

/* stylelint-disable */

/* stylelint-disable scss/operator-no-unspaced */

/* stylelint-disable scss/dollar-variable-colon-newline-after */

html {
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  font-size: 62.5%;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

pre {
  font-family: monospace;
  font-size: 1em;
}

a {
  text-decoration: none;
}

img {
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

button {
  border: none;
  text-align: left;
  background-color: transparent;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

input {
  appearance: none;
  border: none;
  border-radius: 0;
  background-color: #fff;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  display: none;
}

.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

.focus-visible {
  outline: auto 1px;
}

.ios .lock {
  position: relative;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

:root {
  --font-family: "Inter", sans-serif;
  --second-family: "Sofia Sans", sans-serif;
  --font-weight: 400;
  --content-width: 118rem;
  --container-offset: 1rem;
  --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
  --transition: 0.3s;
  --clr-default-100: #fff;
  --clr-default-400: #181818;
  --clr-default-900: #000;
}

body {
  font-size: 1.6rem;
  color: var(--clr-default-400);
}

body.lock {
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  overscroll-behavior: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  min-width: 32rem;
  min-height: 100%;
}

.wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 19;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.wrapper[data-overlay=true]::before {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition), visibility var(--transition);
}

main {
  flex-grow: 1;
}

.container {
  margin-inline: auto;
  padding-inline: var(--container-offset);
  width: 100%;
  max-width: var(--container-width);
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  margin: -1px;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.7454545455rem + 2.0454545455vw, 4.2rem);
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  color: #c52825;
  gap: 1.6rem;
}

.title__img {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  width: 4.2rem;
  height: 4.2rem;
  background: #fff2f1;
}

.no-scroll {
  overflow: hidden;
}

.subtitle {
  position: relative;
  z-index: 1;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: clamp(2rem, 1.5636363636rem + 1.3636363636vw, 3.2rem);
  text-align: center;
  text-transform: uppercase;
  color: #1d253c;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  padding: 1.2rem 1.6rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.5272727273rem + 0.2272727273vw, 1.8rem);
  text-transform: uppercase;
  color: #fff;
  background: #c52825;
}

label {
  display: flex;
  align-items: center;
  border: 2px solid transparent;
  height: 20rem;
  cursor: pointer;
  gap: 0.5rem;
}

.radio-input {
  appearance: none;
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 50%;
  width: 3.7rem;
  height: 3.7rem;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2238%22%20height%3D%2238%22%20viewBox%3D%220%200%2038%2038%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20clip-path%3D%22url(%23clip0_19_438)%22%3E%3Cpath%20d%3D%22M19.0007%2037.6666C29.31%2037.6666%2037.6673%2029.3092%2037.6673%2018.9999C37.6673%208.6906%2029.31%200.333252%2019.0007%200.333252C8.69133%200.333252%200.333984%208.6906%200.333984%2018.9999C0.333984%2029.3092%208.69133%2037.6666%2019.0007%2037.6666Z%22%20fill%3D%22%23D9D9D9%22/%3E%3Cpath%20d%3D%22M17.8772%2026.4419L11.2578%2021.2851L13.1399%2018.8697L17.2048%2022.0363L23.9134%2012.3557L26.4308%2014.0996L17.8772%2026.4419Z%22%20fill%3D%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_19_438%22%3E%3Crect%20width%3D%2238%22%20height%3D%2238%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
  cursor: pointer;
}

.radio-input:checked {
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2238%22%20height%3D%2238%22%20viewBox%3D%220%200%2038%2038%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20clip-path%3D%22url(%23clip0_19_432)%22%3E%3Cpath%20d%3D%22M19.0007%2037.6666C29.31%2037.6666%2037.6673%2029.3092%2037.6673%2018.9999C37.6673%208.6906%2029.31%200.333252%2019.0007%200.333252C8.69133%200.333252%200.333984%208.6906%200.333984%2018.9999C0.333984%2029.3092%208.69133%2037.6666%2019.0007%2037.6666Z%22%20fill%3D%22%23C52825%22/%3E%3Cpath%20d%3D%22M17.8772%2026.4419L11.2578%2021.2851L13.1399%2018.8697L17.2048%2022.0363L23.9134%2012.3557L26.4308%2014.0996L17.8772%2026.4419Z%22%20fill%3D%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_19_432%22%3E%3Crect%20width%3D%2238%22%20height%3D%2238%22%20fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d6efd;
}

.radio-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.radio-input:disabled + span {
  opacity: 0.5;
  cursor: not-allowed;
}

label:has(input:checked) {
  border: 2px solid red;
}

.menu__list {
  display: flex;
  align-items: center;
}

.menu__item:not(:last-child) {
  margin-right: 2.4rem;
}

.menu__link {
  color: #322d28;
}

.menu-mobile-logo {
  display: none;
  border-bottom-style: solid;
  border-bottom-width: 0.1rem;
  border-bottom-color: #c52825;
  padding: 0.8rem 2rem 0.8rem;
}

.menu-mobile-tel {
  display: none;
  flex-direction: column;
  align-items: center;
}

.menu-mobile-tel a {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 200%;
  text-align: center;
  text-transform: uppercase;
  color: #626060;
}

.menu-mobile-socials {
  display: none;
}

.menu .btn-primary {
  display: none;
  margin-top: 3.6rem;
  margin-inline: auto;
  width: max-content;
}

.burger {
  display: none;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #c52825;
  padding-block: 1.6rem;
}

.header__block {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer__wrapper {
  display: flex;
}

.faq {
  padding-top: clamp(6rem, 5.2727272727rem + 2.2727272727vw, 8rem);
}

.faq .container {
  position: relative;
  z-index: 1;
  max-width: 100rem;
}

.faq .title {
  text-align: center;
}

.faq__list {
  margin-top: 2rem;
}

.faq__title {
  position: relative;
  padding-right: 8rem;
  width: 100%;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.6545454545rem + 0.4545454545vw, 2.2rem);
  color: #1d253c;
  transition: padding-bottom var(--transition);
  cursor: pointer;
}

.faq__title::before {
  content: "";
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 4.2rem;
  height: 4.2rem;
  background-image: url("../img/faq-arrow.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  transition: transform var(--transition);
}

.faq__wrap {
  border-radius: clamp(1.4rem, 1.1090909091rem + 0.9090909091vw, 2.2rem);
}

.faq__item {
  margin-inline: auto;
  border-bottom: 1px solid #aaacbd;
  padding: 2rem 1rem;
  max-width: 54.4rem;
}

.faq__item-body {
  overflow: hidden;
  max-height: 0;
  box-sizing: content-box;
  transition: max-height var(--transition);
}

.faq__item-body p {
  margin-top: 0;
  padding: 0 clamp(1rem, 0.6363636364rem + 1.1363636364vw, 2rem) clamp(1rem, 0.6363636364rem + 1.1363636364vw, 2rem);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 137%;
  color: #626060;
}

.faq__item:not(:last-child) {
  margin-bottom: 0rem;
  transition: margin var(--transition);
}

.faq__item--active .faq__title {
  padding-bottom: 2.4rem;
}

.faq__item--active .faq__title::before {
  transform: translateY(-50%) rotate(-180deg);
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  min-height: 100%;
}

.modal__content {
  position: relative;
  border-radius: 1.6rem;
  padding: 5.4rem 2rem 4.3rem;
  width: 100%;
  max-width: 92rem;
  background-color: #f9fafc;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform var(--transition), opacity var(--transition);
}

.modal__close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  border-radius: 100%;
  width: 3.2rem;
  height: 3.2rem;
  background-color: var(--bg-layer-2-white);
}

.modal__close::after,
.modal__close::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 0.2rem;
  background-color: #51526c;
}

.modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal.show {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.show .modal__content {
  opacity: 1;
  transform: translateY(0);
  transition: transform var(--transition), opacity var(--transition);
}

.modal-auth__caption {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 143%;
  text-align: center;
  color: #000;
}

.modal-auth__form {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-inline: auto;
  max-width: 47rem;
  gap: 1.6rem;
}

.modal-auth__input {
  outline: none;
  border-style: solid;
  border-width: 0.1rem;
  border-color: #aaacbd;
  border-radius: 0.8rem;
  padding: 2rem 1.6rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
}

.modal-auth__input::placeholder {
  color: #aaacbd;
}

.modal-auth__textarea {
  outline: none;
  border-style: solid;
  border-width: 0.1rem;
  border-color: #aaacbd;
  border-radius: 0.8rem;
  padding: 2rem 1.6rem;
  height: 11.3rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
  resize: none;
}

.modal-auth__textarea::placeholder {
  color: #aaacbd;
}

.modal-auth .btn-primary {
  padding-block: 2.2rem;
}

.modal-quiz__content {
  max-width: 118rem;
  background-image: url("../img/modal-quiz-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.modal-quiz__step {
  display: none;
  width: 100%;
}

.modal-quiz__step.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-quiz__item {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.modal-quiz__item_1 {
  background-image: url("../img/modal-quiz-img-1.png");
}

.modal-quiz__item_2 {
  background-image: url("../img/modal-quiz-img-2.png");
}

.modal-quiz__item_3 {
  background-image: url("../img/modal-quiz-img-3.png");
}

.modal-quiz__item_4 {
  background-image: url("../img/modal-quiz-img-4.png");
}

.modal-quiz__item_5 {
  background-image: url("../img/modal-quiz-img-5.png");
}

.modal-quiz__item_6 {
  background-image: url("../img/modal-quiz-img-6.png");
}

.modal-quiz__item_7 {
  background-image: url("../img/modal-quiz-img-7.png");
}

.modal-quiz__item_8 {
  background-image: url("../img/modal-quiz-img-8.png");
}

.modal-quiz__wrap {
  display: grid;
  margin-inline: auto;
  width: 100%;
  max-width: 102rem;
  gap: 3rem;
}

.modal-quiz__wrap_1 {
  grid-template-columns: repeat(3, 1fr);
}

.modal-quiz__wrap_2 {
  grid-template-columns: repeat(2, 1fr);
}

.modal-quiz__caption {
  margin-bottom: 4.5rem;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 4.2rem;
  text-align: center;
  text-transform: uppercase;
  color: #1d253c;
}

.modal-quiz__title {
  margin-inline: auto;
  max-width: 75rem;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.7454545455rem + 2.0454545455vw, 4.2rem);
  text-align: center;
  text-transform: uppercase;
  color: #1d253c;
}

.modal-quiz__info {
  margin-top: 1.4rem;
  margin-inline: auto;
  max-width: 75rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.3090909091rem + 0.9090909091vw, 2.4rem);
  text-align: center;
  color: #1d253c;
}

.modal-quiz__text {
  margin-top: 1.4rem;
  margin-inline: auto;
  max-width: 75rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
  text-align: center;
  color: #1d253c;
}

.modal-quiz__promo {
  margin-top: clamp(2.4rem, 2.1818181818rem + 0.6818181818vw, 3rem);
  margin-inline: auto;
  max-width: 75rem;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.7454545455rem + 2.0454545455vw, 4.2rem);
  text-align: center;
  text-transform: uppercase;
  color: #c52825;
}

.modal-quiz__warning {
  margin-top: 1.4rem;
  margin-inline: auto;
  max-width: 75rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
  text-align: center;
  color: #1d253c;
}

.modal-quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11.4rem;
  margin-inline: auto;
  max-width: 102rem;
}

.modal-quiz__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c52825;
  border-radius: 0.8rem;
  padding: 1.9rem clamp(2.4rem, 2.2545454545rem + 0.4545454545vw, 2.8rem);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1.8rem;
  text-align: center;
  text-transform: uppercase;
  color: #c52825;
  background-color: #fff;
  gap: 1.6rem;
}

.modal-quiz__btn.active {
  color: #fff;
  background-color: #c52825;
}

.modal-quiz__btn.active path {
  stroke: #fff;
}

.modal-quiz__pagination {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 2.4rem;
  text-align: center;
  color: #1d253c;
}

.modal-quiz__pagination span {
  font-weight: 700;
}

.modal-quiz__block {
  display: flex;
  margin-top: 5rem;
  gap: 2rem;
}

.modal-quiz__input {
  outline: none;
  border: 1px solid #aaacbd;
  border-radius: 0.8rem;
  padding: 1.8rem 1.6rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 2rem;
}

.modal-quiz__input::placeholder {
  color: #aaacbd;
}

.hero {
  position: relative;
  padding-top: clamp(4rem, 2.5454545455rem + 4.5454545455vw, 8rem);
}

.hero-ellipse {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.hero__bg {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  max-width: clamp(34rem, 11.0909090909rem + 71.5909090909vw, 97rem);
}

.hero__bg-mobile {
  display: none;
}

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(3.2rem, 2.3272727273rem + 2.7272727273vw, 5.6rem);
  text-transform: uppercase;
  color: #1d253c;
}

.hero__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-top: 4.8rem;
  border-radius: 1.6rem;
  width: max-content;
  background: #f1f5fb;
  gap: clamp(0rem, -0.6181818182rem + 1.9318181818vw, 1.7rem);
}

.hero__list li {
  display: flex;
  align-items: center;
  padding: 1.6rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.3090909091rem + 0.9090909091vw, 2.4rem);
  color: #1d253c;
  gap: 2.4rem;
}

.hero .btn-primary {
  position: relative;
  z-index: 1;
  margin-top: 3.2rem;
  padding: clamp(1.6rem, 1.3090909091rem + 0.9090909091vw, 2.4rem);
  font-size: clamp(1.5rem, 1.3909090909rem + 0.3409090909vw, 1.8rem);
  text-align: center;
}

.hero__img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.services {
  padding-block: clamp(7.4rem, 3.9090909091rem + 10.9090909091vw, 17rem) clamp(6.5rem, 4.1363636364rem + 7.3863636364vw, 13rem);
}

.services__block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2rem, 1.2727272727rem + 2.2727272727vw, 4rem);
  gap: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
}

.services__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #a7c4da;
  border-radius: 1.6rem;
  background: #f0f4f9;
}

.services__info {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 1.0181818182rem + 1.8181818182vw, 3.2rem) 2.4rem;
}

.services__caption {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.9090909091rem + 0.9090909091vw, 3rem);
  text-transform: uppercase;
  color: #333;
}

.services__text {
  flex-grow: 1;
  margin-top: 1.5rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.6545454545rem + 0.4545454545vw, 2.2rem);
  color: #626060;
}

.services__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
  border-radius: 100%;
  width: clamp(4.8rem, 4.3636363636rem + 1.3636363636vw, 6rem);
  background-color: #c52825;
  aspect-ratio: 1/1;
}

.services__img {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 0.8rem;
  aspect-ratio: 280/362;
}

.services__img img {
  position: absolute;
  right: -0.1rem;
  top: 50%;
  width: 100%;
  height: calc(100% + 0.2rem);
  transform: translateY(-50%);
}

.guarantee {
  position: relative;
  padding-block: 7rem 6rem;
  background: #f0f4f9;
}

.guarantee .title__img {
  background-color: #fff;
}

.guarantee__block {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5rem;
  margin-left: auto;
  gap: 2rem;
}

.guarantee__item {
  position: relative;
  border-radius: 1.6rem;
  padding: 10.5rem 2rem 2rem;
}

.guarantee__item:nth-child(1) {
  grid-column: 2/span 1;
}

.guarantee__item:nth-child(2) {
  grid-column: 3/span 1;
}

.guarantee__item:nth-child(4) {
  grid-column: 3/span 1;
}

.guarantee__item_white {
  background-color: #fff;
}

.guarantee__item_white .guarantee__caption {
  color: #354e98;
}

.guarantee__item_white .guarantee__text {
  color: #333;
}

.guarantee__item_blue {
  background: #354e98;
}

.guarantee__item_blue .guarantee__caption {
  color: #fff;
}

.guarantee__item_blue .guarantee__text {
  color: #fff;
}

.guarantee__ico {
  position: absolute;
  left: -1rem;
  top: -1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid #f0f4f9;
  border-radius: 9rem;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(50% 50% at 50% 50%, #549dfc 0%, #cde0fa 100%);
}

.guarantee__caption {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 2.2rem;
  opacity: 0.8;
}

.guarantee__text {
  margin-top: 1.6rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.8rem;
  opacity: 0.8;
}

.guarantee__img {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translateY(13%);
}

.cost {
  padding-top: clamp(9rem, 5.3636363636rem + 11.3636363636vw, 19rem);
}

.cost__wrapper {
  border-radius: 1.6rem;
  padding-block: 12rem 8rem;
  background-image: url("../img/cost-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cost__block {
  position: relative;
  margin-inline: auto;
  border: 1px solid #aaacbd;
  border-radius: 1.6rem;
  padding: clamp(2rem, 0.5454545455rem + 4.5454545455vw, 6rem) clamp(1.6rem, 0rem + 5vw, 6rem);
  max-width: 69rem;
  background: rgba(255, 255, 255, 0.8);
}

.cost__info {
  display: flex;
  align-items: flex-end;
}

.cost__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 2.5vw, 4.2rem);
  text-align: center;
  text-transform: uppercase;
  color: #1d253c;
}

.cost__title span {
  color: #c52825;
}

.cost__text {
  margin-top: 3rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.8rem, 1.7272727273rem + 0.2272727273vw, 2rem);
  text-align: center;
  color: #1d253c;
}

.cost .btn-primary {
  margin-top: 3rem;
  width: 100%;
  text-align: center;
}

.portfolio {
  padding-block: 12rem 11rem;
}

.portfolio__swiper {
  position: relative;
  margin-top: 2rem;
  padding-bottom: 7rem;
}

.portfolio__swiper * {
  -webkit-user-select: none;
  user-select: none;
}

.portfolio__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 1.6rem;
  padding: 1.8rem;
  max-width: 118rem;
  background: #f1f5fb;
  gap: 1.8rem;
}

.portfolio__img {
  display: flex;
  width: 100%;
  height: 100%;
}

.portfolio__img picture {
  width: 100%;
}

.portfolio__img img {
  border-radius: 0.8rem;
  min-width: 100%;
  min-height: 100%;
}

.portfolio__info {
  border-radius: 0.8rem;
  padding: clamp(1.6rem, -1.4545454545rem + 9.5454545455vw, 10rem) clamp(2.7rem, 2.2272727273rem + 1.4772727273vw, 4rem);
  height: 100%;
  background-color: #fff;
}

.portfolio__caption {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(2.4rem, 2.1090909091rem + 0.9090909091vw, 3.2rem);
  text-align: left;
  text-transform: uppercase;
  color: #1d253c;
}

.portfolio__text {
  margin-top: 1.5rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.3090909091rem + 0.9090909091vw, 2.4rem);
  line-height: 150%;
  text-align: left;
  color: #626060;
}

.portfolio__prev {
  position: absolute;
  right: 50%;
  bottom: 0;
  z-index: 11;
  padding: 1rem;
  width: max-content;
  transform: translateX(-5rem);
  cursor: pointer;
}

.portfolio__prev rect {
  fill: #c52825;
}

.portfolio__prev.swiper-button-disabled rect {
  fill: #aaacbd;
}

.portfolio__next {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 11;
  padding: 1rem;
  width: max-content;
  transform: translateX(5rem);
  cursor: pointer;
}

.portfolio__next rect {
  fill: #c52825;
}

.portfolio__next.swiper-button-disabled rect {
  fill: #aaacbd;
}

.portfolio .swiper-pagination-total,
.portfolio .swiper-pagination.swiper-pagination-fraction.swiper-pagination-horizontal {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  color: #aaacbd;
}

.portfolio .swiper-pagination.swiper-pagination-fraction.swiper-pagination-horizontal {
  bottom: 2rem;
}

.portfolio .swiper-pagination-current {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 2.8rem;
  text-transform: uppercase;
  color: #333;
}

.reviews {
  padding-bottom: 13rem;
}

.reviews__swiper {
  position: relative;
  margin-top: 2rem;
  padding-bottom: 7rem;
}

.reviews__swiper * {
  -webkit-user-select: none;
  user-select: none;
}

.reviews__item {
  display: flex;
  flex-direction: column;
  border: 1px solid #a7c4da;
  border-radius: 1.6rem;
  padding: clamp(2.5rem, 1.9545454545rem + 1.7045454545vw, 4rem) clamp(3rem, 2.6363636364rem + 1.1363636364vw, 4rem);
}

.reviews__brackets {
  height: 7rem;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 12.8rem;
  line-height: 100%;
  text-transform: uppercase;
  color: #c52825;
}

.reviews__text {
  flex-grow: 1;
  margin-top: 1.6rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
  line-height: 140%;
  color: #333;
}

.reviews__info {
  display: flex;
  align-items: flex-end;
  margin-top: clamp(3rem, 2.2727272727rem + 2.2727272727vw, 5rem);
  gap: 2.5rem;
}

.reviews__name {
  padding-bottom: 1rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 117%;
  color: #1d253c;
}

.reviews__prev {
  position: absolute;
  right: 50%;
  bottom: 0;
  z-index: 11;
  padding: 1rem;
  width: max-content;
  transform: translateX(-5rem);
  cursor: pointer;
}

.reviews__prev rect {
  fill: #c52825;
}

.reviews__prev.swiper-button-disabled rect {
  fill: #aaacbd;
}

.reviews__next {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 11;
  padding: 1rem;
  width: max-content;
  transform: translateX(5rem);
  cursor: pointer;
}

.reviews__next rect {
  fill: #c52825;
}

.reviews__next.swiper-button-disabled rect {
  fill: #aaacbd;
}

.reviews .swiper-pagination-total,
.reviews .swiper-pagination.swiper-pagination-fraction.swiper-pagination-horizontal {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  color: #aaacbd;
}

.reviews .swiper-pagination.swiper-pagination-fraction.swiper-pagination-horizontal {
  bottom: 2rem;
}

.reviews .swiper-pagination-current {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 2.8rem;
  text-transform: uppercase;
  color: #333;
}

.join {
  padding-block: clamp(5rem, 2.6rem + 7.5vw, 11.6rem) clamp(4rem, 0.8727272727rem + 9.7727272727vw, 12.6rem);
  background-image: url("../img/join-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.join__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7rem;
}

.join__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.7454545455rem + 2.0454545455vw, 4.2rem);
  text-transform: uppercase;
  color: #fff;
}

.join__form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.join__input {
  outline: none;
  border-radius: 0.8rem;
  padding: 2rem clamp(1rem, 0.7818181818rem + 0.6818181818vw, 1.6rem);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1818181818rem + 0.6818181818vw, 2rem);
}

.join__input::placeholder {
  color: #aaacbd;
}

.join__textarea {
  outline: none;
  border-radius: 0.8rem;
  padding: 2rem clamp(1rem, 0.7818181818rem + 0.6818181818vw, 1.6rem);
  height: 11.3rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1818181818rem + 0.6818181818vw, 2rem);
  resize: none;
}

.join__textarea::placeholder {
  color: #aaacbd;
}

.join .btn-primary {
  padding-block: 2.2rem;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 125%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.contacts {
  position: relative;
  padding-top: 13rem;
}

.contacts__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 4.2rem;
  text-align: center;
  text-transform: uppercase;
  color: #1d253c;
}

.contacts__wrapper {
  display: flex;
  align-items: flex-start;
  margin-top: 3.5rem;
  background-image: url("../img/contacts-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contacts__map {
  display: flex;
  width: 50%;
}

.contacts__block {
  display: flex;
  flex-wrap: wrap;
  margin-left: 6.9rem;
  padding-top: 8rem;
  max-width: 55rem;
}

.contacts__item {
  flex-grow: 1;
  flex-basis: 34%;
  padding: 2rem clamp(0rem, -0.7272727273rem + 2.2727272727vw, 2rem);
  width: 27.5rem;
  height: 24.1rem;
}

.contacts__item_right {
  border-bottom-style: solid;
  border-bottom-width: 0.1rem;
  border-bottom-color: #fff;
  border-left-style: solid;
  border-left-width: 0.1rem;
  border-left-color: #fff;
}

.contacts__item_left {
  border-top-style: solid;
  border-top-width: 0.1rem;
  border-top-color: #fff;
  border-right-style: solid;
  border-right-width: 0.1rem;
  border-right-color: #fff;
}

.contacts__caption {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: clamp(2rem, 1.8545454545rem + 0.4545454545vw, 2.4rem);
  color: #fff;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  margin-top: 2.4rem;
  gap: 2rem;
}

.contacts__list li {
  display: flex;
  align-items: flex-start;
  font-family: var(--third-family);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.7272727273rem + 0.2272727273vw, 2rem);
  color: #fff;
  gap: 1.6rem;
}

.contacts__list li.fz {
  font-size: clamp(1.6rem, 1.4545454545rem + 0.4545454545vw, 2rem);
}

.contacts__list li img {
  min-width: 2rem;
}

.contacts__bottom {
  padding-block: 1rem;
  background: #1d253c;
}

.contacts__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contacts__rights {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 1.5rem;
  color: #a7c4da;
}

.contacts__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.clients {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 15;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.clients.visible {
  opacity: 1;
  pointer-events: auto;
}

.clients__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  border-radius: 1.6rem;
  padding: 2.5rem;
  min-width: 82.1rem;
  box-shadow: 0 8px 16px 0 rgba(167, 196, 218, 0.4);
  background: #fff;
  gap: 1rem;
}

.clients__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 2.4rem;
  text-align: center;
  text-transform: uppercase;
  color: #1d253c;
}

.clients__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1.8rem;
  text-align: center;
  color: #1d253c;
}

.clients .btn-primary {
  padding: 2.2rem 5rem;
}

@media (max-width: 62em) {
  .menu__list {
    flex-direction: column;
    padding-block: 4rem;
  }

  .menu__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .menu__link {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 200%;
    text-align: center;
    text-transform: uppercase;
    color: #1d253c;
  }

  .menu {
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-color: var(--clr-default-100);
    transition: right var(--transition);
  }

  .menu--active {
    right: 0;
    transition: right var(--transition);
  }

  .menu-mobile-logo {
    display: flex;
  }

  .menu-mobile-tel {
    display: flex;
  }

  .menu-mobile-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.4rem;
    gap: 2rem;
  }

  .menu .btn-primary {
    display: flex;
  }

  .burger {
    position: relative;
    z-index: 21;
    display: block;
    border-radius: 0.4rem;
    width: 3rem;
    height: 3rem;
    background-color: #f3f3f3;
  }

  .burger::after,
  .burger::before,
  .burger span {
    content: "";
    position: absolute;
    left: 0.4rem;
    width: 100%;
    height: 0.3rem;
    background-color: #c52825;
  }

  .burger::before {
    top: 0.65rem;
    width: 1.4rem;
    transition: transform var(--transition), top var(--transition);
  }

  .burger::after {
    bottom: 0.65rem;
    width: 1rem;
    transition: transform var(--transition), bottom var(--transition);
  }

  .burger span {
    top: 1.3rem;
    width: 1.8rem;
    transition: transform var(--transition);
  }

  .burger--active::before {
    left: 0;
    top: 1.3rem;
    width: 100%;
    transform: rotate(45deg);
    transition: transform var(--transition), top var(--transition);
  }

  .burger--active::after {
    left: 0;
    bottom: 1.3rem;
    width: 100%;
    transform: rotate(-45deg);
    transition: transform var(--transition), bottom var(--transition);
  }

  .burger--active span {
    transform: scale(0);
    transition: transform var(--transition);
  }

  .modal-quiz__block {
    flex-direction: column;
  }

  .modal-quiz__block * {
    min-height: 6rem;
  }
}

@media (max-width: 60em) {
  .modal-quiz__wrap {
    max-width: 32rem;
  }

  .modal-quiz__wrap_1 {
    grid-template-columns: repeat(1, 1fr);
  }

  .modal-quiz__wrap_2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 55em) {
  .portfolio__item {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 50em) {
  .hero-ellipse {
    display: none;
  }
}

@media (max-width: 36em) {
  .faq__title::before {
    right: 2rem;
  }

  .faq__item-body p {
    padding: 1.9rem;
  }
}

@media (max-width: 94.1875em) {
  .hero__bg {
    max-width: clamp(34rem, 17.2727272727rem + 52.2727272727vw, 80rem);
  }
}

@media (max-width: 76.25em) {
  .services__block {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 68.75em) {
  .contacts {
    margin-bottom: clamp(31rem, 17.3636363636rem + 42.6136363636vw, 68.5rem);
  }

  .contacts__wrapper {
    flex-direction: column-reverse;
    background-image: none;
    background-color: #1d253c;
  }

  .contacts__map {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
  }

  .contacts__map iframe {
    height: clamp(31rem, 17.3636363636rem + 42.6136363636vw, 68.5rem);
  }

  .contacts__block {
    margin-inline: auto;
  }
}

@media (max-width: 67.5em) {
  .hero__bg {
    position: relative;
    max-width: 100%;
  }

  .hero__title {
    margin-inline: auto;
    text-align: center;
  }

  .hero__list {
    margin-inline: auto;
  }

  .hero .btn-primary {
    margin-inline: auto;
  }
}

@media (max-width: 67.5em) and (max-width: 34.375em) {
  .hero__list {
    width: 100%;
  }

  .hero .btn-primary {
    width: 100%;
  }
}

@media (max-width: 63.75em) {
  .guarantee__block {
    grid-template-columns: repeat(3, 1fr);
  }

  .guarantee__item:nth-child(1) {
    grid-column: auto;
  }

  .guarantee__item:nth-child(2) {
    grid-column: auto;
  }

  .guarantee__item:nth-child(4) {
    grid-column: 2/span 1;
  }
}

@media (max-width: 63.75em) and (max-width: 51.5625em) {
  .guarantee__block {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee__item:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 63.75em) and (max-width: 51.5625em) and (max-width: 35.625em) {
  .guarantee__block {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 61.25em) {
  .modal-quiz__item_4 {
    background-image: url("../img/modal-quiz-img-4-mobile.png");
  }

  .modal-quiz__item_5 {
    background-image: url("../img/modal-quiz-img-5-mobile.png");
  }
}

@media (max-width: 56.25em) {
  .join__wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .join__title {
    text-align: center;
  }

  .join__logo {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 52.5em) {
  .clients__wrapper {
    min-width: 100vw;
  }
}

@media (max-width: 51.5625em) {
  .guarantee__item:nth-child(5) {
    grid-column: 2/span 1;
  }
}

@media (max-width: 51.5625em) and (max-width: 35.625em) {
  .guarantee__item:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 48.125em) {
  .cost__block {
    margin-inline: 2rem;
  }

  .cost__info img {
    position: absolute;
    right: 0;
    top: 30%;
    transform: translateX(-40%);
  }

  .cost__title {
    text-align: left;
  }

  .cost__text {
    max-width: 80%;
    text-align: left;
  }
}

@media (max-width: 48.125em) and (max-width: 48.125em) {
  .cost__info img {
    width: 5rem;
    transform: translate(-40%, 2rem);
  }
}

@media (max-width: 47.9375em) {
  .faq__item:not(:last-child) {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 47.5em) {
  .hero__img {
    min-width: 36rem;
  }
}

@media (max-width: 40.625em) {
  .services__item {
    display: flex;
    flex-direction: column-reverse;
  }

  .services__img img {
    top: 0;
    width: calc(100% + 0.2rem);
    height: 100%;
    transform: translate(-0.1rem);
  }
}

@media (max-width: 39.0625em) {
  .hero__bg-pc {
    display: none;
  }

  .hero__bg-mobile {
    display: flex;
  }

  .hero__img {
    display: none;
  }
}

@media (max-width: 38.75em) {
  .contacts__block {
    flex-direction: column;
  }

  .contacts__item {
    flex-direction: column;
  }

  .contacts__item:first-child {
    border-bottom-style: solid;
    border-bottom-width: 0.1rem;
    border-bottom-color: #fff;
  }

  .contacts__item_right {
    border-bottom-style: solid;
    border-bottom-width: 0.1rem;
    border-bottom-color: #fff;
    border-left-style: none;
  }

  .contacts__item_left {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: solid;
    border-bottom-width: 0.1rem;
    border-bottom-color: #fff;
  }
}

@media (max-width: 37.5em) {
  .modal__wrapper {
    align-items: flex-end;
    padding: 0;
  }

  .modal__content {
    border-radius: 1.6rem 1.6rem 0 0;
    max-width: 100%;
  }

  .modal-quiz__pagination {
    position: absolute;
    overflow: hidden;
    margin: -1px;
    border: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
  }
}

@media (max-width: 35.625em) {
  .guarantee {
    padding-bottom: 0;
  }

  .guarantee__img {
    position: static;
  }
}

@media (max-width: 34.375em) {
  .contacts__bottom .container {
    flex-direction: column;
    align-items: flex-start;
    max-width: 29rem;
  }

  .contacts__logo {
    order: 2;
  }

  .contacts__rights {
    order: 3;
  }

  .contacts__socials {
    order: 1;
  }
}

@media (max-width: 28.125em) {
  .header__block .btn-primary {
    display: none;
  }
}
/*# sourceMappingURL=style.css.map */