html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
* {
    -webkit-tap-highlight-color: transparent;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

input, select {
    vertical-align:middle;
}
*,
*::after,
*::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;   
}
a{
    color: inherit;
    text-decoration: none;
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
html,body{
    font-family: "Rufina", serif;
    color: #303441;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    scroll-behavior: smooth;
    background: #fff;
}
.body{
    min-width: 320px;
}
.body.no-scroll{
    overflow: hidden;
}
.container{
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}
main.main{
    overflow: hidden;
}
.title{
    color: #303441;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 56px; /* 185.185% */
    text-transform: capitalize;
    margin: 0 0 20px;
}
.descr{
    color: #1F1F1F;
    text-align: center;
    font-family: 'Assistant', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 200% */
}
.btn,
.btn-2{
    border-radius: 10px;
    background: #F9EBCB;
    box-shadow: 2px 3px 30px 0px rgba(207, 133, 130, 0.06);
    color: #303441;
    text-align: center;
    font-family: 'Assistant', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 54px; /* 118.182% */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 189px;
    transition: all .1s ease;
}
.btn:hover{
    background-color: #303441;
    color: #F9EBCB;
}
.btn-2{
    color: #F9EBCB;
    border: 1px solid #303441;
    background: #303441;
    box-shadow: 2px 3px 30px 0px rgba(207, 133, 130, 0.06);
}
.btn-2:hover{
    color: #303441;
    background: transparent;
}
.header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 56px;
    z-index: 100;
}
.header__logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
}
.header__logo img{
    width: 100%;
}
.hero {
    position: relative;
    z-index: 1;
    background-image: url('../img/hero-desktop.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: max-content;
    background-position: center;
}
@media screen and (max-width: 999px) {
    .hero {
        background-image: url('../img/hero.png');
        background-size: cover;
    }
}
.hero__inner {
    padding: 200px 0 200px;
    max-width: 1168px;
    margin-left: auto;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.hero__inner-side {
    width: 60%;
    position: relative;
}
.hero__title{
    color: #F7E9D5;
    font-family: Rufina;
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 72px;
    text-transform: capitalize;
}
.hero__descr {
    color: #F7E9D5;
    font-size: 20px;
    text-align: left;
    margin-top: 28px;
}
.hero__btn{
    margin-top: 40px;
}
.hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    width: 100%;
    position: absolute;
    pointer-events: none;
    bottom: 0px;
    left: 240px;
    transform: translateY(80%);
}
@media screen and (max-width: 1600px) {
    .hero__image {
        max-width: 300px;
    }
}
.hero__image img{
    width: 100%;
}
.how{
    padding: 200px 0;
}
.how__inner{
    display: flex;
    align-items: center;
}
.how__title{
    text-align: left;
}
.how__box{
    position: relative;
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how__image{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    pointer-events: none;
}
.how__image img{
    display: block;
    width: 100%;
    max-width: 484px;
}
.how__block{
    margin-top: 40px;
}
.how__item{
    display: flex;
    align-items: center;
    gap: 24px;
}
.how__item + .how__item{
    margin-top: 40px;
}
.how__item-num{
    width: 50px;
    min-width: 50px;
    height: 50px;
    background-color: #303441;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7E9D5;
    font-size: 24px;
    line-height: 50px;
    text-transform: capitalize;
    padding-bottom: 4px;
}
.how__item__descr{
    font-size: 20px;
    line-height: 26px;
}
.how__btn{
    margin: 40px auto 0;
}
.how__contente {
    width: 100%;
}
.ways{
    padding: 80px 0 80px;
    background: rgba(249, 235, 203, 0.30);
}
.ways__slider{
    margin-top: 60px;
}
.ways__item{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ways__item img{
    width: 100%;
    transition: all 0.7s ease;
}
.ways__item:hover img{
    transform: scale(1.1);
}
.ways__btn{
    margin: 40px auto 0;
}
.gallery{
    padding: 120px 0;
}
.gallery__block {
    position: relative;
    max-width: 1487px;
    margin: 76px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px 20px;
    grid-auto-flow: row;
    grid-template-areas:
      "a a b"
      "c c d"
      "e f g";
}
.gallery__item.on-mobile{
    display: none;
}
.gallery__item:nth-of-type(1) {
    grid-area: a;
    width: 87.8495%;
}
.gallery__item:nth-of-type(2) {
    grid-area: b;
    position: relative;
    z-index: 1;
    width: 124.6744%;
    margin-left: -25%;
}
.gallery__item:nth-of-type(3) {
    grid-area: c;
    width: 73.705%;
}
.gallery__item:nth-of-type(4) {
    grid-area: d;
    margin-top: -28%;
    margin-left: -42.3%;
    width: 142.123%;
    position: relative;
    z-index: 2;
}
.gallery__item:nth-of-type(5) {
    grid-area: e;
    width: 133.6%;
}
.gallery__item:nth-of-type(6) {
    grid-area: f;
    position: relative;
    z-index: 1;
    width: 88.614%;
    margin-left: 35%;
    margin-top: -43.5%;
}
.gallery__item:nth-of-type(7) {
    width: 76.01%;
    margin-left: auto;
    margin-top: -25%;
}
.gallery__item:nth-of-type(8) {
    position: absolute;
    width: 21.97%;
    top: 45%;
    left: 39%;
    z-index: 3;
}
.gallery__item{
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: max-content;
    overflow: hidden;
}
.gallery__item img{
    width: 100%;
    transition: all .7s ease;
}
.gallery__item:hover img{
    transform: scale(1.1);
}
.gallery_btn{
    margin: 40px auto 0;
}
/* ==== */
.gallery__block-modern {
    position: relative;
    width: 100%;
    max-width: 1480px;
    margin: 76px auto 0;
    min-height: 1158px;
}
.gallery__item-modern-img {
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    transform-origin: 50% 50%;
    transition: 0.3s ease;
    width: 100%;
    height: 100%;
}
.gallery__item-modern:hover .gallery__item-modern-img {
    transform: scale(1.05);
}
.gallery__item-modern {
    position: absolute;
    overflow: hidden;
}
.gallery__item-modern:nth-child(1) {
    left: 0;
    top: 0;
    width: 678px;
    height: 418px;
}
.gallery__item-modern:nth-child(2) {
    left: 698px;
    top: 0;
    height: 350px;
    width: 470px;
}
.gallery__item-modern:nth-child(3) {
    left: 0;
    top: 438px;
    width: 520px;
    height: 350px;
}
.gallery__item-modern:nth-child(4) {
    right: 0;
    top: 370px;
    height: 350px;
    width: 470px;
    z-index: 1;
}
.gallery__item-modern:nth-child(5) {
    left: 0;
    top: 808px;
    width: 520px;
    height: 350px;
}
.gallery__item-modern:nth-child(6) {
    left: 540px;
    bottom: 0;
    width: 304px;
    height: 418px;
}
.gallery__item-modern:nth-child(7) {
    left: 864px;
    width: 304px;
    height: 418px;
    bottom: 0;
}
@media screen and (max-width: 1480px) {
    .gallery__block-modern {
        margin-top: 36px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        min-height: unset;
        max-width: 1024px;
    }
    .gallery__item-modern:nth-child(5) {
        width: 100% !important;
    }
    .gallery__item-modern {
        position: relative;
        top: unset !important;
        left: unset !important;
        bottom: unset !important;
        right: unset !important;
        margin: 0 0 20px;
        width: calc(50% - 10px) !important;
        height: unset !important;
        padding-bottom: 56.25%;
    }
}
/* ==== */
.footer{
    padding: 120px 0 60px;
    background: #F7E9D5;
}
.footer__inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer__box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.footer__copy{
    color: #303441;
    font-family: 'Assistant', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 163.636% */
    margin-top: 40px;
}
.footer__b-links a {
    color: #303441;
    font-family: 'Assistant', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}
.footer__address{
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 406px;
}
.footer__address-item{
    display: flex;
    align-items: start;
    gap: 8px;
    color: #303441;
    font-family: 'Assistant', sans-serif;
    font-size: 22px;
    transition: all .1s ease;
    line-height: 34px; /* 154.545% */
}
.footer__address-item svg{
    margin-top: 8px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    transition: all .1s ease;
}
.footer__link-item:hover{
    background-color: #303441;
}
.footer__link-item:hover svg path {
    fill: #F7E9D5;
}
.footer__link{
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}
.footer__link-item{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #303441;
}
.footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 200px;
}
.footer__logo img {
    display: block;
    max-width: 100%;
}
@media (max-width: 1279px) {
    .container{
        max-width: 1000px;
    }
    .header {
        padding-top: 26px;
    }
    .hero__title {
        font-size: 38px;
        line-height: 50px;
    }

    .how {
        padding: 200px 0;
    }
    .how__title{
        font-size: 38px;
        line-height: 50px;
    }
    .how__image {

    }
    .how__item{
        gap: 30px;
    }
    .gallery {
        padding: 80px 0;
    }
    .footer {
        padding: 96px 0 40px;
    }
    .footer__address-item {
        font-size: 20px;
        line-height: 31px;
    }
    .footer__copy{
        font-size: 16px;
        line-height: 24px;
    }
    .footer__address{
        gap: 50px;
    }
}
@media (max-width: 999px) {
    .container{
        max-width: 768px;
    }
    .hero__inner-side {
        width: 100%;
    }
    .hero__inner {
        width: 100%;
        padding: 200px 0 100px;
    }
    .hero__btn{
        margin: 40px auto 0;
    }
    .hero__title{
        text-align: center;
    }
    .hero__descr {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        margin-top: 20px;
    }
    .hero__descr br {
        display: none;
    }
    .hero__image {
        display: none;
    }
    .hero::before {
        content: '';
        position: absolute;
        background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, rgba(97, 97, 97, 0.55) 23.5%, rgba(48, 48, 48, 0.78) 40%, #000 100%);
        top: initial;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        height: 453px;
        width: 100%;
    }
    .how{
        padding-top: 260px;
        padding-bottom: 80px;
    }
    .how__inner{
        flex-direction: column;
    }
    .how__contente {
        width: 100%;
        max-width: 520px;
        margin: 250px  auto 0;
    }
    .how__image {
        width: 100%;
        max-width: 300px;
    }
}
@media (max-width: 767px) {
    .container{
        max-width: 480px;
    }
    .hero{
        background-position: center;
    }
    .hero__image {
        right: -32%;
        max-width: 350px;
        bottom: -48%;
    }
    .header__logo{
        max-width: 135px;
    }
    .hero__inner{
        padding: 150px 0 75px;
    }
    .title {
        font-size: 40px;
        line-height: 48px;
    }
    .descr {
        font-size: 16px;
        line-height: 24px;
    }
    .gallery {
        padding: 80px 0;
    }
    .gallery_btn {
        margin: 30px auto 0;
    }
    .gallery__block{
        margin-top: 26px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 12px;
        grid-auto-flow: row;
        grid-template-areas:
          "a a"
          "b c"
          "d d"
          "e e"
          "f g";
    }
    .gallery__item{
        margin: 0 !important;
        width: 100% !important;
    }
    .gallery__item:nth-of-type(8),
    .gallery__item:nth-of-type(2),
    .gallery__item:nth-of-type(3),
    .gallery__item:nth-of-type(4){
        display: none;
    }
    .gallery__item.on-mobile{
        display: flex;
    }
    .gallery__item:nth-of-type(9){
        grid-area: b;
    }
    .gallery__item:nth-of-type(10){
        grid-area: c;
    }
    .gallery__item:nth-of-type(11){
        grid-area: d;
    }
    
    .footer {
        padding: 39px 0 50px;
    }
    .footer__inner{
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 40px;
    }
    .footer__box{
        align-items: center;
        justify-content: center;
        gap: 30px;
        width: 100%;
    }
    .footer__copy{
        text-align: center;
    }
    .footer__address{
        align-items: center;
        justify-content: center;
    }
    .footer__address-item{
        text-align: center;
    }
    .footer__link{
        margin-top: 20px;
    }
}
@media (max-width: 479px) {
    .container{
        max-width: 360px;
    }
    .title {
        font-size: 32px;
        line-height: 40px;
    }
    .hero__image {
        right: -30%;
        max-width: 289px;
        bottom: -61%;
    }
    .how__image{

    }
    .how__contente {
        width: 100%;
    }
    .how__block {
        margin-top: 20px;
        margin-left: 8px;
    }
    .how {
        padding-top: 260px;
        padding-bottom: 80px;
    }
    .how__item{
        gap: 23px;
    }
    .how__item-num {
        width: 20px;
        min-width: 20px;
        height: 20px;
        font-size: 12.136px;
        line-height: 0px;
        padding-bottom: 2px;
        text-transform: capitalize;
    }
    .how__item + .how__item {
        margin-top: 30px;
    }
    .ways {
        padding: 40px 0 44px;
    }
    .ways__slider {
        margin: 40px auto 0;
        width: 67.3%;
    }
    .gallery {
        padding: 80px 0;
    }
    .gallery_btn{
        margin-top: 20px;
    }
    .footer__copy,
    .footer__address-item{
        font-size: 16px;
        line-height: normal;
    }
    .footer__address-item{
        max-width: 303px;
    }
    .footer__address-item svg {
        margin-top: 5px;
        width: 18px;
        height: 18px;
        min-width: 18px;
    }
    .footer__address {
        gap: 25px;
    }
    .footer__link{
        margin-top: 0;
    }
    .footer__logo{
        max-width: 170px;
        width: 100%;
        margin: 0 auto;
    }
    .footer__logo img{
        width: 100%;
    }
    .footer__b-links a {
        font-size: 16px;
        line-height: normal;
    }
}