/* ==========================================================================
   АНО «ГЛАС ДОБРА» — Официальный сайт
   Стили и дизайн-система
   ========================================================================== */

:root {
  /* Цветовая палитра */
  --primary: #e63946;          /* Энергичный рубиновый / красный (акцент действия) */
  --primary-hover: #d62828;
  --primary-light: #ffebec;
  --secondary: #f77f00;        /* Теплый янтарный / закатный */
  --secondary-light: #fff3e6;
  
  --dark: #121820;             /* Глубокий темный для контраста и шрифтов */
  --dark-soft: #242c38;
  --dark-muted: #536275;
  
  --bg-main: #fbf9f5;          /* Теплый уютный премиальный фон (как в референсе) */
  --bg-card: #ffffff;
  --bg-warm: #f5ebe1;          /* Фирменный бежевый блок из референса */
  --bg-warm-light: #faf5ee;
  
  --border-light: rgba(18, 24, 32, 0.08);
  --border-focus: #e63946;
  
  /* Шрифты */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Unbounded', 'Montserrat', sans-serif;
  
  /* Радиусы и тени */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(18, 24, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 24, 32, 0.07);
  --shadow-lg: 0 16px 40px rgba(18, 24, 32, 0.11);
  --shadow-glow: 0 12px 30px rgba(230, 57, 70, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --container-max: 1240px;
}

/* Сброс базовых стилей */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Контейнер */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(18, 24, 32, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Бейджи и лейблы */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-warm {
  background: rgba(247, 127, 0, 0.12);
  color: #c96500;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-green {
  background: #e8f7ee;
  color: #1b873f;
}

/* Заголовки секций */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-top: 12px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--dark-muted);
  line-height: 1.6;
}

section {
  padding: 90px 0;
  position: relative;
}

/* ==========================================================================
   1. Хедер и навигация
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 24, 32, 0.06);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-soft);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn span {
  width: 100%;
  height: 2.5px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   2. Первый экран (Hero) — современный, яркий, живой
   ========================================================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  background: linear-gradient(125deg, #2b3a4a 0%, #d87040 45%, #ea580c 70%, #d9383a 100%);
  border-radius: var(--radius-xl);
  padding: 85px 60px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 480px;
}

/* Фоновые декоративные сферы */
.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 131, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-top-tag {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
  text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  animation: titleKineticIntro 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes titleKineticIntro {
  0% {
    opacity: 0;
    transform: scale(1.2) translateY(24px);
    letter-spacing: 0.1em;
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    transform: scale(0.98) translateY(0);
    letter-spacing: -0.02em;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    letter-spacing: -0.03em;
    filter: blur(0);
  }
}

/* Секция Знаем, Умеем, Практикуем */
.competence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.competence-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.competence-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.3);
}

.competence-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.competence-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.competence-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

.competence-card p {
  font-size: 0.95rem;
  color: var(--dark-soft);
  line-height: 1.6;
}

.hero-tagline {
  font-size: 1.6rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 36px;
  max-width: 650px;
  line-height: 1.4;
}

.hero-tagline strong {
  font-weight: 700;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Статистика / метрики в hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--dark-muted);
  font-weight: 600;
  line-height: 1.35;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

/* ==========================================================================
   3. Секция «О нас» (Точное сохранение текста клиента + референс-стиль)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: stretch;
}

.about-card {
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.about-card h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}

.about-slogan {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.about-text-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-soft);
  margin-bottom: 24px;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: rgba(18, 24, 32, 0.1);
  margin: 20px 0;
}

.about-legal-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 10px;
}

.about-legal-text {
  font-size: 0.98rem;
  color: #3f4752;
  line-height: 1.65;
}

.about-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 480px;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-quote-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   4. Секция «История создания» (3 ключевых этапа из референса)
   ========================================================================== */
.history-section {
  background-color: #faf5ee;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.history-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(18, 24, 32, 0.05);
}

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

.history-img-holder {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.history-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.history-card:hover .history-img-holder img {
  transform: scale(1.05);
}

.history-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 24, 32, 0.75);
  color: #ffffff;
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.history-body {
  padding: 28px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.history-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.history-body p {
  font-size: 0.95rem;
  color: var(--dark-soft);
  line-height: 1.6;
}

.history-body strong {
  color: var(--dark);
  font-weight: 700;
}

/* ==========================================================================
   5. Секция «Наши друзья и команда»
   ========================================================================== */
.team-friends-section {
  background: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.team-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.team-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 32px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .team-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-grid-3 {
    grid-template-columns: 1fr;
  }
}

.team-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

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

@media (max-width: 640px) {
  .team-grid-4 {
    grid-template-columns: 1fr;
  }
}

.team-card {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card.team-card-founder {
  background: linear-gradient(180deg, #fff9f6 0%, #ffffff 100%);
  border: 2px solid rgba(255, 107, 61, 0.4);
  box-shadow: 0 10px 30px rgba(255, 107, 61, 0.08);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 57, 70, 0.2);
}

.team-avatar-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid #ffffff;
}

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

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--dark-muted);
  line-height: 1.5;
}

