/* ==========================================================================
   Tarifas / Pricing (tarifas.mentabase.com)
   ========================================================================== */

.pricing-hero {
  padding: 3rem 0 1.5rem;
}

.pricing-hero .subtitle {
  max-width: 70ch;
}

.pricing-wrap {
  padding: 1.5rem 0 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Card alargada (reusa .card base) */
.plan-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.3rem;
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}

.plan-name {
  margin: 0;
  font-size: 1.2rem;
}

.plan-price {
  font-weight: 700;
  white-space: nowrap;
}

.plan-badge {
  display: inline-block;
  font-size: .85rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--soft-color);
  opacity: .9;
}

.plan-desc {
  margin: 0;
  opacity: .9;
}

.plan-section-title {
  font-size: .95rem;
  font-weight: 700;
  margin: .2rem 0 .4rem;
  opacity: .95;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}

.feat {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  line-height: 1.25;
}

.ico {
  width: 1.25rem;
  flex: 0 0 1.25rem;
  text-align: center;
  font-weight: 700;
  opacity: .9;
}

.ico.no {
  opacity: .45;
}

.plan-foot {
  margin-top: .4rem;
  padding-top: .8rem;
  border-top: 1px solid var(--soft-color);
  display: grid;
  gap: .35rem;
  opacity: .95;
}

.small {
  font-size: .95rem;
  opacity: .9;
}

/* Bloque nota final */
.license-note {
  margin-top: 1.2rem;
}

.note-box {
  border: 1px solid var(--soft-color);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  opacity: .95;
}

.note-box p {
  margin: .4rem 0;
}

.muted {
  opacity: .85;
}



/* ==========================================================================
   Tarifas — Matriz por columnas (borde por columna + radios)
   ========================================================================== */

:root{
  --ok-color: var(--secondary-color);
  --no-color: var(--highlight-color);
}

.pricing-cols{
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

/* Card por columna */
.pricing-col{
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.012);
}

/* Cabecera de columna (altura uniforme) */
.pricing-col__head{
  padding: 1.05rem 1rem;
  background: rgba(0,0,0,.03);
  border-bottom: 1px solid var(--primary-color);

  min-height: 112px;
  display: flex;
  align-items: center;
}

/* Header de la columna de características */
.pricing-col__title{
  font-weight: 800;
  font-size: 1.12rem;
}

/* Cabecera de planes centrada */
.pricing-col:not(.pricing-col--features) .pricing-col__head{
  justify-content: center;
  text-align: center;
}

/* Plan header */
.plan-head-mini{
  display: grid;
  gap: .45rem;
}

.plan-head-mini .plan-name{
  margin: 0;
  font-weight: 900;
  font-size: 1.28rem;
  line-height: 1.2;
}

.plan-head-mini .plan-sub{
  font-size: .95rem;
  opacity: .85;
  line-height: 1.25;
}

.plan-head-mini .plan-price{
  font-weight: 900;
  white-space: nowrap;
  line-height: 1.25;

  padding-top: .35rem;
  padding-bottom: .15rem;
}

/* Filas */
.pricing-col__row{
  padding: .85rem 1rem;
  border-top: 1px solid var(--soft-color);
  line-height: 1.25;

  min-height: 52px;
  display: flex;
  align-items: center;
}

/* Texto de features */
.pricing-col--features .pricing-col__row{
  font-weight: 650;
}

/* Contenido centrado en columnas de planes */
.pricing-col:not(.pricing-col--features) .pricing-col__row{
  justify-content: center;
}

/* Iconos (si aún usas SVG inline por ahora) */
.tick, .cross{
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.tick svg, .cross svg{
  width: 18px;
  height: 18px;
  display: block;
}

.tick{
  border: 1px solid var(--ok-color);
}

.tick svg{
  fill: var(--ok-color);
}

.cross{
  border: 1px solid var(--no-color);
  opacity: .95;
}

.cross svg{
  fill: var(--no-color);
}

/* Bloque perpetuidad */
.pricing-perp{
  margin-top: 1.6rem;
}

.pricing-perp__title{
  margin: 0;
  font-size: 1.4rem;
}

.pricing-perp__lead{
  margin: .45rem 0 0;
  opacity: .9;
}

.pricing-perp__note{
  margin-top: .9rem;
}

/* Responsive */
@media (max-width: 980px){
  .pricing-cols{
    grid-template-columns: 1fr;
  }

  .pricing-col{
    border-radius: 14px;
  }

  .pricing-col__head{
    min-height: 0;
    display: block;
  }

  .pricing-col:not(.pricing-col--features) .pricing-col__head{
    text-align: left;
  }

  .pricing-col:not(.pricing-col--features) .pricing-col__row{
    justify-content: center;
  }
}






/* Marca base (circulito + símbolo dentro) */
.mark{
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;

  /* Para que el símbolo quede centrado siempre */
  line-height: 1;
  font-weight: 900;
  font-size: 16px;

  /* Evita selecciones raras */
  user-select: none;
}

/* OK */
.mark--ok{
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.mark--ok::before{
  content: "✓";
  transform: translateY(-1px); /* ajuste óptico (puedes quitarlo si no lo necesitas) */
}

/* NO */
.mark--no{
  color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
  opacity: .95;
}

.mark--no::before{
  content: "×";
  transform: translateY(-1px); /* ajuste óptico */
}

/* Centrado dentro de las filas de la matriz */
.pricing-col__row .mark{
  margin: 0 auto;
}
