* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: #EADBC8;
  color: #1A365D;
}

html,
body {
  margin: 0px;
  padding: 0px;
}

html {
  min-width: 350px;
}

body {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  line-height: 150%;
  color: #1A365D;
  font-weight: 400;
  background: #FAF6F2;
}

h1 {
  font-size: 36px;
  line-height: 38px;
  font-weight: 800;
  text-align: center;
  margin: 0px 0px 70px;
}

h2 {
  font-size: 48px;
  line-height: 150%;
  font-weight: 500;
  margin: 0px 0px 20px;
}

h3 {
  font-size: 26px;
  line-height: 28px;
  font-weight: 600;
  margin: 0px 0px 20px;
}

h4 {
  line-height: 150%;
  font-weight: 600;
  margin: 0px 0px 20px;
}

a {
  color: #1A365D;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

p {
  margin: 0px;
}

ul, ol {
  margin: 0px;
}

figure {
  margin: 0px;
  padding: 0px;
  text-align: center;
}

img {
  vertical-align: top;
  max-width: 100%;
}

.mobile {
  display: none;
}

.container {
  position: relative;
  max-width: 1290px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.text--decor {
  font-family: "Yellowtail", cursive;
  font-size: 32px;
  line-height: 150%;
}

.btn {
  display: inline-block;
  border: 0px;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  line-height: 100%;
  font-style: normal;
  white-space: nowrap;
  letter-spacing: -3%;
  padding: 18px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
}
.btn--primary {
  background: #3BAA9C;
  color: #FAF6F2;
}
.btn--primary:hover {
  background: #2C9588;
  color: #FAF6F2;
}
.btn--secondary {
  color: #1A365D;
  background: transparent;
  border: 1px solid #4EB3A4;
}
.btn--secondary:hover {
  background: #F2FBF9;
}

/*header*/
.header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1000;
  background: #EADBC8;
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
}
.header__logo {
  max-width: 168px;
  min-width: 168px;
}
.header__logo figure {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  margin: 0px;
  padding: 0px;
}
.nav__item {
  margin: 0px 1vw;
  list-style-type: none;
}
.nav__item:first-child {
  margin: 0px;
}
.nav__link {
  color: #2C3B4F;
  text-decoration: none;
}
.nav__link:hover {
  opacity: 0.8;
}

.btn-menu {
  display: none;
  justify-content: flex-end;
  align-items: center;
  width: 34px;
  height: 34px;
  padding: 8px;
  position: relative;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  border: none;
  padding: 0px;
}
.btn-menu__line {
  position: relative;
  display: block;
  width: calc(100% - 16px);
  margin: 0 auto;
  height: 2px;
  background: #2C3B4F;
}
.btn-menu__line:before, .btn-menu__line:after {
  display: block;
  position: absolute;
  height: 100%;
  background: #2C3B4F;
  content: "";
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0;
}
.btn-menu__line:before {
  right: 0px;
  width: 100%;
  top: -6px;
}
.btn-menu__line:after {
  right: 0px;
  width: 100%;
  bottom: -6px;
}
.btn-menu--active .btn-menu__line {
  background-color: rgba(0, 0, 0, 0);
}
.btn-menu--active .btn-menu__line:before {
  transform: translateY(6px) rotate(45deg);
}
.btn-menu--active .btn-menu__line:after {
  transform: translateY(-6px) rotate(-45deg);
}

/*main*/
.main {
  padding: 100px 0px 0px;
}
.main__content h2 {
  font-size: 32px;
  font-weight: 600;
}
.main__content ul,
.main__content ol,
.main__content p {
  margin: 0px 0px 20px;
}

section {
  padding: 70px 0px;
}

.hero h1 {
  display: flex;
  flex-wrap: wrap;
  font-size: 64px;
  line-height: 130%;
  margin: 0px 0px 20px;
}
.hero h1 .h1--first {
  position: relative;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: left;
}
.hero h1 .h1--first:after {
  position: absolute;
  right: 50%;
  top: -10px;
  width: 177px;
  height: 192px;
  background: url(../images/heading_decor.png) no-repeat;
  background-size: 100%;
  content: "";
}
.hero h1 .h1--second {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-align: right;
  margin: auto 0px 0px auto;
}
.hero h1 .text--decor {
  font-size: 72px;
  font-weight: 400;
}
.hero__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero__content {
  width: 58%;
}
.hero__text {
  margin: 0px 0px 20px;
}
.hero__img {
  display: none;
}
.hero__bg {
  width: 42%;
  text-align: right;
}

.services__text--top {
  position: relative;
  padding: 0px 30vw 0px 0px;
  background-image: url(../images/icon_calculator.png);
  background-repeat: no-repeat;
  background-size: auto 200px;
  background-position: 85% 0px;
  margin: 0px 0px 20px;
}
.services-slider {
  margin: 0px 0px 20px;
}
.services-slider__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  background-image: url(../images/icon_percent.png);
  background-repeat: no-repeat;
  background-size: auto 90px;
  background-position: 85% 100%;
}
.services-slider__item {
  padding: 24px;
  background: #1B4A89;
  letter-spacing: -3%;
}
.services-slider__item-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  margin: 0px 0px 20px;
  color: #D5F2EC;
}
.services-slider__item-text {
  font-size: 16px;
  line-height: 150%;
  text-align: right;
  color: #FAF6F2;
}

