html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: #3F332B;
    transition: color 0.5s ease;
}

a:hover {
    color: #A35C2B;
}

body {
    font-family: 'Open Sans';
    font-style: normal;
    color: #3F332B;
    margin: 0;
    padding: 0;
}

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

.container {
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

.header-block {
    position: relative;
    background: linear-gradient(178.94deg, rgba(103, 47, 11, 0.2) 35%, rgba(255, 255, 255, 0) 75%);
}

@media (min-width: 769px) {
    .header-block {
        background-image: url("data:image/svg+xml,%3Csvg width='1440' height='780' viewBox='0 0 1440 780' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L395.5 0L1440 540V780L1 780L0 0Z' fill='url(%23paint0_linear_688_1008)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_688_1008' x1='277' y1='165' x2='283.843' y2='846.931' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23672F0B' stop-opacity='0.2'/%3E%3Cstop offset='1' stop-color='white' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
        background-size: cover;
    }
}

.header-block .header-top {
    padding: 20px 0 0;
}

@media (min-width: 769px) {
    .header-block .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 32px 0 0;
    }
}

.header-block .header-top .links-wrapper {
    display: flex;
    align-items: center;
    justify-content: end;
    max-width: 680px;
    padding-top: 9px;
    width: 100%;
    border-bottom: 1px solid rgba(78, 64, 54, 0.05);
}

@media (max-width: 768px) {
    .header-block .header-top .links-wrapper {
        justify-content: center;
    }
}

.header-block .header-top .logo {
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    padding-bottom: 16px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .header-block .header-top .logo {
        text-align: center;
    }
}

.header-block .header-top .social-links {
    padding-right: 20px;
    padding-bottom: 15px;
}

@media (min-width: 769px) {
    .header-block .header-top .social-links {
        padding-right: 41px;
        padding-bottom: 20px;
    }
}

.header-block .header-top .navigation {
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 0;
    padding-bottom: 20px;
    border-left: 1px solid rgba(78, 64, 54, 0.05);
}

@media (min-width: 769px) {
    .header-block .header-top .navigation {
        padding-left: 41px;
        padding-right: 28px;
    }
}

.header-block .header-top .navigation .link {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
}

.header-block .header-middle {
    padding-bottom: 85px;
}

.header-block .header-middle .block {
    padding: 30px 0 30px;
}

@media (min-width: 769px) {
    .header-block .header-middle .block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 47px 0 75px;
    }
}

.header-block .header-middle .block h1 {
    margin: 0 0 47px;
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 600;
    font-size: 44px;
    line-height: 57px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .header-block .header-middle .block h1 {
        margin: 0 0 30px;
        text-align: center;
        font-size: 36px;
        line-height: 40px;
    }
}

.header-block .header-middle .block h1 span {
    display: block;
    font-weight: 500;
    font-size: 24px;
    line-height: 31px;
}

.header-block .header-middle .block img {
    width: 50%;
}

@media (max-width: 768px) {
    .header-block .header-middle .block img {
        display: block;
        width: 100%;
        max-width: 300px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }
}

.header-block .header-middle .block .sign-up {
    padding: 11px 46px;
    background: #A35C2B;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    transition: background-color 0.5s ease;
}

@media (max-width: 768px) {
    .header-block .header-middle .block .sign-up {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
        text-align: center;
    }
}

.header-block .header-middle .block .sign-up:hover {
    background: #8f4d1e;
}

.header-block .header-middle .scroll-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-block .header-middle .scroll-button:before {
    content: '';
    cursor: pointer;
    display: block;
    height: 28px;
    width: 12px;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='30' viewBox='0 0 13 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5232 1.72867C12.4099 1.20127 12.0423 0.853271 11.5613 0.853271C11.1842 0.853271 11.1558 0.877272 5.82743 7.65067L0.470703 14.4607L0.470703 15.0001L0.470703 15.5395L5.82743 22.3489C11.1558 29.1223 11.1842 29.1463 11.5613 29.1463C12.2594 29.1463 12.712 28.3789 12.5232 27.5281C12.476 27.2761 10.9765 25.2985 7.66634 21.0901L2.87554 15.0001L7.66634 8.91007C10.9765 4.70227 12.476 2.72407 12.5232 2.47207C12.5704 2.26807 12.5704 1.94467 12.5232 1.72867Z' fill='%233F332B'/%3E%3C/svg%3E%0A");
    transform: rotate(270deg);
}

