/*  =============
 *   Main styles
 *  =============
*/

/* Fonts

100 Thin
200 Extra Light (Ultra Light)
300 Light
400 Regular (Normal)
500 Medium
600 Semibold (Demibold)
700 Bold
800 Extra Bold (Ultra Bold)
900 Black (Heavy)
*/

@font-face {
    font-family: "Montserrat";
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/montserrat_regular.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-display: swap;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/montserrat_medium.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/montserrat_bold.woff2") format("woff2");
}


/* Variables */

:root {
    --ff: 'Montserrat', sans-serif;
    --accent: rgb(188, 155, 106);
    --text_color: #000;
    --transition: 0.2s ease-out;
}

/* Container */

.container,
.container-fluid {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: calc(1160px + 80px);
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Custom settings */

body {
    font-family: var(--ff);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text_color);
    text-rendering: optimizeLegibility;
    min-width: 320px;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

.cover {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.contain {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.btn {
    cursor: pointer;
    text-align: center;
    display: inline-grid;
    place-items: center;
    text-align: center;
    white-space: nowrap;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 1px;
    min-height: 50px;
    width: fit-content;
    color: var(--text_color);
    min-width: 253px;
    background-color: var(--accent);
    color: #fff;
    font-weight: 500;
}

@media only screen and (max-width: 576px) {
    .btn {
        min-width: 195px;
        font-size: 12px;
    }
}

.btn:active {
    transform: scale(0.97);
    transition: 0.05s ease transform;
}

.text-center {
    text-align: center;
}

/* Swiper Slider */

.swiper-container {
    position: relative;

    --swiper-navigation-color: #fff;
    --swiper-navigation-size: 14px;
    --swiper-pagination-color: linear-gradient(107.81deg, #A63203 -72.26%, #FBE035 139.72%);
    --swiper-pagination-bullet-inactive-color: linear-gradient(97.08deg, #F2E1D8 -31.08%, #FEC47D 113.15%);
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-width: 10px;
    --swiper-pagination-bullet-height: 10px;
    --swiper-pagination-bullet-horizontal-gap: 4.5px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    user-select: none;
}

/* Popups */

.fancybox__container {
    --fancybox-bg: #fff;
}

/* animation */

/* use animation: fadeEffect 0.8s; */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* hero */

.hero {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: top right -95px; */
    background-position: top center;
    position: relative;
}

.header {
    padding-top: 30px;
    padding-bottom: 30px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.header-menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu a {
    display: block;
    margin-left: 16px;
    margin-right: 16px;
    color: #000;
    font-size: 13px;
    font-weight: 500;
}

.hero-content {
    margin-top: 82px;
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
}

.main-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--accent);
}

.hero-text__area {
    margin-top: 20px;
}

.hero-form {
    max-width: 360px;
    margin-left: auto;
    background-color: #fff;
    padding: 35px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
}

.hero-form__title {
    font-weight: 700;
}

.hero-form__subtitle {
    font-size: 11px;
    margin-top: 10px;
}

.form-grid {
    margin-top: 18px;
    display: grid;
    grid-gap: 20px;
}

.form-input {
    min-height: 50px;
    font-size: 13px;
    padding: 0 18px;
    border: 1px solid #000;
    font-weight: 500;
}

.form-input::placeholder {
    color: #666;
}

.form-input:hover,
.form-input:focus {
    border-color: #000;
}

.hero-btn {
    text-transform: uppercase;
    width: 100%;
}

@media only screen and (max-width: 1200px) {
    .main-title {
        font-size: 45px;
    }
}

@media only screen and (min-width: 992.1px) {
    .header-menu__icon {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    .hero {
        padding-bottom: 80px;
    }

    .hero-content {
        display: block;
        margin-top: 50px;
    }

    .hero-form {
        max-width: 100%;
        margin-top: 30px;
    }

    .hero-form__title {
        font-weight: 700;
    }

    .hero-form__title br {
        display: none;
    }

    .header {
        position: fixed;
        top: auto;
        bottom: 0;
        border-top: 1px solid #E2E2E2;
        background-color: #fff;
        z-index: 999;
        padding: 0;
    }
    .header-menu ul {
        min-height: 70px;
    }

    .header-menu a {
        color: #bc9b6a;
        font-size: 10px;
    }

    .header-menu__icon {
        display: block;
        margin: auto;
        width: 21px;
        margin-bottom: 7px;
    }
}

@media only screen and (max-width: 768px) {
    .main-title {
        font-size: 27px;
    }
}

@media only screen and (max-width: 576px) {
    .header-menu ul {
        justify-content: space-around;
    }
}


/* grid-gallery */

.grid-gallery {
    padding-top: 120px;
    padding-bottom: 90px;
}

.grid-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 60px 20px;
}

.grid-item__title {
    margin-top: 15px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.grid-item__text {
    font-size: 11px;
    margin-top: 10px;
    line-height: 1.8;
}

.grid-gallery__btn {
    margin-top: 90px;
}

@media only screen and (max-width: 1200px) {
    .grid-item__title {
        font-size: 19px;
    }
}

@media only screen and (max-width: 992px) {
    .grid-items {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 35px;
    }
}

@media only screen and (max-width: 768px) {
    .grid-items {
        grid-column-gap: 20px;
    }

    .grid-gallery__btn {
        margin-top: 50px;
    }
}

@media only screen and (max-width: 480px) {
    .grid-items {
        grid-template-columns: 1fr;
    }
}

/* simple-block */

.simple-block {
    text-align: center;
    background-color: #f0f5f2;
    padding-top: 110px;
    padding-bottom: 105px;
}

.simple-block__text {
    font-size: 25px;
    margin-top: 50px;
}

@media only screen and (max-width: 1200px) {
    .simple-block__text {
        font-size: 22px;
    }
}

@media only screen and (max-width: 992px) {
    .simple-block__text {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .simple-block__text {
        font-size: 18px;
    }
}

/* action-block */

.action-block {
    padding-top: 90px;
    padding-bottom: 90px;

}

/* two-images */

.two-images {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    background-color: #f0f5f2;
    padding: 20px;
    grid-gap: 20px;
}

@media only screen and (max-width: 992px) {
    .two-images {
        padding: 10px;
        grid-gap: 10px;
    }
}

/* discount */

.discount {
    background-color: #f0f5f2;
    padding-top: 135px;
    padding-bottom: 135px;
}

.title {
    font-size: 36px;
    font-weight: 700;
}

.discount-grid {
    display: grid;
    grid-template-columns: auto 1.1fr;
    grid-gap: 35px;
    background-color: #f0f5f2;
    padding-left: 0;
    padding-right: 0;
}

.discount_text {
    font-size: 18px;
    margin: 28px;
}

.swiper-discount-container {
    margin-top: 90px;
}

.discount-grid__image {
    max-height: 340px;
    display: block;
    margin-left: auto;
}


.discount-content {

    padding-left: 20px;
    padding-right: 20px;
}

.discount-content__title {
    font-size: 22px;
    font-weight: 700;
}

.discount-content__descr {
    font-size: 17px;
    margin-top: 28px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 30px;
    height: 30px;
    background-color: rgb(188, 155, 106);
    border-radius: 50%;
}

.swiper-button-prev {
    left: 35px;
}

.swiper-button-next {
    right: 35px;
}

@media only screen and (max-width: 1200px) {
    .title {
        font-size: 32px;
    }

    .discount-grid {
        grid-gap: 20px;
    }

    .discount-content__descr {
        font-size: 15px;
        margin-top: 15px;
    }
}

@media only screen and (max-width: 992px) {
    .discount-grid {
        display: block;
    }

    .discount-grid__image {
        margin-right: auto;
        max-height: none;
    }

    .discount-content__title {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .discount-content__title {
        font-size: 20px;
    }

    .discount-content__descr {
        font-size: 13px;
    }

    .title {
        font-size: 27px;
    }

    .discount {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .discount_text {
        font-size: 16px;
    }
}

/* gift */

.gift {
    padding-top: 45px;
    padding-bottom: 65px;
}

.gift__img {
    display: block;
    margin: 45px auto;
}

.gift__text {
    font-size: 24px;
}

@media only screen and (max-width: 1200px) {
    .gift__text {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .gift__text {
        font-size: 17px;
    }
}

/* consult */

.consult {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 70px;
    padding-bottom: 130px;
    color: #fff;
    position: relative;
}

.consult::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #323d36;
    opacity: 0.6;
}

.consult__content {
    position: relative;
    max-width: 520px;
    margin: auto;
}

.consult__description {
    margin-top: 30px;
    margin-bottom: 50px;
}

.consult__btn {
    width: 100%;
}

.consult__private {
    font-size: 12px;
    margin-top: 35px;
}

@media only screen and (max-width: 768px) {
    .consult__description {
        margin-top: 15px;
        margin-bottom: 25px;
        font-size: 14px;
    }

    .consult__private {
        font-size: 10px;
    }
}

/* gallery */

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
    padding: 20px;
    background-color: #f0f5f2;
}

@media only screen and (max-width: 992px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        padding: 10px;
    }
}

/* footer */

.footer {
    padding-top: 135px;
    padding-bottom: 150px;
    background-color: #f0f5f2;
}

.footer__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    grid-gap: 30px;
    align-items: center;
}

.contacts__title {
    font-size: 22px;
    font-weight: 700;
}

.contacts__text {
    margin-top: 30px;
    font-size: 16px;
}

.sociallinks {
    margin-top: 30px;
}

.sociallinks__link {
    display: block;
    margin-right: 15px;
}

#map {
    max-width: 660px;
}

@media only screen and (max-width: 992px) {
    .footer__grid {
        display: block;
    }

    #map {
        margin-top: 60px;
    }
}

@media only screen and (max-width: 576px) {
    .footer {
        padding-top: 60px;
        padding-bottom: 170px;
    }
}