.help__text--top {
  margin: 0px 0px 20px;
}
.help-slider {
  margin: 0px 0px 20px;
}
.help-slider__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  background-image: url(../images/icon_monets.png);
  background-repeat: no-repeat;
  background-size: auto 150px;
  background-position: 90% 70%;
}
.help-slider__item {
  padding: 24px;
  background: rgba(244, 235, 224, 0.3);
  border: 1px solid #3BAA9C;
  letter-spacing: -3%;
}
.help-slider__item-title {
  font-weight: 500;
  margin: 0px 0px 20px;
}
.help-slider__item-text {
  font-size: 20px;
  line-height: 150%;
}

.process-slider {
  margin: 0px 0px 20px;
}
.process-slider__item {
  width: 306px;
  background: #1B4A89;
  padding: 24px;
  color: #FAF6F2;
  letter-spacing: -3%;
}
.process-slider__item-title {
  font-size: 20px;
  line-height: 150%;
  font-weight: 500;
  margin: 0px 0px 10px;
}
.process-slider__item-text {
  font-size: 16px;
  line-height: 150%;
}

.faq__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.faq__item {
  background: #F5EDE3;
  padding: 24px;
  letter-spacing: -3%;
}
.faq__item-question {
  font-size: 20px;
  line-height: 150%;
  font-weight: 500;
  margin: 0px 0px 20px;
}
.faq__item-answer {
  font-size: 16px;
  line-height: 150%;
}

.contact__wrap {
  display: flex;
  justify-content: space-between;
}
.contact__content {
  width: 56%;
}
.contact__bg {
  width: 42%;
  text-align: right;
}
.contact__img {
  display: none;
}
.contact__decor {
  color: #3BAA9C;
  font-weight: 600;
}
.contact p {
  margin: 0px 0px 20px;
}

/*footer*/
.footer {
  background: #EADBC8;
  padding: 24px 0px;
  color: #2C3B4F;
  font-size: 16px;
  line-height: 150%;
}
.footer__wrap {
  text-align: center;
}
.footer__power {
  margin: 0px 0px 15px;
}

.footer-nav {
  margin: 0px 0px 15px;
}
.footer-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px;
  padding: 0px;
}
.footer-nav__item {
  margin: 0px 10px;
  list-style-type: none;
}
.footer-nav__link {
  font-size: 20px;
  color: #2C3B4F;
  text-decoration: underline;
}
.footer-nav__link:hover {
  text-decoration: none;
}

.swiper-pagination {
  display: none;
  position: relative;
  top: 0px;
  left: 0px;
  bottom: 0px;
  margin: 20px 0px;
  justify-content: center;
  width: 100%;
}
.swiper-pagination-bullet {
  width: 32px;
  height: 32px;
  background: #E7D3C3;
  border-radius: 0px;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #BB8054;
}

/*cookie*/
.cookie {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: #FFFFFF;
  padding: 20px 30px;
  border-radius: 16px;
  z-index: 1001;
}
.cookie__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie__text {
  font-size: 18px;
  line-height: 18px;
}
.cookie__text p {
  margin: 0px 0px 10px;
}
.cookie__text p:last-child {
  margin: 0px;
}
.cookie__text a {
  color: #7E71E1;
}
.cookie__btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie__btn {
  font-size: 18px;
  line-height: 18px;
  color: #FFFFFF;
  margin: 0px 0px 0px 10px;
  padding: 15px 20px;
  background: #1F5DAA;
  border: 1px solid #1F5DAA;
}
.cookie__btn--decline {
  background: transparent;
  color: #2C3B4F;
}

