/* === Общие стили === */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #222;
  }
  
  header {
    background-color: #111;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .logo-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
  }
  
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  
  .logo-img {
    height: 90px;
    width: auto;
    margin-right: 10px;
    border-radius: 30px;
  }
  
  .logo-text {
    font-weight: 700;
    font-size: 1.2em;
    color: #dbad68;
    line-height: 1.2;
    text-transform: uppercase;
  } 
  .burger-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #dbad68;
    cursor: pointer;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #dbad68;
  }
  
  .page-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
  }
  
  .side-menu {
    width: 220px;
    border-left: 4px solid #dbad68;
    padding-left: 15px;
  }
  
  .side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .side-menu ul li {
    margin-bottom: 12px;
  }
  
  .side-menu ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .side-menu ul li a.active,
  .side-menu ul li a:hover {
    color: #dbad68;
  }
  
  .page-content {
    flex: 1;
  }
  
  .milestones-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
  }
  
  .milestone-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    color: #dbad68;
    margin-bottom: 50px;
    text-transform: uppercase;
  }
  
  .milestone {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid #dbad68;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  
  .milestone-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .milestone-logo {
    width: 50px;
    height: auto;
    border-radius: 20px;
  }
  
  .milestone-year {
    font-size: 1.4em;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
  }
  
  .milestone-text {
    font-size: 2em;
    color: #2C3539;
    line-height: 1.6;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  
  /* === Мобильная адаптация === */
  @media (max-width: 768px) {
    header {
      flex-direction: row; /* Сохраняем логотип и бургер в одной строке */
      align-items: center;
      justify-content: space-between; /* Логотип слева, бургер справа */
      padding: 15px 20px;
    }
  
    .logo-wrapper {
      flex-direction: row;
      align-items: center;
    }
  
    .logo-img {
      height: 60px;
      border-radius: 30px;
    }
    .burger-btn {
      display: block;
      font-size: 28px;
      background: none;
      border: none;
      color: #dbad68;
      cursor: pointer;
      margin: 0; /* Убираем auto-margin */
      align-self: center;
    }
  
    nav {
      width: 100%;
      display: none;
    }
  
    nav.open {
      display: block;
      margin-top: 10px;
    }
  
    nav ul {
      flex-direction: column;
      gap: 10px;
      background-color: #111;
      padding: 15px;
    }
  
    nav ul li a {
      color: #fff;
      padding: 10px;
      display: block;
    }
  
    .page-wrapper {
      flex-direction: column;
      padding: 0 15px;
      gap: 20px;
    }
  
    .side-menu {
      width: 80%;
      border-left: none;
      padding: 15px 0;
      margin-bottom: 20px;
    }
  
    .side-menu ul {
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
      padding-left: 0;
    }
  
    .side-menu ul li {
      width: 100%;
    }
  
    .side-menu ul li a {
      display: block;
      width: 100%;
      padding: 10px 15px;
      font-size: 16px;
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 4px;
      color: #222;
    }
  
    .side-menu ul li a.active,
    .side-menu ul li a:hover {
      background-color: #dbad68;
      color: #000;
      border-color: #fbd605;
    }
  
    @media (max-width: 768px) {
      .milestone-header {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
      }
    
      .milestone-logo {
        width: 40px;
      }
    
      .milestone-year {
        font-size: 2.2em;
        color: #14213D;
        font-weight: bold;
        text-transform: uppercase;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* тень */
      }
    
      .milestone-text {
        font-size: 0.95em;
        font-weight: bold;
        text-transform: uppercase;

      }
    }
    
  }
  /*-боковое меню*/

  /* По умолчанию скрыто */
  .mobile-section-wrapper {
    display: none;
 }
 
 @media (max-width: 768px) {
   .side-menu {
     display: none;
   }
 
   .mobile-section-wrapper {
     display: block;
   }
 
 
   .mobile-section-bottom {
     background-color: #dbad68;
     padding: 10px;
     color: #fff;
   }
 
   .breadcrumb {
     font-size: 0.9em;
     color: #fff;
     margin-bottom: 0px;
   }
 
   .breadcrumb a {
     color: #fff;
     text-decoration: underline;
   }
 
   .breadcrumb span {
     font-weight: 700;
   }
 }
 nav ul li a i {
  font-size: 18px;
  color: #fff;
}
nav ul li a:hover i {
  color: #dbad68;
}
  /*подвал*/ 

  .site-footer {
    background-color: #f5f5f5;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрирует всё */
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .footer-logo {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .footer-logo img {
    height: 70px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* лёгкая тень */
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.03) contrast(1.1); /* сделать чуть ярче */
  }
  
  .footer-logo img:hover {
    transform: scale(1.05); /* плавное увеличение при наведении */
    filter: brightness(1.1) contrast(1.2);
  }
  
  
  .footer-menu {
    flex: 1 1 100%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрирует меню */
    gap: 30px;
    padding: 0;
    margin: 0;
  }
  
  .footer-menu li a {
    text-decoration: none;
    font-weight: 600;
    color: #111;
    transition: color 0.3s ease;
  }
  
  .footer-menu li a:hover {
    color: #dbad68;
  }
  
  .footer-copy {
    margin-top: 30px;
    color: #888;
    font-size: 0.9em;
  }
  
  /* Мобильная адаптация */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .footer-logo {
      justify-content: center;
      margin-bottom: 10px;
    }
  
    .footer-menu {
      justify-content: center;
      margin-top: 0;
    }
  }
  
/* Scroll to top button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #111;
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 3px;
  z-index: 100;
}

#scrollTopBtn:hover {
  background-color: #dbad68;
  color: #000;
}