html * {
    max-height: 1000000px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

* {
    margin: 0;
    padding: 0;
}

input:active, input:focus, button:focus {
    outline: none;
}

input::-webkit-input-placeholder {
    font-weight: 300;
    font-size: 20px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
}

input::-moz-placeholder {
    font-weight: 300;
    font-size: 20px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
}

:-ms-input-placeholder {
    font-weight: 300;
    font-size: 20px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
}

textarea::-webkit-input-placeholder {
    font-weight: 300;
    font-size: 20px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
}

textarea::-moz-placeholder {
    font-weight: 300;
    font-size: 20px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
}

:-ms-textarea-placeholder {
    font-weight: 300;
    font-size: 20px;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
}

body {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.2;
    font-weight: 300;
    background: #fff;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.pos-r {
    position: relative;
}

.ovh {
    overflow: hidden;
}

.container {
    max-width: 1510px;
}

.header-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 70px;
}

.header-main {
    background: url('../images/header-back.jpeg') no-repeat center;
    height: 1000px;
}

.header-main .container {
    height: 100%;
}

.header-navig {
    padding-left: 50px;
}

.header-navig li a {
    font-size: 16px;
    color: #000;
    display: inline-block;
    padding-bottom: 23px;
    position: relative;
}

.header-navig li a:hover {
    text-decoration: none;
}

.header-navig li a:after {
    content: '';
    background: #000000;
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
    opacity: 0;
    transition: 0.3s;
}

.header-navig li a:hover:after {
    opacity: 1;
    transition: 0.3s;
}

.header-navig li {
    list-style: none;
    float: left;
    margin-right: 45px;
}

.header-navig {
    margin-top: 27px;
}

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

.logo {
    padding-top: 10px;
}

.logo {
    text-align: center;
    flex: 1;
}

.phone {
    display: flex;
    align-items: center;
    background-color: #B8967E;
    color: white;
    padding: 10px;
    margin-top: 0;
    height: 69px;
    min-width: 330px;
}

.phone img {
    margin-right: 10px;
    margin-left: 30px;
}

.phone a {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
}

.phone a:hover {
    text-decoration: underline;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector .btn-group {
    display: flex;
    align-items: center;
}

.language-selector .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-main-txt span {
    font-size: 21px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 27px;
}

.header-main-txt span:after {
    content: '';
    width: 540px;
    height: 1px;
    background: #000;
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-main-txt {
    position: relative;
    padding-top: 330px;
}

.header-main-txt h2 {
    font-weight: 500;
    font-size: 4.5rem;
    line-height: 75px;
    padding-bottom: 59px;
}

#about {
    background: url('../images/about.jpeg') no-repeat center;
    min-height: 905px;
}

.about-top h2 {
    font-weight: 500;
    font-size: 4rem;
    line-height: 75px;
    color: #fff;
    padding-top: 122px;
}

.about-txt {
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    padding-top: 134px;
}

.about-item {
    display: flex;
    margin-bottom: 74px;
    padding-right: 20px;
}

.about-item h3 {
    width: 18%;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

.about-item p {
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    width: 82%;
}

.about-top {
    padding-bottom: 115px;
}

.header-main-link a {
    border: 1px solid #000000;
    display: inline-block;
    width: 305px;
    height: 65px;
    text-align: center;
    line-height: 65px;
    font-weight: 500;
    font-size: 20px;
    color: #000;
}

.header-main-link a:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.header-main-guid a {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    position: relative;
}

.header-main-guid a:after {
    content: url('../images/aft1.svg');
    position: absolute;
    right: -58px;
    top: -2px;
}

.header-main-link {
    padding-bottom: 48px;
}

.header-main-img img {
    position: absolute;
    bottom: 0;
    right: 0;
}

.header-main-logo {
    position: absolute;
    right: 0;
    top: 200px;
}

.tabs-section-top div {
    font-size: 1rem;
    font-weight: 500;
}

.tabs-section-top {
    display: flex;
    justify-content: space-between;
    padding-top: 131px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 61px;
}

.style-list {
    flex-direction: column;
    padding-right: 130px;
}

.style-list li {
    display: block;
}

.style-list a {
    border: none !important;
    text-align: left;
    color: #000;
    font-size: 18px;
    line-height: 25px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.style-list a.active:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 5px;
    height: 100%;
    background: #04071E;
}

.style-list a.active {
    font-weight: 600;
}

.style-list .nav-item {
    margin-bottom: 19px;
}

.container-fluid {
    padding-right: 0;
}

.tab-content-style h3 {
    font-weight: 500;
    font-size: 3rem;
    line-height: 55px;
    padding-top: 13px;
    padding-bottom: 31px;
    position: relative;
    padding-right: 100px;
}

.tab-content-style h3:after {
    content: url('../images/logo2.svg');
    position: absolute;
    right: 0;
    top: 18px;
}

.tab-content-style li, .tab-content-style p {
    line-height: 30px;
    font-size: 18px;
    margin-bottom: 10px;
}

.tab-content-style li {
    list-style-position: inside;
    padding-right: 20px;
}

.tab-content-style ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    max-width: 90%;
}

.nav-tabs {
    border: none;
}

.tabs-button a {
    font-weight: 500;
    line-height: 65px;
    width: 305px;
    height: 65px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #000000;
    display: inline-block;
    margin-top: 20px;
    color: #000;
}

#form {
    min-height: 540px;
    background: url('../images/back-form.jpeg') no-repeat center;
    border-radius: 10px;
}

