@media(min-width: 769px) {
	.mob {
		display: none !important;
	}

	.header_mob {
		display: none !important;
	}
}

@media(max-width: 768px) {
	.header{
		display: none !important;
	}

	.main_bg_photo {
		padding: 0px !important;
	}

	.main_bg_photo_text h2 {
	    font-size: 20px !important;
	    line-height: 40px !important;
	}

	.first_important_text {
    	padding: 1em !important;
	}

	.main_about_item {
   	 	margin-bottom: 1em !important;
	}

	.main_about h3 {
	    font-size: 55px !important;
	}

	.main_about span {
     	font-size: 18px !important;
	}

	.first_important_text p {
		font-size: 18px !important;
	}

	.footer {
		text-align: center !important;
		padding-bottom: 2em !important;
	}

	.footer_menu a {
    font-size: 18px !important;
	}
	.navbar {		
		background-color: #e8eaee !important; 
	}

	.navbar-light .navbar-nav .nav-link {
	    margin-left: 0px !important;
	    text-align: center;
	    font-size: 14px !important;
	}

	.dropdown-item {
		font-size: 14px !important;
	}

	.main_bg_photo_text {
		background: rgba(255,255,255,0.6) !important;
	}

	.logo img {
	    width: 80px !important;
	    height: 80px !important;
	}

	.header_phone {
	    margin-top: 23px !important;
	    margin-left: 30px !important;
	}
}

* {
	text-decoration: none !important;
	font-family: 'Gilroy';
	outline: none !important;
}

.header {
	padding-top: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #e8e9eb;	
}

.logo img {
	width: 100px;
	height: 100px;
}

.header_info h2 {
	font-size: 40px;
	font-weight: 900;
}

.header_info p {
	font-size: 15px;
	font-weight: 450;
}

.header_contacts {
    text-align: right;
}

.header_mail a {
	font-size: 16px;
	font-weight: 500;
    	text-align: center;
	color: #131313;
}

.header_phone a:hover {
	border-bottom: 1px solid #131313;
	color: #131313;
}

.header_mail a:hover {
	border-bottom: 1px solid #131313;
	color: #131313;
}

.header_phone a {
	font-size: 22px;
	font-weight: 500;
	color: #131313;
}

a.btn.btn-primary {
    width: 185px;
    color: #ffffff !important;
    background: #3c3a3c;
    text-transform: uppercase;
    margin-top: 10px;
    border: 1px solid #fff;
}

.navbar-light .navbar-nav .nav-link {
    color: #131313 !important;
    margin-left: 50px;
    font-weight: 700;
    font-size: 14px;
}

.navbar-light .navbar-nav .nav-link:hover {
	color: #0080ff !important;
}

.main_bg_photo {
	background-image: url(/_themes/default/images/banner.jpg);
	background-position: center center;
	border-size: cover;
	background-repeat: no-repeat;
	padding: 80px 0 80px;
}

.main_bg_photo_text {
    background: rgba(255,255,255,0.88);
    color: #292929;
    text-align: center;
    text-transform: uppercase;
    padding: 40px 15px 43px;
}

.main_bg_photo_text h2 {
    font-weight: 800;
    font-size: 25px;
    line-height: 48px;
}

.first_important {
	padding-top: 2em;
	background-color: #e8eaee;
}

.second_important {
	padding-top: 2em;
	background-color: #e8eaee;
}

.important_title {
	padding: 0 0 19px;
}

.important_title h2 {
	font-size: 26px;
    font-weight: 900;
    text-align: center;
}
.important_title h1 {
	font-size: 26px;
    font-weight: 900;
    text-align: center;
}


.main_about {
	padding-top: 3em;
	padding-bottom: 3em;
	text-align: center;
}

.main_about h3 {
	font-size: 45px;
	color: #0080ff;
}

.main_about span {
	text-transform: uppercase;
	font-size: 16px;
	color: #131313;
}

.service {
	display: table;
    width: 100%;
    text-decoration: none;
    color: #2c2b3f;
    font-weight: 500;
    font-size: 18px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    overflow: hidden;
    padding: 5px 0 5px;
    margin-bottom: 34px;
    height: 100px;
    -webkit-transition: 0.1s all;
}

.service__image {
    text-align: center;
    width: 100px;
    display: table-cell;
    vertical-align: middle;
}

.service__title {
    display: table-cell;
    vertical-align: middle;
    padding-right: 20px;
}

span.service__title:hover {
    color: #2c2b3f !important;
}

.service:hover {
	text-decoration: none;
    color: #2c2b3f;
    border: 2px solid #0080ff;
}

.second_important_items.col-md-12.row {
    margin: 0 auto !important;
}

