.planes-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.plan-section {
  --plan-theme: #667eea;
  --plan-theme-strong: #4f46e5;
  --plan-theme-soft: rgba(102, 126, 234, .12);
  margin-bottom: 3.5rem;
}

.plan-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--plan-theme);
}

.plan-section-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--plan-theme), var(--plan-theme-strong));
}

.plan-section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.plan-section-header p {
  font-size: .88rem;
  color: #6b7280;
  margin-top: .2rem;
  margin-bottom: 0;
}

.plan-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.plan-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.plan-card.featured {
  border-width: 2px;
  border-color: var(--plan-theme);
  box-shadow: 0 0 0 4px var(--plan-theme-soft), 0 18px 38px rgba(15, 23, 42, .12);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  letter-spacing: .05em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--plan-theme), var(--plan-theme-strong));
  box-shadow: 0 8px 16px rgba(79, 70, 229, .25);
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: .25rem;
  margin-top: .5rem;
}

.plan-desc {
  font-size: .82rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: .75rem;
  min-height: 2.8em;
}

.plan-price-block {
  margin: 1rem 0 .75rem;
}

.plan-price-main {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

.plan-price-period {
  font-size: .82rem;
  color: #9ca3af;
  font-weight: 400;
  margin-left: .15rem;
}

.plan-price-annual {
  font-size: .78rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: .3rem;
}

.plan-features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  flex: 1;
}

.plan-features li {
  font-size: .82rem;
  color: #374151;
  padding: .28rem 0;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.plan-features li i {
  font-size: .7rem;
  margin-top: .25rem;
  flex-shrink: 0;
  color: var(--plan-theme);
}

.plan-cta,
.plan-cta:visited,
.plan-cta:focus,
.plan-cta:active {
  display: block;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  text-align: center;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--plan-theme) 0%, var(--plan-theme-strong) 100%) !important;
  background-color: var(--plan-theme) !important;
  border: 2px solid var(--plan-theme-strong) !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .16);
  filter: saturate(1.2) contrast(1.08);
}

.plan-cta:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--plan-theme) 0%, var(--plan-theme-strong) 100%) !important;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .22);
  filter: saturate(1.3) contrast(1.12);
}

.plan-note {
  font-size: .75rem;
  color: #9ca3af;
  text-align: center;
  margin-top: .5rem;
  line-height: 1.4;
}

/* SECCIÓN 1: EMPRENDEDORES - VIOLETA */
.section-theme-emprendedores .plan-section-header {
  border-color: #667eea;
}

.section-theme-emprendedores .plan-section-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.section-theme-emprendedores .plan-features li i {
  color: #667eea;
}

.section-theme-emprendedores .plan-card {
  border-color: #e0e7ff;
}

.section-theme-emprendedores .plan-card.featured {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, .1);
}

.section-theme-emprendedores .plan-cta {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.section-theme-emprendedores .plan-card:nth-child(1) .plan-badge {
  background: #10b981;
}

.section-theme-emprendedores .plan-card:nth-child(2) .plan-badge {
  background: #3b82f6;
}

.section-theme-emprendedores .plan-card:nth-child(3) .plan-badge {
  background: #f59e0b;
}

.section-theme-emprendedores .plan-card:nth-child(4) .plan-badge {
  background: #8b5cf6;
}

/* SECCIÓN 2: VENTA DE GARAJE - NARANJA */
.section-theme-garaje .plan-section-header,
.section-theme-venta-de-garaje .plan-section-header {
  border-color: #f97316;
}

.section-theme-garaje .plan-section-icon,
.section-theme-venta-de-garaje .plan-section-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.section-theme-garaje .plan-features li i,
.section-theme-venta-de-garaje .plan-features li i {
  color: #f97316;
}

.section-theme-garaje .plan-card,
.section-theme-venta-de-garaje .plan-card {
  border-color: #fed7aa;
}

.section-theme-garaje .plan-card.featured,
.section-theme-venta-de-garaje .plan-card.featured {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .1);
}

.section-theme-garaje .plan-cta,
.section-theme-venta-de-garaje .plan-cta {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

/* SECCIÓN 3: SERVICIOS PROFESIONALES - AZUL */
.section-theme-servicios .plan-section-header,
.section-theme-servicios-profesionales .plan-section-header {
  border-color: #2563eb;
}

.section-theme-servicios .plan-section-icon,
.section-theme-servicios-profesionales .plan-section-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.section-theme-servicios .plan-features li i,
.section-theme-servicios-profesionales .plan-features li i {
  color: #2563eb;
}

.section-theme-servicios .plan-card,
.section-theme-servicios-profesionales .plan-card {
  border-color: #dbeafe;
}

.section-theme-servicios .plan-card.featured,
.section-theme-servicios-profesionales .plan-card.featured {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.section-theme-servicios .plan-cta,
.section-theme-servicios-profesionales .plan-cta {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* SECCIÓN 4: EMPLEOS - PÚRPURA */
.section-theme-empleos .plan-section-header {
  border-color: #7c3aed;
}

.section-theme-empleos .plan-section-icon {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.section-theme-empleos .plan-features li i {
  color: #7c3aed;
}

.section-theme-empleos .plan-card {
  border-color: #ede9fe;
}

.section-theme-empleos .plan-card.featured {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .1);
}

.section-theme-empleos .plan-cta {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

/* SECCIÓN 5: BIENES RAÍCES - CYAN */
.section-theme-bienes .plan-section-header,
.section-theme-bienes-raices .plan-section-header {
  border-color: #06b6d4;
}

.section-theme-bienes .plan-section-icon,
.section-theme-bienes-raices .plan-section-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.section-theme-bienes .plan-features li i,
.section-theme-bienes-raices .plan-features li i {
  color: #06b6d4;
}

.section-theme-bienes .plan-card,
.section-theme-bienes-raices .plan-card {
  border-color: #cffafe;
}

.section-theme-bienes .plan-card.featured,
.section-theme-bienes-raices .plan-card.featured {
  border-color: #06b6d4;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .1);
}

.section-theme-bienes .plan-cta,
.section-theme-bienes-raices .plan-cta {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