@media (max-width: 992px) {
  body {
    font-size: 18px;
    line-height: 150%;
  }
  h1 {
    font-size: 32px;
    margin: 0px 0px 40px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 22px;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .text--decor {
    font-size: 20px;
  }
  .btn {
    font-size: 12px;
    padding: 10px 15px;
  }
  /*header*/
  .header__logo {
    max-width: 110px;
    min-width: 110px;
  }
  .nav {
    display: none;
  }
  .nav--open {
    display: block;
    position: absolute;
    top: 100%;
    width: calc(100% + 40px);
    left: -20px;
    padding: 0px 20px;
    background: #EADBC8;
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-end;
  }
  .nav__item {
    margin: 0px 0px 10px;
    line-height: 100%;
  }
  .nav__item:first-child {
    margin: 0px 0px 10px;
  }
  .nav__link {
    font-size: 18px;
    line-height: 100%;
  }
  .btn-menu {
    display: flex;
  }
  /*main*/
  section {
    padding: 50px 0px;
  }
  .main__content h2 {
    font-size: 26px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero h1 .h1--first:after {
    display: none;
  }
  .hero h1 .h1--second {
    margin: 0px;
  }
  .hero h1 .text--decor {
    font-size: 48px;
  }
  .services__text--top {
    background-position: 100% 0px;
    background-size: auto 130px;
  }
  .services-slider__list {
    display: flex;
    gap: 0px;
  }
  .services-slider__item {
    max-width: 343px;
    padding: 16px;
  }
  .help-slider__list {
    display: flex;
    gap: 0px;
  }
  .help-slider__item {
    max-width: 253px;
    padding: 16px;
  }
  .process-slider__item {
    padding: 16px;
  }
  .faq__list {
    grid-template-columns: repeat(1, 1fr);
  }
  .faq__item {
    padding: 16px;
  }
  .swiper-pagination {
    display: flex;
  }
  .cookie {
    padding: 20px 0px;
  }
  .cookie__text {
    font-size: 14px;
    line-height: 14px;
  }
  .cookie__btns {
    flex-direction: column;
    align-items: baseline;
  }
  .cookie__btn {
    width: 110px;
    margin: 5px 0px;
    padding: 10px 5px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 150%;
  }
  h1 {
    font-size: 28px;
    margin: 0px 0px 30px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 14px;
  }
  .text--decor {
    font-size: 16px;
  }
  /*header*/
  .header__logo {
    max-width: 110px;
    min-width: 110px;
  }
  /*main*/
  section {
    padding: 30px 0px;
  }
  .main__content h2 {
    font-size: 20px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero h1 .h1--first:after {
    transform: rotate(34deg);
  }
  .hero h1 .text--decor {
    font-family: 44px;
  }
  .hero__content {
    width: 100%;
  }
  .hero__img {
    display: block;
    margin: 0px 0px 20px;
  }
  .hero__bg {
    display: none;
  }
  .hero .btn {
    display: block;
    max-width: 100%;
    width: 300px;
    text-align: center;
    margin: 0 auto 10px;
    font-size: 16px;
  }
  .services-slider__item-title {
    font-size: 16px;
  }
  .services-slider__item-text {
    font-size: 14px;
  }
  .help-slider__item-title {
    font-size: 16px;
  }
  .help-slider__item-text {
    font-size: 14px;
  }
  .process-slider__item-title {
    font-size: 16px;
  }
  .process-slider__item-text {
    font-size: 14px;
  }
  .faq__item-question {
    font-size: 16px;
  }
  .faq__item-answer {
    font-size: 14px;
  }
  .contact__content {
    width: 100%;
  }
  .contact__img {
    display: block;
  }
  .contact__bg {
    display: none;
  }
  .contact p {
    margin: 0px 0px 10px;
  }
  /*footer*/
  .footer {
    font-size: 14px;
    line-height: 130%;
  }
  .footer-nav__link {
    font-size: 14px;
    line-height: 130%;
  }
}