@import "../assets/font/stylesheet.css";

@font-face {
  font-family: 'Onest';
  src: url('../assets/font/Onest-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Onest';
  src: url('../assets/font/Onest-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, .main-title, .section-title {
    font-weight: 700; 
}

p, span, li, a, input, textarea {
    font-weight: 400; 
}

:root {
  --color-primary: #EEF3F4;
  --works: #ded6d83f;
  --header-height: 0px;
}

*{
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  outline: none;
  border: none;
  font-family: "Onest", sans-serif;
}

body{
  background: #EEF3F4;
}

html, body {
  font-family: "Onest", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  max-width: 768px;
  padding: 0 16px;
  margin: 0 auto;
}

.header{
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  padding: 10px 0;
  z-index: 10;
  transition: .3s;
}

.header.header-home.scroll{
  background: #EEF3F4;
  box-shadow: 0px 15px 50px -12px rgba(0, 0, 0, 0.1);
}

.header.scroll{
  background: #fff;
  box-shadow: 0px 15px 50px -12px rgba(0, 0, 0, 0.1);
}

.header-content{
  display: flex;
  justify-content: space-between;
}

.wrapper{
  overflow: hidden;
}

.info-page {
  padding-top: calc(var(--header-height) + 0px);
}

.logo{
  color: #1C4C64;
  display: flex;
  gap: 10px;
  align-items: center;
}

.logo img{
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.logo-name{
  color: #1C4C64;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo_text{
  width: 110px;
  font-size: 15px;
  font-weight: bold;
  line-height: 17px;
}

.nav {
      position: fixed;
      inset: 0;
      background: #FFFFFF;
      z-index: 1000;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }

.nav-inner {
    padding: 250px 20px;
    text-align: center;
}


.nav.active {
    transform: translateX(0);
    }

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f2f6f6;
    }

.nav-cross {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-cross img {
    width: 32px;
    height: 32px;
}

.nav .primary-btn{
  width: 246px;
  height: 60px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  border-radius: 20px;
}

.nav-list {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-bottom: 24px;
}

.nav-list a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

.nav-sandwich{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
}

.main {
  position: relative;
  align-items: center;
  background: var(--color-primary);
  width: 100%;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
}

.main-title{
  font-size: 40px;
  line-height: 40px;
  color: #31515D;
  margin: 0 10px 16px;
}

.main-description{
  color: #4B7C8E;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  
}

.main-banner{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-banner-img{
 
}

.main-banner-img img{
  display: block;
  width: 100%;
}

.section-title{
  max-width: 600px;
  color: #31515D;
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  margin: 0 auto;
}

.section-title-forms{
  width: 390px;
  color: #31515D;
  text-align: left;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  margin: 0 auto;
}

.section-title-forms-fql{
  color: #31515D;
  text-align: left;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  margin: 0 auto;
}

.work{
  position: relative;
  padding: 60px 0 0;
}

.work-list{
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.work-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 27px;
  text-align: center;
  border-radius: 34px;
  background: var(--works);
}

.faq{
    position: relative;
    padding: 88px 0px 0px;
    background-color: #EEF3F4;
}

.faq-el-text{
  max-width: 81%;
  color: #23262F99;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin: 16px 0;
}

.faq-el-text:last-child{
  margin-bottom: 0;
}

.faq-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.faq-el{
  border: 1px solid linear-gradient(146deg, #B3D185 0%, #89BF44 100%);
  border-radius: 22px;
  box-shadow: 0px 5px 16px 0px rgba(8, 15, 52, 0.06);
  background: rgb(255, 255, 255);
  padding: 22px 16px;
}

.faq-el-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.faq-el-body{
  display: none;
}

.faq-el-head-text{
  color: #31515D;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
}

@media (max-width: 768px) {
  .faq-el-head-text {
    max-width: 300px;
  }
}

.faq-el-head-itm{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: 8.1px;
}

.faq-el.active .faq-el-head-itm{
  background: var(--color-primary);
}

.faq-el-head-itm-minus{
  display: none;
}


.faq-el.active .faq-el-head-itm-plus{
  display: none;
}

.faq-el.active .faq-el-head-itm-minus{
  display: block;
}

.faq-el-head-itm svg{
  display: flex;
}

.info-bloсk{
    position: relative;
    padding: 28px 0;
    background-color: #EEF3F4;
}

.info-bloсk-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.info-bloсk-card{
  
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 22px;
  box-shadow: 0px 15px 50px -12px rgba(0, 0, 0, 0.1);
  background: rgb(255, 255, 255);
  padding: 24px;
  max-width: 370px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .info-bloсk-card {
    max-width: none;   
    margin: 0; 
  }
}


.info-bloсk-card-text{
  color: #4B7C8E;
  text-align: center;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 16px;
}

.form-block{
    padding: 28px 0;
    background-color: #EEF3F4;
}

.form{
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 22px;
  background: #FFFFFF;
  margin-top: 14px;
}

.form-group input{
  width: 100%;
    box-sizing: border-box;
  border-radius: 16px;
  background: #eef3f480;
  padding: 19px 20px 18px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  border: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.form-group textarea{
  width: 100%;
    box-sizing: border-box;
  height: 140px;
  border-radius: 16px;
  background: #eef3f480;
  padding: 19px 20px 18px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  resize: none;
  border: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.form-group input:focus,
.form-group textarea:focus{
  border-color: #4B7C8E;
  box-shadow: 0 0 0 3px rgba(75, 124, 142, .12);
}

.form-group.is-invalid input,
.form-group.is-invalid textarea{
  border-color: #E34850;
  background: #FFF7F7;
  box-shadow: 0 0 0 3px rgba(227, 72, 80, .1);
}

.form-error{
  display: none;
  padding: 6px 10px 2px;
  color: #C92F38;
  font-size: 12px;
  line-height: 16px;
}

.form-group.is-invalid .form-error{
  display: block;
}

.form-group textarea::placeholder,
.form-group input::placeholder{
  color: #23262F4D;
}

.form-group button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 17px;
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  border-radius: 33px;
  background: #313B5D;
  margin: 0 auto;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}

.form-group button:disabled{
  cursor: wait;
  opacity: .65;
}

.form-status-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(22, 36, 44, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}

.form-status-modal.is-open{
  opacity: 1;
  visibility: visible;
}

.form-status-card{
  width: min(100%, 360px);
  box-sizing: border-box;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 20px 60px rgba(28, 76, 100, .22);
  text-align: center;
  transform: translateY(12px) scale(.98);
  transition: transform .2s;
}

.form-status-modal.is-open .form-status-card{
  transform: translateY(0) scale(1);
}

.form-status-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #FFFFFF;
  background: #2FA36B;
  font-size: 28px;
  font-weight: 700;
}

.form-status-modal.is-error .form-status-icon{
  background: #E34850;
}

.form-status-title{
  margin: 0 0 8px;
  color: #31515D;
  font-size: 24px;
  line-height: 30px;
}

.form-status-message{
  margin: 0 0 20px;
  color: #4B7C8E;
  font-size: 15px;
  line-height: 21px;
}

.form-status-close{
  width: 100%;
  padding: 14px 20px;
  border-radius: 24px;
  color: #FFFFFF;
  background: #313B5D;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.footer{
 background-color: #FFFFFF;
  padding: 28px 0;
  margin-top: 32px;
}

.footer-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.logo-footer{
 color: black !important;
}

.black{
  color: black !important;
}


.footer-btn{
  width: 246px;
  height: 60px;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.5px;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-nav .nav-list__el a{ 
  font-size: 18px;
  line-height: 18px;
}

.section-title--info{
  text-align: center;
  margin-bottom: 32px;
}

.copy-text{
border-top: 1px solid #e0e0e0;
  padding-top: 12px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: rgb(25, 32, 44);
  margin-top: 34px;
}

@media (max-width:380px){
  .main-banner-img {
    max-width: 190px;
  }
}
