body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Roboto Slab", serif; */
    /* font-family: "Roboto", sans-serif; */
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    letter-spacing: 0.75px;
    color: #443E32;
}
.container {
    display: flex;
    flex-direction: column;
    max-width: 1380px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto;
}
.d-flex {
    display: flex;
}
.bg-brown {
    background: #B28858;
    color: #E5E4D0;
}
.bg-light {
    background: #E9E4D0;
}
.bg-dark {
    background: #443E32;
}
.text-light {
    color: #E9E4D0;
}
.btn.bg-brown {
    color: #E9E4D0;
}
.btn.bg-light {
    color: #443E32;
}
.shadow {
    box-shadow: 0 2px 10px rgba(68, 62, 50, .4);
}
header {
    padding: 5px 0;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 99;
}
.header-wrapper {
    display: flex;
    justify-content: space-between;
}
.header-phone-box {
    display: flex;
    align-items: center;
}
.header-phone-box a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: "Roboto Slab", serif;
    font-size: 20px;
}
.header-phone-icon {
    margin-right: 7px;
    line-height: 0;
}
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    column-gap: 15px;
    width: 100%;
    justify-content: center;
}
.nav-menu a {
    color: #E5E4D0;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 10px 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    display: block;
    width: 0px;
    height: 2px;
    background-color: #E5E4D0;
    transition: width .2s ease-in-out;
}
.nav-menu a:hover::after {
    width: 100%;
}
.main-frame {
    background-image: linear-gradient(rgba(178, 136, 88, 0.05), rgba(178, 136, 88, 0.05)), url(../img/header-bg.webp);
    background-position: top;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    min-height: 500px;
    display: flex;
}
.site-brand {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;

}
.site-description {
    font-size: 1.5em; 
    margin-bottom: 2em;
    margin-top: 0;
}
h1 {
    color: #E5E4D0;
    text-align: center;
    font-weight: 900;
    font-size: 3em;
}
h2 {
    margin-bottom: 2em;
}
.title,
h2 {
    font-size: 2em;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}
h3 {
    font-size: 1.5em;
    text-align: center;
    text-transform: uppercase;
}
.btn {
    outline: none;
    font-size: 20px;
    padding: 10px 35px;
    border-radius: 0;
    border: none;
    text-transform: uppercase;
    font-family: inherit;
}
button:hover {
    cursor: pointer;
}
section {
    padding-top: 5em;
    padding-bottom: 5em;
}
.advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: #E9E4D0;
    justify-content: center;
}
.advantages .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.advantages .text {
    font-size: 1.25em;
}
.advantages .icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 1em;
}
.advantages .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.advantages-options-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1.5em;
}
.extended-text {
    font-size: 1.5em;
    text-align: center;
}
/* .chainsaw {
    background: url(../img/chainsaw.svg)no-repeat center;
    background-size: contain;
} */
.woods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3em;
    row-gap: 1em;
    margin-bottom: 3em;
    justify-content: center;
}
.woods-material-grid .item,
.woods-grid .item {
    display: flex;
    flex-direction: column;
    row-gap: 0.75em;
}
.wight-label {
    font-size: 1em;
    text-align: center;
    margin: 1em 0;
    font-weight: 500;
    text-transform: uppercase;
}
.winter-woods {
    min-height: 20em;
    background-image: linear-gradient(rgba(93, 64, 32, 0.5), rgba(93, 64, 32, 0.5)), url(../img/winter-woods-1.jpg);
    background-position: center;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    /* color: #E5E4D0; */
    color: #fff;
    text-shadow: 0 2px 5px rgba(68, 62, 50, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: underline;
    font-size: 24px;
    box-sizing: border-box;
}
.img-box {
    display: flex;
    position: relative;
    aspect-ratio: 4 / 3;
}
.img-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 62, 50, .4);
    left: 0;
    top: 0;
    z-index: 10;
}
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
.item h3 {
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
}
.container .btn-action {
    margin: 0 auto;
}
.sizes-box {
    display: flex;
    column-gap: 10px;
    row-gap: 10px;
    flex-wrap: wrap;
}
.size {
    padding: 3px 10px;
    transition: all .1s ease-in-out;
}
/* .size:hover {
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(68, 62, 50, .4);
    transform: translateY(-2px);
} */
.woods-material {
    background-color: #F2EEE2;
}
.woods-material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3em;
    row-gap: 1em;
    margin-bottom: 3em;
}
.doski-woods {
    min-height: 20em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/les.jpg);
    background-position: center;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    color: #E5E4D0;
    color: #fff;
    text-shadow: 0 2px 5px rgba(68, 62, 50, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(68, 62, 50, .4);
    text-decoration: underline;
    font-size: 24px;
    box-sizing: border-box;
    margin-bottom: 3em;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.service-content-box {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.service-content-box .d-flex {
    flex-grow: 1;
    align-items: flex-end;
}
.work-key {
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
    margin: 0;
    padding: 0;
}
.work-key li {
    position: relative;
    background: url(../img/icons/check.png) no-repeat left;
    background-size: contain;
    padding-left: 30px;
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5em;
    row-gap: 1em;
    margin-bottom: 2em;
}
.materials-grid .item {
    background-color: #fff;
    padding: 20px 10px;
}
.materials-grid .img-item {
    aspect-ratio: 1 / 1;
}
.materials-grid .img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.materials .title {
    margin-bottom: 1.5em;
}
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5em;
    row-gap: 1.5em;
    margin: 5em auto 0 auto;
    max-width: 800px;
    justify-content: center;
}
.services-list .item {
    display: flex;
    column-gap: 1em;
}
.services-list .item img {
    max-width: 64px;
    height: auto;
    object-fit: contain;
}
.services-list .item h3 {
    font-size: 1em;
    text-align: left;
    border-bottom: 1px solid;
    width: fit-content;
    padding-bottom: 5px;
}
.steps {
    background-color: #F2EEE2;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1.5em;
    row-gap: 3em;
    padding-top: 3em;
}
.step {
    display: flex;
    column-gap: 1em;
    align-items: center;
}
.step:nth-child(2),
.step:nth-child(5) {
    transform: translateY(-3em);
}
.step .step-desc {
    font-size: 1.25em;
}
.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4em;
    font-weight: 600;
    background: url(../img/wood-thumb.webp)no-repeat center;
    background-size: contain;
    width: 120px;
    height: 120px;
    text-shadow: 0 1px 1px #F2EEE2;
    flex-shrink: 0;
}
.delivery-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    column-gap: 1em;
}
.delivery-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.about-delivery {
    font-size: 1.25em;
}

