:root {
  --bg: #0d0d0f;
  --bg-soft: #17171c;
  --panel: #121217;
  --panel-2: #1c1d24;
  --text: #f2f2f3;
  --muted: #c6c7ce;
  --line: rgba(255,255,255,.08);
  --orange: #ff7a1a;
  --orange-soft: rgba(255,122,26,.12);
  --neutral: #8ea3b7;
  --accent: #ffb46c;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,122,26,.12), transparent 28%),
    linear-gradient(180deg, #0b0b0e 0%, #121318 50%, #0c0c10 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 48px)); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(10,10,12,.82);
  border-bottom: 1px solid var(--line);
}
.header-inner { display:flex; gap:24px; align-items:center; justify-content:space-between; min-height:80px; }
.brand { display:flex; align-items:center; gap:14px; }
.brand-mark {
  width:48px; height:48px; border-radius:16px;
  display:grid; place-items:center; font-weight:800;
  background: rgba(255,122,26,.08); color: var(--orange);
  border: 1px solid rgba(255,122,26,.35);
  box-shadow: 0 0 24px rgba(255,122,26,.12);
}
.brand strong, .brand small { display:block; }
.brand small { color: var(--muted); }
.main-nav { flex-wrap:wrap; gap:18px; font-size:14px; color:var(--muted); }

@media (min-width: 981px) {
  .main-nav { display:flex; }
}
.main-nav a:hover { color:#fff; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 18px; border-radius: 999px; font-weight:600;
  transition: all 0.2s ease;
}
.btn-primary {
  background: transparent;
  border: 1px solid rgba(255, 122, 26, 0.5);
  color: var(--text);
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 24px rgba(255, 122, 26, 0.14);
}
.btn-accent {
  background: transparent;
  border: 1px solid rgba(255, 122, 26, 0.55);
  color: var(--text);
  box-shadow: 0 0 20px rgba(255, 122, 26, 0.08);
}
.btn-accent:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 122, 26, 0.15);
}
.btn-outline { border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: var(--orange); background: rgba(255,122,26,.06); color: var(--orange); }

/* Hero секция */
.hero { padding: 92px 0 56px; }
.hero-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap:32px; align-items:center; }
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.eyebrow {
  display:inline-block; padding:6px 0;
  color:var(--orange); background: transparent;
  border: none; border-bottom: 1px solid rgba(255,122,26,.35);
  font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom:18px;
}
.hero h1, .section h1 { line-height:1.08; margin:0 0 18px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 760px; }

/* Hero карточка */
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.hero-card:hover {
  transform: translateY(-4px);
}
.hero-card::before {
  content:'';
  position:absolute;
  inset:auto -30px -30px auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(255,122,26,.28), transparent 68%);
  pointer-events: none;
}
.hero-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,122,26,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-meta {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* Блок статистики */
.stats-section {
  padding: 20px 0 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
  transition: transform 0.2s;
}
.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.3);
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-weight: 600;
  margin-bottom: 8px;
}
.stat-trend {
  font-size: 13px;
  color: var(--muted);
}

/* Лента (Marquee) */
.marquee-section {
  background: linear-gradient(90deg, var(--orange-soft), rgba(255,122,26,0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  overflow: hidden;
}
.marquee {
  white-space: nowrap;
  overflow: hidden;
  display: flex;
}
.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.marquee-content span {
  display: inline-block;
  padding: 0 32px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.3px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Общие секции */
.section { padding: 44px 0 28px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2, .section-heading h1 { margin:0; font-size: clamp(28px, 4vw, 44px); }
.section-subtitle {
  color: var(--muted);
  max-width: 600px;
  margin-top: 8px;
}
.section-action {
  text-align: center;
  margin-top: 32px;
}

/* Сетки */
.grid-2, .grid-3, .grid-4 { display:grid; gap:20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* Карточки проектов */
.project-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.4);
}
.project-image {
  height: 200px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.project-card:hover .project-image img {
  transform: scale(1.05);
}
.project-body { padding: 24px; }
.project-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 12px;
}
.project-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
}
.project-result {
  color:#111;
  background: linear-gradient(180deg, #ffb46c, var(--orange));
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
}
.project-body p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
}

/* Партнеры */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.partner-logo {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo:hover {
  border-color: rgba(255,122,26,.4);
  transform: translateY(-2px);
}
.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.3);
  transition: all 0.2s;
}
.partner-logo:hover img {
  filter: brightness(1) grayscale(0);
}
.small-logos .partner-logo {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.small-logos .partner-logo:hover {
  color: var(--accent);
}

/* Экосистема (пустой блок) */
.ecosystem-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--panel-2);
  border-radius: var(--radius);
  border: 2px dashed var(--line);
}
.empty-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.7;
}
.ecosystem-empty-state h3 {
  margin: 0 0 12px;
  font-size: 24px;
}
.ecosystem-empty-state p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}
.placeholder-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(0,0,0,0.3);
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-block;
}

