/* ════════════════════════════════════════════════
   DIGINCREASE — Sección de Planes / Pricing (compartida)
   Se usa en el home, /demos y en cada demo.
   Las clases de tarjeta usan el prefijo dgpl- (Digincrease
   Plans) para NO colisionar con clases price-* que ya usan
   las demos de barber/salud en sus menús de servicios.
   Depende de las variables de marca (--g1, --g2, --g3,
   --dark, --text, --text-2, --text-3, --bg, --bg-soft,
   --border) que cada página define en :root.
   ════════════════════════════════════════════════ */

.pricing-section {
  padding: 84px 48px;
  background: var(--bg-soft, #f5f9f4);
  border-top: 1px solid var(--border, #deeede);
  border-bottom: 1px solid var(--border, #deeede);
}
.pricing-head {
  max-width: 720px; margin: 0 auto 48px; text-align: center;
}
.pricing-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--g2, #3daa5b); margin-bottom: 12px;
}
.pricing-title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 800;
  letter-spacing: -1px; color: var(--dark, #0d1f0d); line-height: 1.1; margin-bottom: 14px;
}
.pricing-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--g2, #3daa5b), var(--g3, #9dc353));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-sub {
  font-size: 16px; color: var(--text-2, #4a6b4a); line-height: 1.7;
}

.pricing-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: stretch;
}

.dgpl-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg, #fff); border: 1.5px solid var(--border, #deeede);
  border-radius: 22px; padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dgpl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61,170,91,0.35);
  box-shadow: 0 16px 48px rgba(61,170,91,0.14);
}
/* Plan destacado */
.dgpl-card.featured {
  border-color: var(--g2, #3daa5b);
  box-shadow: 0 18px 50px rgba(61,170,91,0.18);
}
.dgpl-card.featured::after {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  border: 1.5px solid var(--g2, #3daa5b); pointer-events: none;
}

.dgpl-pop {
  position: absolute; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--g2, #3daa5b), var(--g1, #76b658));
  padding: 5px 12px; border-radius: 20px;
  box-shadow: 0 4px 12px rgba(61,170,91,0.35);
}
.dgpl-pop svg { width: 11px; height: 11px; fill: #fff; }

.dgpl-name {
  font-size: 20px; font-weight: 700; color: var(--dark, #0d1f0d);
  letter-spacing: -0.3px; margin-bottom: 14px;
}
.dgpl-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.dgpl-currency { font-size: 20px; font-weight: 700; color: var(--dark, #0d1f0d); }
.dgpl-value {
  font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -1.5px;
  color: var(--dark, #0d1f0d);
}
.dgpl-card.featured .dgpl-value {
  background: linear-gradient(135deg, var(--g2, #3daa5b), var(--g3, #9dc353));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dgpl-period { font-size: 15px; font-weight: 500; color: var(--text-3, #8eaa8e); }
.dgpl-note-ars { font-size: 11px; color: var(--text-3, #8eaa8e); margin-bottom: 18px; }

.dgpl-desc {
  font-size: 13.5px; color: var(--text-2, #4a6b4a); line-height: 1.65;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border, #deeede);
}

.dgpl-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; padding: 0; flex: 1; }
.dgpl-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text, #1a2e1a); line-height: 1.45; }
.dgpl-chk {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(61,170,91,0.12); display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.dgpl-chk svg { width: 11px; height: 11px; stroke: var(--g2, #3daa5b); stroke-width: 3; fill: none; }

.dgpl-ideal {
  font-size: 12px; font-style: italic; color: var(--text-2, #4a6b4a); line-height: 1.5;
  background: var(--bg-soft, #f5f9f4); border: 1px solid var(--border, #deeede);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 22px;
}

.dgpl-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  text-decoration: none; padding: 14px 18px; border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; width: 100%;
}
.dgpl-cta svg { width: 15px; height: 15px; }
/* CTA oscuro (Start) */
.dgpl-cta.dark { background: var(--dark, #0d1f0d); color: #fff; border: 1.5px solid var(--dark, #0d1f0d); }
.dgpl-cta.dark:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(13,31,13,0.3); }
/* CTA verde (Growth) */
.dgpl-cta.solid {
  background: linear-gradient(135deg, var(--g2, #3daa5b), var(--g1, #76b658));
  color: #fff; border: 1.5px solid transparent; box-shadow: 0 6px 18px rgba(61,170,91,0.3);
}
.dgpl-cta.solid:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(61,170,91,0.45); }
/* CTA contorno (Pro) */
.dgpl-cta.outline { background: var(--bg, #fff); color: var(--dark, #0d1f0d); border: 1.5px solid var(--border, #deeede); }
.dgpl-cta.outline:hover { transform: translateY(-2px); border-color: var(--g2, #3daa5b); color: var(--g2, #3daa5b); }

.pricing-foot {
  max-width: 720px; margin: 36px auto 0; text-align: center;
  font-size: 12.5px; color: var(--text-3, #8eaa8e); line-height: 1.6;
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .dgpl-card.featured { order: -1; }
}
@media (max-width: 540px) {
  .pricing-section { padding: 60px 20px; }
}
