@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');

/* ===================================
    General
====================================== */
:root {
    --color-primary: #18544F;
    --color-secondary: #ED7F46;
    --color-text: #050010;
    --color-white: #ffffff;
    --color-bg: #f8f9fa;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Минимальная высота - весь экран */
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  background-color: #fff;
  background-image: url("../img/bg.png");
  background-repeat: repeat-y;
  background-position: center center;
  background-attachment: fixed;
  color: #050010;
}

main {
  flex: 1 0 auto; /* Основной контент растягивается, выталкивая футер вниз */
}

::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-track {
  width: 5px;
  background: #fff;
  border-left: 7px solid #fff;
  border-right: 7px solid #fff;
}

::-webkit-scrollbar-thumb {
  background: color(display-p3 0.098 0.333 0.31);
  width: 0;
  border-left: 7px solid #fff;
  border-right: 6px solid #fff;
}

/* Фокус для интерактивных элементов */
.form-control:focus,
.form-select:focus,
button:focus,
.btn:focus,
a:focus,
[role="button"]:focus,
i:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px rgba(51, 101, 138, 0.25) !important;
  border-color: transparent !important;
}

/* Плейсхолдеры */
::placeholder {
  color: #adb5bd !important;
  opacity: 1;
  font-style: italic;
  font-size: 0.95em;
}