/* Партнеры логотипы */
.partners-block {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.partners-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--dark-muted);
  margin-bottom: 30px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partner-logo-item {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.partner-logo-item img {
  max-height: 48px;
  width: auto;
  filter: grayscale(20%);
  transition: var(--transition);
}

.partner-logo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--shadow-sm);
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
}

/* ==========================================================================
   6. Секция «Проекты и программы» (с фильтрами, деталями и плейсхолдерами)
   ========================================================================== */
.projects-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-soft);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.project-card.placeholder-card {
  border: 2px dashed rgba(230, 57, 70, 0.35);
  background: rgba(255, 235, 236, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  min-height: 420px;
}

.project-card.placeholder-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.placeholder-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.project-media {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

.project-status {
  position: absolute;
  top: 14px;
  left: 14px;
}

.project-content {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.project-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.project-content p {
  font-size: 0.92rem;
  color: var(--dark-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   7. Документы и отчетность (по законодательству РФ для АНО)
   ========================================================================== */
.docs-section {
  background: #fdfaf6;
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.docs-column-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc-item {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.doc-item:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--shadow-md);
}

.doc-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc-icon {
  width: 44px;
  height: 44px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.doc-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 3px;
}

.doc-meta {
  font-size: 0.8rem;
  color: var(--dark-muted);
}

.requisites-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.requisites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  font-size: 0.9rem;
}

.req-row {
  background: var(--bg-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 24, 32, 0.04);
}

.req-label {
  font-size: 0.78rem;
  color: var(--dark-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.req-val {
  font-weight: 600;
  color: var(--dark);
  word-break: break-all;
}

/* ==========================================================================
   8. Новости и Медиа
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
}

.news-main-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.news-main-img {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.news-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-main-body {
  padding: 36px;
}

.news-main-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 12px 0 16px 0;
  line-height: 1.35;
  color: var(--dark);
}

.news-main-text {
  font-size: 1rem;
  color: var(--dark-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-mini-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.news-mini-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.news-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-mini-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-mini-desc {
  font-size: 0.85rem;
  color: var(--dark-muted);
}

/* ==========================================================================
   9. Как помочь / Поддержать (Правовая база + СБП + Волонтерство)
   ========================================================================== */
.support-section {
  background: linear-gradient(180deg, #faf5ee 0%, #f7ede0 100%);
}

.support-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.support-box {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.support-box.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.support-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.support-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.support-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.support-box p {
  font-size: 0.95rem;
  color: var(--dark-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Интерактивный виджет пожертвования */
.donation-widget {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.donation-tabs {
  display: flex;
  background: var(--bg-main);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.donation-tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-muted);
}

.donation-tab.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.amount-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.amount-btn {
  padding: 14px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
}

.amount-btn:hover {
  border-color: var(--primary);
}

.amount-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.custom-amount-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-main);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  transition: var(--transition);
}

.custom-amount-input:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.legal-notice {
  font-size: 0.8rem;
  color: var(--dark-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.legal-notice a {
  text-decoration: underline;
  color: var(--primary);
}

/* ==========================================================================
   10. Отзывы и истории успеха
   ========================================================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-quote-icon {
  font-size: 2.2rem;
  color: rgba(230, 57, 70, 0.2);
  line-height: 1;
  margin-bottom: 14px;
}

.story-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-soft);
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.story-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.story-role {
  font-size: 0.8rem;
  color: var(--dark-muted);
}

/* ==========================================================================
   11. Контакты и обратная связь
   ========================================================================== */
.contacts-section {
  background: #ffffff;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contacts-info {
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-muted);
  font-weight: 600;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--dark);
}

.social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Форма обратной связи */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-main);
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--dark-muted);
  margin-bottom: 24px;
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--primary);
}

/* ==========================================================================
   12. Футер
   ========================================================================== */
.footer {
  background: #141a22;
  color: #b0bac9;
  padding: 70px 0 30px 0;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a0aec0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* ==========================================================================
   13. Модальные окна и тосты (Уведомления)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 24, 32, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.modal-header {
  padding: 30px 30px 16px 30px;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.modal-body {
  padding: 24px 30px 30px 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-soft);
}

/* Тост уведомление (при копировании реквизитов) */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dark);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   14. Адаптивность под мобильные устройства и планшеты
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image-wrapper {
    min-height: 380px;
  }
  
  .history-grid,
  .team-grid,
  .projects-grid,
  .support-options-grid,
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .burger-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    gap: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .hero-banner {
    padding: 50px 24px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .history-grid,
  .team-grid,
  .projects-grid,
  .support-options-grid,
  .stories-grid,
  .docs-grid,
  .news-grid,
  .contacts-grid,
  .amount-selector,
  .req-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .about-card {
    padding: 30px 24px;
  }
  
  .about-card h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   ПРАВАЯ КОЛОНКА «О НАС»: ПРИНЦИПЫ И ОРИЕНТИРЫ ОРГАНИЗАЦИИ
   ========================================================================== */
.about-card-right {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-right-header h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 10px;
  margin-bottom: 24px;
  line-height: 1.25;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.pillar-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 24, 32, 0.05);
  transition: var(--transition);
}

.pillar-item:hover {
  transform: translateX(4px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: rgba(230, 57, 70, 0.25);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  padding-top: 2px;
}

.pillar-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.pillar-content p {
  font-size: 0.9rem;
  color: var(--dark-muted);
  line-height: 1.5;
  margin: 0;
}

.about-quote-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(244, 140, 6, 0.08));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  font-style: italic;
}

.quote-author {
  font-size: 0.82rem;
  color: var(--dark-muted);
  margin-top: 8px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-card-right {
    padding: 30px 24px;
  }
}

/* ==========================================================================
   ВЕКТОРНЫЙ БЛОК «СЛЫШАТЬ ГЛАВНОЕ» И КАРТОЧКИ АЙДЕНТИКИ
   ========================================================================== */
.about-svg-wrapper {
  background: #FCEDE4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 61, 0.2);
  min-height: 480px;
  position: relative;
  transition: var(--transition);
}

.about-svg-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-soundwave-svg {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}

.about-svg-wrapper:hover .about-soundwave-svg {
  transform: scale(1.02);
}

.brand-values-block {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border-light);
}

.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.brand-card-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.brand-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.3);
}

