/* ============================================================
   CORE.CSS — Стили для лендинга Союза лидеров сообществ
   Hero: живое сообщество с canvas-анимацией
   ============================================================ */

/* Фоновая сетка */
body {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-attachment: fixed;
}

/* Заголовки по центру */
.section-header { text-align: center; margin-bottom: var(--space-10); }
.section-header h2, .section-header h3 { text-align: center; }
.section-header p {
  color: var(--color-text-60); font-size: var(--text-base);
  max-width: 700px; margin-inline: auto; margin-top: var(--space-3);
}


/* ======================================================
   HERO — двухколоночный: текст слева, canvas справа
   ====================================================== */
.hero-core {
  position: relative;
  min-height: 100vh;
  z-index: 1;
  padding-top: 60px;
  overflow: hidden;
}

.hero-core__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-8);
  align-items: center;
  min-height: calc(100vh - 60px);
}

.hero-core__content {
  position: relative;
  z-index: 10;
}

.hero-core__content h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.hero-core__subtitle {
  color: var(--color-text-80);
  font-size: var(--text-base);
  max-width: 480px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-core__canvas-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 60px);
}

#community-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Планшет */
@media (max-width: 1023px) {
  .hero-core__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-core__content {
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    padding-top: var(--space-8);
  }
  .hero-core__content h1 {
    font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  }
  .hero-core__subtitle { text-align: center; margin-inline: auto; }
  .hero-core__canvas-wrap { height: 60vh; min-height: 400px; }
}

/* Мобильный */
@media (max-width: 767px) {
  .hero-core__canvas-wrap { height: 50vh; min-height: 320px; }
}


/* ======================================================
   КТО МЫ + КРУГОВАЯ ДИАГРАММА
   ====================================================== */
.who-we-are { position: relative; z-index: 1; }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

/* Левая часть: диаграмма */
.who-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#donut-canvas {
  width: 280px;
  height: 280px;
  cursor: default;
}

.who-chart__legend {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--space-4);
  width: 100%;
  max-width: 300px;
}

.who-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-60);
  cursor: pointer;
  padding: 4px var(--space-2);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  user-select: none;
}

.who-check:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.04);
}

.who-check--active {
  color: var(--color-white);
}

.who-check__box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid var(--color-text-40);
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.who-check--active .who-check__box {
  border-color: var(--color-teal);
  background: var(--color-teal);
}