.title {
    margin: 0 0 65px;
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 54px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .title {
        margin: 0 0 35px;
        text-align: center;
        font-size: 30px;
        line-height: 40px;
    }
}

.social-links {
    display: flex;
}

.social-links li {
    margin-right: 20px;
}

.social-links li svg {
    fill: #3F332B;
    transition: fill 0.5s ease;
}

.social-links li:last-child {
    margin-right: 0;
}

.social-links li:hover svg {
    fill: #A35C2B;
}

.service-work .list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 769px) {
    .service-work .list {
        flex-direction: row;
        justify-content: space-between;
    }
}

.service-work .list .item {
    display: flex;
    counter-increment: item;
    position: relative;
}

@media (max-width: 768px) {
    .service-work .list .item {
        margin-bottom: 25px;
        max-width: 320px;
        width: 100%;
    }

    .service-work .list .item:last-child {
        margin-bottom: 0;
    }
}

.service-work .list .item:before {
    content: "0" counter(item) " ";
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 64px;
    line-height: 87px;
    color: #A35C2B;
    max-width: 110px;
    width: 100%;
    height: 110px;
    margin-right: 17px;
}

.service-work .list .item::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 3px solid rgba(163, 92, 43, 0.8);
    width: 110px;
    height: 110px;
    transform: rotate(300deg);
}

.service-work .list .item:first-child::after {
    border-top-color: #fff;
    border-right-color: #fff;
    border-bottom-color: #fff;
}

.service-work .list .item:nth-child(2)::after {
    border-bottom-color: #fff;
}

.service-work .list .item .info {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.service-work .list .item p {
    margin: 0;
    font-weight: 600;
    font-size: 24px;
    line-height: 33px;
}

.about {
    position: relative;
}

@media (max-width: 768px) {
    .about {
        background: linear-gradient(178.94deg, rgba(103, 47, 11, 0.2) 35%, rgba(255, 255, 255, 0) 70%);
    }
}

@media (min-width: 769px) {
    .about:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 903px;
        z-index: -1;
        background-size: cover;
        background-image: url("data:image/svg+xml,%3Csvg width='1440' height='903' viewBox='0 0 1440 903' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1440 903L0 239V0L1440 0V903Z' fill='url(%23paint0_linear_688_1009)' fill-opacity='0.1'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_688_1009' x1='724.719' y1='636.306' x2='724.719' y2='5.50209' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='white'/%3E%3Cstop offset='1' stop-color='%23672F0B'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
    }
}

@media (min-width: 769px) {
    .about .container {
        display: flex;
        justify-content: space-between;
    }
}

.about .container .text-info {
    max-width: 574px;
}

.about .container .title {
    margin-bottom: 12px;
}

.about .container p {
    margin: 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

.about .container .image {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .about .container .image {
        margin-bottom: 15px;
    }
}

.advantages ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .advantages ul {
        margin-right: calc(-1*15px);
        margin-top: calc(-1*15px);
        justify-content: center;
    }
}

.advantages ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: calc(100% / 5 - 100px);
    max-width: 110px;
}

@media (max-width: 768px) {
    .advantages ul li {
        flex-basis: calc(100% / 2 - 15px);
        max-width: 100%;
        margin-top: 15px;
        margin-right: 15px;
    }
}

.advantages ul li .icon-warpper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 0 30px;
    background: #A35C2B;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .advantages ul li .icon-warpper {
        margin: 0 0 15px;
        width: 80px;
        height: 80px;
    }
}

