/* ============================================================
   QuiPus · Página de Precios — extiende styles.css (DECISIONS.md)
   Componentes propios de /precios. Marca intacta: navy + cyan.
   ============================================================ */

/* ---------- Beta banner bajo el título ---------- */
.beta-banner {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  background: var(--brand-soft); border: 1px solid rgba(30,58,138,.14);
  padding: 9px 18px; border-radius: 100px; margin-top: 22px;
}
.beta-banner .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(56,189,248,.6); animation: pulse 2s infinite; flex-shrink: 0;
}

/* ---------- Toggle Mensual / Anual ---------- */
.ptoggle-wrap {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 auto 48px; flex-wrap: wrap;
}
.ptoggle {
  display: inline-flex; background: var(--surface-2);
  border: 1px solid var(--border-soft); border-radius: 12px; padding: 4px; gap: 2px;
}
.ptoggle button {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
  padding: 9px 22px; background: transparent; color: var(--muted);
  border: 0; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.ptoggle button.on { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.ptoggle__save {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--cyan-deep); background: var(--cyan-soft);
  border: 1px solid rgba(56,189,248,.3); padding: 6px 12px; border-radius: 100px;
}

/* ---------- Plan cards · tratamiento beta (sin precio) ---------- */
.pcard__beta {
  margin: 22px 0 4px; display: flex; flex-direction: column; gap: 2px;
}
.pcard__beta-amt {
  font-family: var(--sans); font-weight: 800; font-size: 30px;
  color: var(--title); letter-spacing: -.02em; line-height: 1.1;
}
.pcard__beta-per { font-size: 14px; color: var(--muted); font-weight: 600; }
.pcard__cadence {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--cyan-deep); margin-bottom: 22px; min-height: 18px; letter-spacing: -0.01em;
}
.pcard__cadence .cad-a { display: none; }
body.is-annual .pcard__cadence .cad-m { display: none; }
body.is-annual .pcard__cadence .cad-a { display: inline; }

/* nav · item activo */
.nav__links a.is-current { color: var(--navy); font-weight: 700; }
.pcard__inherit {
  font-size: 13px; font-weight: 700; color: var(--title);
  margin-bottom: 4px; letter-spacing: -.005em;
}
.pcard__limit {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--cyan-deep); background: var(--cyan-soft);
  border: 1px solid rgba(56,189,248,.25); padding: 5px 12px; border-radius: 8px;
  margin-bottom: 18px; align-self: flex-start;
}

/* ---------- Enterprise strip ---------- */
.enterprise {
  margin-top: 26px; background: var(--ink); border: 1px solid var(--ink-3);
  border-radius: var(--r); padding: 30px 36px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.enterprise__txt { flex: 1; min-width: 260px; }
.enterprise__txt h3 { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.01em; margin-bottom: 6px; }
.enterprise__txt p { font-size: 15px; color: #94a3b8; }
.enterprise .btn--cyan { flex-shrink: 0; }

/* ---------- Tabla comparativa por categorías ---------- */
.ctable-head { text-align: center; max-width: 680px; margin: 0 auto 14px; }
.ctable-wrap {
  max-width: 960px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); overflow: hidden;
}
.ccat { border-bottom: 1px solid var(--border); }
.ccat:last-child { border-bottom: 0; }
.ccat__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 18px 24px; background: var(--surface-2);
  border: 0; cursor: pointer; font-family: var(--sans);
  font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy); transition: background .18s;
}
.ccat__head:hover { background: #eef2f7; }
.ccat__chev {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border);
  color: var(--navy); transition: transform .25s;
}
.ccat.is-open .ccat__chev { transform: rotate(180deg); }
.ccat__body { overflow: hidden; }
.ccat:not(.is-open) .ccat__body { display: none; }

