/* ── HERO ─────────────────────────────────────────────────── */
.cat-hero {
  text-align: center;
  padding: 72px max(24px, calc((100% - 860px) / 2)) 64px;
  background: linear-gradient(160deg, var(--gray-50) 0%, #fff 100%);
}

.cat-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cat-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.cat-breadcrumb a:hover { text-decoration: underline; }

.cat-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light, #fef3e2);
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.cat-hero .dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.cat-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}

.cat-hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.cat-hero .hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── DEPARTMENT SECTIONS ────────────────────────────────── */
.cat-dept {
  padding: 72px max(24px, calc((100% - 1200px) / 2));
}

.cat-dept--alt {
  background: var(--gray-50);
}

.cat-dept-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 48px;
}

.cat-dept-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.cat-dept-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.cat-dept-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
}

/* ── CATEGORY GRID ──────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat-grid--narrow {
  grid-template-columns: repeat(auto-fill, minmax(300px, 380px));
}

/* ── CATEGORY CARD ──────────────────────────────────────── */
.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.cat-dept--alt .cat-card {
  background: var(--white);
}

.cat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(222, 150, 33, 0.12);
  transform: translateY(-3px);
}

.cat-card-icon {
  font-size: 2rem;
  line-height: 1;
}

.cat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.cat-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.cat-card h3 a:hover { color: var(--primary); }

.cat-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cat-card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.15s;
  gap: 2px;
}

.cat-card-cta:hover { text-decoration: underline; }

/* ── CTA SECTION ────────────────────────────────────────── */
.cat-cta {
  padding: 80px max(24px, calc((100% - 860px) / 2));
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #c47d10 100%);
}

.cat-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cat-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cat-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cat-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.cat-cta .btn-primary:hover {
  background: var(--gray-100);
}

.cat-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cat-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cat-hero { padding-top: 48px; padding-bottom: 40px; }
  .cat-dept  { padding-top: 48px; padding-bottom: 48px; }
  .cat-grid  { grid-template-columns: 1fr; }
  .cat-dept-header { flex-direction: column; gap: 10px; }
  .cat-cta   { padding-top: 56px; padding-bottom: 56px; }
  .cat-cta-btns { flex-direction: column; align-items: center; }
}
