/* ============================================================
   HUB.CSS — Стили для лендинга Союза организаторов мероприятий
   Акцент: orange #E07A2F (hover: #F09040)
   ============================================================ */

/* Фоновая сетка (как на других страницах) */
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 — заголовки по центру
   ====================================================== */
.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);
}


/* ======================================================
   ORANGE ACCENT — переопределение teal на orange
   ====================================================== */
.hub-page .btn-primary {
  background-color: #E07A2F;
}
.hub-page .btn-primary:hover {
  background-color: #F09040;
  box-shadow: 0 4px 20px rgba(224, 122, 47, 0.35);
}

.hub-page .site-header__cta {
  background-color: #E07A2F;
}
.hub-page .site-header__cta:hover {
  background-color: #F09040;
  box-shadow: 0 4px 20px rgba(224, 122, 47, 0.35);
}

.hub-page .site-header__contact:hover {
  color: #F09040;
}

.hub-page .footer-contact:hover,
.hub-page .footer-link:hover,
.hub-page .footer-col--right a:hover {
  color: #F09040;
}


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

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

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

.hero-hub__supratitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #E07A2F;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(224,122,47,0.35);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
}

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

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

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

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

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

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


/* ======================================================
   SECTION «ПОЧЕМУ ЭТО ВАЖНО» — аккордеон (белый фон)
   ====================================================== */
.hub-why {
  background-color: #ffffff;
  background-image: none;
  position: relative;
  z-index: 1;
}
.hub-why .section-header h2 { color: #111; }
.hub-why .section-header p { color: #555; }

.hub-pain-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hub-pain-card {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s;
}
.hub-pain-card:first-child {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.hub-pain-card:hover { background: #fafafa; }
.hub-pain-card.open { background: #fff5ed; }
.hub-pain-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  transition: opacity 0.3s;
}
.hub-pain-card__header:hover {
  opacity: 0.8;
}
.hub-pain-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.3s;
}
.hub-pain-card.open .hub-pain-card__number,
.hub-pain-card:hover .hub-pain-card__number {
  color: #E07A2F;
}
.hub-pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  color: #111;
  margin: 0;
}
.hub-pain-card__arrow {
  margin-left: auto;
  font-size: var(--text-lg);
  color: rgba(0,0,0,0.2);
  transition: transform 0.3s, color 0.3s;
}
.hub-pain-card.open .hub-pain-card__arrow {
  transform: rotate(90deg);
  color: #E07A2F;
}
.hub-pain-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0 0 calc(60px + var(--space-4));
}
.hub-pain-card.open .hub-pain-card__body {
  max-height: 200px;
  padding-bottom: var(--space-5);
}
.hub-pain-card__body p {
  color: #555;
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}


/* ======================================================
   SECTION «САМООПРЕДЕЛЕНИЕ» — TABS
   ====================================================== */
.hub-roles-section {
  position: relative;
  z-index: 1;
}

/* ROLE PICKER — три карточки-архетипа */
.role-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.role-pick {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
  position: relative;
}
.role-pick::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(224,122,47,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.role-pick:hover {
  border-color: rgba(224,122,47,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(224,122,47,0.06);
}
.role-pick:hover::before { opacity: 1; }

/* Активная карточка */
.role-pick.open {
  border-color: #E07A2F;
  box-shadow: 0 12px 30px rgba(224,122,47,0.1);
}
.role-pick.open::before { opacity: 1; }
.role-pick.open .role-pick__brief { display: none; }
.role-pick.open .role-pick__cta { display: none; }

/* Неактивные: сжимаются, оставляя иконку + название */
.role-picker.has-open .role-pick:not(.open) .role-pick__brief { display: none; }
.role-picker.has-open .role-pick:not(.open) .role-pick__cta { display: none; }
.role-picker.has-open .role-pick:not(.open) {
  opacity: 0.5;
}
.role-picker.has-open .role-pick:not(.open) .role-pick__face {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
}
.role-picker.has-open .role-pick:not(.open) .role-pick__icon {
  width: 40px; height: 40px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.role-picker.has-open .role-pick:not(.open) .role-pick__icon svg {
  width: 24px; height: 24px;
}
.role-picker.has-open .role-pick:not(.open) .role-pick__title {
  font-size: var(--text-sm);
  margin: 0;
}
.role-picker.has-open .role-pick:not(.open):hover {
  opacity: 0.8;
  border-color: rgba(224,122,47,0.3);
}

/* Раскрываемое описание — выносим в отдельный блок ниже карточек */
.role-pick__expand {
  display: none;
}
.role-expand-panel {
  grid-column: 1 / -1;
  border: 1px solid #E07A2F;
  border-radius: var(--radius-lg);
  background: rgba(224,122,47,0.03);
  padding: var(--space-6) var(--space-8);
  animation: expandFadeIn 0.4s ease;
  position: relative;
}
.role-expand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(224,122,47,0.05) 0%, transparent 60%);
  pointer-events: none;
}
@keyframes expandFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Face */
.role-pick__face {
  padding: var(--space-6);
  position: relative;
  z-index: 1;
}
.role-pick__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(224,122,47,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  color: #E07A2F;
  transition: background 0.3s;
}
.role-pick:hover .role-pick__icon,
.role-pick.open .role-pick__icon {
  background: rgba(224,122,47,0.15);
}
.role-pick__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 var(--space-3);
}
.role-pick__brief {
  color: var(--color-text-60);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}
.role-pick__cta {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E07A2F;
  transition: letter-spacing 0.3s;
}
.role-pick:hover .role-pick__cta {
  letter-spacing: 0.12em;
}


.role-pick__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E07A2F;
  margin-bottom: var(--space-4);
}
.role-pick__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}
.role-pick__list li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--color-text-80);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.role-pick__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #E07A2F;
}

