/* HeroStats v7.2.6 — rediseño visual de filtros predeterminados y comparativa Premium */

/* --------------------------------------------------------------------------
   FILTROS PREDETERMINADOS
   -------------------------------------------------------------------------- */
.v724-workbench-content > .filter-proposal-library {
  display: block;
  min-height: 560px;
  background:
    radial-gradient(circle at 92% 2%, rgba(78, 196, 72, .09), transparent 30%),
    #0a1820;
}

.filter-proposal-library > .v724-category-strip {
  display: flex;
  gap: 10px;
  width: auto !important;
  max-width: none !important;
  padding: 16px 18px;
  overflow-x: auto;
  border-bottom: 1px solid #29424c;
  background: #08151c;
  scrollbar-width: thin;
}

.filter-proposal-library > .v724-category-strip button {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #29424c;
  border-radius: 12px;
  background: #0c1c24;
  color: #b7c7cc;
  box-shadow: none;
}

.filter-proposal-library > .v724-category-strip button:last-child {
  border-right: 1px solid #29424c;
}

.filter-proposal-library > .v724-category-strip button .v724-icon {
  width: 21px;
  height: 21px;
}

.filter-proposal-library > .v724-category-strip button b {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.filter-proposal-library > .v724-category-strip button:hover {
  transform: translateY(-1px);
  border-color: #4a6c59;
  background: #10242c;
}

.filter-proposal-library > .v724-category-strip button.active {
  border-color: #6bd75c;
  background: linear-gradient(145deg, #1b5b28, #123d20);
  color: #efffed;
  box-shadow: 0 8px 24px rgba(46, 149, 51, .17), inset 0 0 0 1px rgba(142, 237, 126, .12);
}

.filter-proposal-library > .v724-category-strip button.active::after {
  display: none;
}

.filter-proposal-library .filter-proposal-editor {
  display: block;
  min-height: 0;
  height: auto;
  padding: 30px 32px 34px;
  overflow: visible;
  background: transparent;
}

.filter-proposal-library .proposal-library-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.filter-proposal-library .proposal-library-head .eyebrow {
  margin: 0 0 8px;
  color: #71df62;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .1em;
}

.filter-proposal-library .proposal-library-head h3 {
  margin: 0;
  color: #f0f5f2;
  font-size: clamp(30px, 2.3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.filter-proposal-library .proposal-library-head p:last-child {
  margin: 10px 0 0;
  color: #9aabb2;
  font-size: 16px;
  line-height: 1.55;
}

.filter-proposal-library .filter-sidebar-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent;
}

.filter-proposal-library .filter-sidebar-presets button {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 17px 18px;
  border: 1px solid #29434e;
  border-radius: 15px;
  background: linear-gradient(145deg, #0d2029, #0b1921);
  color: #e2e9e6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .11);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.filter-proposal-library .filter-sidebar-presets button:hover {
  transform: translateY(-2px);
  border-color: #5a8066;
  background: linear-gradient(145deg, #102630, #0d211d);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.filter-proposal-library .filter-sidebar-presets button > span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 8px;
  border: 1px solid rgba(111, 231, 89, .14);
  border-radius: 13px;
  background: linear-gradient(145deg, #153c20, #102c19);
  color: #92f17f;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.12;
}

.filter-proposal-library .filter-sidebar-presets button b {
  color: #edf3ef;
  font-size: 19px;
  line-height: 1.2;
}

.filter-proposal-library .filter-sidebar-presets button small {
  margin-top: 7px;
  color: #93a5ac;
  font-size: 14px;
  line-height: 1.45;
}

.filter-proposal-library .filter-sidebar-presets button em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid #36515d;
  border-radius: 10px;
  color: #b9c8cd;
  font-size: 20px;
  font-style: normal;
  white-space: nowrap;
}

.filter-proposal-library .filter-sidebar-presets button em span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   COMPARATIVA FREE / PREMIUM — ESCALA REALMENTE LEGIBLE
   -------------------------------------------------------------------------- */
.premium-page {
  gap: 20px;
}

.premium-comparison > header {
  padding: 28px 30px 24px;
}

.premium-comparison > header .eyebrow,
.premium-next .eyebrow {
  font-size: 13px;
  letter-spacing: .11em;
}

.premium-comparison h2 {
  margin: 7px 0 8px;
  font-size: clamp(32px, 2.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.premium-comparison header p:not(.eyebrow) {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.55;
}

.premium-comparison thead th {
  padding: 15px 20px;
  color: #9babb1;
  font-size: 13px;
  letter-spacing: .06em;
}

.premium-comparison th,
.premium-comparison td {
  padding: 18px 20px;
}

.premium-comparison tbody th {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
}

.premium-comparison tbody th > span {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 18px;
}

.premium-comparison tbody th b {
  color: #e8efeb;
  font-size: 17px;
  line-height: 1.25;
}

.premium-comparison tbody th small {
  margin-top: 6px;
  color: #8ea0a8;
  font-size: 13px;
  line-height: 1.45;
}

.premium-comparison td {
  width: 190px;
  font-size: 14px;
  line-height: 1.3;
}

.premium-next {
  padding: 26px 30px;
}

.premium-next h2 {
  margin: 7px 0 8px;
  font-size: 27px;
}

.premium-next p:not(.eyebrow) {
  max-width: 840px;
  font-size: 15px;
  line-height: 1.55;
}

.premium-next a,
.premium-next button {
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
}

/* Mantiene también legibles las zonas superiores cuando se entra por una función. */
.premium-focus small {
  font-size: 12px;
}

.premium-focus h2 {
  font-size: 22px;
}

.premium-focus p {
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .filter-proposal-library .filter-sidebar-presets {
    grid-template-columns: 1fr;
  }

  .premium-comparison td {
    width: 155px;
  }
}

@media (max-width: 720px) {
  .filter-proposal-library > .v724-category-strip {
    gap: 8px;
    padding: 12px;
  }

  .filter-proposal-library > .v724-category-strip button {
    min-width: 112px;
    min-height: 48px;
    padding: 0 12px;
  }

  .filter-proposal-library > .v724-category-strip button b {
    font-size: 13px;
  }

  .filter-proposal-library .filter-proposal-editor {
    padding: 22px 15px 26px;
  }

  .filter-proposal-library .proposal-library-head h3 {
    font-size: 29px;
  }

  .filter-proposal-library .proposal-library-head p:last-child {
    font-size: 15px;
  }

  .filter-proposal-library .filter-sidebar-presets button {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 104px;
    padding: 14px;
  }

  .filter-proposal-library .filter-sidebar-presets button > span {
    min-height: 62px;
    font-size: 14px;
  }

  .filter-proposal-library .filter-sidebar-presets button b {
    font-size: 17px;
  }

  .filter-proposal-library .filter-sidebar-presets button small {
    font-size: 13px;
  }

  .filter-proposal-library .filter-sidebar-presets button em {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    padding: 8px;
  }

  .premium-comparison > header {
    padding: 22px 18px;
  }

  .premium-comparison h2 {
    font-size: 30px;
  }

  .premium-comparison header p:not(.eyebrow) {
    font-size: 15px;
  }

  .premium-comparison table {
    min-width: 760px;
  }

  .premium-comparison th,
  .premium-comparison td {
    padding: 15px 14px;
  }

  .premium-comparison tbody th b {
    font-size: 16px;
  }

  .premium-comparison tbody th small {
    font-size: 12px;
  }

  .premium-comparison td {
    font-size: 13px;
  }

  .premium-next {
    padding: 22px 18px;
  }

  .premium-next h2 {
    font-size: 24px;
  }

  .premium-next p:not(.eyebrow) {
    font-size: 14px;
  }
}
