.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6.25rem;
  box-shadow: 0 0 12px rgba(85, 85 ,85 , .2);
  background: #fff;
  z-index: 100;
}
.header__container{
  display: grid;
  grid-template-columns: 12.5rem 1fr 1fr;
  gap: 2.5rem;
  height: 100%;
}
.header__logo{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.header__logo-img{
  height: auto;
  max-height: 3.75rem;
}
.header__nav{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.header__cta{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
}

.header__nav-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}
.header__nav-wrapper .hs_cos_wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}
.header__nav-wrapper .hs-menu-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}
.header__nav-wrapper ul {
  height: 100%;
  display: flex;
  align-items: center;
}
.header__nav-wrapper ul .hs-menu-item {
  height: 100%;
  display: flex;
  align-items: center;
}
.header__nav ul{
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.header__nav a{
  text-decoration: none;
  font-weight: normal;
  opacity: 1;
  transition: all 0.15s ease-in-out;
  padding: 0 1rem;

  height: 100%;
  display: flex;
  align-items: center;
}
.header__nav a:hover{
  font-weight: bold;
  opacity: 1;
}

.header__nav-wrapper:hover a:not(:hover) {
  opacity: 0.6;
}

.header__cta .programme__phone{
  margin-bottom: 0;
  width: fit-content;
  min-width: 16.875rem;
  padding: 0.75rem 2rem;
}

.header__burger,
.header-mobile-nav{
  display: none;
}
@media screen and (max-width:992px){
  .header__logo-img{
    max-height: 2.6875rem;
  }
  .header{
    height: auto;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  .header::after{
    content: '';
    height: 0vh;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: height ease .4s .4s, backdrop-filter ease .4s, -webkit-backdrop-filter ease .4s;
  }
  .header.active::after{
    height: 100vh;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: backdrop-filter ease .4s, -webkit-backdrop-filter ease .4s;
  }
  .header__container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    background: #fff;
    transition: all ease .2s;
    transition-delay: .2s;
  }
  .header__cta{
    display: none;
  }
  .header__logo-img{
    width: 9.875rem;
  }
  .header__nav{
    display: none;
  }
  .header-mobile-nav{
    display: block;
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    box-shadow: 0 0 12px rgba(85, 85 ,85 , .2);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    transition: all ease .4s;
    max-height: 80vh;
    overflow: auto;
  }
  .header-mobile-nav a{
    text-decoration: none;
    margin: 0 1rem;
  }
  .header-mobile-nav a:hover{
    text-decoration: underline;
  }
  .header-mobile-nav ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style-type: none;
  }
  .header-mobile-nav ul li{
    margin-bottom: 2.5rem;
  }
  .header-mobile-nav__cta{
    display: flex;
    /*flex-direction: row;*/
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
  .header__burger{
    display: block;
    width: 25px;
    height: 25px;
    position: relative;
    background: none;
    border: none;
  }
  .header__burger-line{
    display: block;
    border-radius: 10px;
    height: 3px;
    position: absolute;
    transition: all ease .4s;
  }
  .header__burger-line--1{
    top: 0;
    right: 0;
    width: 24px;
  }
  .header__burger-line--2{
    top: 11px;
    right: 0;
    width: 30px;
  }
  .header__burger-line--3{
    bottom: 0;
    right: 0;
    width: 18px;
    opacity: 1;
  }

  .header.active .header__burger-line--1{
    top: 11px;
    right: 0;
    width: 24px;
    transform: rotate(45deg);
  }
  .header.active .header__burger-line--2{
    width: 24px;
    transform: rotate(-45deg);
  }
  .header.active .header__burger-line--3{
    bottom: unset;
    top: 11px;
    right: 0;
    width: 24px;
    opacity: 0;
  }
  .header.active .header__container{
    border-radius: 0;
    transition-delay: 0s;
  }
  .header.active .header-mobile-nav{
    transform: translateY(100%);
  }
}


.texteCtaHeader__cta-popup-button{
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7em;
  border-radius: 100rem;
  padding:9px 2.5rem;
  text-align: center;
  transition: all ease .2s;
  font-weight: 500;
}
@container modules (max-width: 568px) {
  .texteCtaHeader__cta-popup-button{
    width: 100%;
  }
}

.popupHeaderForm{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 26, 68, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000000000;
  padding: 10vh 1.25rem;
}
.popupHeaderForm__container{
  max-width: 35.5rem;
  max-height: 80vh;
  margin: auto;
  position: relative;
  overflow: auto;
}
.popupHeaderForm__close{
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
}
.popupHeaderForm__title{
  color: #221A44;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
.popupHeaderForm__text{
  text-align: center;
  color: #221A44;
  font-size: 0.875rem;
}
.popupHeaderForm__wrapper{
  margin-top: 1.25rem;
  color: #221A44;
}



#popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper select{
  background-image: var(--bg-select);
  background-position: center right 1rem;
  background-repeat: no-repeat;
  background-size: auto;
  -webkit-appearance: none;
}

#popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper input,
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper select,
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper textarea{
        border-radius: 0.625rem;
        padding: 0.5rem 1rem;
        border: none;
        font-size: 0.75rem;
        width: 100%;
        background-color: #EFEFF2;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper label{
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        display:block;
        font-weight: 500;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper fieldset{
        margin: 0;
        max-width: 100%;
        margin-bottom: 0.875rem;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper fieldset>div{
        width: 100%;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper fieldset.form-columns-2{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .inputs-list{
        list-style-type: none;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .inputs-list label{
        display: flex;
        align-items: flex-start;
        margin-bottom: 0.875rem;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .inputs-list input{
        width: auto;
        margin-top: 2px;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .hs-richtext{
        font-size: 0.75rem;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .hs-richtext p{
        margin-bottom: 0.75rem;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .hs-richtext a{
        color: #221A44;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .actions{
        text-align: center;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper input[type="submit"]{
        background: var(--bg-btn);
        padding: 0.625rem 2.5rem;
        width: auto;
        margin: auto;
        border-radius: 100rem;
        color: var(--fc-btn);
        cursor: pointer;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .hs-error-msgs{
        font-weight: 400;
        color: red;
    }
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper .hs-error-msg{
        font-weight: 400;
        color: red;
        margin-top: 4px;
    }


    @media screen and (max-width:568px){
    #popupHeaderForm .popupHeaderForm .popupHeaderForm__wrapper fieldset.form-columns-2{
            grid-template-columns: 1fr;
        }
}