/* ── CATALOG PAGE ── */

.catalog-hero {
  background: var(--steel-blue);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.catalog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    linear-gradient(rgba(214,224,240,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,224,240,0.03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.catalog-hero .container { position: relative; }

.catalog-hero-sub {
  color: var(--light-steel-blue);
  font-size: 1.0625rem;
  max-width: 600px;
  line-height: 1.7;
}

.filter-bar {
  background: var(--white);
  border-bottom: 2px solid var(--light-gray);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filter-inner {
  display: flex;
  align-items: center;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  overflow-x: auto;
  gap: 0.5rem;
}

.filter-tab {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--light-gray);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-tab:hover { border-color: var(--steel-blue); color: var(--steel-blue); }
.filter-tab.active { background: var(--steel-blue); border-color: var(--steel-blue); color: var(--white); }

.catalog-section { background: var(--light-gray); }

.catalog-category { margin-bottom: 3.5rem; }

.cat-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--steel-blue);
  margin-bottom: 0.5rem;
}

.cat-divider {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.catalog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(31,56,100,0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.catalog-card.coming-soon { opacity: 0.82; }

.cc-coming-label {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--steel-blue);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.cc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cc-type-pill {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.cc-type--template { background: var(--light-steel-blue); color: var(--steel-blue); }
.cc-type--app      { background: var(--light-gold); color: #7C5900; }

.cc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--steel-blue);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.cc-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.cc-features {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cc-features li {
  font-size: 0.8125rem;
  color: var(--steel-blue);
  font-weight: 500;
}

.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.cc-format {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 600;
}

.catalog-card.hidden { display: none; }

.request-banner { background: var(--steel-blue); padding: 3.5rem 0; }

.request-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.request-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.request-sub { color: var(--light-steel-blue); font-size: 1rem; }

@media (max-width: 900px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .request-inner { flex-direction: column; text-align: center; }
  .request-inner .btn { width: 100%; justify-content: center; }
}