/* Ассистент */
.assistant-promo .assistant-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255,122,26,0.1), rgba(0,0,0,0.3));
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}
.assistant-content {
  flex: 2;
}
.assistant-content p {
  color: var(--muted);
  margin: 16px 0;
}
.assistant-avatar {
  flex: 0 0 80px;
}
.avatar-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, var(--orange), #ff5400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 0 30px rgba(255,122,26,0.5);
}

/* Студенческое общество */
.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.student-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.2s;
}
.student-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.3);
}
.student-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  color: var(--accent);
}
.student-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* CTA блок */
.cta-band {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}
.cta-band::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), transparent);
  border-radius: var(--radius) 0 0 var(--radius);
}
.kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

/* Карточки для других страниц (оставляем для совместимости) */
.card { padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02)); border:1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin-top:0; font-size: 22px; }
.card p, .card li { color: var(--muted); line-height: 1.7; }
.metric { padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02)); border:1px solid var(--line); border-radius: var(--radius); }
.metric strong { font-size: 34px; display:block; margin-bottom:6px; }
.metric span { color: var(--muted); }
.direction-card { padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02)); border:1px solid var(--line); border-radius: var(--radius); }
.timeline-step { padding:22px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02)); border:1px solid var(--line); border-radius: var(--radius); }
.timeline-step strong { color: var(--accent); display:block; margin-bottom:10px; }

/* Футер */
.site-footer {
  margin-top: 60px;
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 10px;
  color: var(--muted);
}

/* Адаптивность */
@media (max-width: 980px) {
  .hero-grid,
  .assistant-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .assistant-promo .assistant-card {
    flex-direction: column;
    text-align: center;
  }
  .cta-band {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 60px 0 40px;
  }
}
/* Компетенции (направления деятельности) */
.competence-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.competence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.3);
}
.competence-icon {
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
  font-family: monospace;
}
.competence-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
.competence-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Год проекта */
.project-year {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* Сетка компетенций партнеров */
.competencies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.competency-item {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.competency-item h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--orange);
}
.competency-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Инновационные технологии */
.innovations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.innovation-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.innovation-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
}
.innovation-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Экосистема */
.ecosystem-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}
.ecosystem-text p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.ecosystem-text ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 20px;
}
.ecosystem-diagram {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diagram-placeholder {
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

/* Трек обучения */
.training-track {
  margin-top: 48px;
}
.training-track h3 {
  font-size: 24px;
  margin-bottom: 24px;
}
.track-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.track-step {
  display: flex;
  gap: 16px;
  background: var(--panel-2);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}
.step-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  font-family: monospace;
  line-height: 1;
}
.track-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.track-step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Студенческий проект */
.student-project {
  margin-top: 40px;
  background: var(--panel-2);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.student-project h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.project-example h4 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--orange);
}
.project-example p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 980px) {
  .competencies-grid,
  .innovations-grid,
  .track-steps,
  .ecosystem-content {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Экосистема - полная ширина */
.ecosystem-full {
  width: 100%;
  margin-top: 20px;
}

.ecosystem-diagram-full {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.diagram-placeholder-full {
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.ecosystem-diagram-full {
  padding: 80px 24px;
  min-height: 400px;
}
/* Hero секция с каруселью */
.hero-carousel-section {
  position: relative;
  height: 85vh;
  min-height: 580px;
  max-height: 700px;
  overflow: hidden;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Слайды */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  filter: grayscale(25%) contrast(1.05);
}

.hero-slide.active {
  opacity: 1;
}

/* Затемнение - градиент слева направо как в примере */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.2) 100%);
  z-index: 10;
}

/* Контент - строго слева */
.hero-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-content {
  max-width: 650px;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 500;
  color: white;
}

.orange-text {
  color: var(--orange);
  font-weight: 600;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: white;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-meta span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3px;
}

/* Стрелки навигации - как в примере, внизу справа */
.carousel-prev,
.carousel-next {
  position: absolute;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 30;
}

.carousel-prev {
  right: 92px;
}

.carousel-next {
  right: 32px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

/* Индикаторы (точки) - внизу по центру */
.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 30;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  border: none;
}

.dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--orange);
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-carousel-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: left;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-lead {
    font-size: 15px;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 36px;
    height: 36px;
    bottom: 20px;
  }
  
  .carousel-prev {
    right: 70px;
  }
  
  .carousel-next {
    right: 20px;
  }
  
  .carousel-dots {
    bottom: 20px;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(10,10,12,.82);
  border-bottom: 1px solid var(--line);
}

