:root {
    --accent-orange: #C59A4B;
    --text-black: #151515;
    --text-gray: #777777;
    --background-gray: #F5F5F5;
    --alt-gray: #B7B7B7;
    --border-gray: #CACACA;
    --text-white: #ffffff;
    --footer-gray: #BFBFBF;
    --dark-orange: #896d3a;
}

.aos-init[data-aos].aos-animate {
    transform: unset !important;
}

.container {
    max-width: 1215px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

header .container {
	overflow: visible;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

html {
    font-size: 16px;
}

ul, ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

section {
    margin-bottom: 75px;
}

section:first-child {
	margin-top: 12em;
}

.section-title {
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--text-black);
    padding-bottom: 22px;
    margin-bottom: 25px;
    position: relative;
}

.section-title::after {
    content: '';
    height: 3px;
    width: 30px;
    background: var(--accent-orange);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* header */

.header-logo-image {
	width: 180px;
	height: 80px;
}

header {
    padding: 22px 0;
    box-shadow: 0px 0px 12px 0px #0000001F;
    background: #f5f5f5;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 2;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav-list-item:not(:last-child) {
    margin-right: 2em;
}

.header-nav-list-item-link {
    font-weight: 500;
    font-size: 1.0625rem;
    line-height: 1.2;
    color: var(--text-black);
    border-bottom: 1px solid transparent;
    transition: all .2s ease-in;
}

.header-nav-list-item-link:hover {
    border-bottom-color: var(--accent-orange);
    color: var(--accent-orange);
}

.header-nav-list-item-link:active {
    border-bottom-color: var(--dark-orange);
    color: var(--dark-orange);
}

.header-phone {
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.2;
    color: var(--text-black);
    transition: all .2s ease-in;
}

.header-phone:hover {
    color: var(--accent-orange);
}

.header-phone:active {
    color: var(--dark-orange);
}

.header-phone-icon {
    transform: translateY(-2px);
}

.header-burger {
    border: none;
    background: transparent;
    display: none;
}

.header-burger::after {
    display: none;
}

.dropdown {
	display: none;
}

.dropdown-menu {
    padding: 30px 10px;
}

.dropdown-item {
    margin-bottom: 15px;
}

footer {
    background: var(--text-black);
    padding: 50px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.footer-list-title {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 18px;
}

.footer-list-item-link {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.85;
    color: var(--footer-gray);
    transition: all .2s ease-in;
}

.footer-list-item-link:hover {
    color: var(--accent-orange);
}

.footer-list-item-link:active {
    color: var(--dark-orange);
}

.footer-list-item {
    margin-bottom: 8px;
    margin-right: 2em;
}

.footer-list {
    display: flex;
    flex-direction: column;
    max-height: 11em;
    flex-wrap: wrap;
}


.footer-ABC {
	padding-top: 22px;
    font-weight: 400;
    font-size: 0.813rem;
    line-height: 16px;
    color: var(--text-white);
    border-top: 0.5px solid #cbcbcb;
}

.footer-ABC img {
    transform: translateY(-15%);
}

.modal-subtitle {
	margin-bottom: 2em;
}

@media (max-width: 1215px) {
    .container {
        max-width: 95%;
    }

    .header-nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-burger {
        display: block;
    }
    
    .dropdown {
    	display: block;
    }

    .dropdown-menu .header-phone {
        display: block;
    }

    .footer-list {
        max-height: 100%;
        flex-wrap: nowrap;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 660px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-list-title {
        margin-top: 20px;
    }
    
    section {
    	margin-bottom: 40px;
    }
    
    header {
    	padding: 10px 0;
    }
}

@media (max-width: 570px) {
    html {
        font-size: 13px;
    }
    
    .modal-body {
    	padding: 2em !important;
    }
}

@media (max-width: 380px) {
    html {
        font-size: 12px;
    }
}