@media (max-width: 767px) {
  .role-picker {
    grid-template-columns: 1fr;
  }
  .role-expand-panel {
    grid-column: auto;
    padding: var(--space-5);
  }
  .role-pick__list {
    grid-template-columns: 1fr;
  }
  .role-pick__title {
    font-size: var(--text-base);
  }
  /* На мобиле неактивные не сжимаются */
  .role-picker.has-open .role-pick:not(.open) .role-pick__face {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5);
  }
  .role-picker.has-open .role-pick:not(.open) .role-pick__icon {
    width: 48px; height: 48px;
    margin-bottom: var(--space-3);
  }
  .role-picker.has-open .role-pick:not(.open) .role-pick__title {
    font-size: var(--text-base);
  }
}


/* ======================================================
   SECTION «ИНФРАСТРУКТУРА» — аккордеон 5 элементов
   ====================================================== */
.hub-infra {
  position: relative;
  z-index: 1;
}

.hub-infra-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-8);
}

.hub-infra-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.hub-infra-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hub-infra-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #E07A2F;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.hub-infra-item:hover::before,
.hub-infra-item.open::before {
  transform: scaleY(1);
}

.hub-infra-item__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.05);
  position: absolute;
  right: var(--space-6); top: var(--space-4);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s;
}

.hub-infra-item:hover .hub-infra-item__num,
.hub-infra-item.open .hub-infra-item__num {
  color: rgba(224,122,47,0.15);
}

.hub-infra-item__header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-8);
}

.hub-infra-item__index {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: rgba(255,255,255,0.1);
  min-width: 60px;
  transition: color 0.25s;
}

.hub-infra-item.open .hub-infra-item__index,
.hub-infra-item:hover .hub-infra-item__index {
  color: #E07A2F;
}

.hub-infra-item__header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
  transition: color 0.25s;
}

.hub-infra-item:hover .hub-infra-item__header h3,
.hub-infra-item.open .hub-infra-item__header h3 {
  color: #F09040;
}

.hub-infra-item__tag {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E07A2F;
  border: 1px solid rgba(224,122,47,0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  white-space: nowrap;
}

.hub-infra-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1), padding 0.4s ease;
  padding: 0 var(--space-8) 0 calc(60px + var(--space-6) * 2);
}

.hub-infra-item.open .hub-infra-item__body {
  max-height: 300px;
  padding: var(--space-2) var(--space-8) var(--space-6) calc(60px + var(--space-6) * 2);
}