.advantages ul li p {
    margin: 0;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
}

.projects {
    background: rgba(103, 47, 11, 0.3);
}

@media (max-width: 768px) {
    .projects .list li {
        padding: 0 1px;
    }
}

.projects .list p {
    margin: 20px 0 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
}

.projects .list img {
    max-width: 360px;
    max-height: 450px;
    width: 100%;
    height: auto;
}

.validate input:invalid {
    border: 1px solid red!important;
}

#block-portfolio.hover , #block-license.hover{
    background: rgba(103, 47, 11, 0.05);
}

#block-portfolio.error, #block-license.error {
    border-color: #f00;
}
#files-portfolio, #files-license{
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 10px 0;
	gap: 10px 5px;
}
#files-portfolio span, #files-license span{
    margin-left: 5px;
    font-weight: 300;
        font-size: 14px;
        line-height: 19px;
        color: rgba(63, 51, 43, 0.6);
}

@media (max-width: 768px) {
    .projects .list img {
        max-width: 100%;
        max-height: 100%;
    }
}

.form-installer {
    position: relative;
    padding-bottom: 0;
}

.form-installer .title span {
    color: #A35C2B;
}
@media (min-width: 769px) {
    .form-installer .installer-wrapper {
        display: flex;
    }
}

.form-installer .form-wrapper {
    max-width: 720px;
    padding: 30px 15px 50px;
    background: #FFFFFF;
    border: 1px solid rgba(103, 47, 11, 0.5);
}

@media (max-width: 768px){
    .form-installer .form-wrapper{
        border: none;
        max-width: 100%;
    }
    .form-installer .form-wrapper .form-block{
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 769px) {
    .form-installer .form-wrapper {
        width: 50%;
        padding: 53px 45px 50px;
    }
}

.form-installer .form-block {
    margin-left: auto;
    max-width: 575px;
    width: 100%;
}

.form-installer .form-block .form-title {
    margin: 0 0 30px;
    font-weight: 600;
    font-size: 24px;
    line-height: 33px;
}

.form-installer .form-block .label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}


.form-installer .fieldset {
    display: flex;
    flex-wrap: wrap;
    margin-top: -35px;
	gap: 35px;
	padding-top: 35px;
}


.form-installer .fieldset .field {
    margin-bottom: 35px;
}


.form-installer .fieldset .field {
    display: flex;
    flex-direction: column;
    flex-basis: calc(100% / 2 - 35px);
    margin-bottom: 0;
	flex-grow: 1;
}

@media (max-width: 1017px) {
    .form-installer .fieldset .field {
        flex-basis: 100%;
    }
}
.form-installer .fieldset .field.address,
.form-installer .fieldset .field.images,
.form-installer .fieldset .field.working-area {
    flex-basis: 100%;
}

.form-installer .fieldset .field.working-area {
    padding-top: 40px;
    border-top: 1px solid rgba(103, 47, 11, 0.2);
}

.form-installer .fieldset .field .field-title {
    margin: 0 0 25px;
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
}

.form-installer .fieldset .field .input {
    height: 35px;
    padding: 7px 10px;
    background: rgba(103, 47, 11, 0.05);
    border: 1px solid rgba(103, 47, 11, 0.05);
    border-radius: 5px;
}

.form-installer .fieldset .field .input:focus,
.form-installer .fieldset .field .input:active {
    border: 1px solid rgba(103, 47, 11, 0.3);
    background: #fff;
    box-shadow: none;
    outline: none;
}

@media (max-width: 768px) {
    .form-installer .fieldset .field .input {
        width: 100%;
    }
}

.form-installer .fieldset .field .upload_button {
    cursor: pointer;
    padding: 20px;
    border: 1px dashed rgba(63, 51, 43, 0.35);
    border-radius: 7px;
    text-align: center;
}

.form-installer .fieldset .field .upload_button span {
    font-weight: 300;
    font-size: 14px;
    line-height: 19px;
    color: rgba(63, 51, 43, 0.6);
}