.main-nav {
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 981px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a:hover {
  color: #fff;
}

.site-footer {
  margin-top: 60px;
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
  color: var(--muted);
}
.main-nav a.active {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}
/* Компактный футер с иконками */
.site-footer {
  margin-top: 60px;
  padding: 40px 0 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.footer-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

.footer-grid h4 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-grid li a:hover {
  color: var(--orange);
}

.contacts-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.contacts-list svg {
  flex-shrink: 0;
  color: var(--orange);
}

.contacts-list a {
  color: var(--muted);
  text-decoration: none;
}

.contacts-list a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .contacts-list li {
    justify-content: center;
  }
}
/* Hero секция */
.partners-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}

.partners-hero-content h1 {
  font-size: clamp(36px, 4vw, 48px);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 900px;
  line-height: 1.6;
}

/* Карусель */
.partners-carousel-section {
  padding: 40px 0;
}

.main-carousel {
  position: relative;
  margin-top: 32px;
}

.carousel-track-container {
  overflow: hidden;
  margin: 0 40px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease-in-out;
}

/* Карточка партнера */
.partner-card {
  flex: 0 0 calc(50% - 12px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.3s;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 0;
  margin-bottom: 16px;
}

.logo-area {
  flex-shrink: 0;
}

.logo-placeholder {
  width: 100px;
  height: 70px;
  background: rgba(255,122,26,.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  border: 1px solid rgba(255,122,26,.3);
  text-align: center;
  padding: 8px;
}

.company-type {
  background: rgba(255,122,26,.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
}

.card-body {
  padding: 0 28px 24px;
}

.card-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.company-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.comp-tag {
  background: rgba(255,255,255,.05);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--muted);
}

.partner-projects {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-size: 13px;
}

.project-item .project-name {
  color: var(--text);
}

.project-item .project-result {
  color: var(--orange);
  font-size: 12px;
  font-weight: 500;
}

/* Кнопки карусели */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.prev-btn {
  left: -10px;
}

.next-btn {
  right: -10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--orange);
}

/* Экосистема */
.ecosystem-section {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: 60px 0;
}

.ecosystem-diagram {
  max-width: 1000px;
  margin: 40px auto 0;
}

.ecosystem-level {
  margin-bottom: 20px;
}

.level-title {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 20px;
}

.level-nodes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.level-nodes.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.eco-node {
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  flex: 1;
  min-width: 240px;
}

.eco-node:hover {
  border-color: rgba(255,122,26,.4);
  transform: translateY(-2px);
}

.node-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.node-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.node-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.node-stats, .node-skills {
  font-size: 11px;
  color: var(--orange);
  margin-top: 8px;
}

.node-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.node-skills span {
  background: rgba(255,122,26,.1);
  padding: 3px 10px;
  border-radius: 12px;
}

.ecosystem-arrow-down {
  text-align: center;
  font-size: 24px;
  color: var(--orange);
  margin: 10px 0;
  opacity: 0.6;
}

.ecosystem-note {
  margin-top: 48px;
  padding: 24px;
  background: rgba(255,122,26,.05);
  border-radius: 20px;
  text-align: center;
}

.ecosystem-note p {
  font-size: 14px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 980px) {
  .partner-card {
    flex: 0 0 100%;
  }
  
  .carousel-track-container {
    margin: 0 20px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .prev-btn {
    left: -5px;
  }
  
  .next-btn {
    right: -5px;
  }
  
  .level-nodes.two-columns {
    grid-template-columns: 1fr;
  }
  
  .card-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .project-item {
    flex-direction: column;
    gap: 4px;
  }
}
/* Методология - таймлайн */
.methodology-section {
  position: relative;
}

.methodology-timeline {
  position: relative;
  margin-top: 40px;
}

.timeline-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange) 0%, rgba(255,122,26,0.3) 100%);
}

.timeline-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.timeline-step {
  display: flex;
  gap: 32px;
  position: relative;
}

.step-marker {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange), #ff5400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255,122,26,0.2);
}

.step-content {
  flex: 1;
  padding: 20px 0;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.step-tools span {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--muted);
}

