/* ========================================
   ИРТЭК - Корпоративный стиль (Вариант 3)
   Файл: style3.css
   ======================================== */

/* ===== CSS Переменные ===== */
:root {
  --primary-blue: #1e3a8a;
  --primary-orange: #e87722;
  --primary-yellow: #ffd54f;
  --dark-blue: #0f172a;
  --light-blue: #3b82f6;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --border-gray: #e2e8f0;
  --success-green: #22c55e;
  --error-red: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Сброс стилей ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===== Контейнер ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ШАПКА САЙТА ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* ===== ЛОГОТИП ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  height: 70px;
  width: auto;
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__link {
  color: var(--text-dark);
  text-decoration: none;
  padding: 12px 16px;
  font-size: 17px;          /* увеличенный шрифт меню */
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary-orange);
  background: rgba(232, 119, 34, 0.08);
}

.nav__link--active {
  color: var(--primary-orange);
  border-bottom: 3px solid var(--primary-orange);
  border-radius: 0;
  background: transparent;
}

/* ===== ТЕЛЕФОН В ШАПКЕ ===== */
.header__phone {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone:hover {
  opacity: 0.8;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO-БЛОК ===== */
.hero {
  background: linear-gradient(135deg, #fefce8 0%, #ffffff 50%, #eff6ff 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero__description {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero__text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 35px;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary-orange);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #d4691a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 119, 34, 0.3);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ===== ФОТО В HERO ===== */
.hero__image-wrapper {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3; /* Прямоугольное соотношение сторон */
}

/* ===== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ===== */
.hero::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: rgba(232, 119, 34, 0.05);
  border-radius: 50%;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
  .hero__container {
    gap: 40px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__image {
    height: 420px;
  }

  .nav__link {
    font-size: 15px;
    padding: 10px 12px;
  }
}

@media (max-width: 768px) {
  .header__container {
    flex-wrap: wrap;
  }

  .mobile-toggle {
    display: block;
    order: 3;
  }

  .nav {
    order: 4;
    width: 100%;
    display: none;
    margin-top: 15px;
  }

  .nav.active {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }

  .header__phone {
    order: 2;
    font-size: 14px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__description {
    font-size: 16px;
  }

  .hero__image {
    height: 320px;
  }

  .hero__image-wrapper {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .logo__img {
    height: 55px;
  }
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.hidden { display: none; }

/* ========================================
   БЛОК "НАПРАВЛЕНИЯ ДЕЯТЕЛЬНОСТИ"
   ======================================== */

/* Секция с синим фоном */
.section--blue {
  background: var(--primary-blue);
  color: var(--white);
  padding: 80px 0;
}

/* Заголовок секции белым цветом */
.section__title--white {
  color: var(--white);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Подзаголовок секции */
.section__subtitle--light {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

/* Сетка карточек 3×2 */
.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Карточка направления */
.direction-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.direction-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Иконка в круге */
.direction-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.direction-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary-orange);
  transition: var(--transition);
}

.direction-card:hover .direction-card__icon {
  background: var(--primary-orange);
  transform: scale(1.1);
}

.direction-card:hover .direction-card__icon svg {
  stroke: var(--white);
}

/* Заголовок карточки */
.direction-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Текст карточки */
.direction-card__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   АДАПТИВНОСТЬ БЛОКА
   ======================================== */

@media (max-width: 1024px) {
  .directions__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .direction-card {
    padding: 35px 25px;
  }

  .direction-card__icon {
    width: 70px;
    height: 70px;
  }

  .direction-card__icon svg {
    width: 35px;
    height: 35px;
  }

  .direction-card__title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .section--blue {
    padding: 60px 0;
  }

  .section__title--white {
    font-size: 32px;
  }

  .section__subtitle--light {
    font-size: 18px;
  }

  .directions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .direction-card {
    padding: 30px 25px;
  }

  .direction-card__icon {
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
  }

  .direction-card__icon svg {
    width: 32px;
    height: 32px;
  }

  .direction-card__title {
    font-size: 18px;
  }

  .direction-card__text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section__title--white {
    font-size: 26px;
  }

  .section__subtitle--light {
    font-size: 16px;
  }

  .direction-card {
    padding: 25px 20px;
  }

  .direction-card__title {
    font-size: 17px;
  }
}

/* ========================================
   БЛОК "ДЕЯТЕЛЬНОСТЬ"
   ======================================== */

/* Фон секции - светло-серый для контраста */
.section--light {
  background-color: var(--light-bg);
  padding: 80px 0;
}

/* Заголовок "Деятельность" - синий (ближе к цвету на макете, но в рамках палитры) */
.section__title--blue {
  color: #3b82f6; /* Более яркий синий для заголовка как на макете */
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 5px;
}

/* Подзаголовок "Ресурсного центра ИРТЭК" - оранжевый */
.section__subtitle--orange {
  color: var(--primary-orange);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}

/* Сетка для 4-х карточек */
.activities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

/* Карточка деятельности */
.activity-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  /* Сохраняем квадратную форму */
  aspect-ratio: 1 / 1; 
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.activity-card__image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.activity-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Или contain, если картинки с белым фоном, лучше cover */
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-card__image img {
  transform: scale(1.05); /* Легкое увеличение картинки при наведении */
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

@media (max-width: 1024px) {
  .activities__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .activities__grid {
    grid-template-columns: 1fr; /* 1 колонка на мобильном */
    gap: 20px;
  }
  
  .section__title--blue {
    font-size: 32px;
  }
  
  .section__subtitle--orange {
    font-size: 18px;
  }
}

/* ========================================
   БЛОК С ЦИТАТОЙ
   ======================================== */

/* Фон секции - очень светло-серый для выделения блока */
.quote-section.section--light {
  background-color: var(--light-bg);
  padding: 80px 0;
  text-align: center;
}

.quote-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Текст цитаты */
.quote-text {
  font-size: 30px;       /* Крупный размер как на макете */
  font-weight: 500;      /* Полужирный, но не жирный */
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 30px;
  position: relative;
}

/* Кавычки (стилизация через CSS для идеального центрирования) */
.quote-text::before {
  content: "“";          /* Левая кавычка-ёлочка */
  display: block;
  font-size: 100px;      /* Очень крупная кавычка */
  color: var(--primary-orange); /* Оранжевый цвет из вашей палитры */
  line-height: 0.8;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif; /* Для красоты шрифта кавычки */
}

/* Автор (подпись) */
.quote-author {
  display: block;
  font-size: 22px;
  color: var(--text-black); /* Серый цвет для подписи */
  font-weight: 400;
  font-style: normal;      /* Убираем курсив, чтобы было строже */
  margin-top: 10px;
}

/* ========================================
   АДАПТИВНОСТЬ ЦИТАТЫ
   ======================================== */

@media (max-width: 768px) {
  .quote-text {
    font-size: 22px; /* Уменьшаем шрифт на планшетах */
  }
  
  .quote-text::before {
    font-size: 80px;
  }
  
  .quote-author {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .quote-text {
    font-size: 18px; /* Еще меньше на телефонах */
  }
  
  .quote-section.section--light {
    padding: 50px 0;
  }
}

/* ========================================
   БЛОК "КОМАНДА / РУКОВОДСТВО" (Обновлённый)
   ======================================== */

.team.section--light {
  background-color: var(--light-bg);
  padding: 80px 0;
}

/* Обёртка для центрирования */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 50px;
}

/* Фотография: увеличена в 1.5 раза (160px → 240px) */
.team-member__photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  /* Оранжевые рамки и тени убраны */
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.team-member__photo:hover {
  transform: scale(1.03); /* Лёгкое увеличение при наведении */
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Имя */
.team-member__name {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Должность (нейтральный серый вместо оранжевого) */
.team-member__position {
  font-size: 18px;
  color: var(--text-gray);
  font-weight: 500;
  margin: 0;
  max-width: 320px;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 768px) {
  .team-member__photo {
    width: 200px;
    height: 200px;
  }
  
  .team-member__name {
    font-size: 22px;
  }
  
  .team-member__position {
    font-size: 16px;
  }
}

/* ========================================
   БЛОК "КОМАНДА" (БАЗА + 2 ЦВЕТОВЫЕ ВЕРСИИ)
   ======================================== */

/* Базовая структура (общая для обеих версий) */
.team {
  padding: 80px 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

.team-member__photo {
  width: 240px; /* Увеличенное фото */
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.team-member__photo:hover {
  transform: scale(1.03);
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member__name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.team-member__position {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  max-width: 320px;
}

/* ===== ВЕРСИЯ 1: СВЕТЛЫЙ ФОН (ваша текущая) ===== */
.team--light {
  background-color: var(--light-bg);
}
.team--light .section__title { color: var(--text-dark); }
.team--light .section__subtitle { color: var(--text-gray); }
.team--light .team-member__name { color: var(--text-dark); }
.team--light .team-member__position { color: var(--text-gray); }

/* ===== ВЕРСИЯ 2: СИНИЙ ФОН (новая) ===== */
.team--blue {
  background-color: var(--primary-blue);
}
.team--blue .section__overline { color: rgba(255, 255, 255, 0.7); }
.team--blue .section__title { color: var(--white); }
.team--blue .section__subtitle { color: rgba(255, 255, 255, 0.8); }
.team--blue .team-member__name { color: var(--white); }
.team--blue .team-member__position { color: rgba(255, 255, 255, 0.85); }

/* Лёгкая акцентная рамка для фото на синем фоне для контраста */
.team--blue .team-member__photo {
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Адаптивность для обеих версий */
@media (max-width: 768px) {
  .team { padding: 60px 0; }
  .team-member__photo { width: 200px; height: 200px; }
  .team-member__name { font-size: 22px; }
  .team-member__position { font-size: 16px; }
}

/* ========================================
   БЛОК "ПАРТНЁРЫ"
   ======================================== */

/* Фон секции - светло-серый (Style 3) */
.partners.section--light {
  background-color: var(--light-bg);
  padding: 80px 0;
}

/* Сетка для 3-х партнеров */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: center; /* Центрирование по вертикали, если логотипы разной высоты */
}

/* Карточка партнёра */
.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  
  /* Flexbox для абсолютного центрирования логотипа */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px; /* Минимальная высота для единого вида */
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Обёртка логотипа */
.partner-card__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Изображение логотипа */
.partner-card__logo {
  max-width: 180px;  /* Ограничение ширины логотипа */
  max-height: 100px; /* Ограничение высоты логотипа */
  object-fit: contain; /* Сохраняет пропорции */
  filter: grayscale(0%); /* Можно сделать 100% для ч/б стиля при наведении */
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-card__logo {
  transform: scale(1.05);
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

@media (max-width: 768px) {
  .partners__grid {
    grid-template-columns: 1fr; /* Одна колонка на мобильных */
    gap: 20px;
  }
  
  .partner-card {
    min-height: 150px;
    padding: 30px 20px;
  }
  
  .partner-card__logo {
    max-width: 150px;
  }
}

/* ========================================
   БЛОК "ДОКУМЕНТЫ"
   ======================================== */

.documents.section--light {
  background-color: var(--light-bg);
  padding: 80px 0;
}

/* Контейнер списка документов */
.documents__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  max-width: 850px; /* Ограничение ширины для читаемости, как в оригинале */
  margin-left: auto;
  margin-right: auto;
}

/* Строка документа */
.document-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  border-left: 4px solid transparent;
}

.document-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary-orange);
}

/* Левая иконка (тип файла) */
.document-row__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(30, 58, 138, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-row__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-blue);
}

/* Центральная часть с текстом */
.document-row__content {
  flex: 1;
  min-width: 0; /* Предотвращает переполнение flex-контейнера */
}

.document-row__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  margin: 0;
  word-wrap: break-word;
}

/* Правая иконка (PDF вместо "смотреть") */
.document-row__action {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.document-row:hover .document-row__action {
  background: var(--primary-orange);
  transform: scale(1.05);
}

.document-row__action svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 768px) {
  .documents.section--light {
    padding: 60px 0;
  }

  .document-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .document-row__action {
    align-self: flex-end;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .document-row__title {
    font-size: 15px;
  }
  
  .document-row__icon,
  .document-row__action {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   БЛОК "КОНТАКТЫ" (Обновлённый)
   ======================================== */

.contacts {
  padding: 80px 0;
}

.contacts--blue {
  background-color: var(--primary-blue);
  color: var(--white);
}

.contacts__header {
  text-align: center;
  margin-bottom: 45px;
}

.contacts__title {
  font-size: 36px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
}

/* === НОВЫЙ СТИЛЬ ДЛЯ НАЗВАНИЯ ОРГАНИЗАЦИИ === */
.contacts__org-name {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85); /* Белый с лёгкой прозрачностью для иерархии */
  margin-top: 15px;
  margin-bottom: 0;
  max-width: 800px; /* Ограничение ширины, чтобы длинная строка не растягивалась */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
/* ========================================== */

.contacts__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contacts__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  opacity: 0.75;
}

.contacts__link {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.contacts__link:hover {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
}

.contacts__address {
  font-size: 18px;
  line-height: 1.6;
  font-style: normal;
  margin: 0;
  max-width: 600px;
  opacity: 0.95;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 768px) {
  .contacts {
    padding: 60px 0;
  }
  
  .contacts__title {
    font-size: 28px;
  }
  
  .contacts__org-name {
    font-size: 16px; /* Чуть меньше на мобильных */
    padding: 0 10px;
  }
  
  .contacts__link {
    font-size: 20px;
  }
  
  .contacts__address {
    font-size: 16px;
  }
  
  .contacts__info {
    gap: 30px;
  }
}

/* ========================================
   ФУТЕР / КОПИРАЙТ
   ======================================== */

.site-footer {
  background-color: var(--dark-blue); /* Глубокий тёмно-синий/графитовый фон */
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 30px;
  font-size: 14px;
  line-height: 1.5;
  border-top: 3px solid var(--primary-orange); /* Фирменный оранжевый акцент сверху */
}

/* Верхняя секция футера */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Тонкий разделитель */
}

.footer__org-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__year {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 16px;
}

.footer__name {
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
}

/* Нижняя секция футера */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.footer__link:hover {
  color: var(--primary-orange);
}

.footer__disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ========================================
   АДАПТИВНОСТЬ ФУТЕРА
   ======================================== */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 0 25px;
    text-align: left;
  }

  .footer__top, 
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer__org-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .footer__bottom {
    padding-top: 10px;
  }
}