/* ========== ПЕРЕМЕННЫЕ CSS ========== */
:root{
  --color-primary: #E42032;
  --color-primary-dark: #b20f22;
  --color-secondary: #333;
  --color-bg: #ffffff;
  --text-color: #000;
  --link-color: #E42032;
  --link-hover: #c01828;
  --dropdown-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition-duration: 0.3s;

  /* Bootstrap variables synchronization */
  --bs-primary: #E42032;
  --bs-primary-rgb: 228, 32, 50;
  --bs-info: #E42032;
  --bs-success: #28a745;
  --bs-danger: #dc3545;
  --bs-warning: #ffc107;
  --bs-secondary: #6c757d;
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;
}

/* ========== ШРИФТЫ ========== */
@font-face {
    font-family: 'FindSansPro';
    src: url('./fonts/FindSansPro.woff2') format('woff2'),
         url('./fonts/FindSansPro.woff') format('woff'),
         url('./fonts/FindSansPro.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Narezka';
    src: url('./fonts/Narezka.woff2') format('woff2'),
         url('./fonts/Narezka.woff') format('woff'),
         url('./fonts/Narezka.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

/* ========== ОБЩИЕ СТИЛИ ========== */
body {
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #232323;
  font-family: 'FindSansPro', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: #444;
}
legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
label {
  font-size: 12px;
  font-weight: normal;
}
button:focus {
  outline: none !important;
}

/* ========== КОНТЕЙНЕРЫ ========== */
#container {
  padding-top: 100px;
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}
@media (max-width: 991px) {
  #container {
    padding-top: 70px;
  }
}
#content, #column-left, #column-right {
  padding-bottom: 730px;
}
@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}

/* ========== АЛЕРТЫ ========== */
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}
#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

/* ========== КНОПКИ ========== */
.btn-order {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-duration);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(228, 32, 50, 0.3);
}
.btn-order:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 32, 50, 0.4);
  color: white;
  text-shadow: 0 1px 0 #4a4a4a;
}
.btn-primary,
.btn-info,
.btn-outline-primary,
.btn-outline-info,
.btn.btn-link {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: white !important;
}
.btn-primary:hover,
.btn-info:hover,
.btn-outline-primary:hover,
.btn-outline-info:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: white !important;
}
.btn-outline-primary,
.btn-outline-info {
  background-color: transparent !important;
  color: var(--color-primary) !important;
}
.btn-outline-primary:hover,
.btn-outline-info:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
}
.btn {
  --bs-btn-active-bg: #c90000;
  transition: all 0.3s ease;
  text-decoration: none !important;
}
.btn-primary, .btn-outline-primary {
  transition: all 0.3s ease;
}
.btn-primary:hover, .btn-outline-primary:hover {
  transform: translateY(-2px);
}

/* ========== ГЛОБАЛЬНЫЕ СТИЛИ ========== */
html, body {
  background-color: var(--color-bg);
  color: var(--text-color);
}
a, a:link, a:visited {
  color: var(--link-color);
  transition: color var(--transition-duration);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}