.form-installer .fieldset .field .field-description {
    margin-bottom: 5px;
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    color: rgba(63, 51, 43, 0.6);
}

.form-installer .fieldset .field .zip_code_wrapper {
    margin-bottom: 33px;
}

.form-installer .fieldset .field .zip_code_wrapper .zip_code {
    display: flex;
    flex-direction: column;
}

.form-installer .fieldset .field .zip_code_wrapper .zip_code .input {
    max-width: 150px;
}

.form-installer .fieldset .field .miles_count_wrapper .miles_count {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-installer .fieldset .field .miles_count_wrapper .miles_count .label {
    width: 100%;
}

.form-installer .fieldset .field .miles_count_wrapper .input {
    max-width: 150px;
}

.form-installer .fieldset .field .miles_count_wrapper .count_text {
    margin-left: 13px;
    font-weight: 300;
    font-size: 14px;
    line-height: 19px;
    color: rgba(63, 51, 43, 0.6);
}
.form-group.required{
    width: 100%;
}
.form-installer .primary {
    cursor: pointer;
    font-family: 'Open Sans';
    margin-top: 40px;
    padding: 11px 56px;
    background: #A35C2B;
    border: 1px solid #A35C2B;
    border-radius: 10px;
    transition: color 0.5s ease, background-color 0.5s ease;
}
.form-installer .primary.sent,
.form-installer .primary.sent:hover{
    background: #F7F4F3;
    border-color: rgba(103, 47, 11, 0.05);
    cursor: no-drop;
}
.form-installer .primary.sent span{
    color: rgba(63, 51, 43, 0.6);
}

@media (max-width: 768px) {
    .form-installer .primary {
        margin-left: auto;
        margin-right: auto;
        display: block;
        max-width: 100%;
        width: 100%;
    }
}

.form-installer .primary span {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
}

.form-installer .primary:hover {
    background: #8f4d1e;
}

.footer-block {
    padding: 71px 0 74px;
    background: rgba(103, 47, 11, 0.8);
}

@media (max-width: 768px) {
    .footer-block {
        padding: 40px 0;
    }
}

.footer-block .container {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-block .container {
        flex-wrap: wrap;
        justify-content: space-around;
    }
}

.footer-block .container .logo {
    margin-right: 82px;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-block .container .logo {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
}

.footer-block .container .link {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    transition: color 0.5s ease;
}

.footer-block .container .link:hover {
    color: #3F332B;
}

.footer-block .container .social-links {
    margin-left: auto;
}

@media (max-width: 768px) {
    .footer-block .container .social-links {
        margin-left: 0;
    }
}

.footer-block .container .social-links svg {
    fill: #fff;
    transition: fill 0.5s ease;
}

.footer-block .container .social-links svg:hover {
    fill: #3F332B;
}

.slick-list {
    margin-right: 1px !important;
}

.slick-arrow {
    width: 42px;
    height: 60px;
}

.slick-arrow:before {
    content: ''!important;
    display: block;
    width: 12px;
    height: 28px;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='30' viewBox='0 0 13 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5232 1.72867C12.4099 1.20127 12.0423 0.853271 11.5613 0.853271C11.1842 0.853271 11.1558 0.877272 5.82743 7.65067L0.470703 14.4607L0.470703 15.0001L0.470703 15.5395L5.82743 22.3489C11.1558 29.1223 11.1842 29.1463 11.5613 29.1463C12.2594 29.1463 12.712 28.3789 12.5232 27.5281C12.476 27.2761 10.9765 25.2985 7.66634 21.0901L2.87554 15.0001L7.66634 8.91007C10.9765 4.70227 12.476 2.72407 12.5232 2.47207C12.5704 2.26807 12.5704 1.94467 12.5232 1.72867Z' fill='%233F332B'/%3E%3C/svg%3E%0A");
}

.slick-arrow.slick-next {
    right: -37px;
}

.slick-arrow.slick-next:before {
    transform: rotate(180deg);
}

.slick-arrow.slick-prev {
    left: -37px;
}

.form-label-miles {
    position: relative;
    max-width: 150px;
}

#decrement,
#increment {
    position: absolute;
    top: 0;
    min-height: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

#decrement {
    left: 5px;
}

#increment {
    right: 5px;
}