.footer {
	background-color: #292929;
	padding-top: 2em;
	padding-bottom: 1em;
}

.footer_text_title span {
	color: #fff;
    font-size: 25px;
    font-weight: bold;
}

.footer_text_copyrights span {
	color: #878b98;
	font-size: 14px;
}

.footer_menu a {
	color: #fff !important;
	font-size: 14px;
}

.footer_menu a:hover {
	color: #0080ff !important;
}

.footer_contacts_mail a {
	color: #fff !important;
	font-size: 18px;
}

.footer_contacts_mail a:hover {
	color: #0080ff !important;
}

.footer_contacts_phone a {
	color: #fff !important;
	font-size: 18px;
}

.footer_contacts_phone a:hover {
	color: #0080ff !important;
}

i.fa.fa-vk {
    color: #fff !important;
}
i.fa.fa-sitemap {
    color: #fff !important;
}


i.fa.fa-vk:hover {
	color: #0080ff !important;
}

i.fa.fa-phone-square:hover {
	color:#0080ff !important;
}

i.fa.fa-phone-square {
    color: #fff !important;
}

.footer_contacts_social {
    margin-top: 10px;
}

.navbar {
	width: 100%;
}

/* Верхнее меню */
.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1f2a37;
    padding: 12px 16px;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd; /* синий акцент */
}

/* Выпадающее меню */
.dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 0;
    padding: 8px 0;
    min-width: 320px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Пункты выпадающего меню */
.dropdown-item {
    font-size: 14px;
    font-weight: 400;
    color: #1f2a37;
    padding: 8px 20px;
    white-space: normal; /* важно для длинных названий */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover пунктов */
.dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0d6efd;
}

/* Убрать стандартную рамку Bootstrap */
.dropdown-item:active {
    background-color: #e2e8f0;
    color: #0d6efd;
}

/* Стрелка dropdown */
.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

/* Раскрытие по hover (если нужно) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ===== Modern minimal refresh (added) ===== */

/* Typography */
body{
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
}

/* Sticky menu with subtle shadow */
.main_menu{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* Make navbar items compact and not stretched */
.navbar-nav{
  width: auto !important;
  justify-content: flex-start !important;
}

.navbar-nav > .nav-item{
  margin-right: 10px;
}

.navbar-nav > .nav-item:last-child{
  margin-right: 0;
}

/* Override old large left margin between menu items */
.navbar-light .navbar-nav .nav-link{
  margin-left: 0 !important;
}

/* Better spacing inside links */
.navbar.navbar-light .navbar-nav .nav-link{
  padding: 12px 10px !important;
  font-size: 12.5px;
  font-weight: 700;
}

/* Dropdown look */
.navbar.navbar-light .dropdown-menu{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

/* Buttons */
a.btn.btn-primary{
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  border: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  transition: transform .15s ease, box-shadow .15s ease;
}

a.btn.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

/* Hero overlay for readability */
.main_bg_photo{
  position: relative;
}

.main_bg_photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.main_bg_photo_text{
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255,255,255,.86) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}


/* Мобильное меню */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    font-size: 15px;   /* было визуально ~13 */
    line-height: 1.35;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* ===== Mobile polish (only < 992px) ===== */
@media (max-width: 991.98px) {

  /* 1) Шапка/меню как аккуратный “карточный” блок */
  .header, .main_menu {
    background: #fff;
  }

  .main_menu {
    margin: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
  }

  /* 2) Убрать “угловатость” у бургера и сделать его аккуратнее */
  .navbar-toggler {
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    padding: 8px 10px;
    outline: none;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(13,110,253,.18);
  }

  /* 3) Сделать список меню читабельнее и ровнее */
  .navbar-collapse {
    margin-top: 8px;
    border-top: 1px solid rgba(0,0,0,.06);
    padding-top: 8px;
  }

  .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar-nav .nav-link {
    font-size: 15px;
    line-height: 1.35;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .navbar-nav .nav-link:hover {
    background: #f1f5f9;
  }

  /* 4) Выпадашки: скругления + отступы, чтобы выглядело “как в 2025” */
  .dropdown-menu {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 8px;
    margin: 6px 0 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
  }

  .dropdown-item {
    padding: 10px 12px;
    border-radius: 10px;
    white-space: normal;
  }

  .dropdown-item:hover {
    background: #f1f5f9;
  }

  /* 5) Чуть “воздуха” вокруг первого экрана */
  .main_bg_photo_text {
    margin: 12px;
    border-radius: 16px;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    text-transform: none;
    font-weight: 600;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav .nav-item.active > .nav-link,
  .navbar-nav .nav-link:active {
    background: #e8f0fe;
    color: #0d6efd;
  }
}
@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    margin-bottom: 4px;
  }
}