#tabs-section {
    padding-bottom: 96px;
}

.form-txt h3 {
    color: #fff;
    font-weight: 500;
    font-size: 3rem;
    line-height: 65px;
    padding-top: 121px;
}

.form-input input {
    height: 60px;
    border: none;
    border-bottom: 1px solid #fff;
    font-size: 20px;
    color: #fff;
    width: 100%;
    outline: none;
    background: none;
}

.form-main {
    padding-top: 116px;
}

.form-input {
    margin-bottom: 49px;
    position: relative;
}

.form-input textarea {
    height: 168px;
    border: none;
    border-bottom: 1px solid #fff;
    font-size: 20px;
    color: #fff;
    width: 100%;
    background: none;
    padding-top: 17px;
    outline: none;
    resize: none;
}

.form-main button {
    border: none;
    background: none;
    border: 1px solid #FFFFFF;
    font-weight: 500;
    font-size: 20px;
    line-height: 65px;
    width: 305px;
    height: 65px;
    text-align: center;
    float: right;
    color: #fff;
}

.form-main button:hover {
    color: #04071E;
    background: #fff;
}

input.error, textarea.error,
input.is-invalid, textarea.is-invalid {
    border-bottom: 1px solid #F73E6B !important;
}

input.is-valid, textarea.is-valid {
    border-bottom: 1px solid #fff !important;
}

label.error-text {
    color: #dc3545;
    font-size: 14px;
    display: block;

    position: absolute;
    left: 0;
    bottom: -22px; /* можна підкрутити -20/-24 під дизайн */
    margin: 0;
}

#reviews {
    padding-top: 132px;
}

.reviews-title {
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 10px;
}

.reviews-title span {
    opacity: .4;
    letter-spacing: -1px;
}

.reviews-title h2 {
    font-size: 3rem;
    font-weight: 500;
    padding-top: 7px;
    padding-bottom: 4px;
}

.reviews-title p {
    font-size: 1.125rem;
    line-height: 30px;
}

.slider-item h4 {
    font-size: 1.563rem;
    font-weight: 500;
    margin-bottom: 38px;
}

.slider-item {
    padding-right: 70px;
}

.slider-item p {
    font-size: 1.25rem;
    line-height: 30px;
}

.slider {
    margin-top: 88px;
}

.slick-prev:before, .slick-next:before {
    display: none;
}

.slick-prev {
    background: url('../images/left.svg') no-repeat center;
}

.slick-next {
    background: url('../images/right.svg') no-repeat center;
}

#reviews .slick-prev {
    right: 80px;
    top: -175px;
}

#reviews .slick-next {
    right: 0;
    top: -175px;
}

#reviews-organizations .slick-prev {
    left: -20px;
}

#reviews-organizations .slick-next {
    right: -20px;
}

.reviews-organizations {
    margin-left: 30px;
    margin-right: 30px;
}

.maps-top {
    min-height: 510px;
    margin-top: 85px;
    background: url('../images/maps-top.jpeg') no-repeat center top;
    padding-top: 66px;
}

.maps-top-txt span {
    letter-spacing: -1px;
    opacity: .4;
    display: inline-block;
    margin-bottom: 8px;
}

.maps-top-txt h3 {
    font-weight: 500;
    font-size: 3rem;
}

.maps-top-item {
    background: #fff;
    padding: 39px;
    min-height: 365px;
}

.maps-top-title p {
    font-size: 1.125rem;
    line-height: 30px;
    min-height: 94px;
}

.maps-top-title span {
    display: block;
    margin-bottom: 21px;
    margin-top: 3px;
}

.contacts .text {
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
}

.contacts .text a {
    color: #000;
}

.maps-phone span {
    display: block;
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.maps-phone div {
    margin-bottom: 30px;
}

.maps-phone a {
    font-size: 1.5rem;
    color: #000;
    font-weight: 500;
}

.maps-iframe {
    margin: 0 auto;
    max-width: 1700px;
    width: 100%;
    height: 525px;
}

footer {
    padding-top: 89px;
}

.logo-footer-txt {
    font-size: 20px;
    font-weight: 300;
    padding-top: 10px;
}

.logo-footer-img {
    float: left;
    margin-right: 20px;
}

.footer-loc-txt {
    font-size: 1rem;
    padding-top: 85px;
}

.footer-top-flex {
    display: flex;
}

.footer-top-navig li {
    float: left;
}

.footer-top-navig li {
    list-style: none;
    margin-right: 50px;
}

.footer-top-navig li:last-child {
    margin: 0;
}

.footer-top-navig li a {
    color: #000;
    font-size: 1rem;
}

.logo-footer {
    width: 385px;
}

.footer-top-navig {
    margin-top: 12px;
}

.footer-link a {
    font-weight: 500;
    line-height: 65px;
    width: 305px;
    height: 65px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #000000;
    display: inline-block;
    margin-top: 16px;
    color: #000;
}

.footer-link a:hover {
    background: #000;
    text-decoration: none;
    color: #fff;
}

.footer-link {
    text-align: right;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid #E5E5E5;
}

.footer-coop {
    text-align: center;
    padding: 45px 0;
    font-size: 1rem;
}

.header-main-logo img {
    max-width: 100px;
}

.logo-mobile {
    display: none;
}

#thanks {
    padding: 30px 25px;
    text-align: center;
}

#thanks h3 {
    font-size: 24px;
}

#reviews-organizations img {
    max-height: 400px;
}

.default-fa-color {
    color: #B39781;
}
