/*
100 — тонкое начертание (thin, hairline);
200 — сверхсветлое (extra light, ultra light);
300 — светлое (light);
400 — нормальное (normal, regular, book);
500 — среднее (medium);
600 — полужирное (semi bold, demi bold);
700 — жирное (bold);
800 — сверхжирное (extra bold, ultra bold);
900 — тяжёлое (black, heavy).
*/
:root {
  --font-system: Lato, Arial, sans-serif;
  --font-code: 'Source Code Pro', 'Courier New', monospace;

  --my-nav-link-color: #222;
  --my-nav-link-hover-color: rgb(from var(--my-nav-link-color) r g b / .75);
  --my-top-link-color: #fff;
  --my-top-link-hover-color: rgb(from var(--my-top-link-color) r g b / .75);
  --my-footer-nav-link-color: #999;
  --my-footer-nav-link-hover-color: rgb(from var(--my-footer-nav-link-color) r g b / .75);

  --my-menu-hover: #75EDFF60;
  --my-incotex: #023E8A;
  --my-incotex-hover:#3AA9FF;
  --my-second: #56CFE1;
  
  --my-transition-opacity: opacity 0.3s linear;
  --my-transition: all .3s ease-in-out;

  --my-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .15);

  --bs-body-font-family: var(--font-system);
  --bs-border-color-translucent: var(--my-incotex);
  
  --bs-link-color-rgb: var(--my-incotex);

  --bs-border-width: 2px;
  --my-font-weight-medium: 500;
  --my-font-weight-semibold: 600;
  --my-font-weight-black: 900;  
}


body {
  animation: quickFadeIn 0.8s ease-out;
}
@keyframes quickFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* desktop (без JS) */
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu {
    position: absolute;
    min-width: 200px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    border: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    border-radius: 0;
    margin-top: 10px;
    display: none; /* default */
  }
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar-nav .dropdown-menu .dropdown:hover > .dropdown-menu {
    display: block;
  }
  /* подменю справа */
  .navbar-nav .dropdown-menu .dropdown > .dropdown-menu {
    left: 100%;
    top: 0;
    transform: translateX(0);
    margin-top: 0;
    margin-left: 5px;
  }
  /* Стрелочка к родительскому элементу */
  .navbar-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
    z-index: 1001;
  }
  /* Анимация появления */
  .navbar-nav .dropdown-menu {
    animation: fadeIn 0.2s ease;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
  .dropdown-submenu > .dropdown-toggle::after {
    content: "›";
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
  }
  .dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: var(--my-transition);
    text-align: center;
    color: var(--my-incotex);
    font: 500 1rem var(--font-system);
  }
  .dropdown-item:hover {
    background-color: var(--my-menu-hover);
  }
  .notification-wrapper {
    position: relative;
    display: inline-block;
  }
  /* Выравнивание текста в меню */
  .dropdown-header {
    text-align: center;
  }
  .dropdown-divider {
    margin: 0.5rem auto;
    width: 80%;
  }
  .nav-link {
    position: relative;
    transition: var(--my-transition);
  }
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }
}
@media (min-width: 768px) {
  .translate-middle-lg-y {
    transform: translateY(-50%) !important;
  }
  .translate-lg-t {
    margin-top: -5rem;
  }  
}