.brand-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #FCEDE4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.brand-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 0.5s ease;
}

.brand-card-item:hover .brand-card-img-wrap img {
  transform: scale(1.05);
}

.brand-card-info {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.brand-card-info p {
  font-size: 0.9rem;
  color: var(--dark-muted);
  line-height: 1.55;
  margin: 0;
}

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

@media (max-width: 640px) {
  .brand-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cookie Banner (152-ФЗ / Роскомнадзор)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 960px;
  background: rgba(18, 24, 32, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1500;
  padding: 16px 24px;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.cookie-banner-text a {
  color: #ff9b7a;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner-text a:hover {
  color: #ffffff;
}

.cookie-banner-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 24px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .contacts-info,
  .contact-form-card {
    min-width: 0;
    padding: 24px 20px !important;
    border-radius: var(--radius-lg);
  }

  .contact-form-card {
    width: 100%;
  }

  .contact-form-card .form-control {
    min-width: 0;
  }

  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-banner-btn {
    width: 100%;
  }
}

/* ==========================================================================
   15. 152-ФЗ Валидация согласия на обработку персональных данных
   ========================================================================== */
.form-check-group {
  transition: background-color 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-radius: var(--radius-sm);
}

.form-check-group.has-error {
  border: 1.5px solid #ef4444 !important;
  background-color: #fef2f2 !important;
  padding: 8px 10px !important;
  animation: shakeConsent 0.4s ease-in-out;
}

@keyframes shakeConsent {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.pd-consent-error-text {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-submit-locked {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  filter: grayscale(20%);
  position: relative;
  transition: opacity 0.2s ease, filter 0.2s ease !important;
}

.toast.toast-error {
  background: #991b1b !important;
  border: 1px solid #f87171 !important;
}

/* Стили печати для официальных юридических документов */
@media print {
  body > *:not(.modal-overlay.active) {
    display: none !important;
  }
  .modal-overlay.active {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .modal-overlay.active .modal-box {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    transform: none !important;
  }
  .modal-close-btn,
  .modal-header button {
    display: none !important;
  }
  .modal-header {
    border-bottom: 2px solid #000 !important;
    padding: 0 0 14px 0 !important;
  }
  .modal-body {
    max-height: none !important;
    overflow: visible !important;
    padding: 20px 0 !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
    color: #000 !important;
  }
}