.input-miles {
    text-align: center;
}

.map__wrapper {
    position: relative;
    width: 50%;
    height: auto;
}

.content__map {
    width: 100%;
    height: 100%;
}

.errorZipCode,
.message {
    position: fixed;
    display: flex;
    max-width: 455px;
    width: 100%;
    padding: 18px 20px;
    justify-content: center;
    align-items: center;
    left: calc(50% - 270px);
    background: #F7F5F3;
    top: 0;
    border-radius: 16px;
    box-shadow: 0 0 12px rgba(22, 33, 81, 0.04);
    transition: all 0.4s linear;
    z-index: 100000;
    opacity: 0;
}

@media only screen and (max-width: 425px) {
	.errorZipCode {
		left: 50%;
		transform: translate(-50%, 0);
		max-width: calc(100% - 20px);
	}
}

.errorZipCode p,
.message p {
    margin: 0;
}

.errorZipCode-text,
.error {
	font-family: 'Open Sans';
	color: #d00d0d;
	font-size: 18px;
	font-weight: 600;
}

.success {
	font-family: 'Open Sans';
	color: #85593C;
	font-size: 18px;
	font-weight: 600;
}

.errorZipCode.active,
.message.active {
	opacity: 1;
	top: 20px;
}

#files-portfolio .img-list-item {
	position: relative;
	flex-basis: calc(20% - 5px);
	overflow: hidden;
}
@media (max-width: 992px) {
	#files-portfolio .img-list-item{
		flex-basis: calc(33.333% - 5px);
	}
}
@media (max-width: 768px) {
	#files-portfolio .img-list-item {
		flex-basis: 100%;
	}

	#files-portfolio .img-list-item .img-file-name {
	}

	#files-license .img-list-item {
		position: relative;
		flex-basis: 100%;
		overflow: hidden;
		min-height: 25px;
	}
}
	.img-list-item .img-file-name{
		overflow-wrap: break-word;
	}
	#files-license .img-list-item .img-file-name{
		overflow-wrap: break-word;
		max-width: 60%;
		margin: auto;
        position: static;
	}
	@media (max-width: 992px) {
		#files-license .img-list-item .img-file-name{
			font-size: 14px;
		}
	}
	#files-portfolio .img-loaded-wrapper {
		max-width: 150px;
		overflow: hidden;
		margin: 20px auto 0 auto;
		min-height: 180px;
		display: flex;
	}

	#files-license .img-loaded-wrapper {
		overflow: hidden;
		margin: 20px 0 0 0;
		max-height: 200px;
		display: flex;
	}

	#files-portfolio .img-loaded-wrapper img {
		width: 100%;
		object-fit: cover;
	}
	#files-license .img-loaded-wrapper img {
		width: 100%;
		object-fit: cover;
	}

	#files-portfolio .img-delete {
		position: absolute;
		right: 0;
		top: 0;
		width: 20px;
		height: 20px;
		opacity: 0.3;
		border: none;
		background: unset;
		padding: 0;
		cursor: pointer;
	}
	#files-license .img-delete {
		position: absolute;
		right: 0px;
		top: 1px;
		width: 18px;
		height: 18px;
		opacity: 0.5;
		border: none;
		background: unset;
		padding: 0;
		cursor: pointer;
	}
	.img-delete:hover {
		opacity: 1;
	}
	.img-delete:before, .img-delete:after {
		position: absolute;
		content: ' ';
		height: 20px;
		width: 2px;
		background-color: #333;
		top: 50%;
		left: 50%;
	}
	.img-delete:before {
		transform: translate(-50%, -50%) rotate(45deg);
	}
	.img-delete:after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}
.img-list-item{
    position: relative;
}