/* Компетенции с графиками */
.competencies-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.competency-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.competency-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.4);
}

.card-graph {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  opacity: 0.1;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  border-radius: 50%;
}

.competency-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
}

.competency-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
}

.competency-stats {
  position: relative;
}

.stat-bar {
  margin-bottom: 12px;
}

.stat-bar span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.bar {
  background: rgba(255,255,255,.1);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  transition: width 0.3s;
}

/* Инструменты + диаграмма */
.tools-chart-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

.tools-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,.02);
  border-radius: 40px;
}

.tool-large {
  font-size: 20px;
  font-weight: 600;
  padding: 12px 24px;
  background: rgba(255,122,26,.1);
  border-radius: 40px;
  color: var(--orange);
}

.tool-medium {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 20px;
  background: rgba(255,255,255,.05);
  border-radius: 32px;
  color: var(--text);
}

.tool-small {
  font-size: 14px;
  padding: 6px 16px;
  background: rgba(255,255,255,.03);
  border-radius: 28px;
  color: var(--muted);
}

.chart-container {
  text-align: center;
}

.chart-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* Адаптивность */
@media (max-width: 980px) {
  .timeline-line {
    left: 35px;
  }
  .step-marker {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
  .competencies-visual {
    grid-template-columns: 1fr;
  }
  .tools-chart-wrapper {
    grid-template-columns: 1fr;
  }
  .step-content h3 {
    font-size: 18px;
  }
}
/* Основная навигация */
.main-nav {
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

@media (min-width: 981px) {
  .main-nav {
    display: flex;
  }
}

.main-nav > a,
.nav-dropdown > a {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  text-decoration: none;
}

.main-nav > a:hover,
.nav-dropdown > a:hover {
  color: #ffffff;
}

.main-nav > a.active,
.nav-dropdown > a.active {
  color: var(--accent);
}

/* Выпадающее меню */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(18, 18, 23, 0.95);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 122, 26, 0.12);
  color: var(--accent);
}

/* Мобильная версия */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
}
/* Страницы партнёров */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero-content {
  max-width: 800px;
}

.page-hero h1 {
  margin: 0 0 20px;
}

.partners-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.partner-detail-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.partner-header {
  padding: 24px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-bottom: 1px solid var(--line);
}

.partner-logo-large {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

.partner-type {
  font-size: 14px;
  color: var(--neutral);
  font-weight: 500;
}

.partner-content {
  padding: 28px 32px;
}

.partner-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.partner-competencies h4,
.partner-projects-list h4 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--text);
}

.partner-competencies ul,
.partner-projects-list ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.partner-competencies li,
.partner-projects-list li {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.partner-projects-list li strong {
  color: var(--accent);
}

.industries-summary {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.industries-summary h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.industries-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.industries-tags span {
  padding: 6px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 32px;
  }
  
  .partner-header,
  .partner-content {
    padding: 20px;
  }
  
  .partner-logo-large {
    font-size: 22px;
  }
}
.dropdown-label {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: default;
}

.nav-dropdown:hover .dropdown-label {
  color: #ffffff;
}
/* Карточки партнёров с изображениями */
.partner-detail-card {
  display: flex;
  gap: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.partner-image-col {
  flex: 0 0 300px;
  overflow: hidden;
}

.partner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-detail-card:hover .partner-image {
  transform: scale(1.03);
}

.partner-content-col {
  flex: 1;
  padding: 24px 32px 24px 0;
}

.partner-header {
  margin-bottom: 16px;
}

.partner-logo-large {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

.partner-type {
  font-size: 14px;
  color: var(--neutral);
  font-weight: 500;
}

.partner-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.partner-competencies h4,
.partner-projects-list h4 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--text);
}

.partner-competencies ul,
.partner-projects-list ul {
  margin: 0;
  padding-left: 20px;
}

.partner-competencies li,
.partner-projects-list li {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.partner-projects-list li strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .partner-detail-card {
    flex-direction: column;
  }
  
  .partner-image-col {
    flex: 0 0 200px;
  }
  
  .partner-content-col {
    padding: 20px;
  }
  
  .partner-logo-large {
    font-size: 22px;
  }
}
/* Projects module */
.project-filter {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin: 28px 0 32px;
}
.project-filter input,
.project-filter select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.btn-outline {
  background: transparent;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.2);
}
.projects-grid { align-items: stretch; }
.project-image,
.project-detail-image {
  min-height: 210px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}
