@font-face {
    font-family: 'PT sans';
    src: url(../assets/fonts/PTSans-Regular.ttf);
}

@font-face {
    font-family: 'bernierd';
    src: url(../assets/fonts/BERNIERDISTRESSED-REGULAR.OTF);
}


html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



ul {
    list-style: none;
}

a {
    text-decoration: none !important;
    color: unset !important;
}

:root {
  --bg-main: #F7F3EE;
  --bg-card: #FFFFFF;
  --bg-vip: #315b70;

  --text-main: #3A3A3A;
  --text-muted: #6F6F6F;
  --text-light: #FFFFFF;
  --text-accent: #E28C5A;

  --border-light: #E6D6C8;
  --border-accent: #E28C5A;

  --btn-bg: #E28C5A;
  --btn-hover: #D87A45;
}




.wrapper {
    max-width: 1150px;
    width: 95%;
    margin: 0 auto;
    
}



.head {
    min-height: 125%;
    background-image: url(../assets/images/bgHead.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    
    
}

.head > div {
    padding-top: 120px;
    /* padding-bottom: 80px; */
}

.up-content {
    flex-wrap: wrap;
    
}

.up-content_left {
    margin-bottom: 75px;
}

.up-content_left h1 {
    font-family: bernierd;
    font-weight: 700;
    font-size: 75px;
    line-height: 110%;
    color: #87642b;
    max-width: 350px;
    width: 95%;
}

.up-content_left h2 {
    font-family: 'PT sans';
    font-weight: 800;
    font-size: 35px;
    line-height: normal;
    color: var(--bg-vip);
}

.up-content_left > ul {
    gap: 15px;
    max-width: 375px;
    width: 95%;
}

.up-content_left > ul li {
    position: relative;
    padding-left: 15px;
    font-family: 'PT sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    
}

.up-content_left > ul li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 35%;
    left: 0;
    background-color: var(--btn-hover);
    

}

