/* Дополнительный заголовок в хедер, чтобы не сбивать стили */
/* Стили для заголовка страницы */
.page-header {
  background: linear-gradient(135deg, #4682B4 0%, #1E3B70 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
  background-size: 100% 100%;
  opacity: 0.5;
}

.page-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title span {
  display: block;
}

.title-part-1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto;
  max-width: 500px;
}

.decoration-line {
  flex-grow: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
}

.decoration-icon {
  margin: 0 20px;
  font-size: 2rem;
  color: #FFD700;
  animation: pulse 2s infinite;
}

.page-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 0;
  padding: 10px 20px;
  opacity: 0.9;
  font-weight: 500;
  background-color: white;
  color: #222d35;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.page-subtitle:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Анимация для иконки */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .page-header {
    padding: 40px 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .title-part-1 {
    font-size: 1.4rem;
  }
  
  .title-part-3 {
    font-size: 1.6rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
}

/* Основной контейнер 1200px */
  .main-content {  
    width: 80%;
    padding: 40px 20px;
    margin: 0 auto;
    padding-left: 124px;
    padding-right: 124px;
    }


  .main-container {
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Стили для анимации */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .fade-in-visible {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
    color: #555c63;
  }

  /* Стили для разделов */
  section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
  }

  .standards-section, .evaluation-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    
  }

  /* Стили для таблицы */
  .responsive-table {
    overflow-x: auto;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    background: white;
  }

  th, td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
  }

  th {
    background-color: #4682B4;
    color: white;
    font-weight: 500;
  }

  tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  .evaluation-content {
    margin-top: 10px;
  }

  /* Стили для кнопки скачивания */
  .download-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    margin-top: 20px;
    background-color: #4682B4;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .download-btn svg {
    margin-left: 10px;
  }

  .download-btn:hover {
    background-color: #3a6d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  /* Адаптивность для основного контейнера */
@media (max-width: 1200px) {
  .main-content {
    padding-left: 80px;
    padding-right: 80px;
    width: 90%;
  }
}

@media (max-width: 992px) {
  .main-content {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-left: 40px;
    padding-right: 40px;
    width: 95%;
  }
  
  section {
    padding: 40px 0;
  }
  
  th, td {
    padding: 12px;
    font-size: 14px;
  }
  
  .download-btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 650px) {
  /* Преобразование таблицы в карточки на маленьких экранах */
  table {
    display: block;
  }
  
  thead {
    display: none;
  }
  
  tbody, tr, td {
    display: block;
    width: 100%;
  }
  
  tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }
  
  td {
    border: none;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 40%;
    text-align: right;
  }
  
  td:last-child {
    border-bottom: none;
  }
  
  td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #4682B4;
    text-align: left;
    width: 35%;
  }
  
  td:first-child {
    background-color: #f2f2f2;
    font-weight: 600;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  section {
    padding: 35px 0;
  }
  
  td {
    padding: 10px 15px 10px 40%;
    font-size: 13px;
  }
  
  td::before {
    font-size: 12px;
  }
  
  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  td {
    padding-left: 45%;
  }
  
  td::before {
    width: 40%;
  }
}

@media (max-width: 400px) {
  .main-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  td {
    padding: 8px 10px 8px 50%;
  }
  
  td::before {
    width: 45%;
    left: 10px;
    font-size: 11px;
  }
  
  .standards-section, .evaluation-section {
    border-radius: 8px;
  }
}

@media (max-width: 350px) {
  .main-content {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  section {
    padding: 30px 0;
  }
  
  td {
    padding: 6px 8px 6px 50%;
    font-size: 12px;
  }
  
  td::before {
    font-size: 10px;
  }
  
  .responsive-table {
    border-radius: 6px;
  }
  
  tr {
    margin-bottom: 12px;
  }
  
  .download-btn {
    padding: 10px;
    font-size: 14px;
  }
  
  .download-btn svg {
    width: 16px;
    height: 16px;
  }
}

