/* ============================================
   PLANES — Comparativa
   ============================================ */

/* Cards section */
.planes-cards-section {
  background: #FAFBFC;
}

.planes-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-big-card {
  position: relative;
  background: white;
  border: 1.5px solid #EAEDF0;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.plan-big-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.plan-big-card--featured {
  border-color: #17BEBB;
  border-width: 2px;
  box-shadow: 0 8px 24px rgba(23, 190, 187, 0.12);
}

.plan-big-card--featured:hover {
  box-shadow: 0 16px 40px rgba(23, 190, 187, 0.20);
}

.plan-big-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(23, 190, 187, 0.3);
}

.plan-big-card__name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #252A2D;
  margin-bottom: 6px;
  line-height: 1.2;
}

.plan-big-card__tagline {
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 42px;
}

.plan-big-card__details {
  background: #F8FAFB;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan-big-card__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-big-card__label {
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.plan-big-card__value {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #252A2D;
}

.plan-big-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.plan-big-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  border-bottom: 1px solid #F3F4F6;
}

.plan-big-card__features li:last-child {
  border-bottom: none;
}

.plan-big-card__features svg {
  color: #56D9B0;
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-big-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  color: white;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(23, 190, 187, 0.25);
}

.plan-big-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 190, 187, 0.35);
}

/* ============================================
   TABLA COMPARATIVA
   ============================================ */
.comparativa-section {
  background: white;
}

.comparativa-wrap {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #EAEDF0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparativa {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

.comparativa thead {
  background: #F8FAFB;
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparativa thead th {
  padding: 24px 20px;
  text-align: left;
  border-bottom: 2px solid #EAEDF0;
  vertical-align: top;
}

.comparativa__beneficio-col {
  width: 30%;
  min-width: 220px;
}

.comparativa__plan-col {
  position: relative;
  text-align: center !important;
  border-left: 1px solid #EAEDF0;
}

.comparativa__plan-col--featured {
  background: linear-gradient(180deg, rgba(23, 190, 187, 0.08), rgba(86, 217, 176, 0.04));
}

.comparativa__plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.comparativa__plan-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #252A2D;
  margin-bottom: 6px;
  line-height: 1.2;
}

.comparativa__plan-link {
  display: inline-block;
  font-size: 12px;
  color: #17BEBB;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
}

.comparativa__plan-link:hover {
  text-decoration: underline;
}

.comparativa tbody tr {
  border-bottom: 1px solid #F3F4F6;
}

.comparativa tbody tr:hover:not(.comparativa__cat-row) {
  background: #FAFBFC;
}

.comparativa__cat-row {
  background: #33395b !important;
}

.comparativa__cat-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: white !important;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparativa__beneficio {
  padding: 14px 20px;
  color: #374151;
  font-weight: 500;
  line-height: 1.4;
  border-right: 1px solid #F3F4F6;
}

.comparativa__value {
  padding: 14px 20px;
  text-align: center;
  color: #64748B;
  font-size: 13px;
  line-height: 1.4;
  border-right: 1px solid #F3F4F6;
}

.comparativa__value:last-child {
  border-right: none;
}

.comparativa__value--featured {
  background: rgba(23, 190, 187, 0.03);
  color: #252A2D;
  font-weight: 500;
}

.comparativa__cross {
  color: #D1D5DB;
}

.comparativa__no-incluido {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.comparativa-imagen-wrap {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.comparativa-imagen-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.comparativa-imagen-nota {
  margin-top: 20px;
  font-size: 12px;
  color: #94A3B8;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.comparativa-nota {
  margin-top: 16px;
  font-size: 12px;
  color: #94A3B8;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   INFO CTA
   ============================================ */
.planes-info-section {
  background: #F8FAFB;
  padding: 60px 0;
}

.planes-info {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2a3556 0%, #33395b 50%, #1f4a4a 100%);
  padding: 48px 40px;
  border-radius: 24px;
  border: none;
  overflow: hidden;
  color: white;
  box-shadow: 0 12px 40px rgba(42, 53, 86, 0.2);
}

.planes-info::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(23, 190, 187, 0.25) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.planes-info::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(86, 217, 176, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.planes-info > * {
  position: relative;
  z-index: 1;
}

.planes-info h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.planes-info p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 15px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.planes-info__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.planes-info__actions .btn {
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}

.planes-info__actions .btn--primary {
  background: linear-gradient(135deg, #17BEBB, #56D9B0);
  box-shadow: 0 4px 14px rgba(23, 190, 187, 0.3);
}

.planes-info__actions .btn--outline-gradient {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.planes-info__actions .btn--outline-gradient:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Responsive */
@media (min-width: 768px) {
  .planes-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .comparativa__beneficio,
  .comparativa__value {
    padding: 10px 12px;
    font-size: 12px;
  }
  .comparativa__plan-name {
    font-size: 16px;
  }
  .comparativa__plan-link {
    display: none;
  }
}

/* Estilos adicionales para plan_detalle (mismo estilo que comparativa) */
.comparativa__nota {
  display: block;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 6px;
  font-style: italic;
  line-height: 1.4;
  font-weight: 400;
}

.comparativa__red-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}

.comparativa__red-line + .comparativa__red-line {
  border-top: 1px dashed #EAEDF0;
  margin-top: 6px;
  padding-top: 8px;
}

.comparativa__red-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #17BEBB;
}

.comparativa__dash {
  color: #CBD5E1;
  font-size: 16px;
}
