:root {
  --bg: #0b0f14;
  --card: #1a1f26;
  --text: #ffffff;
  --text-secondary: #a0a7b3;
  --accent: #c9a96e;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.header {
  padding: 15px 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-title {
  font-size: 18px;
  font-weight: 400;
}

/* CARDS */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.title {
  font-size: 28px;
  margin-bottom: 30px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.card-image {
  height: 160px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
}

.card-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: auto;
  margin-bottom: 15px;
}

.card-description {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ADAPTIVE */
@media (max-width: 768px) {
  .site-title {
    font-size: 14px;
  }
}

    /* --- Основные стили футера --- */
.footer {
  background-color: #0b0f14; /* Темный фон */
  color: #ffffff;
  padding: 40px 0;
  font-family: 'Arial', sans-serif; /* Или ваш основной шрифт */
  font-size: 16px;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* --- Верхняя часть (Лого + Заголовок) --- */
.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
}

.footer-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-title {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  color: #cccccc;
  line-height: 1.4;
}

/* --- Нижняя часть (Инфо блоки) --- */
.footer-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px; /* Минимальная ширина колонки перед переносом */
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Стили для контактов */
.footer-column address {
  font-style: normal;
  margin: 0;
}

.footer-column p {
  margin: 0 0 10px 0;
  color: #aaaaaa;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #d4af37; /* Золотистый цвет при наведении (опционально) */
  text-decoration: underline;
}

/* Стили для реквизитов */
.org-name {
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.requisites-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requisites-list li {
  margin-bottom: 8px;
  color: #aaaaaa;
  font-size: 14px;
}

/* --- АДАПТИВНОСТЬ (Media Queries) --- */

/* Планшеты и небольшие ноутбуки */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-title {
    font-size: 16px;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0;
  }

  .footer-info {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    min-width: 100%;
    text-align: center; /* Центрируем текст на мобильных */
  }
  
  .footer-title {
    font-size: 14px;
  }
  
  .footer-logo img {
    margin: 0 auto 15px auto; /* Центрируем лого */
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .footer-heading {
    font-size: 16px;
  }
  
  .footer-column p, 
  .requisites-list li {
    font-size: 13px;
  }
}