.breadcrumb__section{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.section--padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.breadcrumb__banner {
  position: relative;
  z-index: 1;    
}
.breadcrumb__banner:before {
  content: '';
  position:absolute;
  width: 100vw;
  min-height: 400px;
  height:100%;
  left: 0;
  top: 0;
  background: url(https://image.центрстроительства12.рф/catalog/arenda/header.jpg) no-repeat center center;
  background-size: cover;  
  z-index: -1;
  opacity:0.35;
}
.breadcrumb__title {
  margin-bottom: 1.5rem;
  font-family: var(--bs-body-font-family);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 3rem;
  color: var(--color-primary);
  text-shadow: 0 0 2px #727272;
}
.banner-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  color: #555;
}
.text-shadow {
  text-shadow: -1px 1px 8px black;
}
/* ========== АДАПТИВНОСТЬ ========== */
@media only screen and (min-width: 480px) {
  .breadcrumb__title {font-size: 2.5rem; line-height: 3rem; }
}

@media only screen and (min-width: 768px) {
  .section--padding {padding-top: 7rem; padding-bottom: 7rem;}
  .breadcrumb__title { margin-bottom: 2.5rem; font-size: 3rem; line-height: 3.5rem; }
}

@media only screen and (min-width: 992px) {
  .section--padding {padding-top: 8rem; padding-bottom: 8rem;}
  .breadcrumb__title { font-size: 4.5rem; line-height: 4rem; }
}

@media only screen and (min-width: 1200px) {
  .section--padding {padding-top: 10rem; padding-bottom: 10rem;}
  .breadcrumb__title { font-size: 4.5rem; line-height: 5rem; }
}

/* ========== ХЕДЕР ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}
.header {
  animation: fadeInDown 0.5s ease;
}
.header.scrolled {  
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.logo-box {
  max-width: 200px;
}
.logo-box img {
  transition: all 0.3s ease;
}
.header.scrolled .logo-box img {
  max-height: 50px;
}
.navbar {
  --bs-nav-link-font-size: 10px;
}
.nav-outer {
  position: static;
  display: flex;
  justify-content: space-around;
  height: 100%;
  align-items: center;
}
.nav-box {
  position: absolute;
  right: 0;
  display: flex;
  justify-content: flex-end;
  height: 100%;
}
.nav-box-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 100%;
  cursor: pointer;
  font-size: 1.5rem;
  border-left: 1px solid var(--bs-gray-400);
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}
.nav-box-btn > a{
  color: #2e2e2e;
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
}
.nav-box-btn:hover {
  background-color: var(--color-primary);
}
.nav-box-btn:hover > a{
  color: var(--bs-white);
}
@media (max-width: 991px) {
  .header {padding: 10px 0; }  
  .header.scrolled {padding: 5px 0;}  
  .logo-box {max-width: 150px;}
}

/* ========== МЕНЮ ========== */
.navbar{
  --bs-nav-link-font-size: 10px;
  --bs-padding-item: 8px 5px;
}
.desktop-menu .navbar-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}
.desktop-menu .nav-item {
  position: relative;
}
.desktop-menu .nav-link {
  color: #2d3436 !important;
  font-weight: 500;
  font-size: var(--bs-nav-link-font-size);
  padding: var(--bs-padding-item) !important;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.desktop-menu .nav-link:hover::before,
.desktop-menu .nav-link.active::before {
  width: 80%;
}
.desktop-menu .nav-link:hover,
.desktop-menu .nav-link.active {
  color: var(--color-primary) !important;
  background-color: rgba(228, 32, 50, 0.05);
}
.desktop-menu .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 240px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.desktop-menu .dropdown:hover .dropdown-menu,
.desktop-menu .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.desktop-menu .dropdown-item {
  color: #2d3436;
  font-size: 14px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}
.desktop-menu .dropdown-item:hover,
.desktop-menu .dropdown-item.active {
  background-color: transparent;
  color: var(--color-primary);
  padding-left: 35px;
}
.desktop-menu .dropdown-item:hover::before {
  opacity: 1;
  left: 20px;
}
.nav-link-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-link-wrapper .nav-link {
  padding-right: 5px !important;
}
.dropdown-toggle-btn {
  background: none;
  border: none;
  padding: 0 5px;
  color: #2d3436;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.dropdown-toggle-btn:hover {
  color: var(--color-primary);
  background-color: rgba(228, 32, 50, 0.1);
}
.dropdown-toggle-btn:focus {
  outline: none;
}
.dropdown-toggle-btn i {
  transition: transform 0.3s ease;
  font-size: 12px;
}
.dropdown-toggle-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.nav-item.dropdown:hover .dropdown-toggle-btn i {
  transform: rotate(180deg);
}
.nav-item.dropdown > .nav-link-wrapper > .nav-link::after {
  display: none;
}
.nav-item.dropdown > .nav-link-wrapper > .nav-link {
  position: relative;
}
.nav-item.dropdown > .nav-link-wrapper > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
  opacity: 0.5;
}
.nav-item.dropdown.active > .nav-link-wrapper > .nav-link::after {
  opacity: 1;
  background-color: var(--color-primary);
}
@media (max-width: 991px) {
  .nav-link-wrapper {width: 100%;}  
  .dropdown-toggle-btn {width: 30px; height: 30px;}
}
@media (min-width: 992px) {      
  .navbar {
    --bs-nav-link-font-size: 12px;
    --bs-padding-item: 8px 12px !important;
  }
}
@media (min-width: 1200px){
  .navbar {
    --bs-nav-link-font-size: 14px;
    --bs-padding-item: 8px 15px !important;
  }
}

