/* ==========================================================================
   Catálogo — Grupo3 Impresores
   ========================================================================== */

/* ---------- Hero ---------- */
.cat-hero {
  background: #fff;
  padding-top: 80px;
}

.cat-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 552px 1fr;
  gap: 48px;
  min-height: 596px;
  align-items: center;
}

.cat-hero__content {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cat-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1c1c;
}

.cat-hero__lead {
  font-size: 18px;
  color: #5c4037;
  line-height: 1.6;
}

.cat-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.cat-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  transition: background .15s;
  align-self: flex-start;
}

.cat-hero__btn-primary:hover {
  background: var(--orange-dark);
}

.cat-hero__btn-outline {
  display: inline-flex;
  align-items: center;
  border: 2px solid #1a1c1c;
  color: #1a1c1c;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  transition: background .15s, color .15s;
  align-self: flex-start;
}

.cat-hero__btn-outline:hover {
  background: #1a1c1c;
  color: #fff;
}

.cat-hero__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.cat-hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(168, 50, 0, .05);
  border-radius: 24px;
  transform: rotate(-3deg);
}

.cat-hero__image img {
  width: 552px;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 8px 8.75px -6px rgba(0, 0, 0, .1), 0 20px 21.875px -5px rgba(0, 0, 0, .1);
  position: relative;
  z-index: 1;
  display: block;
}

/* ---------- Filter Bar ---------- */
.cat-filter {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(249, 249, 249, .95);
  border-bottom: 1px solid #e5beb2;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 1px 1.75px 0 rgba(0, 0, 0, .05);
}

.cat-filter__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
}

.cat-filter__label {
  font-size: 16px;
  color: #5c4037;
  font-weight: 400;
  padding-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  color: #5c4037;
  background: #e2e2e2;
  white-space: nowrap;
  transition: background .15s, color .15s;
  line-height: 1.5;
  flex-shrink: 0;
}

.cat-filter__btn:hover,
.cat-filter__btn--active {
  background: var(--orange);
  color: #fff;
}

/* ---------- Product Sections ---------- */
.cat-sections {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.cat-section__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cat-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
  border-bottom: 4px solid rgba(168, 50, 0, .2);
}

.cat-section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.6px;
  color: var(--orange);
}

.cat-section__tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.24px;
  line-height: 1.4;
}

/* 4-column product grid */
.cat-products {
  display: grid;
  grid-template-columns: repeat(4, 270px);
  gap: 0;
}

/* 3-column for Grandes Formatos */
.cat-products--3col {
  grid-template-columns: repeat(3, 368px);
}

/* Product Card */
.cat-card {
  background: #fff;
  border: 1px solid #e5beb2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.cat-card__image {
  width: 100%;
  height: 192px;
  background: #eee;
  overflow: hidden;
}

.cat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.56;
  color: #1a1c1c;
}

.cat-card__desc {
  font-size: 14px;
  color: #5c4037;
  line-height: 1.43;
}

/* ---------- Download PDF Section ---------- */
.cat-download-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px 64px;
}

.cat-download {
  background: rgba(168, 50, 0, .05);
  border: 2px solid var(--orange);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cat-download__text {
  flex: 1;
}

.cat-download__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1c1c;
  margin-bottom: 15px;
}

.cat-download__desc {
  font-size: 18px;
  color: #5c4037;
  line-height: 1.6;
}

.cat-download__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.cat-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.5;
  padding: 20px 40px 20px 40px;
  border-radius: 4px;
  text-align: center;
  transition: background .15s;
  white-space: pre-line;
}

.cat-download__btn:hover {
  background: var(--orange-dark);
}

.cat-download__btn svg {
  flex-shrink: 0;
}

.cat-download__note {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.24px;
  line-height: 1.4;
}

/* ---------- Final CTA ---------- */
.cat-cta {
  background: #2b2b28;
  padding: 80px 0;
}

.cat-cta__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.cat-cta__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #f9f9f9;
  margin-bottom: 30px;
}

.cat-cta__lead {
  font-size: 18px;
  color: #f9f9f9;
  opacity: 0.8;
  line-height: 1.6;
  max-width: 672px;
  margin-bottom: 17px;
}

.cat-cta__btns {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding-top: 17px;
}

.cat-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 20px 40px;
  border-radius: 4px;
  transition: background .15s;
}

.cat-cta__btn-primary:hover {
  background: var(--orange-dark);
}

.cat-cta__btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f9f9f9;
  color: #2f3131;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 20px 40px;
  border-radius: 4px;
  transition: background .15s;
}

.cat-cta__btn-wa:hover {
  background: #e2e2e2;
}