.promo-page {
  position: relative;
}

.promo-hero {
  padding: 36px 0 0px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.promo-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-header h1 {
  color: var(--color-brand-900);
  font-family: var(--font-ui);
  font-size: clamp(34px, 3vw, 45px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-align: center;
}

.promo-header .promo-subline {
  margin: 0 auto;
  max-width: 1200px;
  color: #007d8b;
  font-size: var(--font-size-lg);
  line-height: 1.4;
  text-align: center;
}

.promo-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-intro h2 {
  color: #0f2532;
  font-family: var(--font-ui);
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.promo-intro p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.45;
  max-width: 1240px;
}

.promo-filters {
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  gap: 18px;
  /*flex-wrap: wrap;*/
}

.promo-filters .pill {
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(128, 128, 128, 0.55);
  background: var(--color-white);
  color: var(--color-brand-900);
  font-size: var(--font-size-md);
  font-weight: 500;
  line-height: 1;
  padding: 4px 24px 4px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.promo-filters .pill.active {
  border-color: var(--color-brand-800);
  background: #e9f6f3;
  color: var(--color-brand-900);
}

.promo-filters .pill:hover {
  border-color: var(--color-brand-800);
}

.promo-filters .pill img {
  width: 20px;
  height: 20px;
}

.promo-section h2 {
  color: var(--color-brand-900);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.promo-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 40px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-height: 662px;
}

.promo-cover {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.promo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card-content {
  width: 100%;
  padding: 16px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-card-category {
  color: var(--color-brand-700);
  font-family: var(--font-ui);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.promo-card h3 {
  color: var(--color-text-900);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--font-size-xl);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.promo-card-subtitle {
  color: var(--color-brand-900);
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.promo-card-excerpt {
  color: #98989d;
  font-size: var(--font-size-md);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.promo-card-actions {
  width: 100%;
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.promo-read {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 145px;
  height: 56px;
  padding: 4px 4px 4px 24px;
  border: 1px solid rgba(128, 128, 128, 0.55);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-brand-900);
  font-size: var(--font-size-md);
  font-weight: 500;
  text-decoration: none;
}

.promo-read span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-brand-700);
}

.promo-read span img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%)
    hue-rotate(277deg) brightness(104%) contrast(102%);
}

.promo-section.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .promo-hero {
    padding: 24px 0 0px; /* Cambio padding por perico */
    gap: 20px;
  }

  .promo-header h1 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .promo-header .promo-subline {
    font-size: 15px;
  }

  .promo-intro h2 {
    font-size: 30px;
  }

  .promo-intro p {
    font-size: var(--font-size-sm);
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .promo-cover {
    height: 290px;
  }

  .promo-card {
    min-height: 596px;
  }

  .promo-card h3 {
    font-size: var(--font-size-lg);
  }

  .promo-card-subtitle,
  .promo-card-excerpt {
    font-size: var(--font-size-sm);
  }

  .promo-read {
    min-width: 130px;
    height: 48px;
    font-size: var(--font-size-sm);
    padding-left: 18px;
  }

  .promo-read span {
    width: 40px;
    height: 40px;
  }

  .promo-read span img {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 700px) {
  .promo-header h1 {
    text-align: left;
    font-size: 28px;
  }

  .promo-header .promo-subline {
    text-align: left;
    font-size: 13px;
  }

  .promo-intro h2 {
    font-size: 26px;
  }

  .promo-intro p {
    font-size: var(--font-size-xs);
  }

  .promo-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .promo-filters .pill {
    flex: 0 0 auto;
    height: 44px;
    font-size: var(--font-size-sm);
    padding: 0 14px;
    gap: 8px;
  }

  .promo-filters .pill img {
    width: 16px;
    height: 16px;
  }

  .promo-section {
    margin-top: 40px !important;
  }

  .promo-section h2 {
    font-size: 19px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .promo-cover {
    height: 240px;
  }

  .promo-card {
    min-height: auto;
  }

  .promo-card-content {
    gap: 6px;
  }

  .promo-card h3 {
    font-size: var(--font-size-md);
  }

  .promo-card-subtitle,
  .promo-card-excerpt {
    font-size: 13px;
  }

  .promo-read {
    min-width: 118px;
    height: 40px;
    font-size: 13px;
    padding: 2px 2px 2px 14px;
  }

  .promo-read span {
    width: 34px;
    height: 34px;
  }

  .promo-read span img {
    width: 14px;
    height: 14px;
  }
}