/* mobile Bootstrap */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
    padding-top: 1rem;
  }
  .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.03);
    border: none;
    border-radius: 8px;
    margin: 10px auto;
    text-align: center;
    max-width: 300px;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .dropdown-item {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  .user-avatar {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px auto;
    display: block;
  }
  .navbar .nav-item {
    margin-bottom: 10px;
  }
  .notification-wrapper {
    display: inline-block;
    margin: 0 10px;
  }
  /* center menu on mobile */
  .dropdown-center .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

.custom-navbar {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(2, 62, 138, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  --bs-navbar-toggler-border-color: #023E8A;  
}


/* main */
a {
  transition: var(--my-transition);
  text-decoration: none;
}
.main a:hover {
  color: var(--my-second);
}
a img {
  transition: var(--my-transition-opacity);
  transform: translateZ(0);
  will-change: transform;
}
a:hover img {
  opacity: .8;  
  filter: grayscale(20%);
}

ol, ul {
  padding-left: 1rem;
}

.catalogue .card {
  border: 0;
}
.catalogue .card-title {
  text-align: center;
}
.catalogue .card-text {
  text-align: left;
}

/* nav top */
.navbar-top {
  background-color: var(--my-incotex);
}
.navbar-top * {
  color: var(--my-top-link-color);
}
.navbar-top *:hover {
  color: var(--my-top-link-hover-color);
}
.navbar-fixed-top {
  background-color: var(--my-incotex);
}

/* nav */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  background-color: var(--bs-white) !important;
}
.nav-link {
  font: 500 0.875rem var(--font-system);
  padding: 0.5rem 1rem !important;
  margin: 0 0.4rem;
  display: flex;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  color: var(--my-nav-link-color);
}
.nav-link.active, .nav-link:hover {
  background-color: var(--my-incotex);
}

.dropdown-header {
  font-weight: 600;
  color: #6c757d;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}
/* center class */
.dropdown-center .dropdown-menu {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}
.centered-dropdown {
  position: relative;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
}

.breadcrumb {
  padding-top: 15px;
  padding-bottom: 10px;
  margin: 0;  
}
.breadcrumb li:last-child::after {
	position: absolute;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 10px 0 0 10px;
	content: "";
	vertical-align: bottom;
	background-image: url('data:image/svg+xml, %3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20fill%3D%22%23376aa5%22%20d%3D%22M2801.86%2C476.688l-4.04%2C4.171a0.435%2C0.435%2C0%2C0%2C1-.64%2C0l-4.05-4.171a0.477%2C0.477%2C0%2C0%2C1%2C0-.665%2C0.459%2C0.459%2C0%2C0%2C1%2C.65%2C0l3.26%2C3.373V471H2788v-1h10v1h-0.05v8.4l3.27-3.373a0.447%2C0.447%2C0%2C0%2C1%2C.64%2C0A0.477%2C0.477%2C0%2C0%2C1%2C2801.86%2C476.688Z%22%20transform%3D%22translate(-2788%20-470)%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-size: contain;
}

/* content */
.main {
  margin-top: 128px;
  flex: 1 0 auto;
}
.slide {
  margin-top: 79px;
  background-color: var(--my-incotex);
}
.transition-1 > div {
  transition: var(--my-transition);
}
.transition-1 > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--my-shadow);
}
.card-it img, .card-ts img {
  transition: var(--my-transition);
}
.card-it img:hover {
  transform: scale(1.05);
}
.card-ts img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}


.card-title {
  margin: 1.5rem 0 .5rem;
  color: var(--my-incotex);
}
.card-text {
  text-align: center;
}
.catalog .card-text {
  text-align: left;
}

/* header */
h1, h2, h3, h4, h5, h6, .h-1, .h-2, .h-3, .h-4, .h-5, .h-6 {
  font-family: var(--font-system);
  color: var(--my-incotex);
  font-weight: var(--my-font-weight-black);
}
.h-1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); /* 36 24 */
  line-height: 3.25rem;
}
.h-2 {
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2rem); /* 32 24 */
  line-height: 3.25rem;
}
.h-3 {
  font-size: clamp(1.125rem, 1vw + 1rem, 1.563rem); /* 25 18 */
  line-height: 3.25rem;
}
.h-4 {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.5rem); /* 24 16 */
}
.h-5 {
  font-size: clamp(0.938rem, 1vw + 0.5rem, 1.188rem); /* 19 15 */
}

.shadow-text {
  text-shadow: 1px 1px 4px rgba(255,255,255,0.4);
}


.sup-t {
  border-top: 2px solid var(--bs-border-color);
  padding-top: 3px;
  margin-top: 0px;
  display: inline-block;
  padding-right: 30px;
}

/* del Bootstrap arrow */
.dropdown-toggle::after {
  display: none;
}
/* custom arrow */
.custom-arrow::after {
  content: "▾";
  margin-left: 5px;
  font-size: 1.2rem;
  vertical-align: middle;
}

/* footer */
.footer {
  background-color: var(--my-incotex);
  color: white;
}
.footer-link {
  color: var(--my-footer-nav-link-color);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--my-footer-nav-link-hover-color);
}
#copy {
  cursor: pointer;
}

.table-ip, .table-ttx {
  vertical-align: middle !important;
  text-align: center;	
}
.table-ip td:first-child, .table-ttx td:first-child {
  text-align: left;	
}
.table-ip>:not(caption)>*>* {
  border: 0;
}

table.table-ip thead {
  background: var(--my-incotex);
}
table.table-ip th, table.table-ttx th {
  background: transparent !important;
  border: 0;
  color: var(--bs-white);
  font-weight: var(--my-font-weight-medium);
  font-size: clamp(1.125rem, 1vw + 0.75rem, 1.375rem); /* 22 - 18 */
}
table.table-ip > tbody > tr td {
  border-right: 1px solid #FFF;
}
table.table-ip > thead tr th:first-child, table.table-ip.table-ip > tbody tr td:first-child {
  text-align: left;
}
table.table-ip > thead tr th:last-child, table.table-ip.table-ip > tbody tr td:last-child {
  border-right: 0;
}