.who-check--active .who-check__box::after {
  content: '';
  position: absolute;
  top: 1px; left: 4px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.who-chart__note {
  color: var(--color-text-40);
  font-size: var(--text-xs);
  margin-top: var(--space-4);
  text-align: center;
  font-style: italic;
}

/* Правая часть: текст на едва заметной плашке */
.who-text {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.who-text h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.who-text p {
  color: var(--color-text-80);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 500px;
}

@media (max-width: 767px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .who-text {
    text-align: center;
    order: -1; /* текст сверху на мобиле */
  }
  .who-text p { margin-inline: auto; }
  .who-text h2 { text-align: center; }
  .who-chart__legend { align-items: center; }
}


/* ======================================================
   ТРИ РОЛИ — Светлый фон
   ====================================================== */
.roles-synergy {
  background-color: #ffffff; background-image: none;
  position: relative; z-index: 1;
}
.roles-synergy .synergy-item { background: #f7f7f7; border: 1px solid rgba(0,0,0,0.06); }
.roles-synergy .synergy-item:hover { border-color: rgba(0,0,0,0.12); background: #f2f2f2; }
.roles-synergy .synergy-item__title { color: #111; }
.roles-synergy .synergy-item__text { color: #555; }
.roles-synergy .synergy-result { color: #111; border-top: 1px solid rgba(0,0,0,0.08); }
.roles-synergy .section-header h2 { color: #111; }
.roles-synergy .section-header p { color: #555; }
.roles-synergy .synergy-plus { color: var(--color-teal); }
.roles-synergy .synergy-item__icon { font-size: 1.8rem; line-height: 1; }

@media (max-width: 767px) {
  .synergy-grid { flex-direction: column; }
  .synergy-plus { transform: rotate(90deg); }
  .synergy-item__tooltip { display: none; }
  .synergy-item__mobile-text {
    display: none; color: #333; font-size: var(--text-xs);
    margin-top: var(--space-2); padding-top: var(--space-2);
    border-top: 1px solid rgba(0,0,0,0.06); text-align: center;
  }
  .synergy-item.expanded .synergy-item__mobile-text { display: block; }
}
@media (min-width: 768px) {
  .synergy-item__mobile-text { display: none !important; }
}


/* ======================================================
   ИНСАЙТ: ОСОЗНАНИЕ + РЕШЕНИЕ (две карточки в ряд)
   ====================================================== */
.insight-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.insight-card {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  position: relative;
}

.insight-card--accent {
  background: rgba(11,140,158,0.04);
  border-color: rgba(11,140,158,0.15);
}

.insight-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.insight-card p {
  color: #555;
  font-size: var(--text-xs);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .insight-duo {
    grid-template-columns: 1fr;
  }
}


/* ======================================================
   КАКОЕ ТВОЁ СООБЩЕСТВО (белый фон, кнопки + плашки)
   ====================================================== */
.community-types {
  background: #ffffff;
  background-image: none;
  position: relative;
  z-index: 1;
}

.community-types .section-header h2 {
  color: #111;
}

.ct-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-6);
  align-items: stretch; /* плашка = высота кнопок */
}

/* Кнопки слева */
.ct-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ct-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #777;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: color var(--transition-fast),
              background var(--transition-fast),
              border-color var(--transition-fast);
}

.ct-btn:hover {
  color: #333;
  background: #eee;
}

.ct-btn--active {
  color: #111;
  background: #fff;
  border-color: var(--color-teal);
  box-shadow: 0 2px 8px rgba(11,140,158,0.12);
}

/* Плашки справа — растягиваются на всю высоту кнопок */
.ct-panels {
  position: relative;
}

.ct-panel {
  display: none;
  grid-template-columns: 200px 1fr;
  gap: var(--space-5);
  align-items: center;
  background: #f9f9f9;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  height: 100%;
  animation: fadeIn 0.35s ease-out;
}

.ct-panel--active {
  display: grid;
}

.ct-panel img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ct-panel__text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  text-transform: uppercase;
  color: #111;
  margin-bottom: var(--space-3);
}

.ct-panel__text p {
  color: #555;
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (max-width: 1023px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
  .ct-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .ct-btn {
    width: auto;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }
  .ct-panel {
    grid-template-columns: 1fr;
  }
  .ct-panel img {
    max-height: 200px;
  }
}

@media (max-width: 767px) {
  .ct-btn {
    font-size: 0.7rem;
    padding: var(--space-1) var(--space-2);
  }
}


/* ======================================================
   PLATFORM
   ====================================================== */
.platform { padding-top: var(--space-8); padding-bottom: 0; position: relative; z-index: 1; }
.platform__scroll-area { height: 600vh; position: relative; }
.platform__header { padding-top: 20px; }
@media (max-width: 767px) {
  .platform { padding-top: var(--space-4); padding-bottom: var(--space-8); }
  .platform__scroll-area { height: auto; }
  .platform-slider__sticky { position: relative; height: auto; }
  .platform-slide {
    display: flex !important; flex-direction: column; gap: var(--space-6);
    padding-block: var(--space-8); border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .platform-slide:last-child { border-bottom: none; }
  .platform-dots { display: none; }
  /* Заголовок платформы прилипает наверху до конца секции */
  .platform__header {
    position: sticky;
    top: 0;
    background: var(--color-bg);
    z-index: 10;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    margin-bottom: 0;
  }
}


/* ======================================================
   TIMELINE — Светлый фон
   ====================================================== */
.timeline-section-light {
  background-color: #f5f5f5; background-image: none;
  position: relative; z-index: 1;
}
.timeline-section-light .section-header h2 { color: #111; }
.timeline-section-light .section-header p { color: #555; }
.timeline-section-light .timeline-step__title { color: #111; }
.timeline-section-light .timeline-step__text { color: #555; }
.timeline-section-light .timeline-step__dot { background: #fff; border-color: var(--color-teal); color: var(--color-teal); }
.timeline-section-light .timeline::before { background: rgba(0,0,0,0.08); opacity: 1; }


/* ======================================================
   PARTNERS / APPLY / FOOTER
   ====================================================== */
.partners { padding-block: var(--space-8); position: relative; z-index: 1; }
.partners .section-header h3 { font-size: var(--text-lg); margin-bottom: var(--space-12); }
.apply {
  background: radial-gradient(ellipse at 50% 100%, rgba(11,140,158,0.06), transparent 60%), var(--color-bg);
  position: relative; z-index: 1;
}
.footer { position: relative; z-index: 1; }
.footer-logo img { height: 160px; width: auto; display: block; }


/* ======================================================
   SCROLL-АНИМАЦИИ
   ====================================================== */
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0; animation: reveal-fade linear both;
    animation-timeline: view(); animation-range: entry 0% entry 40%;
  }
  @keyframes reveal-fade { to { opacity: 1; } }
}


/* ======================================================
   ИНТЕРАКТИВ
   ====================================================== */
.card {
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.04);
}
.card:hover { border-color: rgba(11,140,158,0.2); }
.tab-btn.active { box-shadow: 0 0 12px rgba(11,140,158,0.3); }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(11,140,158,0.35); }
.timeline-step { transition: transform var(--transition-smooth); }
.timeline-step:hover { transform: translateY(-4px); }
@media (max-width: 767px) { .timeline-step:hover { transform: none; } }

.timeline-step--animated {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.timeline-step--visible { opacity: 1; transform: translateY(0); }


/* ======================================================
   РОЛИ — САМООПРЕДЕЛЕНИЕ (новая концепция)
   ====================================================== */
.roles-self {
  background: #ffffff;
  background-image: none;
  position: relative;
  z-index: 1;
}
.roles-self .section-header h2 { color: #111; }
.roles-self .section-header p { color: #555; }

.roles-self__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-8);
}

.role-self-card {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.25s ease;
  background: #fff;
}
.role-self-card:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.role-self-card:hover { background: #fafafa; }
.role-self-card.open { background: #f5feff; }

.role-self-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
}

.role-self-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: rgba(0,0,0,0.1);
  min-width: 60px;
  transition: color 0.25s;
}
.role-self-card.open .role-self-card__number,
.role-self-card:hover .role-self-card__number {
  color: var(--color-teal);
}

.role-self-card__header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}

.role-self-card__sub {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  display: block;
  margin-top: 2px;
}

.role-self-card__arrow {
  margin-left: auto;
  font-size: var(--text-xl);
  color: rgba(0,0,0,0.2);
  transition: transform 0.3s ease, color 0.25s;
}
.role-self-card.open .role-self-card__arrow {
  transform: rotate(90deg);
  color: var(--color-teal);
}

.role-self-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s ease;
  padding: 0 var(--space-6) 0 calc(var(--space-6) + 60px + var(--space-6));
}
.role-self-card.open .role-self-card__body {
  max-height: 400px;
  padding: var(--space-2) var(--space-6) var(--space-6) calc(var(--space-6) + 60px + var(--space-6));
}

.role-self-card__body p {
  color: #555;
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.role-self-card__gain {
  color: #333 !important;
  font-weight: 500;
}

.role-self-card__cta {
  margin-top: var(--space-4);
  display: inline-block;
}

/* insight-duo inside roles-self on white background */
.roles-self .insight-card {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}
.roles-self .insight-card--accent {
  background: rgba(11,140,158,0.04);
  border-color: rgba(11,140,158,0.15);
}

@media (max-width: 767px) {
  .role-self-card__header {
    padding: var(--space-4);
    gap: var(--space-3);
  }
  .role-self-card__number { font-size: var(--text-xl); min-width: 44px; }
  .role-self-card__header h3 { font-size: var(--text-base); }
  .role-self-card__body,
  .role-self-card.open .role-self-card__body {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}


/* ======================================================
   ЦЕННОСТИ «ПРО ЧТО НАШЕ СООБЩЕСТВО»
   ====================================================== */
.values-section {
  background: var(--color-bg);
  position: relative;
  z-index: 1;
}
.values-section .section-header h2 { color: var(--color-white); }
.values-section .section-header p { color: var(--color-text-60); }

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-card {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.value-card:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

/* Тонкая полоска-акцент слева при hover */
.value-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--color-teal);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card:hover::before,
.value-card.open::before {
  transform: scaleY(1);
}

.value-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.06);
  position: absolute;
  right: var(--space-6);
  top: var(--space-4);
  line-height: 1;
  transition: color 0.3s ease;
  pointer-events: none;
}
.value-card:hover .value-card__num,
.value-card.open .value-card__num {
  color: rgba(11,140,158,0.15);
}

.value-card__inner {
  padding: var(--space-5) var(--space-8) var(--space-5) var(--space-8);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 var(--space-2);
}
.value-card:hover .value-card__title,
.value-card.open .value-card__title {
  color: var(--color-teal);
}

.value-card__short {
  color: var(--color-text-60);
  font-size: var(--text-sm);
  margin: 0;
  transition: color 0.3s;
}
.value-card.open .value-card__short {
  color: var(--color-text-80);
}

.value-card__expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-card.open .value-card__expand {
  max-height: 200px;
}
.value-card__expand p {
  color: var(--color-text-60);
  font-size: var(--text-sm);
  line-height: 1.7;
  padding-top: var(--space-3);
  padding-bottom: var(--space-5);
  margin: 0;
}

@media (max-width: 767px) {
  .value-card__num { font-size: 2.5rem; }
  .value-card__inner { padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5); }
  .value-card__title { font-size: var(--text-base); }
}


/* ======================================================
   PLATFORM — result строка меньше + бирюзовый акцент
   ====================================================== */
.platform__header h2 {
  color: var(--color-teal);
}

.platform-dot.active {
  background: var(--color-teal);
}

.platform-slide__result {
  font-size: var(--text-xs) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal);
}

.platform-slide__list li::before {
  color: var(--color-teal);
}

/* Отключаем старую CSS-анимацию мокапов — теперь scroll-driven через JS */
.platform-slide.active .platform-slide__mockup-img,
.platform-slide.leaving .platform-slide__mockup-img {
  animation: none !important;
}

.platform-slide__mockup-img {
  transition: none;
  will-change: transform, opacity;
}

.platform-slide__mockup {
  overflow: hidden;
}


/* ======================================================
   STICKY WRAPPER для КАКОЕ ТВОЁ СООБЩЕСТВО
   ====================================================== */
.ct-sticky-wrapper {
  height: calc(100vh * 3);
  position: relative;
}
.community-types--sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ======================================================
   ПАРТНЁРЫ — ПЛИТКА С ФИЛЬТРАМИ
   ====================================================== */
.partners-new {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.partners-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.partners-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
}

.partners-filters {
  display: flex;
  gap: var(--space-2);
}

.p-filter {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-60);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.p-filter:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.2);
}
.p-filter--active {
  color: var(--color-teal);
  border-color: var(--color-teal);
  background: rgba(11,140,158,0.08);
}

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

.p-tile {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s;
}
.p-tile:hover {
  background: rgba(11,140,158,0.1);
  border-color: rgba(11,140,158,0.3);
  z-index: 2;
}
.p-tile img {
  width: 70%;
  height: 60%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.25s;
}
.p-tile:hover img {
  filter: grayscale(0%) brightness(1) drop-shadow(0 0 6px rgba(11,140,158,0.5));
}
.p-tile__name {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(11,140,158,0.85);
  color: #fff;
  font-size: 0.55rem;
  text-align: center;
  padding: 2px 4px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-tile:hover .p-tile__name {
  transform: translateY(0);
}
.p-tile--hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .partners-grid { grid-template-columns: repeat(5, 1fr); }
  .partners-header { flex-direction: column; align-items: flex-start; }
  .partners-filters {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
  }
  .p-filter {
    font-size: 0.6rem;
    padding: 4px 8px;
    letter-spacing: 0.02em;
  }
}


/* ======================================================
   НОВЫЙ ФУТЕР
   ====================================================== */
.footer--new {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-layout--3col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-10) 0 var(--space-6);
}

.footer-col--left {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-org {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.footer-contact {
  font-size: var(--text-sm);
  color: var(--color-text-60);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-contact:hover { color: var(--color-teal); }

.footer-col--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-40);
  line-height: 1.6;
}

.footer-col--right {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-end;
}

.footer-link {
  font-size: var(--text-xs);
  color: var(--color-text-60);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--color-teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: var(--space-4) 0;
  text-align: center;
}

.footer-pplx {
  font-size: var(--text-xs);
  color: var(--color-text-40);
  text-decoration: none;
}
.footer-pplx:hover { color: var(--color-text-60); }

@media (max-width: 767px) {
  .footer-layout--3col {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col--left { align-items: center; }
  .footer-col--right { align-items: center; }
}
