
.nav-section__head{
    margin-bottom: 30px;
}
.nav-section__head .h2{
    margin-bottom: 0;
}
.nav-section__head .subtitle{
    margin: 0;
}
.gf-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    grid-template-areas: 'one one two'
                            'tree four four';
    margin-bottom: 60px;
    @media (max-width: 991px) {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: 'one one ' 'two tree' ' four four';
    }
    @media (max-width: 767px) {
        grid-template-columns: repeat(1, 1fr);
        grid-template-areas: 'one' 'two'  'tree' ' four';
    }

    
        
}
 
/* Card */
.gf-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
    border: 1px solid #eef0f3;
    padding: 22px 22px 18px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.gf-card:first-child{
    grid-area: one;
}
.gf-card:first-child .gf-card__list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    
    @media (max-width: 767px) {
        grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 576px) {
        grid-template-columns: 1fr;
    }
}

.gf-card:nth-child(2){
    grid-area: two;
}
.gf-card:nth-child(3){
    grid-area: tree;
}
.gf-card:nth-child(4){
    grid-area: four;
}
.gf-card:nth-child(4) .gf-card__list{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.gf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
    border-color: #e7e9ed;
}
.gf-card__head{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}


/* Icon circle */
.gf-card__icon { 
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #B63C3C; /* brand red */
    color: #fff;
    box-shadow: 0 4px 10px rgba(182, 60, 60, 0.25);
    padding: 10px;
}
.gf-card__icon svg path, .gf-card__icon svg rect , .gf-card__icon svg circle{ 
    fill: #fff;
    
}

/* Title */
.gf-card__title {
    font-size: 18px;
    line-height: 120%;
    font-weight: 600;
    color: #364657;
    margin: 6px 0 10px;
    transition: 0.3s ease;
}
.gf-card__title:hover{
    color: #a83636;
}

/* List inside card */
.gf-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 5px 20px;
    @media (max-width: 576px) {
        grid-template-columns: 1fr !important;
        height: 110px;
        overflow: hidden;
    }
}
.gf-card__list--active{
    height: 100%;
}
.gf-card__list li {
    display: flex;
    color: #6b7280;
    
}
.gf-card__list a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    line-height: 120%;
    @media (max-width: 767px) {
        font-size: 14px;
    }
}
.gf-card__list a:hover {
    color: #B63C3C;
}
.gf-card__btn{
    display: none;
    border: none;
    background: none;
    outline: none;
    padding: 0;
    margin: 0;
    color: #B63C3C;
    @media (max-width: 576px) {
        display: flex;
    }
}



/* Checkbox для политики конфиденциальности */
.form-group--checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

.form-group--checkbox .checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #B63C3C;
    border-radius: 4px;
    position: relative !important;
    opacity: 1 !important;
}

.form-group--checkbox .checkbox-label span {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}
.form-group--checkbox .checkbox-label span b{
    color: #B63C3C;
}
.form-group--checkbox .checkbox-label a {
    color: #B63C3C;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.form-group--checkbox .checkbox-label a:hover {
    color: #a83636;
}

@media (max-width: 576px) {
    .form-group--checkbox .checkbox-label span {
        font-size: 12px;
    }
}





/* Цены */

.list-prices{
    margin: 60px 0;
}
.list-prices__head h2 {
    text-align: center;
}
.list-prices__filter{
    margin: 30px 0;
}
.list-prices__filter select{
    display: flex !important;
}