.ctable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ctable col.ct-feat { width: auto; }
.ctable col.ct-plan { width: 88px; }
.ctable thead th {
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--border);
  text-align: center; background: var(--surface);
}
.ctable thead th.ct-feat-h { text-align: left; padding-left: 24px; }
.ctable thead th.is-pop { color: var(--navy); }
.ctable td {
  padding: 12px 10px; border-bottom: 1px solid var(--border);
  font-size: 13.5px; color: var(--body); text-align: center; vertical-align: middle;
}
.ctable tr:last-child td { border-bottom: 0; }
.ctable td.ct-feat {
  text-align: left; padding-left: 24px; color: var(--body); font-weight: 500;
  text-wrap: pretty;
}
.ctable td.is-pop-col { background: rgba(30,58,138,.025); }
.ctable .yes  { color: var(--positive); display: inline-flex; }
.ctable .no   { color: var(--faint); font-weight: 600; }
.ctable .val  { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--body); }
.ctable tbody tr:hover td { background: rgba(30,58,138,.03); }
.ctable tbody tr:hover td.is-pop-col { background: rgba(30,58,138,.05); }

/* ---------- Free trial section ---------- */
.trial { max-width: 1000px; margin: 0 auto; }
.trial__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.tstep {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 26px;
}
.tstep__n {
  font-family: var(--mono); font-weight: 700; font-size: 15px;
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--cyan); margin-bottom: 18px;
}
.tstep h4 { font-size: 17px; font-weight: 700; color: var(--title); margin-bottom: 8px; letter-spacing: -.01em; }
.tstep p { font-size: 14.5px; color: var(--muted); }

.trial__panel {
  background: var(--ink); border-radius: 24px; padding: 44px 44px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-cyan);
}
.trial__panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% -40px, rgba(56,189,248,.18), transparent 70%);
  pointer-events: none;
}
.trial__panel .tcopy { position: relative; }
.trial__panel h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 14px; text-wrap: balance; }
.trial__panel h3 .em { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--cyan); }
.trial__panel > .tcopy > p { font-size: 16px; color: #94a3b8; margin-bottom: 26px; max-width: 420px; }
.trial__includes { position: relative; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.trial__shot { position: relative; }
.trial__shot .browser { box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,.08); }
.trial__shot .browser img { width: 100%; display: block; }
.trial__includes li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: #cbd5e1; list-style: none;
}
.trial__includes .ck {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(56,189,248,.14); color: var(--cyan); margin-top: 1px;
}

/* ---------- Estudio contable band ---------- */
.firmband {
  max-width: 960px; margin: 0 auto; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r); padding: 36px 40px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.firmband__txt { flex: 1; min-width: 280px; }
.firmband__txt h3 { font-size: 22px; font-weight: 800; color: var(--title); letter-spacing: -.01em; margin-bottom: 8px; }
.firmband__txt p { font-size: 15.5px; color: var(--muted); }

/* ---------- Soporte · 3 tarjetas ---------- */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-soft); }
.scard__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan-deep); margin-bottom: 18px; }
.scard h3 { font-size: 18px; font-weight: 700; color: var(--title); margin-bottom: 9px; letter-spacing: -.01em; }
.scard p { font-size: 14.5px; color: var(--muted); flex: 1; margin-bottom: 18px; }
.scard__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--navy);
}
.scard__link .arr { transition: transform .2s; }
.scard:hover .scard__link .arr { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .trial__steps, .support { grid-template-columns: 1fr; }
  .trial__panel { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
}
@media (max-width: 760px) {
  .enterprise { padding: 26px 24px; }
  .ctable col.ct-plan { width: 58px; }
  .ctable thead th { font-size: 9px; padding: 10px 4px; }
  .ctable thead th.ct-feat-h, .ctable td.ct-feat { padding-left: 16px; }
  .ctable td { padding: 11px 4px; font-size: 12.5px; }
  .ccat__head { padding: 16px; font-size: 12px; }
  .firmband { padding: 28px 24px; }
}