.hub-infra-item__body p {
  color: var(--color-text-60);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

@media (max-width: 767px) {
  .hub-infra-item__header { padding: var(--space-4); gap: var(--space-3); }
  .hub-infra-item__index { font-size: var(--text-xl); min-width: 44px; }
  .hub-infra-item__header h3 { font-size: var(--text-base); }
  .hub-infra-item__tag { display: none; }
  .hub-infra-item__body,
  .hub-infra-item.open .hub-infra-item__body { padding-left: var(--space-4); padding-right: var(--space-4); }
}


/* ======================================================
   PLATFORM — orange overrides
   ====================================================== */
.platform {
  padding-top: var(--space-16);
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.platform__scroll-area {
  height: 600vh;
  position: relative;
}

.platform__header {
  padding-top: 20px;
}

.hub-page .platform__header h2 {
  color: #E07A2F;
}

.hub-page .platform-dot.active {
  background: #E07A2F;
}

.hub-page .platform-slide__result {
  color: #E07A2F;
  font-size: var(--text-sm);
}

.hub-page .platform-slide__list li::before {
  color: #E07A2F;
}

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

/* Плавный переход для inline-стилей transform/opacity */
.hub-page .platform-slide__mockup-img {
  transition: none;
  will-change: transform, opacity;
}

/* Обрезаем mockup-контейнер с маской по краям */
.hub-page .platform-slide__mockup {
  overflow: hidden;
}

@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 {
    padding-top: 40px;
  }
}


/* ======================================================
   SECTION «СОЮЗ В ЦИФРАХ» — три доната
   ====================================================== */
.hub-stats {
  background: #ffffff;
  background-image: none;
  position: relative;
  z-index: 1;
}

.hub-stats .section-header h2 { color: #111; }
.hub-stats .section-header p { color: #555; }

.hub-donuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  justify-items: center;
}

.hub-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.hub-donut-canvas {
  width: 200px;
  height: 200px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}

.hub-donut-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111;
  text-align: center;
}

.hub-stats__note {
  color: #999;
  font-size: var(--text-xs);
  text-align: center;
  margin-top: var(--space-6);
  font-style: italic;
}

@media (max-width: 767px) {
  .hub-donuts {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }
  .hub-donut-canvas {
    width: 90px;
    height: 90px;
  }
  .hub-donut-label {
    font-size: var(--text-xs);
    text-align: center;
  }
}


/* ======================================================
   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: #ffffff;
  border-color: #E07A2F;
  color: #E07A2F;
}
.timeline-section-light .timeline-step:hover .timeline-step__dot {
  background: #E07A2F;
  color: #fff;
}
.timeline-section-light .timeline::before {
  background: rgba(0,0,0,0.08);
  opacity: 1;
}

.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);
}


/* ======================================================
   APPLY — Bitrix форма
   ====================================================== */
.apply {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(224,122,47,0.06), transparent 60%),
    var(--color-bg);
  position: relative;
  z-index: 1;
}

.b24-form-wrapper {
  max-width: 740px;
  margin-inline: auto;
}


/* ======================================================
   PARTNERS — плитка из JSON (orange overrides)
   ====================================================== */
.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); }

.hub-page .p-filter--active {
  color: #E07A2F;
  border-color: #E07A2F;
  background: rgba(224,122,47,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, border-color 0.25s;
}
.hub-page .p-tile:hover { background: rgba(224,122,47,0.1); border-color: rgba(224,122,47,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; }
.hub-page .p-tile:hover img { filter: grayscale(0%) brightness(1) drop-shadow(0 0 6px rgba(224,122,47,0.5)); }
.p-tile__name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(224,122,47,0.85);
  color: #fff; font-size: 0.55rem; text-align: center; padding: 2px 4px;
  transform: translateY(100%); transition: transform 0.25s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p-tile:hover .p-tile__name { transform: translateY(0); }

@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 — формат core (orange overrides)
   ====================================================== */
.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-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-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); }
.footer-logo img { height: 160px; width: auto; display: block; }
.footer { position: relative; z-index: 1; }

@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; }
}


/* ======================================================
   SCROLL REVEAL ENHANCEMENTS
   ====================================================== */
@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; }
  }
}
