@media(max-width:1280px){
	#main-menu{
		gap: var(--gap16); 
	}
	.licenz__item {
		height: 360px;
	}
	.main_preim__img{
    	margin-bottom: 10px;
    }
    .clauses__content{
	    flex: 1 0 60%;
    }
    .doc_img, .doc_info {
	    flex: 0 0 calc((100% / 2) - 30px / 2);
	}
}
@media(max-width:1023px){
	.header_top, .news .news__item:last-of-type, .ok_quote .bcg_blue .about__block:first-of-type:before {
		display: none;
	}
	.main_preim__list, .news__list, .grid-container{
		grid-template-columns:repeat(2, 1fr)!important;
	}
	.header_bottom__logo {
	    max-width: 160px;
	}
	.main_preim__item {
	    min-height: 195px;
	}
	.header_bottom__search{
		display: none;
	}
	.header_bottom__logo{
		margin-right: auto;
	}
	.hum{
		position: relative;
		width: 32px;
		height: 32px;
		margin-left: 24px;
	}
	.hum span{
		width: 24px;
		height: 1.5px;
		border-radius:10px;
		position: absolute;
		left: 4px;
		transition: all 0.3s ease;
		transform-origin: center;
		background-color: var(--dirty-grey80);
	}
	#page .hum span{
		background-color: var(--blue10);
	}
	.hum span:first-of-type { top: 8px; }
	.hum span:nth-of-type(2) { top: 16px; }
	.hum span:last-of-type { top: 24px; }
	.hum.open span:first-of-type {
	  top: 16px;
	  transform: rotate(45deg);
	}
	.hum.open span:nth-of-type(2) {
	  opacity: 0;
	}
	.hum.open span:last-of-type {
	  top: 16px;
	  transform: rotate(-45deg);
	}
	.main_slider{
		margin-top: -69px;
	}
	.header_bottom__menu {
	    position: absolute;
	    display: block;
	    left: -100%;
	    top: 100%;
	    width: 100%;
	    background-color: var(--black10);
	    padding: var(--pad24) 10px;
	    max-width: 0;
	    opacity: 0;
	    transition: 0.3s;
	    border-radius: var(--borrad16);	    
	}
	.header_bottom__menu.open{
		max-width: 100%;
		opacity: 1;
		left: 0;
	}
	#main-menu{
		flex-direction:column;
	}
	#main-menu .menu-item{
		color: var(--dirty-grey80);
	}
	#main-menu .menu-item-has-children ul{
		padding: 0px 10px;
		position: unset;
		max-height: 0;
	}
	#main-menu .menu-item-has-children.open ul {
	    opacity: 1;
	    transform: scale(1, 1);
	    max-height: none;
	    padding: 10px;
	}
	.menu-item-has-children:after{
		position: absolute;
		right: 0;
		top: 0;
	}
	#main-menu .menu-item-has-children.open:after{
		transform: scale(1, -1);
	}
	.main_slider__item {
	    height: 725px;
	}
    .h1, h1 {
        font-size: 64px;
    }
    .h3, h3{
    	font-size: 32px;
    	line-height: 1.25;
    }
    
    .about .flex, .contacts .bcg_white.flex, .form_site__flex, .filters-wrapper,.clauses__block {
    	flex-wrap: wrap;
    }
    .about__block, .contacts__block, .contacts__map {
	    max-width: 100%;
	    flex: 100%;
	}
	.about__item{
		min-height: 300px;
	}
	.block_title_link {
	    align-items: end;
	}
	.block_title_link a{
		margin-bottom: 38px;
	}
	.most_pop_usl__img{
		margin-bottom: 4px;
	}
	.steps_title__list, #usluga .main_preim__list, .main_preim__list-tablet{
		grid-template-columns: repeat(1, 1fr)!important;
	}
	.card__number{
		margin-bottom: 32px;
	}
	.akc__block{
		min-height: 230px;
	}
	.akc__block h3, .akc__block .h3{
		margin-bottom: 8px;
	}
	.akc__block img{
		right: -7%;
	}
	.block_title_link h2, .block_title_link .h2 {
	    max-width: 76%;
	}
	input[type="checkbox"]+span::before{
		margin-right: 8px;
	}
	input[type="checkbox"]:checked+span::after{
		top: -1px;
	}
	.form__flex input.btn{
		margin-left: 0;
	}
	.licenz__item {
        height: 240px;
    }
    .footer__grid{
    	gap: var(--gap16);
    }
    .footer-menu li:not(:last-of-type) {
	    margin-bottom: 16px;
	}
	.usl_content__block .h5{
		--ucb: 231px;
	}
	.usl_video__block{
		height: 410px;
	}
	.usl_ban__block:after{
    	width: 75%;
    }
    table{
    	overflow: auto;
    	padding-bottom: 5px;
    	max-width: 100%;
    	display: block;
    }
    table tr{
    	display: flex;
    }
    table th, table td{
    	width: 380px;
    }
    .ok_quote__img {
	    position: unset;
	    height: 415px;
	}
	.filters-wrapper{
		margin-bottom: 32px;
	}
	.filters-wrapper .filter-list{
		margin-bottom: 0;
	}
	.filters-wrapper .search-wrapper{
		margin-top: 0;
		max-width: 100%;
	}
	.form_site-blue .about__block img{
		position: unset;
		transform: translateY(var(--pad24));
		max-width: none;
		max-height: none;
	}
	.clauses__image{
		order: -1;
	}
	.doc_info h1{
		font-size: 32px;
	}
	.main_preim-usl .card .h5{
		min-height: none;
	}

}
@media(max-width:767px){
	.container{
		padding-left: 16px;
		padding-right: 16px;
	}
	:root{
		--pad24: 16px;
	}
	.header_top__call .btn{
		display: none;
	}
	.soc_seti{
		margin-right: 0;
	}
	.hum{
		margin-left: 16px;
	}
	.most_pop_usl__list, .main_preim__list, .footer__grid, .grid-container, .about__list{
	    grid-template-columns: repeat(1, 1fr)!important;
	}
	.news__list, .filter-list, .docs-usl.slider_mob_full, .rev_list.slider_mob_full{
        overflow: auto;
        padding-bottom: 5px;
        padding-left: 16px;
	}
	.h1, h1 {
        font-size: 36px;
        margin-bottom: 16px;
    }
    .header_bottom__logo {
	    max-width: 160px;
	}
	.main_slider__item {
        height: 652px;
    }
    .main_slider__text{
    	margin-bottom: 24px;
    }
	.main_slider__item .container, .main_slider .owl-dots{
		bottom: 108px;
	}
	.main_slider .owl-dots {
	    bottom: 80px;
	}
	.h3, h3 {
        font-size: 22px;
        line-height: 1.2;
    }
    .h4, h4{
		font-size: 18px;
	}
	.h5, h5{
		font-size: 18px;
	}
	.about__item {
        min-height: 160px;
    }
    .docs_item, .clauses__item, .rev__item, .news__item, .partners__slider .card, .ratings__item, .licenz__item   {
    	width: 280px;
    }
    .docs_item__block, .oborud__item, .form__flex, .usl_content__block, .usl_content__imgs, .u_more__item, .price-control-btns, .clauses__author, .clauses__info, .clauses__like,
    .doc_top  {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-mob{
    	width: 100%;
    	margin-top: 24px;
    	display: inline-block;
    }
    .akc__block{
    	min-height: 420px;
    }
    .akc__block .btn{
    	margin-bottom: 0;
    	order: 1;
    	width: 100%;
    }
    .akc__text, .akc__text p{
    	margin-bottom: 16px;
    }
    .akc__block img {
        right: 50%;
        height: auto;
        top: auto;
        bottom: 0;
        object-fit: cover;
        transform: translateX(50%);
    }
    .oborud__block, .oborud__img {
	    flex: none;
	    height: 320px;
	}
	.oborud__slider .owl-nav{
		bottom: 350px;
	}
	.oborud__block{
		padding-bottom: 60px;
	}
	.form__flex>span {
	    flex: 0;
	}
	.form__flex .btn{
		margin-top: 8px;
	}
	.licenz__item {
        height: 390px;
    }
    .contacts__map{
    	height: 310px;
    }
    .contacts__map .btn{
	    width: 80%;
	    justify-content: center;
    }
    .footer__block-3{
    	margin-top: 16px;
    }
    .footer__grid{
    	padding-bottom: 24px;
    	margin-bottom: 24px;
    }
    .slider_mob_full{
    	margin-left: -16px;
    	width: calc(100% + 32px);
    }
    .slider_mob_full.owl-carousel:not(.main_slider__wrap) .owl-dots:not(.disabled){
    	width: calc(100% - 16px);
    }
    .slider_mob_full .owl-item{
    	margin-left: 16px;
    }
    .usl_content__block .h5 {
        --ucb: auto;
        margin-bottom: 0;
    }
    .usl_content__imgs{
    	margin-top: 20px;
    }
    .usl_content__imgs div {
	    flex: 327px;
	}
	table tbody tr td, table th {
		padding-top: 8px;
		padding-bottom: 8px;
		padding-left: 8px;
	}
    table th, table td {
        width: 172px;
    }
    .price{
    	font-size: 16px;
    }
    .price_block__item{
		position: relative;
	}

    .new_price~.price{
    	font-size: 12px;
        position: absolute;
        right: 0;
        transform: translateY(100%);
    }
    .usl_ban__block{
    	min-height: 380px;
    }
    .usl_ban__block .btn, .doc_info .btn{
    	width: 100%;
    }
    .usl_ban__block img {
	    top: auto;
	    bottom: 0;
	    height: 240px;
	    width: 100%;
	    object-fit: cover;
	}
	.usl_ban__block:after {
        width: 100%;
        left: 0;
        top: 30%;
        background: linear-gradient(-180deg, var(--blue10) 15%, rgba(229, 239, 255, 0) 100%);
    }
    .ok_ban .usl_ban__text{
    	margin-top: 0;
    }
    .ok_quote  .card__number{
    	margin-bottom: 16px;
    }
    .ok_quote__img{
    	height: 343px;
    }
    .ok_quote .main_preim__list {
	    grid-template-columns: repeat(2, 1fr)!important;
	}
	.filter-list li{
		flex: 0 0 auto;
	}
	.filter-list li:last-of-type, .slider_mob_full .news__item:last-of-type {
		margin-right: 16px;
	}
	.docs-usl.slider_mob_full, .rev_list.slider_mob_full{
		display: flex!important;
	}
	.docs-usl.slider_mob_full .docs_item, .rev_list.slider_mob_full .card{
		flex: 0 0 280px;
	}
	.price-control-btns span{
		text-align: center;
	}
	.rev_filter{
		flex-wrap: wrap;
	}
	.site-rev{
		overflow: hidden;
	}
	.grid-container .news__item, .grid-container .clauses__item{
		width: 100%;
	}
	.filters-wrapper .filter-list{
		flex-wrap: nowrap;
		min-width: calc(100% + 32px);
	}
	.clauses__author>.h5{
		flex: 100%;
	}
	.clauses__info, .doc_img {
		margin-bottom: 16px;
	}
	.clauses__content, .clauses__like {
		gap: 16px;
	}
	.clauses__author>.h5{
		padding-right: 0;
		margin-right: 0;
		border-right: 0;
		padding-bottom: 16px;
		margin-bottom: 16px;
		border-bottom:1px solid var(--blue20);
	}
	.clauses__sidebar_mob{
		display: block;
	}
	.clauses__author {
		margin-top: 40px;
	}
	.doc_img.bcg_blue{
		height: 326px;
		display: flex;
		align-items: flex-end;
	}
	#doc section{
		padding-bottom: 40px;
	}
	.clauses__text figure {
		max-width: calc(100vw - 30px);
		margin: 0;
	}
	.docs_item__img img{
		object-fit: cover;
	}

}
@media(max-width:375px){
	.h1, h1{
		font-size: 30px;
	}
	.about__item .h4 br{
		display: none;
	}
	.ok_quote .main_preim__list {
	    grid-template-columns: repeat(1, 1fr)!important;
	}
	
}
@media(max-width:374px){
	.h1, h1{
		font-size: 26px;
	}
    .header_bottom__logo {
        max-width: 120px;
    }
    .contacts__map .btn{
    	width: 95%;
    }
}

/* Фикс cookie-баннера на мобильных: кнопка вылезала за вьюпорт (15.08.2026) */
@media(max-width:767px){
    .cookie-notice{
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
    .cookie-notice .btn{
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