/* ========== OFFCANVAS ========== */
.mobile-nav-collapse.collapsing {
  transition: height 0.35s ease;
}
.offcanvas-head {
  --bs-offcanvas-width: 350px;
  --bs-offcanvas-padding-x: 1rem;
  --bs-offcanvas-padding-y: 2rem;
}
.offcanvas-head.show{
  right: 0;
  -webkit-transition: all 0.7s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
  -o-transition: all 0.7s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
  transition: all 0.7s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
}
.offcanvas-head{
  -webkit-transition: all 0.5s cubic-bezier(0.9, 0.03, 0, 0.96) 0.6s;
  -o-transition: all 0.5s cubic-bezier(0.9, 0.03, 0, 0.96) 0.6s;
  transition: all 0.5s cubic-bezier(0.9, 0.03, 0, 0.96) 0.6s;
}
.offcanvas-backdrop {
  opacity: 0.85;
  -webkit-transition: all .4s ease-in .8s;
  -o-transition: all .4s ease-in .8s;
  transition: all .4s ease-in .8s;    
}
.offcanvas-backdrop.show{
  -webkit-transition: all .8s ease-out 0s;
  -o-transition: all .8s ease-out 0s;
  transition: all .8s ease-out 0s;
  left: 0;
}
.offcanvas-logo img {
  max-width: 160px;
  height: auto;
}
.offcanvas-btn-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.offcanvas-btn-close:hover {
  background-color: var(--color-primary);
  transform: rotate(90deg);
}.offcanvas-btn-close i {
  font-size: 18px;
}
.offcanvas-desktop-content .list-unstyled li {
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.offcanvas-desktop-content p,
.offcanvas-desktop-content span,
.offcanvas-desktop-content li {
  color: #555;
}
.contact-item {
  display:flex;
  align-content: center;
  align-items: center;
}
.contact-item-info {
  display: flex;
  flex-direction: column;
}
.contact-item i{
  height: 45px;
  width: 45px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: center;
  font-size: 18px;
  border-radius: 5px;
}
.contact-item-info span {
  display: block;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 0;
}
.contact-item-info p,
.contact-item-info a {
  font-size: 0.8rem;
  color: #222;
}

/* �������� ���� � offcanvas */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.mobile-nav-link {
  flex: 1;
  padding-right: 10px !important;
  color: #2d3436 !important;
  font-weight: 500;
  font-size: 16px;  
  text-decoration: none;
}
.mobile-nav-link:hover {
  color: var(--color-primary) !important;
}
.mobile-nav-item.active .mobile-nav-link {
  color: var(--color-primary) !important;
}
.mobile-nav-toggle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.mobile-nav-toggle:hover {
  background-color: rgba(228, 32, 50, 0.1);
  color: var(--color-primary);
}
.mobile-nav-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.mobile-nav-subitem i {
  font-size: 12px;
  color: #999;
  transition: all 0.3s ease;
}
.mobile-nav-subitem:hover i,
.mobile-nav-subitem.active i {
  color: var(--color-primary);
  transform: translateX(3px);
}
.mobile-nav-submenu {
  padding-left: 15px !important;
  list-style: none;
  margin-bottom: 10px;
}
.mobile-nav-subitem {
  color: #666 !important;
  font-size: 14px;
  padding: 8px 0 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.mobile-nav-subitem i {
  font-size: 12px;
  color: #999;
  transition: all 0.3s ease;
}
.mobile-nav-subitem:hover,
.mobile-nav-subitem.active {
  color: var(--color-primary) !important;
  padding-left: 5px !important;
}
.mobile-nav-subitem:hover i,
.mobile-nav-subitem.active i {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ========== СОЦИАЛЬНЫЕ ССЫЛКИ ========== */
.social-link {
  width: 35px;
  height: 35px;
}
.sl {
  width:100%;
  height: 100%;
  display:inline-block;
  vertical-align: middle;
}
.social-link:hover{
  opacity:0.75;
  transition: all var(--transition-duration) ease;
}

/* ========== BOOTSTRAP ИЗМЕНЕНИЯ ========== */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}
.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}
.nav-tabs {
  margin-bottom: 15px;
}
.form-check .form-check-input {
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}

/* ========== ФУТЕР ========== */
footer {
  position: relative;
  padding: 80px 0 40px;
  background-color: #101016;
  background-image: url('./image/footer.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  margin-top: 100px;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.41);
  pointer-events: none;
}
footer .container {
  position: relative;
  z-index: 1;
}
footer h5 {
  font-family: 'Narezka', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 0.5px;
}
footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #ff6b6b 100%);
  border-radius: 2px;
}
.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 15px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 15px;
}
.footer-links a i {
  font-size: 12px;
  color: var(--color-primary);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}