.project-enterprise { color: #4b5563; margin: 6px 0 12px; }
.project-more { margin-top: 18px; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #f97316;
  text-decoration: none;
  font-weight: 700;
}
.project-detail-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}
.project-result.large { font-size: 20px; padding: 18px; }
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project-detail-grid .full-width { grid-column: 1 / -1; }
@media (max-width: 1000px) {
  .project-filter,
  .project-detail-hero,
  .project-detail-grid { grid-template-columns: 1fr; }
}
/* Логотип в хедере */
.site-logo {
    height: 50px;           /* Фиксированная высота (как у вас в inline style) */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Контейнер для логотипа */
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* Внутренний контейнер хедера — ИСПРАВЛЕНО */
.header-inner {
    display: flex;
    align-items: center;
    gap: 30px;              /* ← вот это вместо justify-content: space-between */
    flex-wrap: wrap;
}

/* Навигация — только desktop; mobile: responsive.css + nav toggle */
@media (min-width: 981px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* Чтобы логотип не улетал на мобильных */
@media (max-width: 980px) {
  .site-logo {
    height: 40px;
  }
}

/* Дополнительно: стили для логотипа в футере */
.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
}
/* Контейнер логотипа с текстом */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Логотип */
.site-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* Текст рядом с логотипом */
.brand-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.white-text {
    color: #ffffff;  /* Белый */
}

.orange-text {
    color: #ff6600;  /* Оранжевый */
}

/* Типографика заголовков — см. unified-ui.css */

.partners-showcase-section {
  padding: 70px 0;
  background: transparent;
}

.partners-showcase-section .container {
  max-width: 1180px;
}

.partners-logo-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 38px 54px;
  margin-top: 42px;
}

.partners-logo-cloud img {
  display: block;
  max-width: 210px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.96;
  transition: transform .25s ease, opacity .25s ease;
}

.partners-logo-cloud img.partner-logo-lg {
  max-width: 280px;
  max-height: 100px;
}

.partners-logo-cloud img.partner-logo-sm {
  max-width: 210px;
  max-height: 76px;
}

.partners-logo-cloud img:hover {
  transform: translateY(-4px) scale(1.04);
  opacity: 1;
}

@media (max-width: 768px) {
  .partners-logo-cloud {
    gap: 28px 34px;
  }

  .partners-logo-cloud img {
    max-width: 170px;
    max-height: 64px;
  }

  .partners-logo-cloud img.partner-logo-lg {
    max-width: 220px;
    max-height: 82px;
  }
}

/* ======================================== */
  /* Улучшенные фильтры */
  /* ======================================== */
  .filter-form {
    margin-bottom: 48px;
  }
  
  .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 32px;
  }
  
  .filter-field {
    flex: 1;
    min-width: 180px;
  }
  
  .filter-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 8px;
  }
  
  .filter-input,
  .filter-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
  }
  
  .filter-input:focus,
  .filter-select:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.1);
  }
  
  .filter-input::placeholder {
    color: var(--muted);
    opacity: 0.5;
  }
  
  .filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
  }
  
  .filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  
  .btn {
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
  }
  
  .btn-primary {
    background: var(--orange);
    color: #fff;
  }
  
  .btn-primary:hover {
    background: #e66a10;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 26, 0.3);
  }
  
  .btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
  }
  
  .btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 122, 26, 0.05);
  }
  
  /* Статистика результатов */
  .projects-stats {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  
  .projects-stats strong {
    color: var(--orange);
    font-size: 18px;
  }
  
  /* ======================================== */
  /* Сетка проектов */
  /* ======================================== */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .project-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
  }
  
  .project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 26, 0.5);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.4);
  }
  
  .project-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #0a0a0c;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .project-card-image {
    transform: scale(1.02);
  }
  
  .project-card-image-placeholder {
    background: linear-gradient(135deg, #1a1a1f, #0d0d0f);
    position: relative;
  }
  
  .project-card-image-placeholder::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0.3;
  }
  
  .project-card-content {
    padding: 24px;
  }
  
  .project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }
  
  .project-card-industry {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    background: rgba(255, 122, 26, 0.12);
    border-radius: 30px;
    color: var(--orange);
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }
  
  .project-card-year {
    font-size: 11px;
    font-weight: 500;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    color: var(--muted);
  }
  
  .project-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text);
    line-height: 1.35;
  }
  
  .project-card-enterprise {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .project-card-enterprise::before {
    content: "";
    font-size: 12px;
    opacity: 0.7;
  }
  
  .project-card-result {
    font-size: 13px;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 18px;
    padding: 8px 14px;
    background: rgba(255, 122, 26, 0.06);
    border-radius: 12px;
    display: inline-block;
    line-height: 1.4;
  }
  
  .project-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--orange);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  
  .project-card:hover .project-card-link {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Пустое состояние */
  .empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 32px;
  }
  
  .empty-state-icon {
    font-size: 56px;
    margin-bottom: 20px;
    opacity: 0.4;
  }
  
  .empty-state h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .empty-state p {
    color: var(--muted);
    margin-bottom: 28px;
  }
  
  /* ======================================== */
  /* Адаптив */
  /* ======================================== */
  @media (max-width: 1100px) {
    .projects-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
  }
  
  @media (max-width: 768px) {
    .filter-row {
      flex-direction: column;
      align-items: stretch;
      padding: 20px;
      gap: 16px;
    }
    
    .filter-field {
      min-width: auto;
    }
    
    .filter-actions {
      justify-content: stretch;
      flex-direction: column;
    }
    
    .filter-actions .btn {
      justify-content: center;
    }
    
    .projects-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .project-card-image {
      height: 180px;
    }
    
    .project-card-title {
      font-size: 18px;
    }
    
    .projects-stats {
      text-align: center;
    }
  }
  
  /* Анимация появления */
  @keyframes fadeInUp {
    from { 
      opacity: 0; 
      transform: translateY(30px); 
    }
    to { 
      opacity: 1; 
      transform: translateY(0); 
    }
  }
  
  .project-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
  }
  
  .project-card:nth-child(1) { animation-delay: 0.05s; }
  .project-card:nth-child(2) { animation-delay: 0.1s; }
  .project-card:nth-child(3) { animation-delay: 0.15s; }
  .project-card:nth-child(4) { animation-delay: 0.2s; }
  .project-card:nth-child(5) { animation-delay: 0.25s; }
  .project-card:nth-child(6) { animation-delay: 0.3s; }

 /* ======================================== */
