/* ============================================================
   CASES PAGE STYLES (в стиле страниц технологий)
   ============================================================ */



/* === HERO ДЛЯ СТРАНИЦЫ КЕЙСОВ — 1в1 как у ТЕХНОЛОГИЙ === */
.tech-hero {
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
  padding: 100px 0 80px;
  border-bottom: 1px solid #e9e9ee;
}

/* Внутренний контейнер hero */
.tech-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  padding-left: 16px;
}

.tech-hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px;
  border-left: 6px solid var(--accent);
  padding-left: 16px;
  display: inline-block;
}

.tech-hero p {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}


/* --- Адаптив hero --- */
@media (max-width: 768px) {
  .tech-hero {
    padding: 70px 0 50px;
  }

  .tech-hero h1 {
    font-size: 2rem;
  }
}



/* === СЕКЦИЯ СПИСКА КЕЙСОВ === */
.tech-cases {
  background: linear-gradient(180deg, #fafaff 0%, #f7f7fc 100%);
  padding-top: 60px;

}

.case-archive-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Карточка кейса --- */
/* === КАРТОЧКИ КЕЙСОВ — 1в1 как ТЕХНОЛОГИИ === */
.case-item {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 14px rgba(0, 0, 50, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.case-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 50, 0.08);
  transform: translateY(-4px);
}

/* --- Заголовок --- */
.case-item-title a {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.case-item-title a:hover {
  color: var(--accent);
}

/* --- Описание --- */
.case-item-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 8px 0 12px;
}

/* --- Ссылка Подробнее --- */
.case-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.2s ease;
}

.case-link:hover {
  color: #c6006c;
  transform: translateX(3px);
}
