/* Компонентные стили подключены отдельными <link> в header.php:
   цепочка @import задерживала отрисовку на один лишний круг запросов. */

.fz11 {
   font-size: 11px !important;
}


h1 {
   font-family: "Roboto", sans-serif;
   font-weight: 200;
   font-size: 28px;
   line-height: 150%;
   color: #121314;
}

.section__title-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #1E1F21;
  text-transform: uppercase;
  margin-top: 20px;
}

.section__title-right {
   margin-top: 20px;
}


.p-white {
   line-height: 24px;
   margin-bottom: 0;
   color: #FFFFFF;
}

.p-disc {
   font-size: 12px;
   margin-bottom: 0px;
}


.list-items-grey {
   list-style: none; 
   padding-left: 0;
}


.list-items-grey li {
   position: relative;
   padding-left: 25px; 
   margin-bottom: 10px;
   font-family: "Roboto", sans-serif;
   font-weight: 200;
   font-size: 16px;
   line-height: 150%;
   color: #121314;
}

.list-items-grey li::before {
   content: "•";
   position: absolute;
   left: 0;
   top: 0;
   color: #888888;
   font-size: 20px;
   line-height: 1;
}


.section__item {
   position: relative;
   padding-left: 25px;
   margin-bottom: 12px;
   line-height: 1.5;
   font-size: 16px;
   color: #333;
}

.section__item::before {
   content: "•"; 
   position: absolute;
   left: 0;
   top: 0;
   line-height: 1.1;
   color: #ff0000;
   font-weight: bold;
   font-size: 20px;
}

.main-text {
   font-family: "Roboto", sans-serif;
   font-weight: 200;
   font-size: 16px;
   line-height: 150%;
   color: #121314;
}

.swiper-buttons {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 35px; 
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  justify-content: center;
  /*width: 80%;*/
}

.swiper-buttons .swiper-button-custom {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  display: block !important;    
  color: #333333 !important;    
  font-size: 16px;             
  font-weight: 200;             
  opacity: 0.5;                
  cursor: pointer;
  transition: all 0.3s ease; 
}

.swiper-buttons .swiper-button-custom.active {
  opacity: 1 !important;  
  color: #000000 !important;
  font-weight: 500;  
}

.video-wrapper {
  position: relative;
}

/* Модальное окно */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.is-active {
   display: flex;
}

.modal-content {
  background: #fff;
  padding: 30px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  font-family: Arial, sans-serif;
}


.modal-desc {
   margin-top: 50px;
   font-family: 'Roboto', sans-serif;
   font-size: 16px;
   font-weight: 400;
   line-height: 24px;
   margin-bottom: 0;
   color: #202020;
}

.modal-close-btn {
   position: absolute;
   top: 30px;
   right: 30px;
   width: 32px;
   height: 32px;
   background-color: #E41E2D;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;    
   font-size: 22px;
   line-height: 1;
   color: #ffffff;
   cursor: pointer;
   transition: all 0.2s ease-in-out;
   padding: 0;
   z-index: 101;
}

.modal-close-btn:hover {
    transform: scale(1.08);
}

.modal-close-btn:active {
    transform: scale(0.95);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  gap: 14px;
}

.modal-content input {
   width: 100%;
   padding: 14px 16px;
   border: 1px solid #dcdcdc;
   font-size: 15px;
   color: #1a1a1a;
   background-color: #fcfcfc;
   box-sizing: border-box;
   transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #00aa6c;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #008f5a;
}

.form__item {
  width: 100%;
  margin-bottom: 12px;
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.disclaimer input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 3px 0 0 0;
  flex-shrink: 0;
  cursor: pointer;
}

.disclaimer label {
  font-size: 13px;
  line-height: 1.4;
  color: #666666;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.disclaimer-fos {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  justify-content: center;
}

.disclaimer-fos input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 3px 0 0 0;
  flex-shrink: 0;
  cursor: pointer;
}

.disclaimer-fos label {
  font-size: 13px;
  line-height: 1.4;
  color: #666666;
  cursor: pointer;
  user-select: none;
}

.agreement-link {
  color: #E41E2D;
}

.mb-80 { 
  margin-bottom: 80px;
}

.mb-100 { 
  margin-bottom: 100px;
}

/* POPup */

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.popup.is-active {
  display: flex;
  opacity: 1;
}


.popup__content {
  background-color: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease-in-out;
}

.popup.is-active .popup__content {
  transform: translateY(0);
}


.popup__close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
}

.popup__close:hover {
  color: #333;
}

.popup__button {
   font-family: 'Roboto', sans-serif;
   font-weight: 400;
   font-size: 14px;
   color: #fff;
   padding: 15px 30px;
   background-color: #202020;
   transition: all 0.3s;
   margin-top: 30px;
}

.popup__button:hover {
  background-color: #333;
}

.popup__desc {
   margin-top: 20px;
   font-family: 'Roboto', sans-serif;
   font-size: 16px;
   font-weight: 400;
   line-height: 24px;
   margin-bottom: 0;
   color: #202020;
}

.table-to {
    width: 100%;
    table-layout: fixed;
}

