/* ============================================================
   Catalog — value ladder, bundle, fraternity, legion, CTA, footer
   ============================================================ */

/* --- Filter tabs --- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.2rem; }
.filter {
  padding: 0.55rem 1.05rem; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 550; color: var(--muted);
  border: 1px solid var(--line-soft); background: var(--surface);
  transition: color var(--dur-2) var(--ease-out), background-color var(--dur-2), border-color var(--dur-2), transform var(--dur-1) var(--ease-out);
}
.filter:hover { color: var(--ink); border-color: var(--line); }
.filter:active { transform: scale(0.96); }
.filter.is-active { color: var(--on-primary); background: var(--gold); border-color: transparent; }
.filter .count { font-family: var(--font-mono); font-size: 0.78em; opacity: 0.7; margin-left: 0.35rem; }

/* --- Order bumps --- */
.bumps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.bump {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem;
  border-radius: var(--r-2); border: 1px dashed oklch(0.66 0.15 62 / 0.4);
  background: oklch(0.66 0.15 62 / 0.06);
}
.bump svg.tick { width: 22px; height: 22px; color: var(--gold); flex: none; }
.bump__name { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.bump__sub { font-size: 0.82rem; color: var(--muted); }
.bump .price { margin-left: auto; font-size: 0.95rem; white-space: nowrap; }

/* --- Product grid --- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.6vw, 1.15rem); margin-top: 2rem; }
.product {
  display: flex; flex-direction: column; gap: 0.85rem;
  padding: 1.5rem; border-radius: var(--r-3);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.02), transparent 40%), var(--surface);
}
.product.is-hidden { display: none; }
.product__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; }
.product__cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.product__name { font-family: var(--font-display); font-size: 1.32rem; color: var(--ink); line-height: 1.1; margin-top: 0.3rem; }
.product__promise { color: var(--muted); font-size: 0.92rem; flex: 1; }
.product__agent { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.84rem; color: var(--arcane); }
.product__agent svg { width: 15px; height: 15px; flex: none; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--hair); margin-top: auto; }
.product__price { font-family: var(--font-mono); color: var(--ink); font-size: 1.05rem; }
.product__price .per { font-size: 0.72em; color: var(--muted); }
.product__star { color: var(--gold); }
.product[data-star] { border-color: oklch(0.66 0.15 62 / 0.35); }
.product[data-star]::before { content: "★ Estrella"; position: absolute; }

.product__badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.55rem;
  border-radius: var(--r-1); color: var(--gold);
  background: oklch(0.66 0.15 62 / 0.14); border: 1px solid oklch(0.66 0.15 62 / 0.3);
}

/* --- Bundle spotlight --- */
.bundle {
  position: relative; overflow: clip;
  border-radius: var(--r-4); border: 1px solid oklch(0.66 0.15 62 / 0.4);
  background:
    radial-gradient(90% 120% at 85% 0%, oklch(0.66 0.15 62 / 0.16), transparent 55%),
    radial-gradient(80% 120% at 0% 100%, oklch(0.6 0.13 230 / 0.14), transparent 55%),
    var(--surface);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
}
.bundle__glow { position: absolute; width: 40%; aspect-ratio: 1; top: -10%; right: -6%; background: radial-gradient(circle, var(--gold-glow), transparent 70%); filter: blur(50px); pointer-events: none; }
.bundle h2 { margin-block: 0.6rem 1rem; }
.bundle__list { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.bundle__list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.96rem; color: var(--ink-2); }
.bundle__list svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.bundle__pricecard { text-align: center; padding: 2rem 1.6rem; border-radius: var(--r-3); background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.bundle__math { font-size: 0.84rem; color: var(--faint); }
.bundle__was { font-family: var(--font-mono); color: var(--faint); text-decoration: line-through; }
.bundle__now { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 600; color: var(--gold); line-height: 1; letter-spacing: -0.03em; margin-block: 0.4rem; }
.bundle__now .cur { font-size: 0.4em; color: var(--muted); vertical-align: super; }
.bundle__save { font-size: 0.86rem; color: var(--success); margin-bottom: 1.4rem; }

/* --- Fraternity --- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.pillar { padding: 1.5rem; border-radius: var(--r-3); border: 1px solid var(--line-soft); background: var(--surface); display: flex; flex-direction: column; gap: 0.7rem; }
.pillar__n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--arcane); }
.pillar h4 { color: var(--ink); }
.pillar p { font-size: 0.9rem; color: var(--muted); }
.membership-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 2rem; padding: 1.3rem 1.6rem; border-radius: var(--r-3); border: 1px solid var(--line); background: var(--bg-2); }
.membership-cta .info { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.membership-cta .free { color: var(--success); font-size: 0.9rem; }

/* --- Legion / partnerships --- */
.legion { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 3rem; }
.ally { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; border-radius: var(--r-2); border: 1px solid var(--line-soft); background: var(--surface); transition: border-color var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
@media (hover: hover) { .ally:hover { border-color: var(--line); transform: translateY(-3px); } }
.ally__init { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-display); font-weight: 600; color: var(--gold); background: var(--bg-2); border: 1px solid var(--line); }
.ally__name { color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.ally__topic { font-size: 0.82rem; color: var(--muted); }
.ally[data-star] .ally__init { color: var(--on-primary); background: var(--gold); border-color: transparent; }
.ally__star { margin-left: auto; color: var(--gold); }

/* --- Final CTA --- */
.finale { position: relative; text-align: center; overflow: clip; border-radius: var(--r-4); border: 1px solid oklch(0.66 0.15 62 / 0.3); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); background: radial-gradient(80% 120% at 50% 0%, oklch(0.66 0.15 62 / 0.14), transparent 60%), var(--surface); }
.finale .cert-seal { width: 96px; height: 96px; margin: 0 auto 1.8rem; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: radial-gradient(circle at 35% 30%, oklch(0.66 0.15 62 / 0.3), transparent 70%), var(--bg-2); border: 1px solid oklch(0.66 0.15 62 / 0.4); box-shadow: 0 0 50px -10px var(--gold-glow); }
.finale .cert-seal svg { width: 48px; height: 48px; }
.finale h2 { max-width: 20ch; margin-inline: auto; }
.finale p { max-width: 52ch; margin: 1.2rem auto 2rem; color: var(--muted); font-size: var(--step-1); }
.finale__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.finale__fine { margin-top: 1.6rem; font-size: 0.85rem; color: var(--faint); }

/* --- Footer --- */
.footer { border-top: 1px solid var(--hair); padding-block: 3rem 2.5rem; margin-top: var(--section-y); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; margin-top: 1rem; }
.footer__col h5 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.35rem 0; color: var(--muted); font-size: 0.92rem; transition: color var(--dur-2); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--hair); }
.footer__bottom p { font-size: 0.85rem; color: var(--faint); }
.footer__bottom .made { font-family: var(--font-mono); font-size: 0.8rem; }

@media (max-width: 900px) {
  .products, .legion { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .bundle { grid-template-columns: 1fr; }
  .bumps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .products, .legion, .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