/* GLARE */
.glare-button {
	position: relative;
	overflow: hidden;
}
.glare-button:before {
	content: "";
	position: absolute;
	width: 100px;
	height: 100%;
	background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%, /* Прозрачность начала блика */
        rgba(255, 255, 255, 0.8), /* Цвет блика */
        rgba(255, 255, 255, 0) 70% /* Прозрачность конца блика */
	);
	top: 0;
	left: -100px;
	animation: shine 3s infinite linear;
}
@keyframes shine {
	0% {
        left: -100px; /* Начальная позиция блика (левая сторона кнопки) */
	}
	20% {
	    left: 100%; /* Позиция блика в конце (правая сторона кнопки) */
	}
	100% {
	    left: 100%; /* Завершение анимации */
	}
}
/* END GLARE */

/* WIDGET Messengers */
.callback-widget {
    position: fixed;
    bottom: 65px;
    right: 30px;
    width: 64px;
    height: 64px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.callback-widget-item.vk-icon {
    background-image: url(/img/widget/vk.webp);
}
.callback-widget-item.tg-icon {
    background-image: url(/img/widget/telegram.webp);
}
.callback-widget-item.max-icon {
    background-image: url(/img/widget/max.webp);
}
.callback-widget-item.wh-icon {
    background-image: url(/img/widget/whatsapp.webp);
}
.callback-widget-item {
    position: absolute;
    visibility: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 48px;
    height: 48px;
    z-index: 90;
    transform: translateY(0);
    transition: all .2s ease-in-out;
}
.callback-widget.open .callback-widget-item {
    visibility: visible;
}
.callback-widget.open .item1 {
    transform: translateY(-110%);
}
.callback-widget.open .item2 {
    transform: translateY(-220%);
}
.callback-widget.open .item3 {
    transform: translateY(-330%);
}
.callback-widget.open .item4 {
    transform: translateY(-440%);
}
.callback-widget-item a {
    display: block;
    width: 100%;
    height: 100%;
}
.callback-widget-btn {
    width: 100%;
    height: 100%;
    background-image: url(/img/widget/chat.webp), linear-gradient(#e3d6a2 30%, #B28858); /*E9E4D0 B28858*/
    background-size: 42px auto;
    background-repeat: no-repeat, repeat;
    background-position: center;
    border-radius: 50%;
    position: absolute;
    cursor:pointer;
    transition: all .2s ease-in-out;
    z-index: 100;
}
.callback-widget.open .callback-widget-btn{
    background-image: url(/img/widget/close.webp);
}
/* END WIDGET Messengers */

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
}
.modal.is-visible {
    visibility: visible;
	z-index: 110;
}
.no-scroll {
    overflow: hidden;
}
.modal-overlay {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s ease 0.3s, opacity 0.3s ease;
}
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
}
.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.modal-wrapper {
    position: absolute;
    z-index: 110;
    margin: auto;
    top: 0; left: 0; bottom: 0; right: 0;
    width: 100%;
    max-width: 600px;
    height: fit-content;
    /* max-height: 600px; */
    background-color: #E9E4D0;
    box-shadow: 0 0 1.5em rgba(0, 0, 0, 0.35);
    padding-bottom: 2em;
}
.modal-transition {
    transition: visibility 0.3s 0.12s, opacity 0.3s 0.12s, transform 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}
