@font-face {
font-family: 'DroidSans';
url('../fonts/DroidSans/DroidSans-4Eg4.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

body {
	font-family: 'Droid Sans',Arial,'Arial Unicode MS',Helvetica,sans-serif;
	min-height: 100vh;
	display: grid;
	grid-template-rows: 1fr auto;
	margin: 0;
}

img {
width:100%;
}

.footer {
	grid-row: 2;

}

.pages h1 {
background: #113c5a;
color: #FFF;
font-size: 2.5rem;
font-family: 'Droid Sans';
font-weight: bold;
padding: 0 20px;
}

.content {
width: 100%;
margin: 0 auto;
}

.w {
 color: #FFF; 
}

.w a {
 color: #FFF; 
}


.pages {
margin-top: 100px;
}


.bold-center {
font-weight: bold;  
text-align: center;
}

.bold {
font-weight: bold;  
}

.i {
font-style: italic;  
}

.center {
text-align: center;
}

.title {
  font-size: 2.5rem;
  font-family: 'Droid Sans';
  font-weight: bold;
  text-align: center;
}

.subtitle {
  font-size: 1.5rem;
  font-family: 'Droid Sans';
  font-weight: bold;
  text-align: center;
}

.subtitle-red {
  color: #e91b28;
  font-size: 1.5rem;
  font-family: 'Droid Sans';
  font-weight: bold;
  text-align: center;
}

a {
 color: #e91b28;
 text-decoration: none; 
}

a:hover {
color: #070d1d;  
}

.list-circle li {
list-style-type: circle; 
}

/*Хедер*/

header {
  background-attachment: scroll;
  background-color: #070d1d;
  border-top: 2px solid #e91b28;
}

.navbar-nav {
  --bs-nav-link-hover-color: var(--bs-orange);
}

.nav-link {margin: 0 10px;}
.nav-link {
 color:#FFF;   
}

.nav-link:hover {
 color: #e91b28;  
}


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
color: #e91b28;
}

.navbar-toggler {
  color: var(--bs-white)!important;
margin-top: -60px;
}

.navbar-toggler-icon {
  color: var(--bs-white)!important;
}




.top-phone {
  color: #e91b28;   
}

.top-phone a {
  color: #e91b28;   
  font-size: 1.5rem;
  font-family: Droid Sans;
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 992px) {
.top-phone a {   
  font-size: 1rem;
}

}

.top-phone a:hover {
color:#FFF;
}

/*Главная страница*/

.block {
padding-top: 100px;	
padding-bottom: 100px;
}

.block-1 {
background-image: url(../img/bg-bl1.webp);
padding-top: 100px;	
padding-bottom: 100px;
}

.bl-1 {
padding: 20px;	
background-color: rgba(255, 219, 77, 0.8)
}

.subtitle {
font-family: Droid Sans;
text-align: center;	
font-size: 1.5rem;
font-weight: bold;
margin: 20px 0;
}

.info-txt {
text-align: center;
margin: 20px 0;		
}


.info-txt-bold {
text-align: center;
font-weight: bold;
margin: 20px 0;		
}

.info-txt-link{
text-align: center;	
margin: 20px 0;
}

.info-txt-link a {
text-align: center;	
color: #e91b28; 
text-decoration: none;
}

.info-txt-link a:hover {
color: #070d1d;	
}


.block-3 {
background-image: url(../img/bg-kosmos.webp);
padding-top: 100px;	
padding-bottom: 100px;
  background-size: cover;
  background-attachment: fixed; /* Фон неподвижен */
  background-position: center;
  background-repeat: no-repeat;
}

.block-3 .bl3-title {
  font-size: 2.5rem;
  font-family: 'Droid Sans';
  color: #FFF;
  font-weight: bold;
  text-align: center;
}

.bl3-subtitle {
   font-size: 1.5rem;
  font-family: 'Droid Sans';
  font-weight: bold;

}

.bl3-block {
  background: #FFF;
  margin: 20px 30px 20px 0;
  padding: 60px 20px;
}

.button-link {
display: inline-block;
padding: 10px 20px;
background-color: #113c5a;
color: white;
text-decoration: none;
font-family: Arial, sans-serif;
font-size: 1rem;
font-weight: bold;
}

.button-link:hover {
background-color: #e91b28;
}

.block-5 .otzyvy {
  background: rgba(245, 245, 245, 1);
  padding: 20px;
}

.block-form {
background-image: url(../img/bg-kosmos.webp);  
}

.title-w {
   font-size: 2.5rem;
  font-family: 'Droid Sans';
  color: #FFF;
  font-weight: bold;
  text-align: center; 
}

.btn-form {

padding: 10px 20px;
background-color: rgba(233, 27, 40, 1);
color: white;
font-family: Arial, sans-serif;
font-size: 1rem;
font-weight: bold;
}

.btn-form:hover {

background-color: rgba(233, 27, 40, 1);
}

.block-7 .bl3-block {
border: 1px solid rgba(20, 20, 20, 0.5); 
padding: 20px 20px; 
}

.block-8 {
background-color: rgba(245, 245, 245, 1);
}


.block-10 {
background-color: rgba(27, 191, 73, 1);
}

.block-video .video {
text-align: center;
background-image: url(../img/bg-kosmos.webp);
background-size: cover;
color: #fff;
margin: 20px;
}

.block-video .video video {
width: 30%;
padding: 10px 0px;
}

  /*Страницы NOtitle*/  

 .title-bg h1 {
   color: #FFF;
  font-size: 2.5rem;
  font-family: 'Droid Sans';
  font-weight: bold;
  text-align: center;
  padding: 200px 0;
 }

 .title-bg {
  margin: 20px auto;
 }

 .title-bg h1 {
 background: none!important;
 }


  .foto-circle {
text-align: center;
 }

 .foto-circle img {
  width: 15%;
  border-radius: 50%;
  border: 2px solid #eee;
 }

 .bg-gray{
  background-color: rgba(245, 245, 245, 1);
  padding: 20px;
  margin: 20px 0;
 }

 .bg-red{
  background-color: rgba(233, 27, 40, 1);
  padding: 20px;
  margin: 20px 0;
 }

 .bg-yellow{
  background-color: rgba(255, 219, 77, 1);
  padding: 20px;
  margin: 20px 0;
 }

#usl-bl1 .bl3-block {
border: solid 1px #dcdcdc;
background: linear-gradient(to bottom, #ffffff 30%,#ffffff 37%,#ffffff 55%,#f7f7f7 87%,#f2f2f2 94%,#e6e6e6 100%);
}

/*Яндекс карта*/
.ymap-wrap { position: relative; min-height: 300px; }
.ymap-wrap iframe {
  position: absolute; inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}


/*Статьи*/

.art-img img {
width: 50%;
float:right;
margin:10px;
margin-top:0px;
margin-right: 0px;
}

.art-txt .h2 {
font-size: 1.2rem;
width: 49%;
margin-right: 5px;
padding: 10px;
background: #ffdb4d;
}

.article-list  {
list-style-type: none;
}

.article-list li  {
margin: 10px 0;
}

.article-list  .list-title {
font-size: 1rem;
font-weight: bold;
color: #000;
}


.img-left {
width: 50%;
float:left; /* обтекание слева */
padding-right: 20px;
}

.img-right {
width: 50%;
float:right; /* обтекание справа */
padding-left: 20px;
}


@media (max-width: 768px) {
.img-left, .img-right {
width: 100%;
}

}

.vert-menu {
background: #e5e5e5;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 0px;
list-style: none;
}

.vert-menu li {
padding: 5px;
}

.vert-menu li:hover {
background: #113c5a;
}

.vert-menu li:hover a {
color: #ffffff;
}



.vert-menu a {
color: #333333;
margin-left: 10px;
}

.vert-menu a:hover {

}





        
 /*футер*/   
 .footer {
background-color: #070d1e;
  padding-bottom: 40px;
  padding-top: 40px;
  margin-bottom: 20px;
  color: #fff;
 }
 


 /* Our Portfolio Section
--------------------------------*/
#portfolio {
  background: #fff;
  padding: 30px 0;
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 18px 12px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #444;
  margin: 0 3px 10px 3px;
  transition: all ease-in-out 0.3s;
  background: #f7f7f7;
  border-radius: 4px;
}

#portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: rgb(233, 27, 40);
}

#portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

#portfolio .portfolio-item {
  margin-bottom: 30px;
  overflow: hidden;
}

#portfolio .portfolio-item img {
  position: relative;
  top: 0;
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -50px;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: #50d8af;
  padding: 15px 20px;
}

#portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

#portfolio .portfolio-item .portfolio-info p {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
}

#portfolio .portfolio-item .portfolio-info .preview-link, #portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: rgba(255, 255, 255, 0.6);
  transition: ease-in-out 0.3s;
}

#portfolio .portfolio-item .portfolio-info .preview-link:hover, #portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #fff;
}

#portfolio .portfolio-item .portfolio-info .details-link {
  right: 15px;
}

#portfolio .portfolio-item:hover img {
  top: -30px;
}

#portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #50d8af;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #50d8af;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(12, 46, 138, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/* Testimonials Section
--------------------------------*/
#testimonials {
  padding: 30px 0;
}

#testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 0 30px;
  margin: 30px 15px;
  text-align: center;
  min-height: 350px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  #testimonials .testimonial-item {
    margin: 30px 10px;
  }
}

#testimonials .testimonial-item .testimonial-img {
  width: 100%;
  border: 4px solid #fff;
  margin: 0 auto;
}

#testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

#testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

#testimonials .testimonial-item .quote-sign-left {
  margin-top: -15px;
  padding-right: 10px;
  display: inline-block;
  width: 37px;
}

#testimonials .testimonial-item .quote-sign-right {
  margin-bottom: -15px;
  padding-left: 10px;
  display: inline-block;
  max-width: 100%;
  width: 37px;
}

#testimonials .testimonial-item p {
  margin: 0 auto 15px auto;
}

#testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

#testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #50d8af;
}

#testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #50d8af;
}



/* Галерея: превью одного размера из одного файла */
.portfolio .preview-link {
  display: block;
  aspect-ratio: 4 / 3;      /* пропорция плитки: 4/3, или 1/1 для квадратов */
  overflow: hidden;
margin: 5px 0;

}

.portfolio .preview-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* заполняет плитку с обрезкой, без искажений */
  object-position: center;  /* для портретных фото лучше: center top */
  display: block;
}


/* 2026-07-13: адаптивность медиа + запрет горизонтального скролла */
img, video, iframe {
  max-width: 100%;
  height: auto;
}
body {
  overflow-x: hidden;
}


.max {
margin-top: -60px;
  margin-right: 15px;
  position: fixed;
  z-index: 1000000;
  right: 0;
  bottom: 80px;
}

.max img {
width: 50px;
margin: 0px 10px;
}

