@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');

/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
}

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
	font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

 /* После обнуляющего стиля*/

html {
  scroll-behavior: smooth;
}

p::selection {
   color: #fff;
   background-color: #999999; 
}

h1::selection {
   color: #fff;
   background-color: #999999; 
}

h2::selection {
   color: #fff;
   background-color: #999999; 
}

h3::selection {
   color: #fff;
   background-color: #999999; 
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
  background-color: #f9f9fd;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #9c9c9c;
    border-radius: 10px;
}

body{
    font-family: "Golos Text", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.lock{
    overflow: hidden;
}

.content{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}
.home{
    background-image: url("img/home3.jpeg");
    background-position: center;
    background-size: cover;
    height: 600px;
    color: #FFFFFF;
}

.header{
    background: linear-gradient(to right, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.7));
    height: 100px;
}

.header2{
    position: sticky;
    top: 0;
    background: linear-gradient(to bottom, rgb(105, 105, 105, 1), rgb(156, 156, 156, 0.95));
    height: 100px;
    z-index: 1;
}

.header-block{
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
}
.header-left{
    width: 70%;
    display: flex;
    gap: 56px;
    width: max-content;
}

.header-right{
    display: flex;
    align-items:center;
    gap: 25px;
}

.header-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    user-select: none;
}

.header-logo__logoText{
 font-weight: 700;
 min-width: 150px;
}

@media(max-width: 425px){

.header-logo__logoImg{
    width: 50px;
    height: 50px;
}
.header-logo__logoText{
    font-size: 14px;
}
}

@media(max-width: 320px){
    .header-logo__logoText{
        display: none;
    }
}

.header-nav{
    display: flex;
}

@media (max-width: 1024px) {
.header-nav{
    display: none;
}

}
.header__list{
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
}

.header__link{
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
    position: relative;
}

.header__link:after{
	display: block;
	position: absolute;
	right: 0;
	width: 0;
	height: 2px; 
	background-color: #ffffffb7;
	content: "";
	transition: 0.5s ease-out; /*задаём время анимации*/
}

.header__link:hover:after{
    width: 100%;
}

.header__anchorCatalog{
    display: flex;
    gap: 13px;
    color: #FFFFFF;
    background-color: rgb(255, 255, 255, 0.2);
    padding: 11px 16px;
    border: 1px solid rgb(255, 255, 255, 0.1);
    border-radius: 12px;
    user-select: none;
    width: max-content;
    transition: 0.5s;
}

.header__anchorCatalog span{
    font-weight: 700;
}