.up-content_left button {
    max-width: 300px;
    width: 75%;
    height: 55px;
    border: none;
    border-radius: 10px;
    background-image: linear-gradient(to right, #e79c2b, #9e4b13);
    color: #FFFFFF;
    font-family: 'PT sans';
    font-weight: 400;
    font-size: 18px;
    transition: all 0.25s ease;
    order: 3;
}

.up-content_left button:hover {
    transform: scaleY(0.95);
}

.up-content_right {
    background-image: url(../assets/images/cities-photo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 450px;
    min-width: 50%;
    min-height: 400px;
    aspect-ratio: 4 / 3;
    flex: 1 1 150px;
}

.down-content {
    margin-top: 75px;
    position: relative;
    margin-bottom: -75px;
    z-index: 2;
    /* margin: 0 auto -75px auto; */
}

.down-content ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 5px;
    
}

.down-content>ul li {
    width: 250px;
    height: 150px;
    background-image: url(../assets/images/d.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid var(--btn-hover);
    flex: 1 0 125px;
}

.down-content_txt {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 18px;
    color: #254a89;
}

.down-content_txt span {
    color: black;
}




/*======== forWho ========*/

.forWho {
    padding-top: 125px;
    position: relative;
    z-index: 1;
    width: 100%;
    /* height: 100vh; */
    background-color: #FFFFFF;

}

.forWho > div {
    width: 100%;
    min-height: 650px;
    height: 100%;
}

.forWho-left {
    background-image: url(../assets/images/bg.jpg);
    background-position: center;
    background-repeat: none;
    background-size: cover;
    padding: 50px 0 50px 90px;
    border: 5px solid #bc7813;
    border-right: 0;
}



.forWho-left h2 {
    font-family: 'bernierd';
    font-weight: 700;
    font-size: 68px;
    color: #87642b;
}

.forWho-left p {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 22px;
    max-width: 470px;
    line-height: 115%;
}

.forWho-left > p span {
    color: #254a89;
}

.forWho-right {
    background-image: url(../assets/images/img_build.jpg);
    background-position: center;
    background-repeat: none;
    background-size: cover;
    max-height: 550px;
    height: 550px;
    border: 5px solid #bc7813;
}

@media (max-width: 767px) {
    .forWho > div  {
        padding: 10px;
    }

    .forWho-left {
       padding: 50px 10px; 
       border-right: 5px solid #bc7813;
       border-bottom: 0;

    }

    .forWho-left h2 {
        font-size: 62px;
    }

    .forWho-right {
        border-top: 0;
    }

    
}


/*---------- materials ----------*/


/* 
.materials {
    margin-top: 90px;
    
}

.materials h2 {
    font-family: 'bernierd';
    font-weight: 700;
    font-size: 75px;
    color: #87642b;
}

@media (max-width: 767px) {
    .materials h2 {
        font-size: 52px;
    }
}

.materials-content {
    margin-top: 55px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    column-gap: 15%;
    row-gap: 65px;
    justify-content: center;
    justify-items: center;
    align-items: center;
    margin-top: 81px;
    padding: 10px;

    
}

.materials-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;

    position: relative;
}

/*======= Модалка =======*/
/* 
.moreButton {
    position: absolute;
    top: 100%;
    bottom: 0;
    width: 200px;
    height: 50px;
    border: 1px solid #315b70;
    border-radius: 20px;
}

.content-box {
    position: absolute;
    top: 100%;
    left: 0;

    width: 250px;
    height: 350px;
    border: 1px solid #315b70;
}

.content-box > ul li */



/* ========= */

/*
.materials-item figure {
    width: 120px;
    height: auto;
}

.materials-item > figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.materials-item figcaption {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 18px;
    color: #254a89;
}

.forWho-line {
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, #cece17c7, #9e4b13, #cece17c7);
    margin-top: 75px;
    border-radius: 5px;

}

.materials p {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    margin-top: 15px;
} */


.materials {
    margin-top: 90px;
}

.materials h2 {
    font-family: 'bernierd';
    font-weight: 700;
    font-size: 75px;
    color: #87642b;
}

@media (max-width: 767px) {
    .materials h2 {
        font-size: 52px;
    }
}

.materials-content {
    margin-top: 55px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    column-gap: 15%;
    row-gap: 65px;
    justify-content: center;
    justify-items: center;
    align-items: center;
    margin-top: 81px;
    padding: 10px;
}

.materials-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    position: relative;
}

/*======= Модалка =======*/

.moreButton {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 175px;
    height: 50px;
    border: 1px solid #315b70;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    z-index: 10;
    font-family: 'PT sans';
    font-weight: 600;
    color: #254a89;
}

.content-box {
    /* position: absolute;
    top: 100%;
    left: 90%;
    transform: translateX(-50%);
    width: 250px;
    height: 350px;
    border: 1px solid #315b70;
    background: white;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden; */

    position: absolute;
    top: 100%;
    left: 85%;
    transform: translateX(-35%);
    max-width: 400px;
    width: 95vw;
    height: 300px;
    border: 1px solid #315b70;
    border-radius: 15px;
    background: white;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;

}

/* Контейнер для кнопки вверху */
.button-container {
    flex-shrink: 0;
    padding: 5px;
    background: white;
}

/* Контейнер для списка с прокруткой */
.list-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

.content-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
}

.content-box li::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #a75925;
    border-radius: 50%;
    top: 15px;
    left: 0;
} 

.content-box li {
    padding: 8px 5px;
    font-family: 'PT sans';
    font-size: 14px;
    color: black;


    position: relative;
    padding-left: 15px;
}

.content-box li:last-child {
    border-bottom: none;
}

/* Кнопка внутри модального окна */
.content-box .moreButton {
    position: static;
    width: 50%;
    transform: none;
    left: auto;
    margin: 0;
    height: 40px;
}

/* ========= */

