/* Слайдер */
.slider-company-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 122px);
  overflow: hidden; }

.slider-company-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  color: #222; }

.slider-company-container .slide.active {
  opacity: 1;
  z-index: 10; }

.slider-company-container .slider-company-container .right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; }

.slider-company-container .slide-photo {
  width: 100%;
  height: 340px;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2); }

.slider-company-container .slide-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; }

.slider-company-container .slide {
  background-image: url(/uploads/history/main-bg.jpg);
  background-size: cover; }

.slider-company-container .current-year {
  font-size: 56px;
  position: relative;
  margin-bottom: 10px; }

.slider-company-container .current-year:before {
  content: '';
  width: 140px;
  height: 6px;
  border-radius: 3px;
  background: #c60d2f;
  position: absolute;
  bottom: 0;
  left: 0; }

.slider-company-container .current-year .current-year_title {
  font-size: 52px; }

.slider-company-container .slide .right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; }

/* Фоновые изображения (можно заменить на свои) 
.slide:nth-child(1) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2014'); }
.slide:nth-child(2) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2015'); }
.slide:nth-child(3) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2016'); }
.slide:nth-child(4) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2017'); }
.slide:nth-child(5) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2018'); }
.slide:nth-child(6) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2019'); }
.slide:nth-child(7) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2020'); }
.slide:nth-child(8) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2021'); }
.slide:nth-child(9) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2022'); }
.slide:nth-child(10) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2023'); }
.slide:nth-child(11) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2024'); }
.slide:nth-child(12) { background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080?business,2025'); }
*/
/* Кнопки-даты */
.year-buttons {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20; }

.year-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 60px; }

.year-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #c60d2f; }

.year-btn.active {
  background: #c60d2f;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }

/* Мобильная адаптация */
@media (max-width: 1200px) {
  .slider-company-container .slide-photo {
    height: 280px; } }

@media (max-width: 991px) {
  .slider-company-container .current-year {
    font-size: 32px;
    position: relative; }
  .slider-company-container .current-year:before {
    width: 80px;
    height: 4px;
    border-radius: 2px; }
  .current-year_title {
    font-size: 28px; }
  .what-we-did .what-we-did_title {
    font-size: 18px; }
  .year-buttons {
    flex-wrap: wrap;
    width: 100%;
    padding: 0 15px; }
  .slider-company-container .slide {
    align-items: flex-start; }
  .current-year_title br {
    display: none; }
  .slider-company-container .slide-photo {
    width: 420px;
    height: 280px; }
  .year-btn {
    padding: 10px 15px;
    font-size: 0.9rem; } }

@media (max-width: 768px) {
  .slider-company-container .slide-photo {
    width: 380px;
    height: 250px; }
  .year-buttons {
    gap: 7px;
    bottom: 20px; }
  .slider-company-container .slide {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 150px; } }

@media (max-width: 596px) {
  .slider-company-container .slide-photo {
    width: 100%;
    height: 250px; }
  .year-btn {
    padding: 5px 10px;
    font-size: 0.8rem; } }

@media (max-width: 420px) {
  .slider-company-container .slide-photo {
    width: 100%;
    height: 200px; } }