.table-responsive {
    overflow-x: auto;
}

.table-to {
    width: 100%;
    table-layout: fixed;
    min-width: 1000px; 
}

.table-to th:first-child,
.table-to td:first-child {
    width: 280px;
}
}

.navbar .brand ~ .brand{display:none !important;}


html, body{overflow-x:hidden;}

.burger{
	display:none;
	width:30px;
	height:22px;
	background:none;
	border:none;
	padding:0;
	margin:0;
	cursor:pointer;
	position:relative;
	z-index:10;
}

.burger span{
	display:block;
	width:100%;
	height:3px;
	margin:0 0 4px 0;
	background:#1a1a1a;
	border:none;
	border-radius:2px;
	transition:transform .3s, opacity .3s;
}
.burger span:last-child{margin-bottom:0;}
.burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger.active span:nth-child(2){opacity:0;}
.burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

@media (max-width:767.98px){
	.navbar__caption_content{flex-direction:column !important;align-items:flex-start !important;gap:10px !important;}
	.navbar__caption_content-part{width:100% !important;display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:10px !important;margin:0 !important;}
	.navbar__contacts-action{position:static !important;margin:0 !important;transform:none !important;}
	.navbar__contacts-action .button_black-nav{margin:0 !important;}
}

.about-mobile-img{display:none;}

@media (max-width:1199.98px){
	.wrapper-about{background-image:none !important; min-height:0;}
	.about-mobile-img{
		display:block;
		width:100%;
		height:auto;
		margin-top:25px;
		border-radius:8px;
	}
}

@media (max-width:991.98px){
	.wrapper-fos{background-image:none !important;}
}

@media (max-width:767.98px){
	.footer .row-cols-5 > .col{flex:0 0 50% !important;width:50% !important;margin-bottom:15px;}
}
@media (max-width:419.98px){
	.footer .row-cols-5 > .col{flex:0 0 100% !important;width:100% !important;margin-bottom:15px;}
}

.header-slider__link{
	display:block;
	width:100%;
	height:100%;
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
}

@media (max-width: 991.98px){
	.navbar__menu .dropdown{
		display: none;
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		width: 100%;
		padding: 0 0 0 15px;
	}
	.navbar__menu .dropdown.is-active{ display: block; }

	
	.navbar__menu .megamenu.is-active{
		opacity: 1;
		visibility: visible;
		transform: none;
	}


	.navbar__menu > li.has-dropdown:has(> .megamenu, > .dropdown) > .navbar__menu-link{
		position: relative;
		display: block;
	}
	.navbar__menu > li.has-dropdown:has(> .megamenu, > .dropdown) > .navbar__menu-link::after{
		content: "";
		position: absolute;
		right: 15px;
		top: 50%;
		width: 8px;
		height: 8px;
		border-right: 2px solid #1a1a1a;
		border-bottom: 2px solid #1a1a1a;
		transform: translateY(-70%) rotate(45deg);
		transition: transform .2s;
	}
	.navbar__menu > li.has-dropdown:has(> .is-active) > .navbar__menu-link::after{
		transform: translateY(-20%) rotate(-135deg);
	}
}

.jac-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;opacity:0;}

.swiper-slide > .row {
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 767.98px) {
	.swiper-buttons {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 20px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.swiper-buttons::-webkit-scrollbar { display: none; }
	.swiper-buttons .swiper-button-custom {
		white-space: nowrap;
		flex: 0 0 auto; /* иначе flex сжимает названия до нечитаемых столбиков */
	}
}

@media (max-width: 991.98px) {

	.navbar .container { position: relative; }
	.burger {
		display: block;
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
	}
	#mobile-menu.mobile-wrap { display: none; }
	body.menu-open #mobile-menu.mobile-wrap { display: block; }
	body.menu-open .navbar__menu {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 10px 15px 15px;
	}
	body.menu-open .navbar__menu > li { width: 100%; }
	body.menu-open .navbar__menu-link { padding: 8px 0; font-size: 16px; }

	#mobile-menu.mobile-wrap {
		position: fixed;
		top: var(--jac-nav-bottom, 150px);
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0 15px 24px;
		background: #fff;
		z-index: 998;
		transform: none;
		overflow-y: auto;
		overflow-x: hidden;
		box-shadow: 0 12px 24px rgba(18, 19, 20, .08);
	}
	body.menu-open { overflow: hidden; }

	.navbar__menu .dropdown,
	.navbar__menu .megamenu { display: none; }
	.navbar__menu .dropdown.is-active,
	.navbar__menu .megamenu.is-active { display: block; position: static; width: 100%; box-shadow: none; }
	.navbar__menu .megamenu.is-active { margin: 0; }
	.navbar__menu .megamenu.is-active .megamenu__grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		padding: 10px 0 16px;
	}
	.navbar__menu .megamenu.is-active .megamenu__item { width: auto; }
	.navbar__menu .megamenu.is-active .megamenu__img-wrap { width: 100%; }
	.navbar__menu .megamenu.is-active .megamenu__img { width: 100%; height: auto; }
}