.materials-item figure {
    width: 120px;
    height: auto;
}

.materials-item > figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.materials-item figcaption {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 18px;
    color: #254a89;
}

.forWho-line {
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, #cece17c7, #9e4b13, #cece17c7);
    margin-top: 75px;
    border-radius: 5px;
}

.materials p {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    margin-top: 15px;
    text-align: center;
}


/*=========== TARIFS ===========*/


.tarifs {
    background-image: url(../assets/images/bgTarif.jpg);
    background-position: center;
    background-size: cover;
    
}

.tarif {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 55px;
}

.tarif h2 {
    font-family: 'bernierd';
    font-weight: 700;
    font-size: 67px;
    letter-spacing: 3.5px;
    color: #92532a;
    margin-top: 175px;
}

.tarifs-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 75px;
}

.tarifs-item {
    max-width: 325px;
    width: 90%;
    margin-bottom: 25px;
}

.tarifs-item h3 {
    font-family: 'bernierd';
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-align: center;
    background-color: #315b70;
    padding: 15px 0;
    margin: 0;
}

.tarif-item-down {
    background-color: #FFFFFF;
    padding: 25px 10px 10px;
}

.tarif-pict {
    max-width: 305px;
    height: auto;
}

.tarif-pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarif-item-down ul {
    padding-left: 7px;
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.tarif-item-down > ul li {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
}

.tarif-item-down > ul li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 0;
    background-color: var(--btn-hover);
    position: absolute;
}

.old_price, .new_price {
    font-family: 'PT sans';
    font-weight: 600;
    color: #254a89;
    margin-top: 10px;

}

.old_price {
    font-size: 22px;
    text-decoration: line-through;
    padding: 0 5px;
}

.new_price {
    font-size: 36px;
}

.currencies {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.btn_ruble, .dollar_ruble {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 32px;
    border: 1px solid #c35d19;
    background-color: #c35d19;
    border-radius: 3px;
    font-family: 'PT sans';
    font-weight: 500;
    font-size: 22px;
    color: #FFFFFF;
}

.btn_ruble {

}

.dollar_ruble {

}

.tarif-order {
    width: 100%;
    height: 50px;
    border: 1px solid #c35d19;
    background-image: linear-gradient(to right, #c39619, #a75925, #651b13) ;
    border-radius: 5px;
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

/*============= QUESTIONS =============*/


.questions {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 125px;
}

.questions h2 {
    margin-top: 70px;
    font-family: 'bernierd';
    font-weight: 700;
    font-size: 62px;
    color: #a75925;
    letter-spacing: 3px;
}

.questions-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    margin-top: 58px;
    max-width: 775px;
    width: 100%;
}

.questions-item {
    border: 8.5px solid #ae6230c7;
    max-width: 775px;
    width: 100%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    /* gap: 25px; */
}



.questions-item > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.questions-item > div h4 {
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 22px;
    color: #ae6230c7;
}

@media (max-width: 767px) {
    .questions h2 {
        font-size: 50px;
    }

    .questions-item {
        padding: 10px;
    }

    .questions-item > div h4 {
        font-size: 20px;
        max-width: 80%;
    }
}

.closeBtn {
    position: relative;
    width: 35px;
    height: 35px;
    overflow: hidden;
    transition: all 0.45s ease;
    cursor: pointer;
}

.closeBtn.active {
    transform: rotate(90deg);
}

.closeBtn::after {
    position: absolute;
    content: '';
    border: 7px solid #1b3d76;
    width: 55px;
    height: 55px;
    transform: rotate(45deg);
    top: -10px;
    left: -35px;
    color: #114399;
    opacity: 1;
    
}

.questions-content-text{
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 22px;
    display: none;
}

/*======= FOOTER =======*/

footer {
    width: 100%;
    padding: 100px 0;
}

footer p {
    text-align: center;
    font-family: 'PT sans';
    font-weight: 600;
    font-size: 18px;
    line-height: 250%;
}