::-webkit-input-placeholder { color: #adb5bd !important; }
::-moz-placeholder { color: #adb5bd !important; }
:-moz-placeholder { color: #adb5bd !important; }
:-ms-input-placeholder { color: #adb5bd !important; }

/* Стили для формы в модальном окне */
.form-container {
    max-width: 100%;
    padding: 0 10px;
}

/* Переопределение базового класса .btn */
.btn {
    box-sizing: border-box;
    background: linear-gradient(90deg, rgba(5, 0, 16, 0.7) 50%, rgba(26, 85, 79, 1) 100%);
    box-shadow: 0px 0px 3.0px #535353;
    backdrop-filter: blur(20px);
    border-radius: 7px;
    border: none; /* Убираем стандартную рамку */
    color: #fff; /* Белый текст */
    font-size: 16px; /* Размер шрифта */
    font-weight: bold; /* Жирный текст */
    padding: 10px 20px; /* Внутренние отступы */
    text-align: center;
    text-decoration: none; /* Убираем подчеркивание */
    transition: all 0.3s ease; /* Плавный переход при наведении */
}

/* Эффект при наведении */
.btn:hover {
    background: linear-gradient(90deg, rgba(26, 85, 79, 1) 50%, rgba(5, 0, 16, 0.7) 100%);
    transform: scale(1.01); /* Небольшое увеличение */
    color: #fff;
}

/* Активное состояние (нажатие) */
.btn:active {
    transform: scale(0.95); /* Небольшое уменьшение */
}

.btn-custom {
    background: linear-gradient(135deg, #ff6b35, #ff8e35);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-custom:hover {
    background: linear-gradient(135deg, #ff8e35, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-white {
    padding: 0.5em 1.5em;
    border-radius: 2em;
    box-shadow: 2px 2px 2px rgba(105, 73, 73, 0.15);
    background: #fff;
    border-color: #fff;
    color: #1E1F62;
    font-size: 14px;
    white-space: nowrap;
}

.btn-white:hover {
    background: #B19F55;
}

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

hr {
  margin: 20px 0;
  padding: 0;
  height: 1px;
  border: none;
  background-color: #050010;
}

section {
  margin: 30px 0px 30px 0px;
}
p {
  line-height: 26px;
  margin: 11px 0px 11px 0px;
}

h1 {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-size: 28px;
  line-height: 50px;
  margin: 20px 0;
}

h2 {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-size: 26px;
  line-height: 40px;
  margin: 20px 0;
}

h3 {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 26px;
  margin: 20px 0;
}

h4 {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  margin: 20px 0;
}

h5 {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  margin: 20px 0;
}

h6 {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
  margin: 20px 0;
}

@media only screen and (max-width: 1200px) {
  h4 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 28px;
    line-height: 35px;
  }
  h2 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    margin: 20px 0;
  }
  h3 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    margin: 20px 0;
  }
  h4 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    margin: 20px 0;
  }
}

/*hidden*/
.hidden-xs-up {
  display: none !important; 
}

@media (max-width: 575px) {
  .hidden-xs-down {
    display: none !important; } 
  }
@media (min-width: 576px) {
  .hidden-sm-up {
    display: none !important; } 
  }
@media (max-width: 767px) {
  .hidden-sm-down {
    display: none !important; } 
  }
@media (min-width: 768px) {
  .hidden-md-up {
    display: none !important; } 
  }
@media (max-width: 991px) {
  .hidden-md-down {
    display: none !important; } 
  }
@media (min-width: 992px) {
  .hidden-lg-up {
    display: none !important; } 
  }
@media (max-width: 991px) {
  .hidden-lg-down {
    display: none !important; } 
  }
@media (min-width: 1200px) {
  .hidden-xl-up {
    display: none !important; } 
  }
.hidden-xl-down {
  display: none !important; 
}

/* ===================================
   Border Color
====================================== */
.border-primary{border-color:#1a554f!important}
.border-secondary{border-color:#ff6600!important}
.border-success{border-color:#28a745!important}
.border-info{border-color:#17a2b8!important}
.border-warning{border-color:#ffc107!important}
.border-danger{border-color:#dc3545!important}
.border-light{border-color:#f8f9fa!important}
.border-dark{border-color:#343a40!important}
.border-white{border-color:#fff!important}

/* ===================================
   Font Color
====================================== */
.text-primary{color:#1a554f!important}a.text-primary:focus,a.text-primary:hover{color:#ff0000!important}
.text-secondary{color:#ff6600!important}a.text-secondary:focus,a.text-secondary:hover{color:#ff0000!important}

/* ===================================
   Background Color
====================================== */
.bg-primary{background-color:#1a554f!important}
.bg-secondary{background-color:#ff6600!important}

/* ==============================
   Общие стили меню
============================== */

.dsm-menu,
.dsm-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* ==============================
   Десктопное меню
============================== */

.dsm-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}

.dsm-menu > li {
  position: relative;
}

.dsm-menu > li > a {
  display: block;
  padding: 14px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.dsm-menu > li > a:hover {
  color: #B19F55;
}

.dsm-menu li.active > a {
  color: #B19F55;
}


/* Подменю */
.dsm-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(25, 85, 79, 1);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.dsm-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
}

/* Пункты подменю */
.dsm-menu li ul li {
  position: relative;
}

.dsm-menu li ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dsm-menu li ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #B19F55;
}

/* Подменю вложенных уровней */
.dsm-menu li ul ul {
  top: 0;
  left: 100%;
}

/* Разделитель внутри подменю */
.dsm-menu li ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Убираем у последнего */
.dsm-menu li ul li:last-child {
  border-bottom: none;
}

/* ==============================
   Стрелки
============================== */
.dsm-menu li.has-children > a {
  position: relative;
  padding-right: 20px; /* место под стрелку */
}

/* стрелка по умолчанию — вправо */
.dsm-menu li.has-children > a::after {
  content: "▸";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #fff;
}

/* верхний уровень — стрелка вниз */
.dsm-menu > li.has-children > a::after {
  content: "▾";
}

/* ==============================
   Мобильное меню
============================== */

.dsm-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Общий пункт меню */
.dsm-mobile-menu .nav-item {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Убираем линии у подменю */
.dsm-mobile-submenu .nav-split::after {
  display: none;
}

/* Линия только у верхнего уровня */
.dsm-mobile-menu > .nav-item > .nav-split::after {
  display: block;
}

/* ==============================
   Активные пункты (моб)
============================== */

/* Активный конкретный пункт */
.dsm-mobile-menu .nav-link.active {
  color: #B19F55;
}

/* Активный родитель (у которого открыт подменю) */
.dsm-mobile-menu .nav-item.active > .nav-split > .nav-link {
  color: #B19F55;
}

/* Чтобы у родителя не было лишнего фона */
.dsm-mobile-menu .nav-item.active > .nav-split > .nav-link:not(.active) {
  background: none;
}


/* ==============================
   Ссылки и стрелка (моб)
============================== */

/* Контейнер делим на 2 части */
.nav-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Разделительная линия (по умолчанию) */
.nav-split::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* фокус для accessibility (скроем дефолтный outline, но добавим видимую дин. индикацию при клавиатуре) */
.nav-split .submenu-toggle:focus {
  outline: none;
}

/* Убираем линию у последнего элемента в подменю */
.dsm-mobile-submenu > li:last-child > .nav-split::after {
  display: none;
}

/* Линия по умолчанию только у верхнего уровня */
.dsm-mobile-menu > .nav-item > .nav-split::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Убираем линию у открытых пунктов верхнего уровня */
.dsm-mobile-menu > .nav-item.open > .nav-split::after {
  display: none;
}

/* Ссылка слева (только текст, не растягивается) */
.nav-split .nav-link {
  flex: 0 0 auto;
  padding: 14px 18px;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  outline: none;
}

/* Правая часть (стрелка + кликабельная область) */
.submenu-toggle {
  flex: 1;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  padding: 15px;
}

/* Стрелка */
.submenu-toggle::after {
  content: "▾";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #0cc;
  transition: transform 0.3s ease;
}

.has-children.open > .nav-split > .submenu-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

/* ==============================
   Подменю (моб)
============================== */

.dsm-mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Когда открыто */
.dsm-mobile-submenu.open {
  max-height: 1000px;
}

/* Пункты подменю */
.dsm-mobile-submenu li a {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}
.dsm-mobile-submenu li a:hover {
  color: #0cc;
}

/* Верхний уровень (level-0) */
.dsm-mobile-menu .level-0 > .nav-split .nav-link {
  font-size: 18px;
  padding: 14px 18px;
  font-weight: 600;
}

/* Подменю (level-1 и глубже) */
.dsm-mobile-menu .level-1 > .nav-split .nav-link,
.dsm-mobile-menu .level-2 > .nav-split .nav-link,
.dsm-mobile-menu .level-3 > .nav-split .nav-link,
.dsm-mobile-menu .level-4 > .nav-split .nav-link {
  font-size: 16px;       /* меньше размер */
  padding: 8px 5px;    /* чуть компактнее отступы */
  line-height: 10px;
  font-weight: 400;      /* тоньше шрифт */
}

/* Уменьшенные отступы между пунктами подменю */
.dsm-mobile-submenu > li > .nav-split {
  margin-bottom: 4px; /* расстояние между пунктами */
}

/* ==============================
   Отступы для уровней вложенности
============================== */
.dsm-mobile-menu .level-0 > .nav-split .nav-link { padding-left: 18px; }
.dsm-mobile-menu .level-1 > .nav-split .nav-link { padding-left: 36px; }
.dsm-mobile-menu .level-2 > .nav-split .nav-link { padding-left: 54px; }
.dsm-mobile-menu .level-3 > .nav-split .nav-link { padding-left: 72px; }
.dsm-mobile-menu .level-4 > .nav-split .nav-link { padding-left: 90px; }

/* Линии для уровней */
.dsm-mobile-menu .level-1 > .nav-split::after { left: 36px; }
.dsm-mobile-menu .level-2 > .nav-split::after { left: 54px; }
.dsm-mobile-menu .level-3 > .nav-split::after { left: 72px; }
.dsm-mobile-menu .level-4 > .nav-split::after { left: 90px; }

/* ==============================
   Адаптивность
============================== */

/* Десктопное меню скрываем на планшетах/телефонах */
@media (max-width: 1024px) {
  .dsm-menu {
    display: none;
  }

  .dsm-mobile-menu {
    display: block;
    background: rgba(5, 0, 16, 0);
    padding: 10px 0;
  }

  .dsm-mobile-menu .nav-item {
    border-bottom: none; /* линии рисуются через ::after */
  }
}

/* На больших экранах мобильное меню скрыто */
@media (min-width: 1025px) {
  .dsm-mobile-menu {
    display: none;
  }
}

.breadcrumbs {
    margin-top: 10px;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #1a554f;
    font-weight: 600;
}
.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumbs li {
    display: flex;
    align-items: center;
    margin-right: 8px;
}
.breadcrumbs li::after {
    content: "›";
    margin-left: 8px;
    color: #aaa;
}
.breadcrumbs li:last-child::after {
    content: "";
}
.breadcrumbs a {
    color: #1a554f;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs .home-icon svg {
    width: 18px;
    height: 18px;
}
.breadcrumbs .active {
    font-weight: 600;
    color: #777;
}

/* Стили для плавающей кнопки */
.floating-calc-btn {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1000;
    background: linear-gradient(135deg, #ff6b35, #ff8e35);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.floating-calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, #ff8e35, #ff6b35);
}

.calc-btn-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-btn-inner i {
    font-size: 1.2em;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .floating-calc-btn {
        right: 15px;
        bottom: 15px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .calc-btn-inner span {
        display: none;
    }
    
    .calc-btn-inner i {
        font-size: 1.4em;
    }
}

.small {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  line-height: 20px;
}

.microsmall {
  font-size: 10px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  line-height: 14px;
}

.navbar {
  padding: 0;
  z-index: 111;
  height: 70px;
  width: 100%;
  background: rgb(5,0,16);
  background: linear-gradient(90deg, rgba(26, 85, 79, 1) 50%, rgba(5,0,16,0.7) 100%);
  font-family: 'Roboto', sans-serif;  
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}

.navbar-brand img {
  padding: 0px;
  margin-left: 0px;
}

.navbar-brand img {
  max-height: 60px;
}

@media only screen and (max-width: 991px) {
  .navbar-brand img
  {
    margin-left: 0px;
    height: 60px;
    max-height: 60px;
  }
}

.navbar .navbar-nav .nav-link {
  font-size: 20px;
  color: #fff;
  font-weight: 400;
  padding: 6px 6px;
  margin-left: 15px;
  margin-right: 15px;
  transition: .5s ease;
  border: 2px solid transparent;
  display: block;
  font-family: 'Roboto', sans-serif;
  border: 0px solid #fff;
  white-space: nowrap; 
}

.navbar .navbar-nav {
  margin-left: 5rem;
}

.navbar .navbar-nav .nav-link.active {
  color: #1a554f;
  transition: all .6s ease;
}

.navbar .navbar-nav .nav-link:hover {
  color: #1a554f;
  transition: all .6s ease;
}

.navbar .navbar-nav .nav-link:last-child {
  margin-right: 0;
}

.navbar .navbar-nav .nav-link:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}

.navbar .navbar-nav .nav-link:hover:after {
  width: 100%;
  background: #1a554f;
}

.navbar .navbar-nav .button {
  margin-left: 30px;
}

.navbar-fixed-top.scrolled {
  /* background-color: #fff !important; */
  transition: .2s linear;
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
}

/*side menu button*/
a.sidemenu_btn {
  display: none;
}

@media only screen and (max-width: 990px) {
 a.sidemenu_btn {
    display: block;
  }
}

.sidemenu_btn {
  width: 36px;
  padding: 6px;
  right: 40px;
  top: 12px;
  z-index: 999;
  margin-top: 12px;
  margin-left: 16px;
  cursor: pointer;
  position: absolute;
  display: inline-block;
  transition: all .3s linear;
/*   border: 1px solid #fff; */
}

.sidemenu_btn span {
  height: 2px;
  width: 100%;
  background: #fff;
  display: block;
  margin: auto;
  transition: .5s ease;
}

.sidemenu_btn:hover span:first-child,
.sidemenu_btn:hover span:last-child {
  width: 70%;
  background-color: #fff;
}

.sidemenu_btn:hover span:nth-child(2) {
  background-color: #fff;
}

.sidemenu_btn span:nth-child(2) {
  margin: 4px 0;
}

/* ===================================
    Side Menu
====================================== */

/* Side Menu */
.side-menu {
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    z-index: 9999;
    background: rgb(5,0,16);
    background: linear-gradient(90deg, rgba(5,0,16,1) 50%, rgba(26, 85, 79, 1) 100%);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.5s ease;
    position: fixed;
    overflow-y: auto;
}

.side-menu.side-menu-active {
    transform: translate3d(0, 0, 0);
}

#close_side_menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

/* Mobile menu items */
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu .nav-link {
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.mobile-menu .nav-link.active {
    color: #1a554f;
}

.mobile-sub-menu {
    list-style: none;
    padding-left: 20px;
    margin: 10px 0 0 0;
    display: none;
}

.mobile-toggle {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.mobile-toggle:before,
.mobile-toggle:after {
    content: '';
    position: absolute;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-toggle:before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.mobile-toggle:after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.mobile-toggle.active:after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

@media (max-width: 767px) {
    .side-menu {
        width: 80%;
    }
}

.side-menu.left {
  left: 0;
  right: auto;
  transform: translate3d(-100%, 0, 0);
}

.side-menu.before-side {
  width: 280px;
}

.side-menu.side-menu-active,
.side-menu.before-side {
  transform: translate3d(0, 0, 0);
}

.pul-menu .side-menu.side-menu-active {
  visibility: visible;
  opacity: 1;
}

.side-menu .navbar-brand {
  margin: 0 0 1.5rem 0;
}

/*Side overlay*/
#close_side_menu {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1031;
  opacity: 0.7;
  background-color: #fff;
  position: fixed;
  transition: opacity 300ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
}

/*side menu image*/
.sidemenu-image {
  position: absolute;
  top: 20px;
  left: 50px;
  max-width: 150px;
}

/*side menu close btn*/
.side-menu .btn-close {
  height: 25px;
  width: 25px;
  top: 34px;
  right: 25px;
  cursor: pointer;
  text-align: center;
  position: absolute;
  display: inline-block;
  border: 0px solid #fff;
}

.side-menu.before-side .btn-close {
  display: none;
}

.side-menu .btn-close::before,
.side-menu .btn-close::after {
  top: 5px;
  left: 16px;
  height: 25px;
  width: 3px;
  content: ' ';
  background: #fff;
  position: absolute;
}

.side-menu .btn-close:before {
  transform: rotate(45deg);
}

.side-menu .btn-close:after {
  transform: rotate(-45deg);
}

.side-menu .btn-close:hover {
  transform: scale(0.9);
  overflow: hidden;
  transition: all .5s ease;
}

/*side menu inner-wrapper*/
.side-menu .inner-wrapper {
  height: 100%;
  padding: 2.0rem 3rem;
  position: relative;
  overflow-y: auto;
  display: flex;
  align-items: top;
  text-align: left;
  flex-wrap: wrap;
  border: 1px solid #050010;
}

.pul-menu.pushwrap .side-menu .inner-wrapper {
  padding: 3.5rem 2.5rem;
}

.side-menu .side-nav {
  margin-bottom: 0;
  margin-top: 0px;
  display: block;
}

.side-nav .navbar-nav .nav-item {
  opacity: 0;
  display: block;
  margin: 5px 0;
  padding: 0 !important;
  transition: all 0.8s ease 500ms;
  transform: translateY(30px);
}

.side-nav .navbar-nav .nav-item:first-child {
  transition-delay: .1s;
}

.side-nav .navbar-nav .nav-item:nth-child(2) {
  transition-delay: .2s;
}

.side-nav .navbar-nav .nav-item:nth-child(3) {
  transition-delay: .3s;
}

.side-nav .navbar-nav .nav-item:nth-child(4) {
  transition-delay: .4s;
}

.side-nav .navbar-nav .nav-item:nth-child(5) {
  transition-delay: .5s;
}

.side-nav .navbar-nav .nav-item:nth-child(6) {
  transition-delay: .6s;
}

.side-nav .navbar-nav .nav-item:nth-child(7) {
  transition-delay: .7s;
}

.side-nav .navbar-nav .nav-item:nth-child(8) {
  transition-delay: .8s;
}

.side-nav .navbar-nav .nav-item:nth-child(9) {
  transition-delay: .9s;
}

.side-menu.side-menu-active .side-nav .navbar-nav .nav-item {
  transform: translateY(0);
  opacity: 1;
}

.side-nav .navbar-nav .nav-link {
  display: inline-table;
  color: #fff;
  padding: 2px 0 3px 0 !important;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  line-height: normal;
  position: relative;
  border-radius: 0;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
}

.side-nav .navbar-nav .nav-link::after {
  content: "";
  left: 0;
  width: 0;
  bottom: 0;
  height: 2px;
  background: #011321;
  overflow: hidden;
  position: absolute;
  display: inline-block;
  transition: all 0.5s cubic-bezier(0, 0, 0.2, 1);
}

.side-nav .navbar-nav .nav-link:hover::after,
.side-nav .navbar-nav .nav-link:focus::after,
.side-nav .navbar-nav .nav-link.active::after {
  width: 100%;
}

.side-nav .navbar-nav .nav-link.active {
  background: transparent;
}

/*side menu footer */
.side-menu-footer .navbar-nav {
  transform: translateY(0);
}

.side-menu-footer {
  color: #fff;
  font-size: 18px;
}

.side-menu-footer p {
  color: #fff;
  font-size: 18px !important;
}

.side-menu-footer a {
  color: #fff;
  font-size: 18px;
}

.side-menu-footer .banner-icons ul {
  margin-bottom: 0;
}

.side-menu-footer .banner-icons ul li {
  display: inline-block;
}

.side-menu-footer .banner-icons ul li i {
  color: #fff;
  font-size: 22px;
}

.side-menu-footer .banner-icons ul li a:hover {
  background-color: #fff;
  transition: all .8s ease;
}

.side-menu-footer .banner-icons ul li a {
  border-radius: 50%;
  color: #fff;
  height: 40px;
  line-height: 38px;
  width: 40px;
  display: block;
  overflow: hidden;
  text-align: center;
  border: 1px solid transparent;
}

.side-menu-footer .banner-icons ul li a:hover i {
  color: #fff;
}

/* скрываем подменю по умолчанию */
.mobile-sub-menu {
  display: none;
  padding-left: 15px;
  margin: 5px 0 0 0;
  list-style: none;
}

/* стиль ссылок внутри подменю */
.mobile-sub-menu .nav-link {
  font-size: 16px;
  font-weight: 400;
  color: #ddd;
  padding: 5px 0 !important;
}

/* активное подменю */
.mobile-sub-menu.open {
  display: block;
}

 /* Точки навигации */
#sliderDots {
    z-index: 10;
}

#sliderDots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

#sliderDots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Hero Banner Styles */
 .hero {
    margin-top: 0px;
     min-height: 100vh;
 }
 .hero .btn-dsm {
     font-size: 1.25rem;
     padding: 15px 30px;
 }
 /* Для мобильных устройств */
 @media (max-width: 768px) {
     .hero h1 {
         font-size: 2.5rem;
     }
     .hero .btn-dsm {
         font-size: 1.1rem;
         padding: 12px 24px;
     }
 }

/* ===================================
    Contact-Section
 ====================================== */
 .contact-section .card {
     background-color: #eee;
     border-radius: 10px;
     border: 1px solid rgba(0, 0, 0, 0.1);
 }
 .contact-section .card-title-service {
     color: #1a554f;
     font-weight: bold;
     font-size: 1.5rem;
 }
 .contact-section .form-control {
     border: 1px solid #ced4da;
     border-radius: 5px;
     padding: 10px;
 }
 .contact-section .form-control:focus {
     border-color: #1a554f;
     box-shadow: none;
     outline: none;
 }
 .contact-section .form-control:focus {
     border-color: #80bdff;
     box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
 }
 .contact-section .btn-primary {
     background-color: #1a554f;
     border-color: #1a554f;
     padding: 10px 20px;
     border-radius: 25px;
 }
 .contact-section .btn-primary:hover {
     background-color: #15433d;
     border-color: #15433d;
 }
 .contact-section .form-label {
     color: #1a554f;
     font-weight: 500;
 }
 .contact-section .form-select {
     border: 1px solid #ced4da;
     border-radius: 5px;
     padding: 10px;
 }
 
 .contact-section .form-select:focus {
     border-color: #1a554f;
     box-shadow: none;
     outline: none;
 }

/* ===================================
  Footer
====================================== */

.footer {
  margin-top: auto; /* Футер прижимается к низу */
  flex-shrink: 0; /* Футер не сжимается */
  padding-top: 0px;
  padding-bottom: 15px;
  background: #1A554F;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  border: 0px solid #fff;
}

.footer p {
  margin-top: 0em;
  margin-bottom: 0.2em;
}

.footer h3 {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  color: #ffffff;
}

.footer h4 {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
}

.footer .social-icons {
  margin-top: 10px;
  text-align: center;
}

.footer a {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
}

.footer a:hover {
  color: color(display-p3 1 0.322 0.91);
}

/* ===================================
   Карточки (услуги и проекты)
====================================== */
.row > [class*='col-'] {
    margin-bottom: 30px;
}

.card {
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  margin-bottom: 30px;
  z-index: 1;
  position: relative;
}

.card-title-service,
.card-title {
  color: #1a554f;
  font-weight: bold;
  font-size: 1.2rem;
}

.card-text-service,
.card-text {
  color: #1a554f;
  font-size: 16px;
  font-weight: 300;
}

/* Шаги "Как мы работаем" */
.step-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: rgba(26, 85, 79, 0.1);
    font-weight: bold;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* ===================================
    Back To Top
====================================== */

.back-to-top {
    font-size: 22px;
    width: 48px;
    height: 48px;
    text-align: center;
    display: none;
    position: fixed;
    bottom: 110px;
    right: 10px;
    z-index: 999;
    border-radius: 50%;
    background-color: #1a554f;
    border: 1px solid #fff;
    -webkit-transition: .4s;
    transition: .4s;
}
.back-to-top.open {
    bottom: 110px;
}
.back-to-top i {
    color: #fff;
    line-height: 42px;
}
.back-to-top:hover {
  background-color: #B19F55;
border: 1px solid #ffffff;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.back-to-top:hover i {
    color: #fff;
}

#message-warning {
   display: none;
  background: none;
  padding: 5px 5px;
  margin-bottom: 5px;
   width: 100%;
}

#message-warning { white-space: pre-line; }
#message-succes { white-space: pre-line; }

.btn-outline-light.active {
    color: white !important;
}

.form-container {
    max-width: 1400px;
    margin: 0px auto;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 30px;
    text-align: center;
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.form-content {
    display: flex;
    flex-wrap: wrap;
}

.step-section {
    padding: 40px;
    border-right: 1px solid #e0e0e0;
}

.step-section:last-child {
    border-right: none;
}

.step-section.left-col {
    width: 33.33%;
    background: var(--color-primary);
    color: var(--color-white);
}

.step-section.right-col {
    width: 66.67%;
}

.step-header {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.step-section.left-col .step-header {
    color: var(--color-secondary);
}

.step-subheader {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.95;
}

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

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    border: 2px solid #ddd;
}

.step-section.left-col .form-check-input {
    border-color: rgba(255,255,255,0.5);
    background-color: transparent;
}

.step-section.left-col .form-check-input:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-label {
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

.right-col .inner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.area-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.area-btn {
    padding: 20px;
    border: 2px solid #ddd;
    background: var(--color-white);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.area-btn:hover {
    border-color: var(--color-primary);
    background: rgba(0, 86, 166, 0.05);
}

.area-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.form-control, .form-select {
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 166, 0.15);
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group-step3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.submit-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.btn-submit {
    padding: 18px 60px;
    background: var(--color-secondary);
    border: none;
    border-radius: 8px;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.privacy-text {
    font-size: 0.875rem;
    color: #666;
}

.privacy-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .step-section.left-col,
    .step-section.right-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .area-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .input-group,
    .input-group-step3 {
        grid-template-columns: 1fr;
    }

    .submit-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-header h1 {
        font-size: 1.5rem;
    }

    .step-header {
        font-size: 1.5rem;
    }

    .area-options {
        grid-template-columns: 1fr;
    }

    .step-section {
        padding: 30px 20px;
    }
}

#calcFormSuccessV2 {
    border: none;
    background: transparent;
}

#calcFormSuccessV2 i.bi-check-circle-fill {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Контейнер успешного сообщения */
#successContainerV2 {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message-center {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.success-message-center i.bi-check-circle-fill {
    font-size: 5rem;
    color: #198754;
    display: block;
    margin-bottom: 1.5rem;
    animation: successPulse 0.6s ease-out;
}

.success-message-center h4 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #198754;
    margin-bottom: 1rem;
}

.success-message-center p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Убираем alert стили для ошибок в форме */
#calcFormWarningV2 {
    margin-top: 1rem;
}
