.works-hero {
  background: var(--bg);
  color: var(--text);
  padding: 72px 22px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.works-hero-inner { max-width: 720px; margin: 0 auto; }
.works-hero h1 {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.works-hero p { font-size: 19px; color: var(--text-2); line-height: 1.42; }
.works-hero-note { margin-top: 12px; font-size: 15px; color: var(--text-3); }

.works-section { max-width: var(--page-max); margin: 0 auto; padding: 56px 22px 80px; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.work-card-media {
  position: relative;
  background: #f3f4f6;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-in;
}
.work-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.work-card:hover .work-cover:not(.is-broken) { transform: scale(1.02); }
.work-cover.is-broken {
  width: 48px;
  height: 48px;
  opacity: .35;
  object-fit: contain;
}
.work-thumbs {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}
.work-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.9);
  background: #fff;
}
.work-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  line-height: 1.3;
  max-width: calc(100% - 28px);
}

.work-card-body { padding: 0 4px; }
.work-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.work-meta {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 6px;
  line-height: 1.4;
}
.work-model {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
  line-height: 1.4;
}
.work-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 12px;
}
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text-2);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.work-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.work-actions .btn { font-size: 14px; padding: 9px 18px; }
.work-actions a.btn-outline { color: var(--accent); }

.works-cta {
  background: var(--accent);
  color: #fff;
  padding: 56px 22px;
  text-align: center;
}
.works-cta-inner { max-width: 560px; margin: 0 auto; }
.works-cta h2 { font-size: 28px; font-weight: 600; margin-bottom: 10px; }
.works-cta p { font-size: 16px; opacity: .9; margin-bottom: 20px; line-height: 1.45; }
.works-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-card-media { height: 260px; }
}
