.faq {
  margin: 80px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  row-gap: 80px;
  margin-top: 60px;
}


.faq-grid-item h3 {
  font-weight: 600;
  color: #3c93db;
  margin-bottom: 20px;
  display: flex;
  font-size: 24px;
  align-items: center;
}

.faq-grid-item p {
  color: #0d3d49;
}

@media screen and (max-width: 560px) {
  .faq {
    margin: 40px 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

.thank-you{
  position: relative;
  z-index: 10;
  margin-top: -350px;
  margin-bottom: 500px;
  text-align: center;
}
.thank-you h1{
  max-width: 800px;
  margin: 0 auto;
  font-weight: 600;
  font-family: Lato;
  font-size: 56px;
  color: #3c93db;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;

}
.thank-you p{
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 20px;
}

@media screen and (max-width: 560px) {
  .thank-you{
    position: relative;
    z-index: 10;
    margin-top: -450px;
    margin-bottom: 500px;
    text-align: center;
  }
}


article,
aside,
details,
figcaption,
figure,
footer,
header.main-header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}




.btn {
  box-sizing: border-box;
  height: 49px;
  border: 2px solid #3ae59f;
  background-color: #3ae59f;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  padding: 10px 30px 0 30px;
  font-family: Quicksand;
  font-weight: 500;
  text-transform: uppercase;
  color: white;
}

header.main-header {
  height: 700px;
  background-position: center;
  background-position-y: 58px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 560px) {
  header.main-header {
    background-image: none !important;
    background-image: url(../img/girl-bg-mobile.png) !important;
    background-position: center center;
    background-size: cover;
  }
}
/* header.main-header:after {
  content: "";
  position: absolute;
  top: 548px;
  width: 0;
  height: 0;
  border-bottom: 110px solid white;
  border-left: 100vw solid transparent;
}
@media screen and (max-width: 560px) {
  header.main-header:after {
    border-bottom: 70px solid white;
    border-left: 100vw solid transparent;
    display: none;
  }
} */
header.main-header nav {
  width: 100vw;
  height: 70px;
  position: fixed;
}
@media screen and (max-width: 960px) {
  header.main-header nav {
    height: 120px;
  }
}
@media screen and (max-width: 560px) {
  header.main-header nav {
    height: 40px;
  }
}
header.main-header nav .open-menu {
  position: absolute;
  /* height: 450px; */
  padding-bottom: 30px;
  background-color: #3074ad;
  z-index: 1000;
  width: 100%;
  display: none;
}
@media screen and (max-width: 560px) {
  header.main-header nav .open-menu {
    flex-direction: column;
    align-items: center;
  }
}
header.main-header nav .open-menu span {
  color: white;
  opacity: 0.5;
  font-size: 40px;
  align-self: flex-start;
  margin-left: 20px;
  margin-top: 15px;
}
header.main-header nav .open-menu .logo {
  color: #3ae59f;
  font-size: 32px;
  font-family: Lato;
  font-weight: 700;
  margin-top: 15px;
}
header.main-header nav .open-menu ul {
  text-align: center;
  margin-top: 30px;
  font-size: 30px;
  line-height: 1.7;
}
header.main-header nav .open-menu ul a {
  color: white;
}
header.main-header nav .open-menu ul:active {
  color: #35c7fc;
}
header.main-header nav .container .row-fixed {
  max-width: 1200px;
}
header.main-header nav .container .row-fixed .row {
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  height: 70px;
  max-width: inherit;
  display: flex;
  flex-wrap: wrap;
  transition: 1s;
  background: #f9f9f9;
}
@media screen and (max-width: 560px) {
  
  header.main-header nav .container .row-fixed .row-hidden {
    transition: 1s;
    transform: translateY(-65px);
  }
}

header.main-header nav .container .row-fixed .row .logo {
  color: #3ae59f;
  font-size: 22px;
  font-family: Lato;
  font-weight: 700;
  order: 1;
  margin-left: 15px;
}
@media screen and (max-width: 960px) {
  header.main-header nav .container .row-fixed .row .logo {
    margin-left: 18px;
  }
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row .logo {
    order: 1;
    width: 100%;
    text-align: center;
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 0;
  }
}
header.main-header nav .container .row-fixed .row ul {
  display: flex;
  order: 2;
}
@media screen and (max-width: 960px) {
  header.main-header nav .container .row-fixed .row ul {
    order: 3;
    margin-top: -15px;
  }
}
@media screen and (max-width: 768px) {
  header.main-header nav .container .row-fixed .row ul {
    margin: 5px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row ul {
    display: none;
  }
}
header.main-header nav .container .row-fixed .row ul li a {
  padding: 20px;
  font-family: Lato;
  color: #5c5c5c;
}
@media screen and (max-width: 1200px) {
  header.main-header nav .container .row-fixed .row ul li a {
    padding: 15px;
  }
}
header.main-header nav .container .row-fixed .row ul li a:hover {
  color: #3ae59f;
  font-weight: 600;
}
header.main-header nav .container .row-fixed .row .burger {
  display: none;
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row .burger {
    display: inline-flex;
    fill: white;
    width: 50%;
    height: 50px;
    order: 3;
    margin: 0;
    background: #3882c0;
    align-items: center;
    justify-content: center;
  }
  header.main-header nav .container .row-fixed .row .burger svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
}
header.main-header nav .container .row-fixed .row .contacts-top {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 200px;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  order: 3;
  margin-right: 20px;
  
}
@media screen and (max-width: 1200px) {
  header.main-header nav .container .row-fixed .row .contacts-top {
    margin-top: 15px;
  }
}
@media screen and (max-width: 960px) {
  header.main-header nav .container .row-fixed .row .contacts-top {
    order: 2;
  }
}
@media screen and (max-width: 768px) {
  header.main-header nav .container .row-fixed .row .contacts-top {
    margin-right: 15px;
  }
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row .contacts-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    order: 2;
    height: 50px;
    background: #24e495;
    max-width: none;
    width: 50%;
    padding: 0;
  }
}
header.main-header nav .container .row-fixed .row .contacts-top .primary-svg {
  width: 20px;
  height: 20px;
  margin-right: 9px;
  fill: #3c93db;
  margin-top: 5px;
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row .contacts-top .primary-svg {
    fill: white;
    margin: 0;
    margin-right: 15px;
  }
}
header.main-header
  nav
  .container
  .row-fixed
  .row
  .contacts-top:hover
  .primary-svg {
  fill: #3ae59f;
}

header.main-header nav .container .row-fixed .row .contacts-top .phone {
  color: #3c93db;
  font-size: 20px;
  font-family: Lato;
  font-weight: 600;
  margin-top: 0px;
  border-bottom: 2px solid #3c93db;
}
header.main-header nav .container .row-fixed .row .contacts-top .phone-mobile {
  display: none;
}
header.main-header nav .container .row-fixed .row .burger .phone-mobile {
  display: none;
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row .burger .phone-mobile {
    display: inline;
    margin: 0;
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    /* identical to box height */
    color: #ffffff;
  }
  header.main-header nav .container .row-fixed .row .contacts-top .phone {
    display: none;
    color: #9ca5a9;
    border-color: #9ca5a9;
  }
}
header.main-header nav .container .row-fixed .row .contacts-top:hover .phone {
  color: #3ae59f;
  border-color: #3ae59f;
}
header.main-header nav .container .row-fixed .row .contacts-top .callback {
  display: none;
  text-transform: uppercase;
  font-size: 15px;
  color: #3ae59f;
  border-bottom: 2px dashed #3ae59f;
  cursor: pointer;
}
@media screen and (max-width: 560px) {
  header.main-header nav .container .row-fixed .row .contacts-top .callback {
    color: #9ca5a9;
    border-color: #9ca5a9;
  }
  header.main-header
    nav
    .container
    .row-fixed
    .row
    .contacts-top
    .phone-mobile {
    margin: 0;
    display: block;
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    /* identical to box height */
    color: #ffffff;
  }
  header.main-header nav .container .row-fixed .row .burger p {
    margin: 0;
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    /* identical to box height */
    color: #ffffff;
  }
}
header.main-header
  nav
  .container
  .row-fixed
  .row
  .contacts-top
  .callback:hover {
  font-weight: 600;
}
header.main-header .main-hero {
  flex-grow: 1;
  margin-top: 90px;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero {
    margin-top: 100px;
  }
}
header.main-header .main-hero .container {
  height: 80vh;
  display: flex;
}
header.main-header .main-hero .container .wrap {
  margin-top: 6vh;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero .container .wrap {
    margin-top: 20px;
    text-align: center;
  }
}
header.main-header .main-hero .container .wrap .logo-xs {
  display: none;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero .container .wrap .logo-xs {
    display: block;
    color: #3ae59f;
    font-size: 22px;
    font-family: Lato;
    font-weight: 700;
    margin-bottom: 20px;
  }
}
header.main-header .main-hero .container .wrap h1 {
  font-size: 56px;
  font-family: Lato;
  font-weight: 800;
  color: #3c93db;
  line-height: 1.05;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero .container .wrap h1 {
    font-size: 37px;
    text-align: center;
    margin-top: 80px;
  }
}
@media screen and (max-width: 374px) {
  header.main-header .main-hero .container .wrap h1 {
    font-size: 35px;
  }
}
header.main-header .main-hero .container .wrap .main-h2 {
  font-size: 32px;
  text-align: center;
  font-family: Quicksand;
  color: #5c5c5c;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 15px;
  justify-content: flex-start;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero .container .wrap .main-h2 {
    font-size: 24px;
    display: inline-block;
    color: #5c5c5c;
  }
}
header.main-header .main-hero .container .wrap p {
  width: 400px;
  margin-top: 20px;
  margin-bottom: 45px;
  color: #35c7fc;
  font-weight: 500;
  color: #5c5c5c;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero .container .wrap p {
    width: 320px;
    font-size: 18px;
    display: inline-block;
  }
}
header.main-header .main-hero .container .wrap .btn--main-ask {
  margin-right: 20px;
  margin-bottom: 20px;
  padding: 11px 30px 0 30px;
}
@media screen and (max-width: 560px) {
  header.main-header .main-hero .container .wrap .btn--main-ask {
    width: 310px;
    margin-right: 0;
    margin-bottom: 20px;
    padding: 11px 30px 0 30px;
  }
}