/* Цифровой помощник — официальный стиль */
/* ======================================== */

.assistant-promo {
  padding: 45px 0 60px;
}

.assistant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 22px 38px;
  min-height: 230px;

  transition: all 0.25s ease;
}

.assistant-card:hover {
  border-color: rgba(255, 122, 26, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

/* Левая часть */

.assistant-content {
  flex: 1 1 auto;
}

.assistant-content h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px 0;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.assistant-content h3 .accent {
  color: var(--orange);
  font-weight: 500;
}

.assistant-content p {
  font-size: 15px;
  line-height: 1.5;
  color: #8a8ea8;
  margin: 0 0 20px 0;
  max-width: 680px;
}

/* Кнопка */

.assistant-content .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 24px;

  font-size: 14px;
  font-weight: 500;

  background: transparent;
  border: 1px solid rgba(255, 122, 26, 0.5);
  color: var(--orange);

  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.assistant-content .btn:hover {
  background: rgba(255, 122, 26, 0.08);
  border-color: var(--orange);
}

.assistant-content .btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  stroke-width: 1.5;
}

/* ======================================== */
/* Логотип */
/* ======================================== */

.assistant-avatar {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.assistant-logo-img {
  width: 300px;
  height: auto;
  max-height: 220px;

  object-fit: contain;

  transition: all 0.25s ease;
  filter: brightness(1) contrast(1.05);
}

.assistant-card:hover .assistant-logo-img {
  transform: translateY(-4px);
}

/* Адаптив */

@media (max-width: 1100px) {
  .assistant-avatar {
    flex-basis: 250px;
  }

  .assistant-logo-img {
    width: 250px;
    max-height: 190px;
  }
}

@media (max-width: 900px) {
  .assistant-card {
    flex-direction: column-reverse;
    text-align: center;
    padding: 34px 28px;
    gap: 24px;
  }

  .assistant-content p {
    max-width: 100%;
  }

  .assistant-avatar {
    flex: 0 0 auto;
  }

  .assistant-logo-img {
    width: 230px;
    max-height: 180px;
  }
}

@media (max-width: 600px) {
  .assistant-promo {
    padding: 35px 0 50px;
  }

  .assistant-card {
    padding: 28px 22px;
  }

  .assistant-logo-img {
    width: 190px;
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .assistant-card {
    padding: 24px 18px;
  }

  .assistant-content h3 {
    font-size: 22px;
  }

  .assistant-content p {
    font-size: 13px;
  }

  .assistant-logo-img {
    width: 155px;
    max-height: 125px;
  }
}