.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}
.modal-header,
.modal-content {
    padding: 1em;
}
.modal-content .privacy {
	margin-top: 3%;
}
.modal-header {
    position: relative;
}
.modal-heading {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.125em;
    color: #443E32;
    background: none;
    border: 0;
    opacity: 0.7;
}
.modal-close:hover {
    opacity: 1;
}
.modal-content > *:first-child {
    margin-top: 0;
}
.modal-content > *:last-child {
    margin-bottom: 0;
}
@media (max-width: 780px) {
    .modal-wrapper{
        width: calc(100% - 20px);
    }
}
/*END MODAL*/

/* FORM */
.modal-form {
    display: flex;
    flex-direction: column;
    row-gap: 0.75em;
    justify-content: center;
    align-items: center;
}
.modal-form textarea,
.modal-form input {
    padding: 10px 15px;
    border-radius: 0;
    border: 1px solid #443e3281;
    font-family: "Merriweather", serif;
    font-size: 1em;
    width: 100%;
    max-width: 290px;
    resize: none;
}
.modal-form textarea:focus,
.modal-form input:focus {
    box-shadow: 0 0 5px rgba(61, 61, 61, 0.4);
    outline: none;
}
#modalInfoMessage {
    display: none;
    text-align: center;
    padding: 1em 10px;
}
#submitter:disabled {
    opacity: .7;
}
/*END FORM*/

/* FOOTER */
footer {
    background-color: #F2EEE2;
    padding-bottom: 1em;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.map {
    height: 350px;
    padding: 10px;
    border: 1px solid #443E32;
}
.map iframe {
    width: 100%;
    height: 100%;
}
.contact-list {
    display: flex;
    flex-direction: column;
    row-gap: 0.75em;
    padding-left: 2em;
    color: #443E32;
}
.contact-list a {
    color: inherit;
    text-decoration: none;
}
.contact-item {
    display: flex;
    align-items: center;
}
.text-questions {
    text-align: center;
    font-size: 1.25em;
}
.menu-open-btn {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}
.menu-open-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.menu-open-btn span:nth-child(1) {
    top: 0px;
}
.menu-open-btn span:nth-child(2) {
    top: 50%;
}
.menu-open-btn span:nth-child(3) {
    top: 100%;
}
.menu-open-btn.open span:nth-child(1) {
    top: 50%;
    transform: rotate(135deg);
}
.menu-open-btn.open span:nth-child(2) {
    opacity: 0;
    left: -32px;
}
.menu-open-btn.open span:nth-child(3) {
    top: 50%;
    transform: rotate(-135deg);
}

@media (max-width: 480px) {
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: all .2s ease-in-out;
        background-color: #B28858;
    }
    .main-navigation.show {
        transform: translateX(0);
    }
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    .menu-open-btn {
        display: block;
    }
    .contact-grid,
    .delivery-grid,
    .services-list,
    .woods-material-grid,
    .woods-grid,
    .advantages {
        grid-template-columns: none;
        row-gap: 2em;
    }
    .services-grid {
        grid-template-columns: none;
    }
    .work-key li {
        background-size: 20px;
    }
    .doski-woods h2 {
        font-size: 1.5em;
    }
    .materials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .steps-grid {
        grid-template-columns: none;
        row-gap: 1.5em;
    }
    .step:nth-child(2), .step:nth-child(5) {
        transform: translateY(0);
    }
    .step:nth-child(even){
        direction: rtl;
    }
    .contact-list {
        padding-left: 0;
    }
    .site-description {
        text-align: center;
    }
}

@media (max-width: 767px) {
    
}