.footer-links a:hover i {
  transform: translateX(3px);
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  margin-bottom: 20px;
}
.footer-contact i {
  color: var(--color-primary);
  font-size: 18px;
  width: 24px;
  text-align: center;
}
.footer-contact .small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}
.footer-contact a,
.footer-contact span {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
  line-height: 1.5;
}
.footer-contact a:hover {
  color: var(--color-primary);
}
.footer-social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social-link:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(228, 32, 50, 0.3);
}
.footer-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all 0.3s ease;
}
.footer-logo-img:hover {
  opacity: 1;
}
footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}
footer .small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5) !important;
}
.hover-white {
  transition: color 0.3s ease;
}
.hover-white:hover {
  color: #fff !important;
}

@media (max-width: 991px) {
  footer {padding: 60px 0 30px;}  
  footer h5 {margin-top: 20px;}  
  .footer-wrapper {margin-bottom: 30px;}  
  footer .d-flex.justify-content-md-end {
    justify-content: flex-start !important;
    margin-top: 15px;
    gap: 15px !important;
    flex-wrap: wrap;
  }
}
@media (max-width: 576px) {
  footer {padding: 40px 0 20px;}  
  footer h5::after {left: 50%;transform: translateX(-50%); }  
  footer h5 {text-align: center;}  
  .footer-social .d-flex {justify-content: center;}  
  .footer-contact li .d-flex {flex-direction: column;align-items: center;text-align: center;}  
  .footer-contact i {margin-bottom: 8px;margin-right: 0 !important; }  
  .footer-links {text-align: center;} 
  .footer-links a:hover {transform: translateX(0) scale(1.05); }  
  footer .d-flex.justify-content-md-end {justify-content: center !important;text-align: center;}
}
.footer-wrapper {
  animation: fadeInUp 0.6s ease forwards;
}
.footer-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}
.footer-wrapper:nth-child(3) {
  animation-delay: 0.4s;
}
.footer-wrapper:nth-child(4) {
  animation-delay: 0.6s;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  --bs-breadcrumb-divider: '>';
}
.breadcrumb > li.breadcrumb-item {
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
color: #5E5F63;
font-weight: 500;
text-decoration: none;
text-shadow: 0 0px 1px #797979;
}
.breadcrumb > li.breadcrumb-item.active > a {
color: #26232A;
text-shadow: none;
pointer-events: none;
}

/* ========== SECTION HEADING ========== */
.section-heading {
  font-family: 'Narezka', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }

  .section-heading::after {
    width: 40px;
    height: 2px;
  }
}

.section-heading-row {
  margin-bottom: 2rem;
}

.section-heading-row .section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

/* ========== EQUIPMENT ========== */
.equipment-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.05);
}
.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}
.equipment-card .text-danger {
  font-weight: 600;
}
.equipment-card .text-danger i {
  transition: transform 0.2s;
}
.equipment-card .text-danger:hover i {
  transform: translateX(5px);
}
.equipment-card .btn-danger {
  background-color: #E42032;
  border-color: #E42032;
  padding: 12px;
  font-weight: 600;
}
.equipment-card .btn-danger:hover {
  background-color: #c01828;
  border-color: #c01828;
}

/* ========== PRODUCT ========== */
.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}
.product-thumb .image {
  text-align: center;
}
.product-thumb .image a:hover {
  opacity: 0.8;
}
.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}
.product-thumb .description h4 {
  font-weight: bold;
}
.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}
.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}
.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}
.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}
@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% -  15px);
    margin-left: 15px;
  }
}
.rating .fa-stack {
  width: 20px;
}
.rating .fa-star {
  color: #999;
  font-size: 15px;
}
.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}
.rating .fa-star + .fa-star {
  color: #E69500;
}
/* product list */
.price {
  color: #444;
}
.price-new {
  font-weight: 600;
}
.price-old {
  color: #dc512c;
  text-decoration: line-through;
}
.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