table.table-ttx {
  border-top-width: 3px;
  border-style: solid;
  border-bottom-width: 3px;
  border-left: 0;
  border-right: 0;
}
table.table-ttx td {
  border-bottom-width: 1px;
}
table.table-ttx td {
  border-right: 1px solid var(--bs-white);
}
table.table-ttx svg {
  width: 50px;
  height: 50px;
}

.nav-tabs .nav-link {
  border-width: var(--bs-border-width);
  color: var(--my-incotex);
}
.nav-tabs .nav-link:not(.active):hover {
  border-color: transparent;
  text-decoration: underline dotted;
}

.corn-br {
  position: relative;
}
.corn-br::after {
 content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 30px 30px;
  border-color: transparent transparent var(--my-second) transparent;
}

.icon-svg {
  width: 100px;
}
.item-feature {
  display: flex;
}
.item-feature span {
  padding:0 1rem;
}
.certificates__item .col-9 {
display: flex;
white-space:nowrap;
}
.certificates__item .col-9::after {
  content: '';
  display: block;
  width:100%;
  border-bottom:1px dotted #000;
}


.full-width-slide {
  margin-top: 128px;
  width: 100%;
  position: relative;
  background: #023E8A;
}
.hero-slide {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slide-wrapper {
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
  position: relative;
}
.slide-left-area {
  flex: 0 0 30%;
  max-width: 30%;
  background: #023E8A;
  position: relative;
  z-index: 1;
}
.slide-right-area {
  flex: 0 0 70%;
  max-width: 70%;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  pointer-events: none;
}
.slide-right-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.text-overlay .text-content {
  margin-left: 5%;
  pointer-events: auto;
}
.slide-right-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
      rgba(2,62,138,0.3) 0%,
      rgba(0,0,0,0.2) 40%,
      rgba(0,0,0,0.5) 100%);
  z-index: 2;
  pointer-events: none;
}
.slide-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: white;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.3);
}
.slide-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: #fef3c7;
  margin-bottom: 16px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.3);
}
.slide-description {
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}



/* для планшетов */
@media (max-width: 992px) {
  .slide-wrapper {
    min-height: 520px;
  }
  .slide-right-area {
    min-height: 520px;
  }
  .text-overlay .text-content {
    margin-left: 4%;
  }
  .slide-title {
    font-size: 2.3rem;
  }
  .slide-subtitle {
    font-size: 1.1rem;
  }
}


/* для мобильных */
@media (max-width: 768px) {
  .slide-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  .slide-left-area {
    height: 0;
/*
    max-width: 100%;
    min-height: 200px;
*/
  }
  .slide-right-area {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 300px;
  }
  .slide-right-area img {
    height: 300px;
  }
  .text-overlay .text-content {
    max-width: 85%;
    margin-left: 7%;
    margin-right: 7%;
  }
  .slide-title {
    font-size: 1.8rem;
  }
  .slide-subtitle {
    font-size: 1rem;
  }
  .slide-description {
    font-size: 0.85rem;
  }
  .price-large {
    font-size: 1.5rem;
  }
  .slide-small-text {
    gap: 12px;
    font-size: 0.7rem;
  }
  .badge-slide {
    font-size: 0.6rem;
    padding: 4px 12px;
    margin-bottom: 16px;
  }
  .slide-right-area::before {
    background: linear-gradient(90deg, 
      rgba(2,62,138,0.5) 0%,
      rgba(0,0,0,0.4) 100%);
  }
}


@media (max-width: 480px) {
  .text-overlay .text-content {
    max-width: 90%;
    margin-left: 5%;
  }
  .slide-title {
    font-size: 1.4rem;
  }
}

.fonmap {
  background: no-repeat url('../img/fon-map.png') top right;
}
.fonieg {
  background: no-repeat url('../img/fon-ieg.png') bottom left;
  background-size: contain;
}

.hyph {
  hyphens: auto;
}

.btn-custom-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--my-incotex);
  --bs-btn-border-color: var(--my-incotex);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #002E64;
  --bs-btn-hover-border-color: #002857;
  --bs-btn-focus-shadow-rgb: 38, 84, 138;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #002857;
  --bs-btn-active-border-color: #000346;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--my-incotex);
  --bs-btn-disabled-border-color: var(--my-incotex);
}

.btn-custom-primary, .modal-footer {
  border: none;
}