.header__bt{
    display: flex;
    align-items: center;
    background-color: rgb(255, 255, 255, 0.3);
    padding: 11px;
    border: 1px solid rgb(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 46px;
    width: 46px;
    user-select: none;
    transition: 0.5s;
}

.home-info{
    min-height: 580px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.home-info h1{
    max-width: 645px;
    font-size: 40px;
    font-weight: 500;
}

.subtitle{
    font-size: 18px;
    font-weight: 500;
}

.header__bt:hover{
     background-color: rgb(255, 255, 255, 0.5);
}

.header__anchorCatalog:hover{
    background-color: rgb(255, 255, 255, 0.5);
}

.bt{
    align-items: center;
    display: flex;
    justify-content: center;
    width: 280px;
    padding: 12px;
    border-radius: 15px;
    border: 1px solid rgb(255, 255, 255, 0.1);
    color: #FFFFFF;
    background-color: rgb(255, 255, 255, 0.2);
    transition: 0.5s;
    cursor: pointer;
}

.bt-dark{
    border: 1px solid rgb(0, 0, 0, 0.1);
    color: #373737;
    background-color: rgb(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.bt:hover
{
    background-color:  rgb(255, 255, 255, 0.5);
}

.bt-dark:hover{
    background-color: rgb(0, 0, 0, 0.3);
    color: #000000;
}

.bt.popup-link{
    display:none;
}

.catalog{
    padding: 100px 0;
}

.catalog__links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.catalog__links-item{
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: 0.5s;
}

.catalog__links-info{
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgb(0, 0, 0, 0.3);
}

.catalog__links-info h3{
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 600;
}

.catalog__links-info span{
    display: flex;
    align-items: center;
}
.catalog__links-item img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.catalog__links-item:hover{
    transform: scale(1.05);
}

.aboutUs{
    padding: 100px 0;
    background-image: url("img/icons/tree2.svg");
    background-color: #F1F4F0;
    background-position: center;
    background-size: cover;
}
.aboutUs__block{
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

h2{
    color: black;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 30px;
}

h3{
    color: black;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px; 
    margin-top: 20px;
}

.aboutUs__left p{
    color: black;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 27px;
    line-height: 1.3;
}
strong{
    font-weight: 500;
}
.aboutUs__left{
    background-color: rgb(255, 255, 255, 0.6);
    padding: 50px 150px 50px 50px;
    border-radius: 25px;
}

.aboutUs__right{
    min-width: 409px;
    max-height: 630px;
    border-radius: 25px;
    background-color: #3f4b3f;
}

.aboutUs__right img{
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: 25px;
    opacity: 0.8;
}

.whyUs{
    position: relative;
    background-image: url(img/icons/RectangleWU.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto auto;
    padding: 150px 0;
}

.whyUs__ask{
    position: absolute;
    top: 46%;
    left: 0%;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    user-select: none;
    width: 100%;
    text-transform: uppercase;
}

.whyUs__blok {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: calc(20px + (286 - 20) * ((100vw - 320px) / (1320 - 320)));
    row-gap: 90px;
}

.whyUs__item{
    background-color: #F1F1F1;
    border-radius: 15px;
    position: relative;
    transition: 0.5s;
}

.whyUs__item:hover{
    transform: scale(1.2);
}

@media (max-width: 1440px) {
   .whyUs__item:hover{
    transform: scale(1);
}
   
}

.whyUs__item-text{
    width: 90%;
    line-height: 1.3;
    padding: 25px;
}

.whyUs__item-text h3{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 35px;
}

.whyUs__item-text p{
    font-size: 18px;
    font-weight: 400;
}

.whyUs__item-numberMain{
    position: absolute;
    right: 38px;
    top: 28px;
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
}

.whyUs__item-numberSub{
    position: absolute;
    right: 20px;
    top: 28px;
    width: 40px;
    height: 40px;
    background-color: #F6F6F6;
    border-radius: 50%;
}

footer{
    background-color: #373737;
    padding: 50px 0px 50px;
    margin-top: auto;
}

.footer-blok{
    display:flex;
    flex-direction: row;
    justify-content:space-between
}
.footer-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    user-select: none;
}

.footer-logo__logoImg{
    width: 140px;
}

.footer-logo__logoText{
    font-weight: 700;
    min-width: 150px;
}

.footer-info{
    display:flex;
    flex-direction: column;
}
.footer-number{
    font-size: 30px;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 25px;
}

.footer-li{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #FFFFFF; 
}

.footer-li span{
    display: flex;
    align-items: center;
    user-select: none;
}

.footer-li a{
    user-select: text
}

.info2{
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    padding: 35px 0;
}

.info2-name{
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #FFFFFF; 
}
.info2-name p{
    margin-bottom: 10px;
    font-size: 14px;
}

.info2-documents-link{
      color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
    position: relative;
}

.info2-documents-link:after{
	display: block;
	position: absolute;
	right: 0;
	width: 0;
	height: 2px; 
	background-color: #ffffffb7;
	content: "";
	transition: 0.5s ease-out; /*задаём время анимации*/
}

.info2-documents-link:hover:after{
    width: 100%;
}

@media (max-width: 768px) {
    .footer-blok{
        flex-direction: column;
    }
    .footer-logo{
        margin-bottom: 30px;
    }
    .footer-logo__logoImg{
        width: 90px;
    }

    .info2{
        flex-direction:column;
        gap: 20px;
        padding: 15px 0;
    }
}

@media (max-width: 1024px) {
    .catalog__links{
        gap: 20px;
    }

    .aboutUs__block{
        flex-direction:column;
    }

    .aboutUs__right img{
        width: 100%;
        height: 580px;
    }

    .whyUs__item-text h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .whyUs__item-text p{
        font-size: 16px;
    }

    .whyUs__item-numberMain{
        right: 28px;
    }

    .whyUs__item-numberSub {
        right: 16px;
    }
}

@media (max-width: 768px) {

    .home-info h1{
        font-size: 30px;
    }

    .catalog {
        padding: 50px 0px;
    }
    
    .catalog__links{
        grid-template-columns: repeat(2, 1fr);
    }

    .aboutUs{
        padding: 50px 0;
        background-image: url(img/icons/tree_mob.svg);
    }

    .aboutUs__block{
        background-color: rgb(255, 255, 255, 0.7);
        border-radius: 25px;
        gap: 0px;
    }

    .aboutUs__left{
        padding: 40px 20px 15px 20px;
        background-color: initial;
    }

    .aboutUs__right img{
        border-radius: 0px 0px 25px 25px;
    }


    .whyUs{
        padding: 50px 0;
        background-image:none;
    }

    .whyUs__ask{
        position: static;
        font-weight: 500;
        line-height: 1.3;
        text-align: start;
        text-transform: none;
        margin-bottom: 30px;
        font-size: 30px;
    }
   
    .whyUs__ask br{
        display:none
    }

    .whyUs__blok {
        grid-template-columns: repeat(1, 1fr);
        column-gap: calc(20px + (286 - 20) * ((100vw - 320px) / (1320 - 320)));
        row-gap: 20px;
    }

}

@media (max-width: 425px) {

    h2 {
    color: black;
    font-size: 30px;
    }

    h3{
    color: black;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px; 
    }

    .header{
        height: 70px;
        background: linear-gradient(to right, rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0.3));
    }

    .home {
        height: 450px;
        background-image: url("img/home_mob3.jpeg")
    }

    .home-info {
        gap: 25px;
        min-height: 430px;
    }

    .home-info h1 {
        font-size: 24px;
    }
    

    .bt{
        background-color: rgba(255, 255, 255, 0.3);
    }

    .subtitle {
        font-size: 16px;
    }

    .catalog__links{
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .catalog__links-item {
        height: 250px;
    }

    .aboutUs{
        padding: 80px 0;
    } 

    .aboutUs .content{
        padding: 0px;
    }

    .aboutUs__left p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .aboutUs__right img{
        height: 400px;
        border-radius: 0px 0px 25px 25px;
    }

    .aboutUs__right{
        min-width: 0px;
        border-radius: 25px;
    }

    .whyUs__item-numberMain{
        right: 16px;
    }

    .whyUs__item-numberSub {
        display: none;
    }

}

/*beds*/

@media(max-width: 425px) {

    .header2{
        height: 70px;
    }
}

.photo-block{
    padding: 100px 0px;
}

@media (max-width: 768px) {
    .photo-block {
        padding: 50px 0px;
    }
}

.start-blok{
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 20px;
    margin-bottom: 15px;
}

.start-blok__text{
    padding: 50px;
    background-color:#61715f;
    color: #fff;
    border-radius: 10px;
    background-image: url(img/icons/tree4.svg);
}

.start-blok__text p{
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.3;
}

.start-blok__picture{
   height: 450px;
}

.start-blok__img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit:cover;
}
@media(max-width: 1024px) {

    .start-blok__text p{
        font-size: 16px;
        margin-bottom: 15px;
    }
}

@media(max-width: 768px) {
    
    .start-blok{
        grid-template-columns: 1fr;
    }

    .start-blok__picture{
        height: 350px;
    }

    .start-blok__text{
        padding: 30px;
        background-image: url(img/icons/tree_mob4.svg);
    }

    .last-p{
        display: none;
    }

}


.masonry{
    column-count: 3;
    column-gap: 15px;
}
.photo-item{
    position: relative;
}

.photo-img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.photo-icon{
    position: absolute;
    top: 48%;
    left: 48%;
    opacity: 0;
    transition: 1s;
}

.photo-item:hover .photo-img{
    filter: brightness(75%);
}

.photo-item:hover .photo-icon{
    opacity: 1;
}


@media(max-width: 768px){
.masonry{
    column-count: 2;
}

.photo-item:hover .photo-img{
    filter: brightness(100%);
}

.photo-item:hover .photo-icon{
    opacity: 0;
}

}

.popup{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    transition: 0.5s;
    visibility: hidden;
    opacity: 0;
}

.popup.open{
    visibility:visible;
    opacity: 1;
}

.popup__body{
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 10px;
}

.popup__content{
    background-color:#F1F1F1;;
    padding: 40px 60px 40px 40px;
    max-width: 670px;
    border-radius: 10px;
    position: relative;
}

.popup__close {
    position: absolute;
    right: 20px;
    top: 20px;

}
.popup h3{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
}

.popup p{
    margin-bottom: 30px;
}

.input{
    background-color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    min-width: 100%;
}

.input:focus{
    border: 1px solid rgb(125, 158, 119);;
    outline: 3px solid rgb(125, 158, 119, 0.2);;
}

.form-a{
    color: #373737;
    border-bottom: 1px solid #373737 
}

.form-a:hover{
   border-bottom: none;
}

.form-text{
    font-size: 14px;
    color: #919191;
    line-height: 130%;
}

.bt__popup{
    margin-bottom: 20px;
    background-color: #373737;
    border-radius: 10px;
}

.bt__popup:hover{
    background-color: #4e4e4e;
}

@media(max-width: 425px){

.popup h3{
    font-size: 24px;
    font-weight: 500;
}

.popup p{
    font-size: 14px;
    margin-bottom: 20px;
}

.popup__content{
    padding: 40px 30px 40px 20px;
}

.bt__popup{
    width: 100%;
}

}

/* Блок политики конфиденциальности */

.politika{
    padding: 100px 0px;
}

.politika p{
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

.politika table{
    border-spacing: 0px;
    border: 1px solid #d8d8d8
}

.politika td{
    text-align: left;
    padding: 10px;
    border: 1px solid #d8d8d8
}

.politika a{
    color: #000000;
    text-decoration: underline;
}

@media(max-width: 425px){

.politika{
    padding: 50px 0px;
}

.politika h2{
    font-size: 26px;
}

.politika p{
    font-size: 14px;
}

.politika td{
            font-size: 14px;
}
}


/* Блок ошибки 404 */

.error404{
    padding: 100px 0 100px 0;
}

.error404-block{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error404 h1{
   font-size: 32px;
   padding: 0 0 30px 0;
   text-align: center;
}

.error404 p{
   font-size: 16px;
   padding: 0 0 30px 0;
   text-align: center;
}

@media (max-width: 425px){    
    .error404{
        padding: 50px 0 50px 0;
    }

    .error404 h1{
        font-size: 24px;
    }

    .error404 p{
        font-size: 14px;
    }

    .bt-dark{
        background-color: rgb(0, 0, 0, 0.2);
    }

}

