@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
:root {
    --primary-orange: #e87e54;
    --text-heading: #d68a68;
    --bg-paper: #fdfbf7;
    --bg-tariffs: #5d7c95;
    --border-color: #e6dacd;
}
@font-face {
    font-family: 'BERNIERDISTRESSED';
    src: url('../assets/fonts/BERNIERDISTRESSED-REGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: "PT Sans", Roboto, sans-serif;
    color: #000;
    padding-top: 76px;
    font-size: 18px;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: "BERNIERDISTRESSED", serif;
    text-transform: uppercase;
    font-size: 82px;
}

.w-100{
    width: 100%;
}
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}
.navbar-nav{
    width: 100%;
    gap: 40px;
}
.navbar-brand{
    color: #333;
    width: 120px;
    transition: all 0.25s;
}
.navbar-brand:hover{
    color: var(--bg-tariffs);
}
.navbar-brand i {
    display: inline-block;
    padding: 20px;
    border: 1px solid;
    transition: all 0.25s;
}
.nav-link {
    font-size: 18px;
    color: #333 !important;
    font-weight: 500;
    padding: 25px 20px;
    transition: color 0.24s;
}
.nav-link:hover{
    color: var(--text-heading) !important;
}
.social-icons a {
    color: #2cb5e0;
    font-size: 26px;
    margin-left: 10px;
}
.social-icons a.wa {
    color: #25d366;
}
.btn-custom {
    background: linear-gradient(270deg, #D8775D, #FF8B32);
    color: #fff;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 0px 20px;
    font-weight: normal;
    border: none;
    transition: 0.3s;
    outline: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    min-height: 69px;
    max-width: 370px;
    font-size: 18px;
    letter-spacing: 2px;
}
.btn-custom:hover {
    background: linear-gradient(270deg, #ee7756, #f17a1f);
    color: #fff;
}
#hero {
    padding: 60px 0 0;
    background: url(../assets/images/bg-head.jpg)
        no-repeat center center;
    background-size: cover;
    position: relative;
    margin-bottom: 75px;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    color: var(--text-heading);
    font-size: 104px;
    line-height: 1;
    margin-bottom: 20px;
}
.hero-subtitle {
    color: #5d7c95;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 30px;
}
.hero-list{
    font-size: 22px;
}
.hero-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: normal;
}
.hero-list span{
    color: #5d7c95;
    font-weight: bolder;
}
.hero-list li::before {
    content: "•";
    color: var(--primary-orange);
    font-weight: 700;
    position: absolute;
    left: 0;
}
.info-block{
}
.stat-box {
    background: #fff url(../assets/images/d.png) no-repeat center / cover;
    border: 5px solid #ffd7b7;
    padding: 15px 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    font-size: 0.9rem;
    font-size: 21px;
    margin-bottom: -75px;
}
.stat-header {
    color: #4F7290;
    display: inline-block;
    font-weight: bolder;
    line-height: normal;
}
.stat-value {
    color: #000;
    display: inline-block;
    font-weight: normal;
}
#about {
    padding: 80px 0;
}
.about-box {
    border: 5px solid #ffd7b7;
    border-right: 0;
    padding: 40px;
    background: #fff;
    font-size: 22px;
}
.about__image{
    border: 5px solid #ffd7b7;
}
.about-title {
    color: var(--text-heading);
    margin-bottom: 20px;
}
.about-box span{
    color: #5d7c95;
}
#materials {
    padding: 60px 0;
    text-align: center;
}
.section-title {
    color: var(--text-heading);
    margin-bottom: 50px;
    text-align: center;
}
.material-item{
    color: #5d7c95;
    line-height: 1.2;
}
.material-item__title {
    margin-bottom: 5px;
}
.material-item p{
    margin: 20px 0 0;
    color: #000;
}
.materials__img{
    max-width: 120px;
    margin-bottom: 15px;
}
.material-item .btn-outline-custom{
    outline: none !important;
    box-shadow: none;
    padding: 7px 20px;
    position: relative;
    z-index: 10;
}
.hidden-paints-list{
    position: relative;
    width: 500px;
}
.paints-list {
    display: none;
    background: #fff;
    border: 1px solid #5d7c95;
    padding: 80px 20px 20px;
    position: absolute;
    left: 33px;
    z-index: 5;
    text-align: left;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.paints-list ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.paints-list li{
    position: relative;
    padding-left: 15px;
}
.paints-list li::before{
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
    display: inline-block;
    background-color: var(--primary-orange);
}
.btn-outline-custom {
    border: 2px solid #5d7c95;
    color: #5d7c95;
    margin-top: 20px;
}
.btn-outline-custom:hover,.btn-outline-custom.active {
    background: #edfbfe;
    color: #5d7c95;
}
.materials__bottom-text{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 5px solid #ffd7b7;
    font-size: 18px;
}
#tariffs {
    padding: 60px 0;
    background-color: #f4f4f4;
}
.tariff-card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    background: #fff;
}
.tariff-card:hover{
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.tariff-header {
    background-color: var(--bg-tariffs);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    font-family: "BERNIERDISTRESSED";
}
.tariff-body {
    padding: 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: calc(100% - 76px);
}
.tariff-card__btn{
    margin-top: auto;
    margin-bottom: 0;
}
.payment-icons__icon{
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFD6B6;
    color: #fff;
    font-family: "PT Sans";
    font-style: normal;
    font-size: 24px;
    cursor: pointer;
}
.payment-icons__icon.active{
    background-color: #FF8B00;
}
.img-grid {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; */
    margin-bottom: 20px;
}
.line-through{
    text-decoration: line-through;
}
.img-grid img {
    width: 100%;
    object-fit: cover;
}
.tariffs{
    background: url(../assets/images/bg-tarif.jpg) no-repeat center / cover;
}
.tariff-list {
    text-align: left;
    margin-bottom: 30px;
    list-style: none;
    padding: 0 15px 0;
}
.tariff-list li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    line-height: 1.2;
}
.tariff-list li::before {
    content: "";
    background-color: var(--primary-orange);
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.tariff-list .line-through{
    color: #999;
}
.tariff-list .line-through::before{
    opacity: 0.7;
}
.old-price {
    text-decoration: line-through;
    color: #5d7c95;
    font-size: 24px;
}
.current-price {
    font-size: 36px;
    color: #5d7c95;
    font-weight: 700;
    margin-bottom: 25px;
}
#faq {
    padding: 80px 0;
}
.accordion *{
    box-sizing: border-box;
}
.accordion>.card{
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
}
.accordion>.card,
.accordion>.card:not(:last-of-type){
    border: 5px solid #ffd7b7;
}
.card-header {
    background: #fff;
    color: #5d7c95;
    border: 0;
    padding: 20px 40px 20px;
    line-height: 1;
}
.card-body {
    padding: 0px 40px 20px;
    color: #000;
}
.card-header .btn-link{
    font-size: 18px;
}
.btn-link {
    color: #5d7c95;
    text-decoration: none !important;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    box-shadow: none;
    padding: 0;
}
.btn-link:focus{
    box-shadow: none;
}
.btn-link[aria-expanded="true"]{
    color: var(--primary-orange);
}
.btn-link:hover {
    color: var(--primary-orange);
}
.collapse-icon {
    transition: 0.3s;
}
.btn-link[aria-expanded="false"] .collapse-icon{
    color: #5d7c95;
    transform: rotate(-90deg);
}
.btn-link[aria-expanded="true"] .collapse-icon {
    transform: rotate(-180deg);
    color: var(--primary-orange);
}
footer {
    padding: 120px 0;
    text-align: center;
    color: #000;
    background-color: #fff;
}
footer a{
    color: inherit;
}
.currency-switch-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 990px) {
    body{
        font-size: 16px;
    }
    h1, h2, h3, h4, h5{
        font-size: 36px;
    }
    .navbar-brand i{
        padding: 4px;
        margin-left: 15px;
    }
    .navbar-nav{
        margin-top: 20px;
        margin-bottom: 10px;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .nav-link{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .hero-title{
        font-size: 48px;
    }
    .hero-subtitle{
        font-size: 32px;
    }
    .hero-content .btn-custom{
        margin-bottom: 30px;
    }
    .hero-list{
        font-size: 18px;
    }
    .btn-custom{
        min-height: 50px;
        max-width: 280px;
        font-size: 16px;
    }
    .stat-box{
        margin-bottom: 30px;
    }
    .about-box{
        border: 5px solid #ffd7b7;
    }
    .material-item{
        padding-bottom: 40px;
    }
    .tariff-header{
        padding: 10px;
    }
    .tariff-body{
        padding-left: 10px;
        padding-right: 10px;
    }
    .tariff-body .btn-custom{
        width: 100%;
        max-width: 100%;
    }
}

.gallery-container {
            width: 100%;
            max-width: 1200px;
            display: grid;
            /* 4 колонки: первая шире */
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            /* 3 строки по 250px — подходит для 12 картинок */
            grid-template-rows: repeat(3, 94px);
            gap: 5px;
            margin-bottom: 20px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 4px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 3px 5px rgba(0,0,0,0.2);
            z-index: 1;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Явное позиционирование картинок */

        /* Ряд 1 */
        .item-1 { grid-column: 1; grid-row: 1 / span 2; }
        .item-2 { grid-column: 2; grid-row: 1; }
        .item-3 { grid-column: 3; grid-row: 1; }
        .item-4 { grid-column: 4; grid-row: 1; }

        /* Ряд 2 */
        .item-5 { grid-column: 1; grid-row: 2; }
        .item-6 { grid-column: 2; grid-row: 2 / span 2; } /* Занимает 2 строки */
        .item-7 { grid-column: 3; grid-row: 2 / span 2; } /* Занимает 2 строки */
        .item-8 { grid-column: 4; grid-row: 2; }

        .item-1,
        .item-6,
        .item-7{
            z-index: 2;
        }

        /* Ряд 3 */
        .item-9 { grid-column: 1; grid-row: 3; }
        .item-10 { grid-column: 2; grid-row: 3; }
        .item-11 { grid-column: 3; grid-row: 3; }
        .item-12 { grid-column: 4; grid-row: 3; }

        /* Адаптивность — на мобильных устройствах делаем одну колонку */
        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
            }
            .gallery-item {
                height: 200px;
            }
            /* Убираем явное позиционирование для адаптивности */
            .gallery-item {
                grid-column: auto;
                grid-row: auto;
            }
        }
