/* Animations */
@keyframes top {
    0% {
        top: 0;
        transform: rotate(0);
    }
    50% {
        top: 7px;
        transform: rotate(0);
    }
    100% {
        top: 7px;
        transform: rotate(45deg);
    }
}
@keyframes top-2 {
    0% {
        top: 10px;
        transform: rotate(45deg);
    }
    50% {
        top: 10px;
        transform: rotate(0deg);
    }
    100% {
        top: 0;
        transform: rotate(0deg);
    }
}
@keyframes bottom {
    0% {
        bottom: 0;
        transform: rotate(0);
    }
    50% {
        bottom: 7px;
        transform: rotate(0);
    }
    100% {
        bottom: 7px;
        transform: rotate(135deg);
    }
}
@keyframes bottom-2 {
    0% {
        bottom: 10px;
        transform: rotate(135deg);
    }
    50% {
        bottom: 10px;
        transform: rotate(0);
    }
    100% {
        bottom: 0;
        transform: rotate(0);
    }
}
@keyframes scaled {
    50% {
        transform: scale(0);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes scaled-2 {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

/* Fonts */
@font-face {
    font-family: "Gilroy";
    font-weight: bold;
    src: url("../fonts/gilroy/gilroy-bold.eot"); /* IE 9 Compatibility Mode */
    src: url("../fonts/gilroy/gilroy-bold.eot?#iefix")
            format("embedded-opentype"),
        /* IE < 9 */ url("../fonts/gilroy/gilroy-bold.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/gilroy/gilroy-bold.woff")
            format("woff"),
        /* Firefox >= 3.6, any other modern browser */
            url("../fonts/gilroy/gilroy-bold.ttf") format("truetype"),
        /* Safari, Android, iOS */
            url("../fonts/gilroy/gilroy-bold.svg#gilroy-bold") format("svg"); /* Chrome < 4, Legacy iOS */
}
@font-face {
    font-family: "Gilroy";
    font-weight: normal;
    src: url("../fonts/gilroy/gilroy-regular.eot"); /* IE 9 Compatibility Mode */
    src: url("../fonts/gilroy/gilroy-regular.eot?#iefix")
            format("embedded-opentype"),
        /* IE < 9 */ url("../fonts/gilroy/gilroy-regular.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/gilroy/gilroy-regular.woff")
            format("woff"),
        /* Firefox >= 3.6, any other modern browser */
            url("../fonts/gilroy/gilroy-regular.ttf") format("truetype"),
        /* Safari, Android, iOS */
            url("../fonts/gilroy/gilroy-regular.svg#gilroy-regular")
            format("svg"); /* Chrome < 4, Legacy iOS */
}

/* Main */
* {
    box-sizing: border-box;
    text-decoration: none;
    color: #000;
    margin: 0;
    padding: 0;
    outline: none;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -moz-appearance: textfield;
    -webkit-appearance: none;
    margin: 0;
}
.container {
    width: 1080px;
    margin: 0 auto;
}

/* Header */
header {
    width: 100%;
    padding: 20px 0;
}
.header__content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__menu-list {
    display: flex;
    list-style: none;
}
.header__menu-item {
    margin-right: 30px;
    position: relative;
}
.header__menu-item a {
    transition: all 0.4s;
}
.header__menu-item::before {
    display: block;
    content: "";
    height: 1px;
    width: 100%;
    background-color: #000;
    position: absolute;
    bottom: 0;
    transition: all 0.4s;
    transform: scale(0);
}
.header__menu-item:hover::before {
    transform: scale(1);
}
.header__menu-item:nth-last-child(2) {
    margin-right: 0;
    font-size: 14px;
    line-height: 145%;
}
.header__contacts {
    display: flex;
    align-items: center;
}
.header__contacts-phone {
    display: flex;
    align-items: center;
    margin-right: 30px;
    font-family: "Gilroy";
    font-weight: bold;
}
.header__contacts-phone a {
    font-weight: bold;
    font-size: 18px;
    line-height: 121.12%;
    color: #251e1e;
    margin-left: 10px;
}
.mobile__button-hide {
    display: none;
}
.mobile__button-hide:hover::before {
    transform: scale(0);
}
.header__burger-button {
    width: 21px;
    display: none;
}
.header__burger-button span {
    display: block;
    width: 100%;
    border-radius: 3px;
    height: 2px;
    background: #171717;
    transition: all 0.3s;
    position: relative;
}
/* Header Burger Button */
.header__burger-button span:nth-child(2),
.header__burger-button span:last-child {
    margin-top: 5px;
}
.header__burger-button.active span:nth-child(1) {
    animation: ease 0.5s top forwards;
}
.header__burger-button.not-active span:nth-child(1) {
    animation: ease 0.5s top-2 forwards;
}
.header__burger-button.active span:nth-child(2) {
    animation: ease 0.5s scaled forwards;
}
.header__burger-button.not-active span:nth-child(2) {
    animation: ease 0.5s scaled-2 forwards;
}
.header__burger-button.active span:nth-child(3) {
    animation: ease 0.5s bottom forwards;
}
.header__burger-button.not-active span:nth-child(3) {
    animation: ease 0.5s bottom-2 forwards;
}

/* Main Banner */
.main__banner {
    padding-top: 30px;
    padding-bottom: 100px;
    position: relative;
}
.main__banner__text-wrapper {
    max-width: 590px;
}
.main__banner_text-title {
    font-weight: bold;
    font-size: 52px;
    line-height: 63px;
    margin-bottom: 20px;
}
.main__banner__text-subtitle {
    font-family: "Gilroy";
    font-size: 18px;
    line-height: 145%;
    margin-bottom: 30px;
}
.main__banner-image {
    position: absolute;
    bottom: 0;
    right: -40px;
}

/* Why We */
.why {
    padding-top: 65px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.why__grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem;
    justify-content: space-between;
}
.why__grid-item {
    display: flex;
    max-width: 330px;
    align-items: center;
}
.why__grid-item__icon {
    margin-right: 20px;
    min-height: 90px;
    min-width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.why__grid-item__text {
    font-family: "Gilroy";
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #3d3838;
}
.why-image {
    position: absolute;
    bottom: -33px;
    left: 50%;
    transform: translateX(-50%);
}
.why-image__mobile {
    display: none;
}

/* Discount */
.discount {
    padding: 70px 0;
}
.discount__content {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.discount__text {
    max-width: 650px;
    width: 100%;
    font-family: "Gilroy";
    font-weight: bold;
    font-size: 28px;
    line-height: 146%;
    margin-right: 40px;
}
.discount_form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 290px;
    min-height: 220px;
}
.discount__form-input {
    border: 0;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    font-size: 14px;
    font-family: Gilroy;
}
.discount__form-button {
    width: 100% !important;
}
.discount__form-result {
    width: 100%;
    text-align: center;
    font-family: "Gilroy";
    font-size: 24px;
    font-weight: bold;
}
.discount__image {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
}

/* Catalog */
.catalog {
    padding-top: 200px;
    padding-bottom: 80px;
}
.catalog__content .title {
    font-weight: bold;
}
.catalog__categories {
    display: grid;
    grid-template-columns: repeat(9, auto);
    gap: 0.5rem;
    margin-top: 40px;
    margin-bottom: 30px;
}
.catalog__categories-item {
    cursor: pointer;
    text-align: center;
    max-width: 125px;
}
.catalog__categories-item__title {
    transition: all 0.4s;
    font-family: "Gilroy";
    font-size: 13px;
    line-height: 134%;
    color: #363636;
}
.catalog__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 230px);
    gap: 3rem;
}
.catalog__grid-item {
    max-width: 230px;
}
.catalog__grid-item__hidden {
    display: none;
}
.catalog__grid-no__items {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    font-family: "Gilroy";
    font-size: 18px;
    font-weight: bold;
    color: #7a1b0c;
    text-align: center;
}
.catalog__grid-item__image {
    width: 230px;
    height: 230px;
    overflow: hidden;
    margin-bottom: 20px;
}
.catalog__grid-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.catalog__grid-item__title {
    font-family: "Gilroy";
    font-weight: bold;
    font-size: 16px;
    line-height: 134%;
    color: #363636;
    margin-bottom: 20px;
}
.catalog__grid-item__button {
    width: 100% !important;
    height: 45px !important;
}
.catalog__more {
    cursor: pointer;
    margin-top: 70px;
    font-family: "Gilroy";
    font-size: 18px;
    text-align: center;
    text-decoration-line: underline;
    color: #1d1d1d;
}

/* Advantages */
.advantages {
    padding: 70px 0 90px;
}
.advantages__grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 3rem;
}
.advantages__grid-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.advantages__grid-item__icon {
    min-height: 90px;
    min-width: 90px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}
.advantages__grid-item__title {
    font-family: "Gilroy";
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #3d3838;
}

/* Footer */
footer {
    padding: 40px;
}
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__logo {
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
}
.footer__menu-list {
    display: flex;
    align-items: center;
}
.footer__menu-item {
    position: relative;
    list-style: none;
    font-size: 14px;
    margin-right: 30px;
}
.footer__menu-item:last-child {
    margin-right: 0;
}
.footer__menu-item a {
    color: #f2efed;
}
.footer__menu-item::before {
    display: block;
    content: "";
    height: 1px;
    width: 100%;
    background-color: #f2efed;
    position: absolute;
    bottom: -5px;
    transition: all 0.4s;
    transform: scale(0);
}
.footer__menu-item:hover::before {
    transform: scale(1);
}
.footer__contacts {
    display: flex;
    align-items: center;
}
.footer__contacts-phone {
    display: flex;
    align-items: center;
    margin-right: 30px;
    font-family: "Gilroy";
    font-weight: bold;
}
.footer__contacts-phone a {
    font-weight: bold;
    font-size: 18px;
    line-height: 121.12%;
    color: #f2efed;
    margin-left: 10px;
}
.footer__contacts-call button:hover {
    border: 2px solid #f2efed;
    color: #f2efed;
}

/* Request A Call Modal */
.request__call {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}
.request__call-container {
    border-radius: 10px;
    padding: 60px 40px;
    max-width: 380px;
    background: gray;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.request__call-title {
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    font-family: "Gilroy";
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}
.request__call-form__input {
    width: 100%;
    border: 0;
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    font-size: 14px;
    font-family: "Gilroy";
}
.request__call-form__button {
    width: 100% !important;
}
.request__call-close {
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 20px;
    right: 40px;
}
.request__call-close path {
    fill: #fff;
}
.show {
    transition: opacity 400ms;
}
.hide {
    transition: opacity 400ms;
    opacity: 0;
}

/* Texts */
.title {
    font-family: "Georgia";
    max-width: 570px;
    font-weight: bold;
    font-size: 44px;
    line-height: 50px;
}
.left_title {
    text-align: left;
}

/* Buttons */
.main__button {
    width: 220px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    border: 2px solid;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 145%;
}

/* Media Queries */
@media (max-width: 1080px) {
    header {
        padding: 10px;
    }
    .header__logo,
    .header__contacts {
        z-index: 999;
    }
    .container {
        width: 100%;
        padding: 0 15px;
    }
    .header__burger-button {
        display: block;
        margin-left: 40px;
    }
    .header__menu {
        transition: all 0.5s;
        position: absolute;
        top: 0;
        transform: translateY(-110%);
        left: 0;
        width: 100%;
        z-index: 998;
    }
    .header__menu.active {
        transform: translateY(0);
    }
    .header__menu-list {
        height: 100%;
        padding: 43px 0 40px;
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
    }
    .header__menu-item {
        margin-right: 0;
        margin-top: 20px;
    }
    .header__menu-item a {
        font-family: "Gilroy";
        font-weight: bold;
        font-size: 18px;
    }
    .header__contacts-phone a {
        font-size: 16px;
    }
    .main__button {
        height: 40px;
        width: 180px;
        font-size: 12px;
    }
    .header__contacts-call {
        display: none;
    }
    .mobile__button-hide {
        display: block;
    }
    .main__banner {
        padding-bottom: 40px;
    }
    .main__banner__text-wrapper {
        max-width: 450px;
    }
    .main__banner_text-title {
        font-size: 36px;
        line-height: 121%;
    }
    .main__banner-image {
        width: 500px;
        right: -160px;
    }
    .title {
        font-size: 32px;
        line-height: 32px;
    }
    .why {
        padding-bottom: 220px;
    }
    .why__grid {
        justify-content: center;
        gap: 0.5rem;
        column-gap: 3rem;
    }
    .why__grid-item__icon {
        transform: scale(0.5);
    }
    .why__grid-item__text {
        font-size: 14px;
    }
    .why-image__main {
        display: none;
    }
    .why-image__mobile {
        display: block;
        bottom: -18px;
    }
    .catalog__categories {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 0.5rem;
        row-gap: 2rem;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .catalog__categories-item {
        justify-self: center;
    }
    .catalog__grid {
        grid-template-columns: repeat(3, auto);
    }
    .catalog__grid-item {
        justify-self: center;
    }
    .advantages__grid {
        grid-template-columns: repeat(2, auto);
    }
    .footer__menu-list {
        flex-wrap: wrap;
    }
    .footer__menu-item {
        width: 40%;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .footer__logo {
        margin-right: 30px;
    }
}
@media (max-width: 920px) {
    .footer {
        flex-direction: column;
    }
    .footer__menu-list {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer__logo {
        margin-right: 0px;
        margin-bottom: 30px;
        font-size: 21px;
    }
    .footer__menu-item {
        width: 100%;
        margin-right: 0;
    }
}
@media (max-width: 768px) {
    .discount {
        padding-bottom: 150px;
    }
    .discount__content {
        flex-direction: column;
        align-items: center;
    }
    .discount__text {
        text-align: center;
        margin-right: 0;
        font-size: 18px;
        margin-bottom: 30px;
    }
    .discount__image {
        max-width: 290px;
        top: 110%;
    }
    .catalog__content .title {
        text-align: center !important;
        margin: 0 auto;
    }
    .catalog__grid {
        grid-template-columns: repeat(2, auto);
        gap: 1rem;
        row-gap: 2rem;
        margin-top: 30px;
    }
    .catalog__grid-item {
        max-width: 160px;
    }
    .catalog__grid-item__image {
        width: 100%;
        height: 160px;
    }
    .catalog__grid-item__title {
        font-size: 12px;
    }
    .advantages__grid {
        grid-template-columns: repeat(1, 320px);
    }
}
@media (max-width: 480px) {
    .header__burger-button {
        margin-left: 0;
    }
    .main__banner__text-wrapper {
        max-width: 250px;
    }
    .main__banner_text-title {
        font-size: 21px;
        line-height: 121%;
    }
    .main__banner-image {
        width: 400px;
        right: -140px;
    }
    .why__grid {
        grid-template-columns: repeat(1, auto);
        gap: 0rem;
        justify-content: start;
        transform: translateX(-20px);
        margin-top: 10px;
    }
    .catalog__categories {
        display: grid;
        grid-template-columns: repeat(2, auto);
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .catalog__categories-item:last-child {
        grid-column: 1/3;
        justify-self: center;
    }
    .footer__contacts {
        flex-direction: column;
        align-items: center;
    }
    .footer__contacts-phone {
        margin-right: 0;
        margin-bottom: 10px;
    }
}