﻿body, html {
	height: 100%;
	color: #ffffff;
}
/*Bootstrap*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	overflow-x: hidden;
}
body {
	background: #ffffff;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	line-height: 1.5;
}
*, *::after, *::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*::after, *::before {
	content: '';
}
article, aside, details, figure, footer, header, main, menu, nav, section {
	display: block;
}
.container-fluid {
	margin-right: auto;
	margin-left: auto;
}
.container {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}
p{
font-weight:400;
}
.no {
	font-size: 20px;
	font-weight: bold;
	color: #FF0000;
	text-align: center;
}
@media (min-width: 768px){
.container {
	width: 750px;
}
}
@media (min-width: 992px){
.container {
	width: 970px;
}
}
@media (min-width: 1200px){
.container {
	width: 1170px;
}
}
.clearfix::before, .clearfix::after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .nav:before, .nav:after, header:before, header:after, section:before, section:after {
	display: table;
	content: " ";
}
.clearfix:after, .container:after, .container-fluid:after, .row:after, .nav:after, header:before, header:after, section:after {
	clear: both;
}
.row {
	margin-right: -15px;
	margin-left: -15px;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
	float: left;
}
.col-xs-12 {
	width: 100%;
}
.col-xs-11 {
	width: 91.66666667%;
}
.col-xs-10 {
	width: 83.33333333%;
}
.col-xs-9 {
	width: 75%;
}
.col-xs-8 {
	width: 66.66666667%;
}
.col-xs-7 {
	width: 58.33333333%;
}
.col-xs-6 {
	width: 50%;
}
.col-xs-5 {
	width: 41.66666667%;
}
.col-xs-4 {
	width: 33.33333333%;
}
.col-xs-3 {
	width: 25%;
}
.col-xs-2 {
	width: 16.66666667%;
}
.col-xs-1 {
	width: 8.33333333%;
}
@media (min-width: 768px) {
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
	float: left;
}
.col-sm-12 {
	width: 100%;
}
.col-sm-11 {
	width: 91.66666667%;
}
.col-sm-10 {
	width: 83.33333333%;
}
.col-sm-9 {
	width: 75%;
}
.col-sm-8 {
	width: 66.66666667%;
}
.col-sm-7 {
	width: 58.33333333%;
}
.col-sm-6 {
	width: 50%;
}
.col-sm-5 {
	width: 41.66666667%;
}
.col-sm-4 {
	width: 33.33333333%;
}
.col-sm-3 {
	width: 25%;
}
.col-sm-2 {
	width: 16.66666667%;
}
.col-sm-1 {
	width: 8.33333333%;
}
}
@media (min-width: 992px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
	float: left;
}
.col-md-12 {
	width: 100%;
}
.col-md-11 {
	width: 91.66666667%;
}
.col-md-10 {
	width: 83.33333333%;
}
.col-md-9 {
	width: 75%;
}
.col-md-8 {
	width: 66.66666667%;
}
.col-md-7 {
	width: 58.33333333%;
}
.col-md-6 {
	width: 50%;
}
.col-md-5 {
	width: 41.66666667%;
}
.col-md-4 {
	width: 33.33333333%;
}
.col-md-3 {
	width: 25%;
}
.col-md-2 {
	width: 16.66666667%;
}
.col-md-1 {
	width: 8.33333333%;
}
}
@media (min-width: 1200px) {
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
	float: left;
}
.col-lg-12 {
	width: 100%;
}
.col-lg-11 {
	width: 91.66666667%;
}
.col-lg-10 {
	width: 83.33333333%;
}
.col-lg-9 {
	width: 75%;
}
.col-lg-8 {
	width: 66.66666667%;
}
.col-lg-7 {
	width: 58.33333333%;
}
.col-lg-6 {
	width: 50%;
}
.col-lg-5 {
	width: 41.66666667%;
}
.col-lg-4 {
	width: 33.33333333%;
}
.col-lg-3 {
	width: 25%;
}
.col-lg-2 {
	width: 16.66666667%;
}
.col-lg-1 {
	width: 8.33333333%;
}
}
img {
	border-width: 0px;
	vertical-align: middle;
}
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}
/* Конец Bootstrap*/
/****Top Bar****/
.topbar {
background: #ffffff;
color: #003766;
font-size: 18px;
font-weight: 500;
padding-bottom: 12px;
text-align: center;
border-bottom: 5px #003766 double;
}
.phone{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: baseline;
    padding-top:22px;
}
.phone a {
color: #003766;
text-decoration: none;
font-size:25px;
}
.phone a:hover{
	color: #f16800;
	background-color: transparent;
}
.envelope {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    }
@media (max-width:595px){
.topbar {
	overflow-x: hidden;
}
}
@media (max-width: 767px) {
  .phone:nth-of-type(n+2) {
    display: none;
  }
  .phone a{
  font-size:17px;
  }
}
a {
	cursor: pointer;
}
/*Яндекс Поиск*/
.b-head__link .b-head__logo {
    display: none;
}
.d1 {
	vertical-align: middle;
	margin-left: 0!important;
	width:auto !important;
	padding-top:15px;
}
.d1 form {
	position: relative;
	width: 350px;
	margin: 0 0 10px 0;
}
.d1 input {
	width: 100%;
	height: 40px;
	padding-left: 10px;
	border: 2px solid #003766;
	border-radius: 5px;
	outline: none;
	background: #ffffff;
	color: #003766;
	font-size: 16px;
	font-family: sans-serif;
}
::-webkit-input-placeholder {
	color: #003766;
}
::-moz-placeholder {
	color: #003766;
}
:-moz-placeholder {
	color: #003766;
}
:-ms-input-placeholder {
	color: #003766;
}
.d1 button {
	height: 40px;
	width: 40px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	border: 2px solid  #003766;
	border-bottom-right-radius: 5px;
	border-top-right-radius: 5px;
	outline: none;
	background: #ffffff;
}
.d1 button:before {
	content: "\f002";
	font-family: FontAwesome;
	font-size: 16px;
	color: #003766;
}
#ya-site-form0 {
	position: relative;
}
#ya-site-form0 .ya-site-form__form .ya-site-form__input-text {
	border: 2px solid  #003766;
	border-radius: 5px;
}
.d1 #ya-site-form0 .ya-site-form__submit_type_image {
	background: url('../images/search-menu.png') no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
	margin-top: 14px;
}
.d1 .ya-site-form__search-input-layout-r {
	height: 40px;
	width: 40px;
	position: absolute;
	top: 0;
	right: 6px;
	cursor: pointer;
}
.d1 #ya-site-form0 .ya-site-form__input input.ya-site-form__input-text {
	height: 40px;
}
.d1 #ya-site-form0 .ya-site-form__wrap {
	table-layout: auto!important;
}
@media (max-width:992px){
.d1{
margin-top:18px;
}
}
/*Конец Яндекс Поиск*/
/****Конец Top Bar****/
header {
	background: #003766;
	color: #ffffff;
}
.logo {
	padding: 5px 10px;
	text-align: left;
}
.logo img{
width:225px;
height:auto;
}
/*Верхнее меню*/
#menu-open {
	display: none;
}
.nav-verh {
	display: none;
	padding: 0;
	margin: 10px 0 15px 0;
}
.nav-verh li {
	display: block;
	line-height: 2.5;
}
.nav-verh a {
	color: #ffffff;
	text-decoration: none;
	font-size: 18px;
	font-weight: 400;
	cursor: pointer;
}
.nav-verh a:hover {
	color: #f16800;
	background-color: transparent;
}
.toggle-button {
	text-align: left;
	display: block;
	cursor: pointer;
	color: #003766;
	font-size: 35px;
}
.toggle-button:after {
	content: url(../images/icon-menu-white.svg);
	display: block;
	margin: 0;
	padding: 0 5px;
	line-height:0.8;
}
.toggle-button:hover {
	color: #f16800;
	background-color: transparent;
}
#menu-open:checked + nav[role=navigation] .nav-verh {
	display: block;
}
#menu-open:checked + nav[role=navigation] .toggle-button:after {
	content: url(../images/close-menu.png);
}
.magazin{
background:#f16800;
color:#ffffff;
}
.magazin a:hover, .magazin a:focus{
background:#f16800;
color:#003766;
}
.top-flex{
display:flex;
}
@media screen and (max-width: 767px) {
.nav-verh a{
padding-left:20px;
}
.logo img{
width:160px;
height:auto;
}
.d1{
padding-top:0;
}
.phone{
padding-top:0;
}

}
@media screen and (min-width: 1200px) {
.toggle-button {
	display: none;
}

.nav-verh {
	display: flex;
	justify-content: space-between;
	margin: 0;
}
.nav-verh a {
	display: inline-block;
	font-size: 16px;
	text-decoration: none;
	color: #ffffff;
	/*text-transform: uppercase;*/
	border-bottom: 0;
	font-weight: 400;
}
.nav-verh a:hover, .nav-verh a:focus {
	color: #f16800;
	background-color: transparent;
}
.magazin{background:#f16800;
color:#ffffff;
padding:0 20px;
}
.magazin a:hover, .magazin a:focus{
background:#f16800;
color:#003766;
}

}
@media (max-width:1199px){
.logo {
	padding: 5px 10px;
}
}
/*Конец Верхнее меню*/
/*Боковое меню*/
.aside {
	padding-right: 0;
}
/*Конец Боковое меню*/
/*Боковая навигация*/
.nav__check, .nav__showmenu{
	display: none;
}
.nav__showmenu img{
	height:30px; vertical-align:middle; margin-right: 10px;
}
@media screen and (max-width:767px){
input.nav__check {
	display: none;
}
label {
	cursor: pointer;
}
.nav {
	user-select: none;
	z-index: 0;
}
.nav__showmenu {
	position: relative;
	z-index: 3;
	display: inline-block;
	margin-left: -10px;
	padding: 5px 10px 10px;
	top: 7px;
	font-size: 50px;
	color:transparent;
}
.nav__back {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition: background-color .3s;
	width: 10px;
}
.menu {
	list-style: none;
	padding: 0 0 0 25px;
	color: #003766;
	font-weight: 500;
	overflow-x: hidden;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 360px;
	margin: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateX(-100%);
	transition: transform .3s;
	will-change: transform;
	backface-visibility: hidden;
}
.nav__showmenu:after{
 content: url(../images/arrow.png);
}
.nav__check:checked~.nav__back {
background-color: rgba(0,0,0,.7);
bottom: 0;
width:100%;
}
.menu__item:hover, .nav__showmenu:hover, .menu__showsub:hover {
	opacity: 0.7;
}
.menu::-webkit-scrollbar {
	display: none;
}
.nav__check:checked + .nav__showmenu {
	color:#ffffff;
}
.nav__check:checked + .nav__showmenu:after {
 content: '';
}
.menu__check:checked~.menu__submenu {max-height: 100vh;}
.menu__check:checked + .menu__showsub {
	transform: rotate(180deg);
}
.nav__check:checked~.menu {transform: translateX(0);}
}
/*Конец Боковой навигации*/
/*Основная часть*/
.row-osnova {
	display: flex;
}
@media screen and (max-width:767px){
.row-osnova {
	display: block;
}
.news {
	display: none;
}
}
.osnova {
	color: #333333;
	padding: 0 30px 20px;
	background: #ffffff;
    color: #333;
    height: 100%;
    -webkit-text-size-adjust: none;
}
.no {
	font-size: 18px;
	font-weight: bold;
	color: #FF0000;
	text-align: center;
}
.osnova a {
	color: #333333;
	font-weight: bold;
	text-decoration: underline;
}
.osnova a:hover {
	color: #f16800;
}
.inform {
	display: inline-block;
	text-align: center;
	margin-right: 5%;
	margin-bottom: 15px;
}
.inform a {
	font-size: 14px;
}
.inform img {
	border-radius: 8px;
}
caption {
	font-weight: bold;
	font-size:18px;
}
.table-responsive {
	width: 100%;
	overflow-y: auto;
	margin: 0 0 32px;
}
td.pole {
	padding: 10px;
	font-weight:400;
}
.cent {
	text-align: center;
}
.c {
	border: 1px solid #C0C0C0;
	padding: 5px;
}
.cc {
	border: 1px solid #C0C0C0;
	padding: 5px;
	background-color: #EAFFEA;
}
table.cent {
	border: 1px solid #C0C0C0;
	margin: 0 auto;
	text-align: center;
	border-collapse: collapse;
	width: 90%;
}
table.centl {
	margin: 0 auto;
	border-collapse: collapse;
}
table.info {
	border: 1px solid #C0C0C0;
	border-collapse: collapse;
}
table.info td {
	text-align: center;
	min-width: 250px;
}
.img-glav {
	position: relative;
	top: -1px;
	right: 0;
	left: 0;
	bottom: 1px;
	margin: auto;
	overflow: auto;
}
@media (max-width:992px){
table.info td {
	text-align: center;
	min-width: 120px;
}
}
td.c1 {
	border: 1px solid #C0C0C0;
	padding: 5px;
	width: 100px;
}
td.cp {
	border: 1px solid #C0C0C0;
	padding: 9px;
}
.l {
	border: 1px solid #C0C0C0;
	padding: 5px 5px 5px 10px;
	text-align: left;
}
.colortr {
	border: 1px solid #C0C0C0;
	padding: 2px;
	background-color: #EAFFEA;
}
.form-delivery {
	display: inline-block;
	margin-right: 2%;
	vertical-align: top;
}
p img {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}
/*Конец основная часть*/
/*Новости*/
.news {
	background: #ffffff;
	margin: 15px;
	padding: 5px 10px;
	color: #333333;
	border-radius: 10px;
	border: 2px solid #003766;
}
.data-news {
	font-style: italic;
}
.text-news a {
	text-decoration: underline;
	cursor: pointer;
	color: #333333;
	font-weight: bold;
	font-style: italic;
}
.text-news a:hover {
	color: #850c0c;
}
/*Конец Новости*/
/* Breadscrumb */
.breadscrumb {
	padding-top: 10px;
	font-size: 12px;
}
.breadscrumb a {
	color: #4D4D4D;
	font-size: 14px;
	font-weight: normal;
	text-decoration: underline;
	padding: 0 5px;
}
/*End-Breadscrumb*/
/*Calculator*/
.select-outer {
	background-color: #fff;
	border: 1px solid #252525;
	width: 177px;
	height: 37px;
	overflow: hidden;
	display: inline-block;
	position: relative;
}
.block1 {
	padding-bottom: 17px;
	height: 170px;
}
.fmsm-box {
	display: none;
}
.box-weight-count {
	display: block;
}
.block1 .area1 {
	float: left;
	margin-right: 21px;
}
.block1 .area2 {
	float: left;
	margin-right: 21px;
}
.select-outer select {
	font-family: sans-serif;
	font-weight: bold;
	color: #252525;
	padding-left: 5px;
}
select {
	width: 177px;
	border: none;
	height: 37px;
	line-height: 22px;
	position: relative;
	background: none;
	z-index: 100;
}
.select-outer .select-button {
	background: url(../images/arrows.png) center center no-repeat;
	height: 10px;
	width: 19px;
	position: absolute;
	right: 10px;
	top: 13px;
	bottom: 0;
	z-index: 50;
}
.block1 .area3 {
	float: left;
}
.block2 {
	padding-bottom: 17px;
}
@media (min-width: 671px) and (max-width: 910px) {
.block2 {
	margin-top: 90px;
}
}
@media (min-width: 596px) and (max-width: 670px) {
.block2 {
	margin-top: 180px;
}
}
@media (min-width: 421px) and (max-width: 595px) {
.block2 {
	margin-top: 90px;
}
}
@media screen and (max-width: 420px) {
.block2 {
	margin-top: 180px;
}
}
.block2 .area1 {
	float: left;
	margin-right: 23px;
}
#calculator p, .calculator p {
	color: #252525;
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 600;
}
.area-input {
	background-color: #fff;
	border: 1px solid #252525;
	width: 177px;
	height: 35px;
	font-family: sans-serif;
	font-weight: bold;
	padding-left: 5px;
}
.block2 .area2 {
	float: left;
	margin-right: 24px;
}
.area2 span {
	font-family: sans-serif;
}
.block2 .area3 {
	float: left;
}
.fmsm-box {
	display: none;
}
.box-weight-count {
	display: block;
}
.calculator {
	height: auto !important;
}
.calculator .results {
	display: inline-block;
	padding: 5px 10px;
	background: #FFF;
	border: 1px solid #ddd;
}
.box-switch-active {
	color: #bbb!important;
	text-decoration: none;
}
.button-calc-block1 {
	width: 177px;
}
.button-calc-block1, .button-calc-block2, .wpcf7-submit {
	background: #002d5b;
	background: #002d5b -webkit-gradient(linear, left top, left bottom, from(#2369b0), to(#002d5b)) no-repeat;
	background: #002d5b -moz-linear-gradient(top, #2369b0, #002d5b) no-repeat;
	text-align: center;
	padding: 5px 10px;
	color: #ffffff;
	font-size: 18px;
	text-transform: uppercase;
	border: 0 solid;
	cursor: pointer;
	font-family: sans-serif;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 160px;
}
/*End Calculator*/
/*Footer*/
footer {
	background: #293241;
	color: #ffffff;
	line-height: 1.5;
}
.logo-foot {
	padding: 0 0 0 0;
	margin-left: -15px;
}
.ssylki a {
	font-size: 18px;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	line-height: 2;
}
.ssylki {
	list-style-type: none;
}
.social a {
	display: inline-block;
}
/*Конец Footer*/
/*Обратная связь*/
.button-modal {
padding: 7px 11px;
text-align: center;
color: #fff;
background: #f16800;
cursor: pointer;
border-radius: 5px;
font-size:100%;
position:relative;
border:0 transparent;
}
.button-modal:hover {
background: #d35d03;
}
/*Конец Обратной связи*/
ul.line-height li {
padding: 3px 0;
}
/*Конец Плавающая кнопка "Купить"*/
.warning{
color: #dd010d;
}
img {
    content-visibility: auto;
}
.phone-footer a{
color:#ffffff;
text-decoration:none;
}
.phone-footer{
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
/*Страница Производство*/
 .sect-pro {
    padding: 40px 20px;
    text-align:center;
  }
  .sect-pro ul, .sect-pro ul li, .sect-pro ol, .sect-pro ol li{
text-align:left;
}
 .cont-pro .sect-pro:nth-of-type(even){
    background-color: #f1f1f1;
  }
 .cont-pro .sect-pro:nth-child(odd) {
    background-color: #ffffff;
  }
   
  .cont-pro h1, .cont-pro h2, .cont-pro h3 { color: #003f7f; margin-top: 0; }
  .hero-clean {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 40px;
}

.hero-content {
  flex: 1;
  min-width: 280px;
  padding-right: 20px;
}

.hero-content h1 {
  color: #2369B0;
  font-size: 32px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

.btn-main {
  background-color: #2369B0;
  color: #ffffff!important;
  padding: 12px 25px;
  font-weight: bold;
  text-decoration: none!important;
  border-radius: 6px;
  display: inline-block;
}

.hero-image {
  flex: 1;
  text-align: center;
  min-width: 280px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Адаптивность: изображение уходит под текст */
@media (max-width: 768px) {
  .hero-clean {
    flex-direction: column;
    background: #ffffff;
  }

  .hero-content, .hero-image {
    padding: 10px 0;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .btn-main {
    width: 100%;
    max-width: 280px;
  }
  .btn-main:hover {
  background-color: #002d5b;
}

} .btn-dark {
    display: inline-block;
    margin-top: 40px;
    padding: 20px 70px;
    background: #005baa;
    color: #fff!important;
    border: none;
    text-decoration: none!important;
    border-radius: 4px;
  }
  .btn-dark a{
color:#ffffff!important;
text-decoration:none!important;
}
.btn-dark:hover {
  background-color: #002d5b;
}

  .video, .equipment-gallery {
    text-align: center;
  }
  .equipment-gallery img {
    max-width: 200px;
    margin: 10px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
  .table-pro {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  table.table-pro th, table.table-pro td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
  }
  .form-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  form input, form textarea, form button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
  }
  input::placeholder, textarea::placeholder {
      color: #888;
      opacity: 1;
    }
  form button {
    background: #005baa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size:20px;
    padding:20px;
  }
 .card-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: space-between;
    }
    .card {
      width: calc(33.333% - 55px);
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 4px;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 0 5px rgba(0,0,0,0.05);
    }
    .card img {
      width: 100%;
      height: auto;
    }
    .card-caption {
      padding: 10px;
      font-size: 14px;
    }
    .production-exceptions {
      margin-top: 40px;
      padding: 20px;
      font-size: 12px;
      color: #666;
    }@media (max-width: 1024px) {
  .card { width: calc(33.333% - 14px); }
}
@media (max-width: 768px) {
  .card { width: calc(50% - 10px); }
}
@media (max-width: 480px) {
  .card { width: 100%; }
}
.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding: 15px 20px;
  background-color: #f3f7fc;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  text-align: center;
  flex-direction: row;
}
.contact-buttons p {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 12px;
  color: #003f7f;
}
.contact-buttons1 p{
font-size: 20px;
  font-weight: bold;
  margin: 0 0 12px;
  color: #003f7f;

}
.contact-buttons a img {
  width: 40px;
  height: auto;
  transition: transform 0.2s ease;
  display: inline-block;
}
.contact-buttons a:hover img {
  transform: scale(1.1);
}
/*Конец Страница Производство*/
/* Новое боковое меню .menu-cat ----- ОБЩИЕ СТИЛИ ----- */
.menu-cat {
  padding-right: 0;
}
.menu-cat__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-cat__list li a {
  display: block;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  background-color: #003766;
  transition: background 0.3s ease;
  border-bottom: 1px solid #ffffff22;
}
.menu-cat__list li:first-child a {
  background-color: #003766;
  color:#ffffff;
}
.menu-cat__list li a:hover {
  background: #003766;
  color:#ffffff;
}
.menu-cat__list li:first-child a:hover {
  background-color: #f16800;
  color:#003766;
}
/* ----- ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (МЕНЮ СЛЕВА, ПОВЕРХ СТРАНИЦЫ) ----- */
@media screen and (max-width: 991px) {
  .nav-cat {
    position: relative;
    z-index: 10000;
  }
  .nav-cat__check,
  .nav-cat__back {
    display: none;
  }
  .nav-cat__showmenu {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    color: #003766;
    border-bottom: 2px solid #f16800;
    cursor: pointer;
    z-index: 10001;
  }
  .nav-cat__check:checked ~ .nav-cat__back {
    display: block;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
  }
  .menu-cat__panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    background-color: #003766;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10002;
    overflow-y: auto;
  }
  .nav-cat__check:checked ~ .menu-cat__panel {
    transform: translateX(0);
  }
  .nav-cat__check:checked + .nav-cat__showmenu::after {
    content: url(../images/close-menu.png);
    margin-left: auto;
  }
}
/* ----- ДЛЯ ЭКРАНОВ >= 992px: СТАРЫЙ ВАРИАНТ МЕНЮ ----- */
@media screen and (min-width: 992px) {
  .menu-cat__panel {
    position: static;
    height: auto;
    background: none;
    transform: none !important;
    display: block !important;
  }
  .menu-cat__list li a {
    padding: 10px 20px;
    font-size: 16px;
    color: #003766;
    background-color: #ffffff;
    border-bottom: 2px solid #f16800;
  }
  .menu-cat__list li a:hover {
    background: #003766;
    color: #ffffff;
  }
  .nav-cat__showmenu,
  .nav-cat__back,
  .nav-cat__check {
    display: none !important;
  }
}
.footer {
  background: #2a2a2a;
  color: #fff;
  font-size: 14px;
  padding: 40px 20px 20px;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: none;
}
.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}
.footer-top .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-top .row > div {
  min-width: 180px;
  flex: 1;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 13px;
}
.footer-bottom .text-right {
  text-align: right;
}
@media (max-width: 991px) {
  .footer-top .row > div {
    flex: 1 1 45%;
  }
  .footer-bottom .text-right {
    text-align: left;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .footer-top .row > div {
    flex: 1 1 100%;
  }
}
/*Меню для главной*/
.nav-cat2 {
  position: relative;
  display: inline-block;
  z-index: 1000;
}

/* Кнопка Каталог */
.nav-cat2__showmenu {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #ffffff;
  color: #003766;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size:20px;
}
.nav-cat2__showmenu img {
  margin-right: 10px;
  height: 50px;
}
/* Скрыто по умолчанию */
.nav-cat2__list {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 340px;
  font-size:20px;
  background-color: #ffffff;
  padding: 0;
  margin: 0;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-cat2__check {
  display: none;
}
/* Анимация появления */
.nav-cat2__list.active {
  display: block;
  opacity: 1;
  visibility: visible;
}
.nav-cat2__list li {
  list-style: none;
  border-bottom: 1px solid #666666;
}
.nav-cat2__list li:last-child {
  border-bottom: none;
}
.nav-cat2__list li a {
  display: block;
  padding: 12px 18px;
  color: #003766;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}
.nav-cat2__list li a:hover {
  background-color: #f0f0f0;
  color: #f16800;
}
/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
  .nav-cat2 {
    width: 100%;
  }
  .nav-cat2__showmenu {
    width: 100%;
    justify-content: start;
    font-size: 18px;
  }
  .nav-cat2__list {
    width: 100%;
    left: 0;
    border-radius: 0;
  }
  .nav-cat2__list li a {
    font-size: 16px;
    padding: 14px;
  }
}
.menu-cat2 {
  position: relative;
  display: inline-block;
}
.menu-cat2__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 340px;
  padding: 0;
  margin: 0;
  background: white;
  border: 1px solid #ccc;
  list-style: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.menu-cat2__list.open {
  display: block;
}
.menu-cat2__list li {
  border-bottom: 1px solid #eee;
  text-align:left;
}
.menu-cat2__list li a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #003766;
  font-weight: normal;
  background: white;
  transition: background 0.2s, color 0.2s;
}
.menu-cat2__list li:first-child a {
  background: #f16800;
  color: #fff;
}
.menu-cat2__list li a:hover {
  background: #f16800;
  color: #fff;
}
/* === MOB: topbar = 2 строки: [logo | phone] / [search] === */
@media (max-width: 767px){
  /* Сетка у самой topbar */
  .topbar{
    display:grid;
    grid-template-columns:auto 1fr;       /* слева логотип, справа контакты */
    grid-template-areas:
      "logo contacts"
      "search search";
    align-items:center;
    column-gap:12px;
    row-gap:4px;
    padding:4px 10px;
  }
  /* Привязываем ТВОИ колонки к областям сетки */
  .topbar > .col-lg-2{ grid-area:logo; display:flex; align-items:center; }
  .topbar > .search-head{ grid-area:search; }         /* d1 — вторая строка */
  .topbar > .finish-head{                              /* phone — справа в 1-й строке */
    grid-area:contacts;
    display:flex !important;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:nowrap;
    gap:3px;
  }
  /* Логотип компактно по высоте */
  .topbar .logo{ padding:0; }
  .topbar .logo img{ max-height:48px; height:auto; width:auto; }

  /* Поиск — на всю ширину второй строки (перекрываем 350px) */
  .topbar .d1{ width:100% !important; margin:0; padding-top:0; }
  .topbar .d1 form{ width:100% !important; margin:0; }

  /* Выровнять baseline -> center, чтобы ряд ниже не распирался */
  .phone{ align-items:center; padding-top:0; }

  /* Телефон: показываем синюю трубку в синем кружке, цифры прячем (только мобайл) */
  .topbar .phone > a[href^="tel:"]{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px; height:40px;
    background:#fff;
    text-decoration:none;
  }
  .zifry{
	display:none;}
}
}
/* === MOBILE FIX: иконки рядом с логотипом, без «улёта» вправо === */
@media (max-width: 767px){
  /* 1) Убираем горизонтальный зазор между колонками topbar */
  .topbar{
    column-gap: 0;   /* было 12px — из-за него ряд визуально «расползался» */
  }
  /* 2) Колонка с phone (у тебя это .col-lg-4) — выравниваем влево */
  .topbar > .col-lg-5{
    justify-content: flex-start !important;  /* было flex-end */
    justify-self: start;                     /* на случай грид-логики */
    align-self: center;
    min-width: 0;
    padding-left: 1px;                       /* лёгкий сдвиг от логотипа */
  }
  /* 3) Внутри phone убираем влияние &nbsp; и держим всё в одну строку */
  .topbar .phone{
    display: flex;
    align-items: center;
    gap: 8px;           /* управляемый интервал между круглыми значками */
    padding: 0;
    margin: 0;
    font-size: 0;        /* «анонимные» текстовые узлы (в т.ч. &nbsp;) теряют ширину */
    white-space: nowrap; /* запретить перенос иконок на новую строку */
  }
  .topbar .phone a{ font-size: 16px; }   /* возвращаем нормальный контекст шрифта для ссылок */
  /* 4) Поиск — остаётся второй строкой на всю ширину (как и было) */
  .topbar .d1{ width:100% !important; margin:0; }
  .topbar .d1 form{ width:100% !important; }
}
@media (max-width: 767px){
  .topbar .finish-head .add_palitra{
    position: relative;
    left: -10px;
    top: 3px;
  }
}
/*Боковое меню*/
.aside {
  position: relative;
  float: left;
}
@media (max-width: 992px) {
  .aside {
    position: inherit;
    float: none;
    width: 100%;
    margin-top: 0;
  }
  .osnova {
    float: none;
    width: 100%;
  }
}
/* === FIXED header + topbar; sticky menu-cat (desktop); fixed "Каталог" (mobile) === */
:root{
  /* Фолбэк-значения; точные подставит JS ниже (опц.) */
  --hdr-h: 56px;
  --topbar-h: 110px;
}
/* Шапка всегда наверху */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 3000;
  background: #003766; /* чтобы не просвечивал контент */
}
/* Topbar под шапкой — тоже фиксированный */
.topbar{
  position: fixed;
  top: var(--hdr-h);
  left: 0; right: 0;
  z-index: 2950;
  background: #fff;
}
/* Контент ниже фиксированной шапки */
body{
  padding-top: calc(var(--hdr-h) + var(--topbar-h));
}
/* Десктоп: левое меню прилипает под шапкой */
@media (min-width: 992px){
  .row-osnova{ display: flex; align-items: flex-start; }
  .aside .menu-cat{
    position: -webkit-sticky; position: sticky;
    top: calc(var(--hdr-h) + var(--topbar-h) + 12px);
  }
}
/* Мобилка: кнопку "Каталог" фиксируем под шапкой */
@media (max-width: 991px){
  .aside, .aside .menu-cat{ position: static; } /* отключаем sticky у колонки */
  .nav-cat__showmenu{
    position: fixed;
    top: calc(var(--hdr-h) + var(--topbar-h) + 6px);
    left: 12px;
    z-index: 10001; /* панель каталога = 10002 — будет поверх */
    width: auto;
  }
  /* т.к. кнопка фиксирована, добавим доп. отступ, чтобы не наползала на первый блок */
  body{ padding-top: calc(var(--hdr-h) + var(--topbar-h) + 56px); }
}
/* Якоря не уезжают под фиксированную шапку */
:target{ scroll-margin-top: calc(var(--hdr-h) + var(--topbar-h) + 16px); }
/* ===== MOBILE: "Каталог" — полноширинный бар; меню и подложка = top:0 поверх всего ===== */
:root{
  --hdr-h: 56px;
  --topbar-h: 110px;
  --catbar-h: 48px;
}
@media (max-width: 991px){
  /* Полоса "Каталог" на всю ширину, фиксируем под шапкой */
  .nav-cat__showmenu{
    position: fixed;
    top: calc(var(--hdr-h) + var(--topbar-h));
    left: 0; right: 0; width: 100%;
    height: var(--catbar-h);
    display: flex; align-items: center; gap: 10px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 2px solid #f16800;
    font-size: 18px; font-weight: 600; color: #003766;
    z-index: 2900; /* ниже шапки (3000), ниже overlay/панели (10000+) */
  }
  /* Контент сдвигаем ниже фиксированного бара "Каталог" */
  body{
    padding-top: calc(var(--hdr-h) + var(--topbar-h) + var(--catbar-h));
  }
  /* ==== ВАЖНО: при открытии меню overlay и панель перекрывают всё ==== */
  /* Подложка - с самого верха окна, закрывает шапку */
  .nav-cat__back{
    display: none;
  }
  .nav-cat__check:checked ~ .nav-cat__back{
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,.5);
    z-index: 10001; /* > шапки/бара, < панели */
  }
  /* Панель каталога — с самого верха окна, поверх шапки и подложки */
  .menu-cat__panel{
    position: fixed;
    top: 0; left: 0;
    width: 320px;
    height: 100vh;
    overflow-y: auto;
    background-color: #003766;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 10002; /* поверх всего */
  }
  /* Открытое состояние панели */
  .nav-cat__check:checked ~ .menu-cat__panel{
    transform: translateX(0);
  }
  /* Отключаем любые мобильные sticky у колонки/меню (если были) */
  .aside, .aside .menu-cat{ position: static !important; top: auto !important; }
}
:root{
  /* Цвета TDM-НЕВА */
  --fd-accent: #003766;     /* тёмно-синий */
  --fd-text:   #0a0f1a;
  --fd-bg:     #ffffff;
  --fd-border: #a2a2a2;
  --fd-error:  #ef0712;
  /* CTA */
  --cta-bg:       #ff6a00;
  --cta-bg-hover: #e85f00;
  --cta-text:     #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.15);
  /* сетка страницы (подгоните при необходимости) */
  --page-max-w: 1240px;
  /* моб-бар */
  --cta-mobile-h: 64px;
}
/* ---------- Модалка ---------- */
.feedback-dialog{
  /* адаптивная ширина и отсутствие горизонтального скролла */
  inline-size: clamp(320px, 92vw, 560px);
  max-inline-size: 100%;
  overflow-x: hidden;
  background: var(--fd-bg);
  color: var(--fd-text);
  border: none;
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow);
}
.feedback-dialog::backdrop{ background: rgba(0,0,0,.45); }
/* fallback, если нет .showModal() */
.feedback-dialog[open]{ display:block; }
.feedback-dialog[open]::before{
  content:""; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index:-1;
}
/* Компоновка и прокрутка содержимого */
#feedback-form{ display: flex; flex-direction: column; max-inline-size: 100%; }
.fd-head, .fd-footer{ flex: 0 0 auto; }
.fd-body{ flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 20px 6px; background:#ffffff }
/* Шапка и крестик справа */
.fd-head{
  position: relative;
  padding: 18px 20px;
  border-bottom: 1px solid var(--fd-border);
  padding-right: 48px; /* место под крестик */
  background:#ffffff;
}
.fd-head h2{ margin: 0; font-size: 22px; font-weight: 800; color: var(--fd-accent); }
.fd-close{
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 8px; cursor: pointer;
  font-size: 22px; color: #6b7280; transition: background .15s, color .15s;
}
.fd-close:hover{ background: #ffffff; color: #f16800; }
.fd-footer{
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 14px 20px 20px; border-top: 1px solid var(--fd-border);
  background:#ffffff;
}
/* Поля */
.input-group{ display: grid; gap: 4px; }
.input-group label{ font-weight: 600; font-size: 14px; }
.input-group input, .input-group textarea{
  width: 100%; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--fd-border); outline: none; font-size: 16px;
  box-sizing: border-box;
}
.input-group input:focus, .input-group textarea:focus{
  border-color: var(--fd-accent); box-shadow: 0 0 0 3px rgba(0,28,62,.12);
}
.hint{ color:#6b7280; font-size:12px; }
.error{ color: var(--fd-error); font-size: 12px; }
/* Кнопки формы */
.btn-submit{
  background: #003766; color: #fff; border: 0; border-radius: 12px;
  padding: 13px 20px; font-weight: 500; cursor: pointer;
}
.btn-submit:hover{ filter: brightness(1.05); }
.btn-secondary{
  background: #ffffff; color:#003766; border:0; border-radius:12px; padding:13px 20px; cursor:pointer;
}
.btn-secondary:hover{ filter: brightness(0.98); }
/* honeypot */
.hp{ position: absolute !important; left: -10000px !important; opacity: 0 !important; height: 0 !important; }
/* Чипы выбора способа связи */
.segmented-group{
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; border: 0; padding: 0;
}
.segmented-group input[type=radio]{ position: absolute; opacity: 0; pointer-events: none; }
.segmented-group label{
  user-select: none; cursor: pointer; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--fd-border); font-weight: 600; font-size: 14px;
  color:#374151; background: #fff;
}
.segmented-group input[type=radio]:checked + label{
  background: #003766; border-color: #003766; color: #ffffff;
}
/* Мелкие правки под совсем узкие экраны */
@media (max-width: 480px){
  .fd-head{ padding-right: 44px; }
  .fd-head h2{ font-size: 18px; }
  .fd-close{ top: 8px; right: 8px; width: 32px; height: 32px; font-size: 20px; }
  .btn-submit, .btn-secondary{ padding: 11px 16px; }
}
/* Блок согласия */
.accept{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 12px;
  font-size: 13px;
  line-height: 1.35;
}
.accept input[type=checkbox]{
  inline-size: 18px;
  block-size: 18px;
  margin-top: 2px;
}
.accept a{
  color: var(--fd-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Запрещаем клик по неактивной кнопке и визуально это показываем */
.btn-submit:disabled{
  opacity: .6;
  cursor: not-allowed;
  filter: none;
}
/* Yandex Site Search: прячем форму до инициализации, чтобы не видеть дефолтную кнопку */
.ya-site-form:not(.ya-site-form_inited_yes){ 
  visibility: hidden;
}
/* Когда виджет готов — показываем (можно добавить плавное появление) */
.ya-site-form.ya-site-form_inited_yes{ 
  visibility: visible; 
  /* animation: fade .15s ease;  при желании */
}
/* Чтобы не было скачка макета, фиксируем высоту контейнера под вашу верстку */
.d1 .ya-site-form{ 
  min-height: 40px;      /* высота поля, как в вашей .d1 */
  width: 100%;
}
/* === CATALOG: отключаем липкое меню на десктопе === */
@media (min-width: 992px){
  .template-catalog .aside .menu-cat,
  .template-catalog .aside .menu-cat__panel{
    position: static !important;
    top: auto !important;
  }
}
:root{
  /* CTA-кнопки (buy/ask) */
  --cta-right: 16px;               /* отступ от правого края */
  --cta-bottom-desktop: 16px;      /* отступ снизу (десктоп) */
  --cta-bottom-mobile: 12px;       /* отступ снизу (мобила) */
  --cta-gap: 10px;                 /* зазор между кнопками в стопке */
  --cta-ask: #f16800;              /* "Задать вопрос" — оранжевая (старый фон) */
  --cta-ask-hover: #d35d03;        /* hover для .button-modal */
  --cta-ico-d: 30px;                 /* размер иконки на десктопе */
  --cta-ico-m: 28px;                 /* размер иконки на мобиле */
  --cta-buy-bg: #003766;             /* "Купить" — красная */
}
/* ====== Cards grid (инструменты) ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin: 20px 0 30px;
}
.card1 {
  display: block;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.card1:focus-within,
.card1:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-color: #cfe0f1;
}
.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card__img {
  aspect-ratio: 4 / 3;          /* аккуратный CLS */
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__img img {
  max-width: 100%;
  height: auto;
  display: block;
}
.card__body {
  padding: 12px 14px 16px;
}
.card__title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #003766;               /* фирменный цвет */
}
.card__desc {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  color: #2a2a2a;
}
/* Мелкие экраны */
@media (max-width: 480px) {
  .cards { gap: 14px; }
  .card__title { font-size: 15px; }
  .card__desc  { font-size: 13px; }
}
/* Убираем clearfix-«призраков» у сетки */
.cards::before,
.cards::after {
  content: none !important;
  display: none !important;
}
/* Визуальный стиль под h3 */
.h3{
  font-size: 1.25rem;          /* ~20px */
  line-height: 1.35;
  font-weight: 700;
  margin: 1.2em 0 .6em;
  color: #ffffff;              /* фирменный синий */
}
/* Чуть крупнее на широкой вёрстке */
@media (min-width: 992px){
  .h3{ font-size: 1.375rem; }  /* ~22px */
}
/* Базовые размеры и выравнивание */
.topbar .phone { display:flex; align-items:center; gap:10px; }
.topbar .phone .ico { display:inline-block; vertical-align:middle; }
/* По умолчанию показываем десктопную версию, мобильную прячем */
.topbar .phone .ico--desktop { display:inline-block; }
.topbar .phone .ico--mobile  { display:none; }
/* Мобилка: показываем 28px, прячем 40px */
@media (max-width: 767px){
  .topbar .phone .ico--desktop { display:none !important; }
  .topbar .phone .ico--mobile  { display:inline-block !important; }
  /* на всякий случай глушим старые псевдо-иконки */
  .topbar .phone a[href^="mailto:"]::before,
  .topbar .phone a[href*="wa.me"]::before,
  .topbar .phone a[href*="t.me"]::before { content:none !important; }
}
/* ================== CTA финал: "Купить" + "Задать вопрос" ================== */
.add_palitra{
  position: static;
    right: auto;
    bottom: auto;
    top: auto;
    left: auto;
    z-index: auto;
    margin: 0;
    display: inline-block;                  
}
.add_palitra .button-buy{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 44px;
  line-height: 44px;
  padding: 0 14px;
  border-radius: 25px;
  color: #fff;
  font-size:15px;
  text-decoration: none;
  border: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  background: #25D366;
  /* фон и hover эта кнопка получает из ваших правил .button-modal — их не трогаем */
}
.add_palitra .button-buy:hover{
background: #1ebe5d;
}
.add_palitra .button-buy img{
  width: var(--cta-ico-d); height: var(--cta-ico-d); margin-right: 8px;
}
/* ---------- "Купить" (отдельная ссылка, НЕ .add_palitra) ---------- */
.cta-buy-btn{
  position: fixed;
  right: var(--cta-right);
  z-index: 10002;                    /* выше, чем "Вопрос" */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 44px;
  line-height: 44px;
  padding: 0 14px;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  background: var(--cta-buy-bg);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.cta-buy-btn:hover{ filter: brightness(.95); }
.cta-buy-btn img{ width: var(--cta-ico-d); height: var(--cta-ico-d); margin-right: 8px; }

/* ---------- Раскладка по брейкпоинтам ---------- */
/* Десктоп (≥992px): СПРАВА СНИЗУ СТОПКОЙ — [Купить] ВЫШЕ, [Вопрос] НИЖЕ */
@media (min-width: 992px){
  /* НИЖЕ — "Задать вопрос" */
  .add_palitra{ bottom: var(--cta-bottom-desktop); left:auto; top:auto; }
  /* ВЫШЕ — "Купить" (на высоту кнопки + зазор) */
  .cta-buy-btn{ bottom: calc(var(--cta-bottom-desktop) + 44px + var(--cta-gap)); left:auto; top:auto; }
}
/* Мобилка (<992px): тоже СПРАВА СНИЗУ СТОПКОЙ, но ТОЛЬКО ИКОНКИ */
@media (max-width: 991.98px){
  .cta-buy-btn{ bottom: calc(env(safe-area-inset-bottom,0) + var(--cta-bottom-mobile) + 44px + var(--cta-gap)); }
  /* на мобиле скрываем подписи и делаем компактнее */
  .cta-buy-btn{
    min-width: auto; width: auto;
    height: 44px; line-height: 44px; padding: 6px 6px; border-radius: 10px;
  }
  .cta-buy-btn .cta-buy-text{ display: none; }
  .cta-buy-btn img{ width: var(--cta-ico-m); height: var(--cta-ico-m); margin:0; }
}
@media (min-width: 1200px){
  .topbar{ margin-right: 10px !important; }
header, .header{ margin-right: 10px !important; }
/* Скрытие - Скрол бара (ScrollBar) */
::-webkit-scrollbar-button {
background-image:url('');
background-repeat:no-repeat;
width:5px;
height:0px
}
::-webkit-scrollbar-track { background-color:#ecedee;}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 0px;
border-radius: 0px;
background-color:#f16800;
}
::-webkit-scrollbar-thumb:hover{ background-color:#003766;}
::-webkit-resizer{
background-image:url('');
background-repeat:no-repeat;
width:4px;
height:0px
}
::-webkit-scrollbar{ width: 10px;}
}
@media (max-width: 767px){

  /* правая колонка topbar */
  .topbar > .finish-head{
    display: flex !important;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  /* внутри: 1 строка иконки, 2 строка кнопка */
  .topbar .finish-head .phone{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
    padding-top: 0;
    margin: 0;
    font-size: 0;
    padding-right:3px;
  }

  /* телефон, почта, tg - верхняя строка */
  .topbar .finish-head .phone > a[href^="tel:"],
  .topbar .finish-head .phone > a.icon-mail,
  .topbar .finish-head .phone > a.icon-tg{
    order: 1;
  }

  .topbar .finish-head .phone > a[href^="tel:"]{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    text-decoration: none;
  }

  .topbar .finish-head .phone > a[href^="tel:"] .zifry{
    display: none;
  }

  .topbar .finish-head .phone > a[href^="tel:"] img{
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .topbar .finish-head .icon-mail,
  .topbar .finish-head .icon-tg{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }

  .topbar .finish-head .ico--desktop{
    display: none !important;
  }

  .topbar .finish-head .ico--mobile{
    display: inline-block !important;
    width: 28px;
    height: 28px;
  }

  /* сама зелёная кнопка - вторая строка, отдельно */
  .topbar .finish-head .add_palitra{
    order: 2;
    display: block;
    width: auto;
    margin: 6px 0 0 auto;
  }

  .topbar .finish-head .add_palitra .button-buy{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: auto;
    height: 36px;
    line-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    white-space: nowrap;
  }

  .topbar .finish-head .add_palitra .button-buy img{
    width: 18px;
    height: 18px;
    margin-right: 6px;
  }
}
.file-list{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.file-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border:1px solid #d7dce3;
  border-radius:8px;
  background:#fff;
  color:#003766;
  font-size:14px;
}

.file-item-name{
  overflow:hidden;
  text-overflow:inherit;
  white-space:nowrap;
}

.file-remove{
  border:0;
  background:transparent;
  color:#d33;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  padding:0 4px;
}
/*Куки*/
.tdm-cookie-notice {
    position: fixed;
    left: 24px;
    right: 240px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
    margin: 0;
    padding: 18px 22px;
    background: #ffffff;
    color: #222222;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    border-radius: 25px;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tdm-cookie-notice[hidden] {
    display: none !important;
}

.tdm-cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tdm-cookie-notice__text {
    flex: 1 1 auto;
}

.tdm-cookie-notice__link {
    color: #f16800;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.tdm-cookie-notice__link:hover {
    text-decoration: none;
}

.tdm-cookie-notice__btn {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 11px 22px;
    border: 1px solid #f16800;
    border-radius: 25px;
    background: #f16800;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tdm-cookie-notice__btn:hover {
    background: #ffffff;
    color: #f16800;
}

@media (max-width: 1100px) {
    .tdm-cookie-notice {
        right: 24px;
        bottom: 90px;
    }
}

@media (max-width: 767px) {
    .tdm-cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 80px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .tdm-cookie-notice__btn {
        width: 100%;
    }
}
/*Конец куки*/
/*Политика*/
/* === Policy page: tdm-neva.ru === */

.neva-policy {
    --neva-blue: #003766;
    --neva-green: #f16800;
    --neva-text: #263238;
    --neva-muted: #66717a;
    --neva-bg: #f4f8fb;
    --neva-border: #d8e4ec;

    color: var(--neva-text);
    font-size: 16px;
    line-height: 1.65;
}

.neva-policy * {
    box-sizing: border-box;
}

.neva-policy a {
    color: var(--neva-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.neva-policy a:hover {
    color: var(--neva-green);
    text-decoration: none;
}

.neva-policy h1 {
    margin: 0 0 16px;
    color: var(--neva-blue);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

.neva-policy h2 {
    margin: 0 0 18px;
    color: var(--neva-blue);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.neva-policy p {
    margin: 0 0 14px;
}

.neva-policy__hero {
    margin: 0 0 28px;
    padding: 26px 30px;
    background: linear-gradient(135deg, rgba(0, 55, 102, 0.08), rgba(11, 122, 53, 0.08));
    border: 1px solid var(--neva-border);
    border-radius: 14px;
}

.neva-policy__subtitle {
    max-width: 900px;
}

.neva-policy__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.neva-policy__badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    color: var(--neva-blue);
    background: #ffffff;
    border: 1px solid var(--neva-border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.neva-policy__section {
    margin: 0 0 22px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid var(--neva-border);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(0, 55, 102, 0.06);
}

.neva-policy__section--accent {
    border-left: 5px solid var(--neva-green);
}

.neva-policy__list {
    margin: 0;
    padding-left: 22px;
}

.neva-policy__list li {
    margin: 0 0 10px;
    padding-left: 4px;
}

.neva-policy__list li:last-child {
    margin-bottom: 0;
}

.neva-policy__contacts {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.neva-policy__contact-card {
    padding: 16px 18px;
    background: var(--neva-bg);
    border: 1px solid var(--neva-border);
    border-radius: 12px;
}

.neva-policy__contact-title {
    margin-bottom: 5px;
    color: var(--neva-blue);
    font-weight: 700;
}

.neva-policy__note {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--neva-bg);
    border-left: 4px solid var(--neva-green);
    border-radius: 10px;
}

@media (max-width: 767px) {
    .neva-policy {
        font-size: 15px;
        line-height: 1.55;
    }

    .neva-policy h1 {
        font-size: 27px;
    }

    .neva-policy h2 {
       font-size: 20px;
    }

    .neva-policy__hero,
    .neva-policy__section {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .neva-policy__contacts {
        grid-template-columns: 1fr;
    }
}
/*Конец политика*/