.list-prices__content{
    display: grid;
    grid-template-columns: repeat(1, 1fr);

    gap: 20px;
    @media (min-width: 576px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media (min-width: 992px) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.price-cart{
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
    border: 1px solid #eef0f3;
    padding: 20px;
    transition: box-shadow .2s
    ease, transform .2s
    ease, border-color .2s
    ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.price-cart:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
    border-color: #e7e9ed;
}
.price-cart__head{
    text-align: left;
}
.price-cart__head h3{
    font-size: 18px;
    line-height: 120%;
    font-weight: 600;
    color: #364657;
    margin-bottom: 5px;
}
.price-cart__head p {
    margin: 0;
    font-size: 14px;
}
.price-cart__price{
    font-size: 20px;
    line-height: 120%;
    font-weight: 600;
    padding: 10px 0;
    text-align: left;
}
.price-cart__list{
    display: grid;
    gap: 5px;
    margin-bottom: 20px;
}
.price-cart__item{
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eef0f3;
    padding-top: 8px;
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
}
.price-cart__item .popular{
color: var(--main-primary);
}
.price-cart__show-form{
    margin: auto 0 0 !important;
}


@media (max-width: 1510px) {
    section.page{
        padding-top: 40px;
        padding-bottom: 30px;
    }
}
@media (max-width: 768px) {
    section.page{
        padding-top: 0px;
    }
}
@media (max-width: 674px) {
    section.page{
        padding-top: 20px;
    }
}
@media (max-width: 575px) {
    section.page{
        padding-top: 0px;
    }
}
@media (max-width: 425px) {
    section.page{
        padding-top: 22px;
    }
}
body{
    margin: 0 !important;
}


.nav-item--parent{
    position: relative;
}
.nav-item--parent:hover .nav-item__sub-menu{
    display: block;
    opacity: 1;
}
.nav-item__sub-menu{
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    padding: 20px 30px 30px;
    border-radius: 14px;
    background-color: #fff;
    width: 500px;
    transform: translateX(-180px);
    box-shadow: 0 0 20px #00000040;
    z-index: 2;
    display: none;
    transition: 0.3s ease;
    opacity: 0;
}
.nav-item__sub-menu::before{
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 22px;
    top: -20px;
    left: 0;
}
.nav-item__sub-menu-arrow{
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #fff;
    display: flex;
}
.nav-item__sub-menu-head{
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    color: #000;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.nav-item__sub-menu-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.nav-item__item{
    display: grid !important;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 5px;
     
}
.nav-item__item-icon{
    display: flex;
    align-items: center;
    color: #000;
}
.nav-item__item-info{
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
}

.nav-item__item-info span{
    font-weight: 400;
}



.navbar{
    box-shadow: none !important;
    border-bottom: 1px solid #8b8a8b;
     @media (max-width: 1400px) {
        border: none;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px 0px, rgba(0, 0, 0, 0.12) 0px 2px 10px 0px !important; 
     }
}
.header-menu{
    position: fixed;
    z-index: 2;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 5px 0px, rgba(0, 0, 0, 0.12) 0px 2px 10px 0px;
    @media (max-width: 1400px) {
        display: none;
    }
}

.header-menu__nav{
    display: flex;
}

.header-menu__menu{
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
    width: 100%;
}
.header-menu__menu li{
    display: flex;
}
.header-menu__menu li a{
    display: flex;
    padding: 10px;
    color: #424242;
    font-weight: 500;
}
.header-menu__menu li.current-menu-item a{
    color: #94292e;
}

.nav-group-items{
    display: flex;
    align-items: center;
    gap: 10px;
        margin-left: 10px;
    @media (max-width: 1550px) {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    @media (max-width: 1330px) {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        margin: 0;
    }
    
}

.nav-group-items .nav-link{
    padding: 0 !important;
}
.ofi{
     @media (max-width: 992px) {
        display: none;
     }
}
.white-skin .navbar{
    @media (max-width: 992px) {
        
        flex-wrap: nowrap;  
        gap: 10px;
        height: 80px;

    }
}
.header{
    @media (max-width: 1510px) {
        &.pb-5{
            margin-bottom: 0 !important;    
        }
        &.pb-5{
         padding-bottom: 1rem !important;   
        }
    }
}

.navbar-nav__menu{
  

    @media (max-width: 1330px) {
        /* max-width: max-content; */
          max-width: 610px;
          width: 100%;
            width: 100%;
            gap: 10px 0;
    }
    @media (max-width: 990px) {
        
    }
}

#logo_main{
     @media (max-width: 360px) {
        width: 100% !important;
        max-width: 88px;
     }
}

.nav-item-icon{
    display: flex;
    width: 40px;
    height: 40px;
    @media (max-width: 1510px) {
        width: 30px;
        height: 30px;
    }
    @media (max-width: 768px) {
        width: 15px;
        height: 15px;

    }
}
.nav-item-icon a{
    padding: 0 !important;
}
#search_mobile_icon{
    padding: 0 !important;
}
.nav-item-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.navbar .nav-item{
    display: flex;
}
.navbar .nav-flex-icons{
    @media (max-width: 768px) {
        width: 50%;
    }
}
header.header--main{
    margin-bottom: 70px;
    @media (max-width: 1510px) {
        margin-bottom: 30px;
    }
    @media (max-width: 768px) {
        margin-bottom: 56px;
    }
    @media (max-width: 674px) {
        margin-bottom: 36px;
    }
}
header.header--page{
    margin-bottom: 96px;
    @media (max-width: 1510px) {
        margin-bottom: 60px;
    }
    @media (max-width: 576px) {
        margin-bottom: 90px;
    }
}

.collapsible-header{
    height: auto !important;
    display: flex !important;
    align-items: center;
    line-height: 1.4 !important;
    padding: 10px 0px 10px 20px !important;
}
.collapsible-header.collapsible-header--sub{
    padding: 10px 30px 10px 20px !important;
}
.collapsible-premium{
    background: linear-gradient(135deg, #8f2d2e 0%, #6b1f20 100%) !important;
    color: #fff ;
    position: relative;  
    overflow-x: hidden; 
    height: auto !important;
    display: flex !important;
    align-items: center;
    line-height: 1.4 !important;
    padding: 10px 0 10px 20px !important;
}
.collapsible-premium a{
    color: #fff !important;
}
.collapsible-premium .fas.fa-chevron-right{
    color: #fff !important;
}
.collapsible-premium::before{
    content: '';
    display: flex;
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg); 
  
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
   
}
.collapsible-premium:hover::before{
  animation: flareAnimation;
   animation: flareAnimation 1s 1 ease; 
}

@keyframes flareAnimation {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}
 


.wp-seo-mini{
display:flex;
align-items:center;
gap:30px;
padding:30px;
background:#fff;
border:1px solid #ececec;
border-top:4px solid #9d3333;
border-radius:18px;
box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.wp-seo-mini-content{
flex:1;
}

.wp-seo-mini h2{
margin:0 0 15px;
font-size:30px;
color:#9d3333;
line-height:1.2;
}

.wp-seo-mini p{
font-size:18px;
line-height:1.6;
margin-bottom:22px;
color:#444;
}

.mini-btn{
    display:inline-block;
    padding:12px 24px;
    background:#9d3333;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    transition: 0.3s ease;
}
.mini-btn:hover{
    color: #fff;
}

.wp-seo-mini-photo{
width:360px;
flex-shrink:0;
}

.wp-seo-mini-photo img{
display:block;
width:100%;
border-radius:12px;
}

@media(max-width:900px){

.wp-seo-mini{
flex-direction:column-reverse;
text-align:center;
}

.wp-seo-mini-photo{
width:100%;
max-width:420px;
}

}


.categoty-main img{
    max-height: 156px;
    
}


.grid-item .grid-item__info{
    position: absolute;
    top: 0;
    right: 0;
    background: #94292e;
    padding: 5px;
    width: 110px;
    color: #fff;
    line-height: 1.1;
    font-weight: 400;
    font-size: 14px;
    text-align: center;

}

.carousel-indicators li{
    opacity: 1 !important;
}
.carousel-indicators li svg{
    width: 100px;
    height: auto;
}
.carousel-indicators li svg path{
    fill: #727271;
    transition: 0.3s ease;
}

.carousel-indicators li.active svg path, .carousel-indicators li:hover svg path{
    fill: #2B2A29;
}


.card.card-cascade.narrower{
    height: calc(100% - 3rem);
}

.portfolio-grid__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    @media(max-width:991px){
        gap: 20px;
    }
    @media(max-width:768px){
        grid-template-columns: repeat(2, 1fr);


    }

}


.portfolio-grid__item{
    display: grid;
    gap: 10px;
}
.portfolio-grid__item p{
    display: none ;
}

.portfolio-grid__item img{
    width: 100%;
    aspect-ratio: 1/1;

}

.portfolio-grid__name{
    font-size: 18px;
    font-weight: 500;
    @media(max-width:991px){
        font-size: 14px;
    }
     @media(max-width:430px){
        font-size: 12px;
     }
}










/**/


.sticky-packages-widget {
    position: fixed;
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    background: #8B2635;
    color: #fff;
    padding: 12px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(139, 38, 53, 0.3);
    z-index: 999;
    text-align: center;
    max-width: 160px;
}
.sticky-packages-widget p{
    margin-bottom: 0;

}

.spw-title {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spw-btn {
    display: block;
    background: #fff;
    color: #8B2635;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    margin-top: 5px;
}

.spw-btn:hover {
    background: transparent;
    color: #fff;
}

/* Скрываем на мобильных */
@media (max-width: 992px) {
    .sticky-packages-widget {
        position: relative;
        transform: none;
        top: 0;
        right: 0;
        max-width: 80%;
        width: 100%;
        margin: 20px auto 30px;
    }
}



.next-page-link{
    margin: 30px 0;
    padding: 30px;
    background: #fff;
    border: 2px solid #9d3333;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.next-page-link__name{
    font-size: 30px;
    color: #9d3333;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
}
.next-page-link p{
    margin: 0;
}
.next-page-link__link{
    background: linear-gradient(135deg, #8f2d2e 0%, #6b1f20 100%) !important;
    color: #fff !important;
    padding: 10px;

    font-weight: 500;
    position: relative;
    overflow: hidden;
}
.next-page-link__link::before{
    content: '';
    display: flex;
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg);
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
}

.next-page-link__link::before{

    animation: flareAnimation_1 3s infinite ease;

}


@keyframes flareAnimation_1 {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}