/* ========== BLOG ========== */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.blog-thumb h4 {
  font-weight: bold;
}
.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}
.blog-thumb .image a:hover {
  opacity: 0.8;
}
.blog-thumb .description {
  padding: 15px;
}

/* ========== FUNDAMENT PAGE ========== */
.fundament-page {
  --fundament-accent: var(--color-primary);
  --fundament-dark: #7a1f2a;
  --fundament-soft: #fff1f2;
}
.fundament-page .fundament-hero__inner {
  background: linear-gradient(135deg, #d61d2e 0%, #fe7777 100%);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(128, 26, 33, 0.16);
}
.fundament-page .fundament-eyebrow,
.fundament-page .section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.fundament-page .section-label {
  background: rgba(229, 83, 83, .15);
  color: var(--fundament-accent);
}
.fundament-page .fundament-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.fundament-page .fundament-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 14px;
}
.fundament-page .hero-summary {
  border-radius: 20px;
}
.fundament-page .hero-summary__list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}
.fundament-page .hero-summary__list li {
  display: flex;
  gap: 10px;
  align-items: start;
}
.fundament-page .hero-summary__list i,
.fundament-page .consult-highlights i {
  color: var(--fundament-accent);
  margin-top: 3px;
}
.fundament-page .section-heading {
  margin-bottom: 22px;
}
.fundament-page .fundament-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.fundament-page .fundament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(228, 32, 50, 0.12);
}
.fundament-page .fundament-card__media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.fundament-page .fundament-card:hover .fundament-card__media img {
  transform: scale(1.03);
}
.fundament-page .info-card,
.fundament-page .step-card,
.fundament-page .consult-form,
.fundament-page .faq-item {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f8eeee;
  box-shadow: 0 12px 28px rgba(128, 26, 33, 0.08);
}
.fundament-page .info-card {
  padding: 24px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fundament-page .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(228, 32, 50, 0.08);
}
.fundament-page .info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 83, 83, .1);
  color: var(--fundament-accent);
  margin-bottom: 14px;
}
.fundament-page .step-card {
  padding: 22px;
  display: flex;
  gap: 16px;
  height: 100%;
  transition: all 0.2s;
}
.fundament-page .step-card:hover {
  transform: translateX(6px);
  border-color: rgba(228,32,50,0.2);
}
.fundament-page .step-card__number {
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--fundament-soft);
  color: var(--fundament-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fundament-page .cta-section {
  background: linear-gradient(180deg, #fff8f8 0%, #fbeeee 100%);
  border-radius: 24px;
  padding: 30px;
  transition: box-shadow 0.3s;
}
.fundament-page .cta-section:hover {
  box-shadow: 0 15px 35px rgba(228, 32, 50, 0.08);
}
.fundament-page .consult-highlights {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}
.fundament-page .consult-highlights li {
  display: flex;
  gap: 10px;
}
.fundament-page .consult-form {
  padding: 24px;
}
@media (max-width: 767.98px) {
  .fundament-page .fundament-hero__inner,
  .fundament-page .cta-section {
    padding: 22px;
  }
}

/* ========== FUNDAMENT DETAIL PAGE ========== */
.fundament-detail-page {
  --fundament-accent: var(--color-primary);
  --fundament-dark: #7a1f2a;
  --fundament-soft: #fff1f2;
}
.fundament-detail-page .detail-panel,
.fundament-detail-page .detail-photo,
.fundament-detail-page .detail-article,
.fundament-detail-page .detail-form,
.fundament-detail-page .fact-card,
.fundament-detail-page .step-card,
.fundament-detail-page .related-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 50, 77, 0.08);
}
.fundament-detail-page .detail-panel {
  padding: 30px;
}
.fundament-detail-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--fundament-accent);
  text-decoration: none;
}
.fundament-detail-page .detail-badge,
.fundament-detail-page .section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(47, 111, 173, .12);
  color: var(--fundament-accent);
}
.fundament-detail-page .detail-photo {
  overflow: hidden;
  height: 100%;
}
.fundament-detail-page .detail-photo img,
.fundament-detail-page .related-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.fundament-detail-page .detail-stat {
  background: var(--fundament-soft);
  border-radius: 16px;
  padding: 14px 16px;
  height: 100%;
}
.fundament-detail-page .detail-stat span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #6d7c8d;
  margin-bottom: 6px;
}
.fundament-detail-page .detail-stat strong {
  display: block;
  color: var(--fundament-dark);
}
.fundament-detail-page .detail-article .card-body,
.fundament-detail-page .detail-form .card-body,
.fundament-detail-page .fact-card .card-body,
.fundament-detail-page .related-card .card-body {
  padding: 24px;
}
.fundament-detail-page .fundament-content {
  color: #2e2e2e;
  line-height: 1.75;
}
.fundament-detail-page .fundament-content h2,
.fundament-detail-page .fundament-content h3 {
  color: var(--fundament-dark);
  margin-top: 24px;
}
.fundament-detail-page .fundament-content ul {
  padding-left: 18px;
}
.fundament-detail-page .checklist {
  display: grid;
  gap: 10px;
}
.fundament-detail-page .checklist li {
  display: flex;
  gap: 10px;
}
.fundament-detail-page .checklist i {
  color: var(--fundament-accent);
  margin-top: 3px;
}
.fundament-detail-page .fact-list {
  display: grid;
  gap: 10px;
}
.fundament-detail-page .fact-list span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fundament-soft);
}
.fundament-detail-page .section-heading {
  margin-bottom: 22px;
}
.fundament-detail-page .step-card {
  padding: 22px;
  height: 100%;
}
.fundament-detail-page .step-card__number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(47, 111, 173, .12);
  color: var(--fundament-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.fundament-detail-page .related-card {
  overflow: hidden;
  height: 100%;
}
/* ========== FUNDAMENT DETAIL PAGE ========== */
.fundament-detail-page .detail-panel,
.fundament-detail-page .detail-photo,
.fundament-detail-page .detail-article,
.fundament-detail-page .detail-form,
.fundament-detail-page .fact-card,
.fundament-detail-page .step-card,
.fundament-detail-page .related-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 50, 77, 0.08);
}
.fundament-detail-page .detail-panel {
  padding: 30px;
}
.fundament-detail-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--fundament-accent);
  text-decoration: none;
}
.fundament-detail-page .detail-badge,
.fundament-detail-page .section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(47, 111, 173, .12);
  color: var(--fundament-accent);
}
.fundament-detail-page .detail-photo {
  overflow: hidden;
  height: 100%;
}
.fundament-detail-page .detail-photo img,
.fundament-detail-page .related-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.fundament-detail-page .detail-stat {
  background: var(--fundament-soft);
  border-radius: 16px;
  padding: 14px 16px;
  height: 100%;
}
.fundament-detail-page .detail-stat span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #6d7c8d;
  margin-bottom: 6px;
}
.fundament-detail-page .detail-stat strong {
  display: block;
  color: var(--fundament-dark);
}
.fundament-detail-page .detail-article .card-body,
.fundament-detail-page .detail-form .card-body,
.fundament-detail-page .fact-card .card-body,
.fundament-detail-page .related-card .card-body {
  padding: 24px;
}
.fundament-detail-page .fundament-content {
  color: #2e2e2e;
  line-height: 1.75;
}
.fundament-detail-page .fundament-content h2,
.fundament-detail-page .fundament-content h3 {
  color: var(--fundament-dark);
  margin-top: 24px;
}
.fundament-detail-page .fundament-content ul {
  padding-left: 18px;
}
.fundament-detail-page .checklist {
  display: grid;
  gap: 10px;
}
.fundament-detail-page .checklist li {
  display: flex;
  gap: 10px;
}
.fundament-detail-page .checklist i {
  color: var(--fundament-accent);
  margin-top: 3px;
}
.fundament-detail-page .fact-list {
  display: grid;
  gap: 10px;
}
.fundament-detail-page .fact-list span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fundament-soft);
}
.fundament-detail-page .section-heading {
  margin-bottom: 22px;
}
.fundament-detail-page .step-card {
  padding: 22px;
  height: 100%;
}
.fundament-detail-page .step-card__number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(47, 111, 173, .12);
  color: var(--fundament-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.fundament-detail-page .related-card {
  overflow: hidden;
  height: 100%;
}
.fundament-detail-page .related-card img {
  height: 200px;
  min-height: 200px;
}
@media (max-width: 767.98px) {
  .fundament-detail-page .detail-panel {
    padding: 22px;
  }
}

/* ========== STROITELSTVO HOME PAGE ========== */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}
.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-section .hero-buttons {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.category-section {
  padding: 80px 0;
  background: #f8f9fa;
}
.category-section h2 {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-dark);
  font-weight: 600;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.category-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.category-card .card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: 30px;
  text-align: center;
}
.category-card .card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.category-card .card-body {
  padding: 30px;
}
.category-card .subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.category-card .subcategory-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.category-card .subcategory-list li:last-child {
  border-bottom: none;
}
.category-card .subcategory-list a {
  color: var(--color-dark);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}
