@import url('https://fonts.googleapis.com/css?family=Roboto');
* {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
html,body {margin: 0; padding: 0;}
body {font-family: 'Roboto', sans-serif; background: #cca67b url('space/humanistic.jpg');}
div {color: #111; font-size: 16.5px; font-weight: normal; letter-spacing: 0; line-height: 20px;}
a {color: #111; text-decoration: underline; transition: .15s ease-in;}
a:hover {color: #000;}
h1 {padding: 2px 0 8px; font-size: 28px; font-weight: normal; color: #3c4f87; margin: 0 0 5px 0; letter-spacing: -1px; line-height: 28px; text-align: center;}

/* main */

.humanistic {margin: 0 auto; min-width: 1000px; max-width: 1200px; background-color: #f6f5f3; box-shadow: 0 0 20px rgba(0,0,0,.55);}
.basic {position: relative; background: #f2ece8 url('space/basic.jpg') no-repeat; height: 171px; box-shadow: 0 2px 6px rgba(0,0,0,.5);}
.advise {position: relative; display: inline-block; margin: 0 0 0 5px;}

/* contacts */

.phone {position: relative; display: inline-block; text-align: center; margin: 0 auto; vertical-align: top; z-index: 2; top: 7%; left: 9%;}
.phone ul {list-style: none; margin: 0; padding: 0;}

.phone li {
	display: block;
	width: 210px;
	color: #993c3d;
	font-size: 20px;
	line-height: 20px;
	font-weight: bold;
	letter-spacing: -0.3px;
	background-color: #fff;
	border-radius: 6px;
	position: relative;
	box-shadow: 0 2px 4px rgba(0,0,0,.25);
	padding: 6px 0 6px 27px;
	margin: 6px 0 12px 0;
}

.phone li.tel1::before, .phone li.tel2::before, .phone li.mail::before {position: absolute; content: ''; top: -5px; left: -10px; width: 46px; height: 46px;}
.phone li.tel1::before {background: url('space/tel1.png') no-repeat; }
.phone li.tel2::before {background: url('space/tel-wa.png') no-repeat;}
.phone li.mail::before {background: url('space/mail.png') no-repeat;}
.phone li.mail span {font-size: 17px; line-height: 17px; top: -2px; position: relative;}
.phone li.mail a, .phone li.tel1 a, .phone li.tel2 a {color: #993c3d;}
.phone li.mail a:hover, .phone li.tel1 a:hover, .phone li.tel2 a:hover {text-decoration: none;}

/* content */

.invention {position: relative; display: table; width: 100%;}
.militant, .division {display: table-cell; vertical-align: top;}
.division {width: 256px;}
.deficiency, .menu {margin: 10px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); border-radius: 6px;}
.deficiency {text-align: justify; padding: 6px 12px; margin-left: 0;}
.deficiency img {box-shadow: 0 1px 4px rgba(0,0,0,.4); border-radius: 2px; display: flex; margin: 0 auto -20px;}

/* menu */

.menu img {vertical-align: middle; margin-right: 5px; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.3);}
.menu ul {padding: 0 0 10px; margin: 0 7px; list-style: none;}
.menu li {font-weight: bold; padding: 3px 0 3px 2px; border-bottom: 1px solid #ddd; box-shadow: 0px 2px 0 #efefef; border-radius: 4px; margin-bottom: 2px;}
.menu li a {color: #29241a; font-size: 0.8em;}
.menu li a:hover {color: #364e96; text-decoration: none;}
.menu li.action {background: #7c2d2d; box-shadow: 0 1px 3px rgba(0,0,0,.3) inset;}
.menu li.action a {color: #fff; text-shadow: 1px 1px rgba(0,0,0,.3); text-decoration: none;}
.menu .doublemenu {float: left;}

/* footer */

.silencer {position: relative; border-top: 1px solid #eee; height: 171px; margin-top: 5px; z-index: 2; box-shadow: 0 -2px 5px rgba(0,0,0,.3);}

.silencer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: url('space/basic.jpg') no-repeat;
	transform: rotate(180deg);
}

.stabilization {display: table; width: 100%; height: 100%; position: relative;}
.map, .place, .statistic {display: table-cell; vertical-align: top;}
.map {text-align: center; width: 200px; padding-top: 17px;}
.map img {border: 4px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3);}
.place {width: 360px; line-height: 25px; padding-top: 15px; padding-left: 30px; font-weight: bold; text-shadow: 1px 1px rgba(255,255,255,.8);}
.place p {margin: 0; padding: 0;}
.place span {
	display: inline-block;
	background-color: #fff;
	border-radius: 6px;
	padding: 2px 6px;
	color: #2787b2;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
	position: relative;
	margin-top: 5px;
}

.copyright {text-align:left; font-weight:bold; margin-top:6px;}

.statistic {text-align: center; padding-top: 13px; position: absolute; right: 30px;}
.statistic img {width: 360px; height: auto;}

.counter {display: table; margin: 0 auto;}
.counter div {display: inline-block; float: left; margin-right: 3px;}
.counter img {width: auto; height: auto;}

@media screen and (max-width: 1080px) {
.phone {left: 5%;}}

/* price table */

.price_tab {border-collapse: collapse; width: 85%; border: 0; padding: 0; margin: 0 auto 15px;}
.price_tab td {padding: 3.5px;
    margin: 0;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #696969;
    line-height: 17.5px;}
.price_tab #vis {line-height: 0; width:207px;}
.git {background: #d6dff9; font-weight: bold;}
.price_tab .lf {text-align: left;}
.price_tab img {display: block; margin: 1px auto;}

@media screen and (max-width: 640px) {
.humanistic {min-width: 0; box-shadow: none;}
.basic {height: auto; text-align: center; background: #f2ece8 url('space/silencer.jpg');}
.advise {margin: 0; display: block;}
.advise img {max-width: 95%; height: auto;}
.phone {left: 0;}
.militant, .division {display: block; margin: 0 auto;}
.deficiency, .menu {margin: 5px;}
.deficiency {text-align: left; padding: 6px 8px; margin-left: 5px;}
.deficiency img {width: 230px; height: auto;}
.silencer {height: 150px; padding: 10px 0; background: #f2ece8 url('space/silencer.jpg');}
.place, .statistic {display: block;}
.place {width: 100%; padding-top: 0;}
.place span {margin: 5px auto; display: table;}
.copyright {text-align:center;}
.statistic {position: relative; right: auto; padding-top: 5px;}
.statistic img {max-width: 95%; height: auto;}
.counter img {max-width: none;}
.price_tab {width: auto;}
.price_tab td {padding: 2px;}
.price_tab #vis {width:43px;}
.price_tab #vis img {width: 41px; height: 41px; object-fit: cover;}
.center-image  {display:none;}
.contacts-clean .linemail {display:none !important;}
.contacts-clean .text {
    font-size: 26px !important;
    line-height: 1;
}
}



.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.contact-link:hover {
  transform: scale(1.05);
  color: #cc6633;
}

.contact-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
}