/* ========================================
   СОВРЕМЕННЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ О КОМПАНИИ
   ======================================== */

/* Контейнер */
.modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   ГЕРОЙ СЕКЦИЯ
   ======================================== */
.modern-hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565d8 50%, #42a5f5 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.modern-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.modern-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.95;
}

/* Статистика */
.modern-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.modern-stat-item {
  text-align: center;
}

.modern-stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modern-stat-label {
  font-size: 14px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   МИССИЯ СЕКЦИЯ
   ======================================== */
.modern-mission {
  padding: 80px 0;
  background: #f8f9fa;
}

.modern-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.modern-section-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.modern-section-subtitle {
  font-size: 18px;
  color: #666;
  margin: 0;
}

.modern-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.modern-mission-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.modern-mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.modern-mission-card-primary {
  background: linear-gradient(135deg, #1565d8 0%, #0d47a1 100%);
  color: #ffffff;
}

.modern-mission-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.modern-mission-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
}

.modern-mission-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.modern-mission-card-primary p {
  opacity: 0.95;
}

/* ========================================
   ПРОДУКЦИЯ СЕКЦИЯ
   ======================================== */
.modern-products {
  padding: 80px 0;
  background: #ffffff;
}

.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.modern-product-card {
  background: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
  border-left: 4px solid #1565d8;
  transition: all 0.3s ease;
}

.modern-product-card:hover {
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-left-color: #0d47a1;
}

.modern-product-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.modern-product-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.modern-product-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* ========================================
   ВРЕМЕННАЯ ШКАЛА (ГОРИЗОНТАЛЬНАЯ)
   ======================================== */
.modern-timeline {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  overflow: hidden;
}

.modern-timeline-wrapper-full {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.modern-timeline-wrapper {
  position: relative;
  padding: 60px 0 40px;
  min-height: 350px;
  width: 100%;
}

/* SVG путь с кривыми линиями */
.modern-timeline-path {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 250px;
  pointer-events: none;
  z-index: 0;
}

.modern-timeline-path svg {
  width: 100%;
  height: 100%;
}

/* Горизонтальная сетка */
.modern-timeline-grid {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  z-index: 1;
  padding: 0 15px;
  flex-wrap: nowrap;
}

.modern-timeline-item {
  flex: 1 1 auto;
  min-width: 120px;
  max-width: 180px;
  position: relative;
  text-align: center;
}

/* Чередование карточек - шахматный порядок */
.modern-timeline-item:nth-child(odd) {
  margin-top: 0;
}

.modern-timeline-item:nth-child(even) {
  margin-top: 80px;
}

.modern-timeline-year {
  font-size: 15px;
  font-weight: 700;
  color: #1565d8;
  margin-bottom: 8px;
  padding-top: 8px;
}

.modern-timeline-content {
  background: #ffffff;
  padding: 12px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.modern-timeline-content:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #1565d8;
}

.modern-timeline-content h3 {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
}

.modern-timeline-content p {
  font-size: 10px;
  line-height: 1.35;
  color: #666;
  margin: 0;
}

/* ========================================
   ПРИЗЫВ К ДЕЙСТВИЮ
   ======================================== */
.modern-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.modern-cta-content {
  text-align: center;
  color: #ffffff;
}

.modern-cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 16px;
}

.modern-cta-content p {
  font-size: 18px;
  margin: 0 0 32px;
  opacity: 0.9;
}

.modern-cta-button {
  display: inline-block;
  background: #1565d8;
  color: #ffffff;
  padding: 16px 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-cta-button:hover {
  background: #0d47a1;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(21, 101, 216, 0.3);
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 1024px) {
  .modern-hero-title {
    font-size: 42px;
  }
  
  .modern-section-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .modern-hero {
    padding: 60px 0 50px;
  }
  
  .modern-hero-title {
    font-size: 32px;
  }
  
  .modern-hero-subtitle {
    font-size: 16px;
  }
  
  .modern-stats {
    gap: 30px;
  }
  
  .modern-stat-number {
    font-size: 36px;
  }
  
  .modern-section-title {
    font-size: 28px;
  }
  
  .modern-section-subtitle {
    font-size: 16px;
  }
  
  .modern-mission,
  .modern-products,
  .modern-timeline,
  .modern-cta {
    padding: 50px 0;
  }
  
  /* Временная шкала на мобильных - горизонтальная прокрутка */
  .modern-timeline-wrapper {
    padding: 40px 0;
    min-height: auto;
  }
  
  /* Скрываем линию на мобильных и планшетах */
  .modern-timeline-path {
    display: none;
  }
  
  .modern-timeline-grid {
    padding: 0 10px 15px;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  
  .modern-timeline-grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .modern-timeline-grid::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
  }
  
  .modern-timeline-grid::-webkit-scrollbar-thumb {
    background: #1565d8;
    border-radius: 3px;
  }
  
  /* Убираем шахматный порядок на мобильных */
  .modern-timeline-item {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: 180px;
    width: 170px;
    scroll-snap-align: center;
  }
  
  .modern-timeline-item:nth-child(odd),
  .modern-timeline-item:nth-child(even) {
    margin-top: 0 !important;
  }
  
  .modern-timeline-year {
    font-size: 14px;
  }
  
  .modern-timeline-content {
    padding: 12px 10px;
    min-height: 100px;
  }
  
  .modern-timeline-content h3 {
    font-size: 11px;
  }
  
  .modern-timeline-content p {
    font-size: 10px;
  }
  
  .modern-cta-content h2 {
    font-size: 28px;
  }
  
  .modern-cta-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .modern-hero-title {
    font-size: 28px;
  }
  
  .modern-stat-number {
    font-size: 28px;
  }
  
  .modern-stat-label {
    font-size: 12px;
  }
  
  .modern-mission-card {
    padding: 30px 20px;
  }
  
  .modern-product-card {
    padding: 24px 20px;
  }
}