.category-card .subcategory-list a:hover {
  color: var(--color-primary);
}
.category-card .subcategory-list a::after {
  content: '→';
  transition: transform 0.3s ease;
}
.category-card .subcategory-list a:hover::after {
  transform: translateX(5px);
}

.services-section {
  padding: 80px 0;
}
.services-section h2 {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-dark);
  font-weight: 600;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantages-section {
  padding: 80px 0;
  background: #f8f9fa;
}
.advantages-section h2 {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-dark);
  font-weight: 600;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.consultation-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}
.consultation-section h2 {
  text-align: center;
  margin-bottom: 60px;
  color: white;
  font-weight: 600;
}
.consultation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.fundament-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.fundament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(228, 32, 50, 0.15);
}
.fundament-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
}
.fundament-card .card-img-wrapper img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.fundament-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.fundament-card .card-price {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-primary);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-card .service-icon {
  margin-bottom: 20px;
}
.service-card .service-icon i {
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon i {
  transform: scale(1.1);
}

.advantage-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.advantage-item i {
  transition: transform 0.3s ease;
}
.advantage-item:hover i {
  transform: scale(1.1) rotate(5deg);
}

.consult-form {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Дополнительные стили для карты сайта */
.sitemap-card {
  border: none;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.sitemap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(228, 32, 50, 0.1);
}
.sitemap-card .card-header {
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
  border-bottom: 1px solid rgba(228,32,50,0.1);
  padding-bottom: 0.75rem;
}
.accordion-button {
  background-color: #f8f9fa;
  border-radius: 16px !important;
  transition: all 0.2s;
}
.accordion-button:not(.collapsed) {
  background-color: #fff0f0;
  color: var(--color-primary);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.accordion-button .badge {
  background-color: var(--color-primary);
  font-size: 0.7rem;
}
.sitemap-subcategory {
  padding: 6px 0;
}
.sitemap-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #f0f0f0;
}
.sitemap-list li:last-child {
  border-bottom: none;
}
.sitemap-list a, .sitemap-subcategory a {
  transition: color 0.2s, padding-left 0.2s;
}
.sitemap-list a:hover, .sitemap-subcategory a:hover {
  color: var(--color-primary) !important;
  padding-left: 4px;
}
.accordion-button a:hover {
  color: var(--color-primary);
}
.btn-link {
  text-decoration: none;
  color: #6c757d;
}
.btn-link:hover {
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .sitemap-card {
      margin-bottom: 1rem;
  }
  .accordion-button {
      padding: 12px;
  }
  .row-cols-md-2 > .col {
      flex: 0 0 100%;
  }
}
/* Анимации с задержкой для карточек */
.fundament-card:nth-child(1) { animation-delay: 0.1s; }
.fundament-card:nth-child(2) { animation-delay: 0.2s; }
.fundament-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

/* Мобильная адаптивность */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-section p {
    font-size: 1.1rem;
  }
  .category-section,
  .services-section,
  .advantages-section,
  .consultation-section {
    padding: 60px 0;
  }
  .category-grid,
  .services-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .consultation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .category-card .card-header,
  .category-card .card-body {
    padding: 20px;
  }
}

/* ========== THEME CUSTOM CSS ========== */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}
#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
  opacity: 0;
}
.fade-in {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}
.stagger-children > * {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
