/* =====================================================
   TURBOHOST — PLAN CARDS / LIGHT STYLE
   Componente compartido para landings de productos
   ===================================================== */

.plan-cards-section {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(16, 98, 254, 0.055),
      transparent 38%
    ),
    #f5f7fb;
  color: #071a3d;
}

.plan-cards-section .plans-showcase__title {
  margin-bottom: 0.7rem;
  color: #071a3d;
}

.plan-cards__subtitle {
  max-width: 780px;
  margin: 0 auto 2.2rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}


/* =====================================================
   GRID
   ===================================================== */

.plan-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-cards__grid_programa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}


/* =====================================================
   CARD
   ===================================================== */

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 590px;
  padding: 28px 28px 24px;
  overflow: hidden;

  border: 1px solid #dfe6f1;
  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 18px 45px rgba(15, 31, 65, 0.08);

  color: #475569;
  text-align: center;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-5px);

  border-color: rgba(16, 98, 254, 0.25);

  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 24px 55px rgba(15, 31, 65, 0.12);
}


/* =====================================================
   FEATURED
   ===================================================== */

.plan-card--featured {
  border-color: rgba(16, 98, 254, 0.38);

  background:
    linear-gradient(
      180deg,
      rgba(16, 98, 254, 0.055) 0%,
      rgba(255, 255, 255, 1) 28%
    );

  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 20px 50px rgba(16, 98, 254, 0.13);
}

.plan-card--featured:hover {
  border-color: rgba(16, 98, 254, 0.55);

  box-shadow:
    0 3px 6px rgba(15, 23, 42, 0.05),
    0 26px 60px rgba(16, 98, 254, 0.17);
}

.plan-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;

  background: #1062fe;

  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%
  );
}

.plan-card--featured::after {
  content: "✓";
  position: absolute;
  top: 3px;
  right: 6px;
  z-index: 2;

  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}


/* =====================================================
   TOP
   ===================================================== */

.plan-card__top {
  align-items: center;
  margin-bottom: 18px;
}


/* =====================================================
   ICON
   ===================================================== */

.plan-card__icon {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  border: 1px solid rgba(16, 98, 254, 0.10);
  border-radius: 14px;

  background: #eef5ff;
  color: #1062fe;
}

.plan-card__icon svg {
  width: 26px;
  height: 26px;
  display: block;

  --svg-icon-color-1: #0866ff;
  --svg-icon-color-2: #00a4ff;
  --svg-icon-color-3: #123b78;
  --svg-icon-color-4: #ffffff;
}


/* =====================================================
   BADGE
   ===================================================== */

.plan-card__badge {
  
  align-items: center;

  min-height: 27px;
  padding: 0.3rem 0.62rem;

  border: 1px solid rgba(16, 98, 254, 0.14);
  border-radius: 999px;

  background: #eef5ff;

  color: #075cff;

  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}


/* =====================================================
   NAME + DESCRIPTION
   ===================================================== */

.plan-card__name {
  margin: 0 0 14px;

  color: #071a3d;

  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.3;

  text-align: center;
}

.plan-card__description {
  min-height: 48px;
  margin: 0 0 18px;

  color: #64748b;

  font-size: 0.92rem;
  line-height: 1.55;

  text-align: center;
}


/* =====================================================
   PRICE
   ===================================================== */

.plan-card__price {
  margin: 0 0 24px;
  text-align: center;
}

.plan-card__from {
  display: block;

  color: #8290a6;

  font-size: 0.78rem;
  font-weight: 600;
}

.plan-card__amount {
  margin-top: 0.12rem;

  color: #071a3d;

  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1;

  letter-spacing: -0.035em;
}

.plan-card__period {
  margin-top: 0.35rem;

  color: #8290a6;

  font-size: 0.78rem;
  line-height: 1.4;
}

.plan-card__meta {
  margin-top: 0.6rem;

  color: #64748b;

  font-size: 0.82rem;
  line-height: 1.4;
}


/* =====================================================
   FEATURES
   ===================================================== */

.plan-card__features {
  display: grid;
  gap: 16px;

  margin: 0 0 30px;
  padding: 0;

  color: #475569;

  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.55;

  list-style: none;
  text-align: center;
}

.plan-card__features li {
  padding: 0;
}

.plan-card__features li::before {
  display: none;
}


/* =====================================================
   BUTTON
   ===================================================== */

.plan-card .btn-primary {
  width: auto;
  min-width: 132px;
  min-height: 44px;

  margin: auto auto 0;
  padding: 10px 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 999px;

  background: #1062fe;
  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 600;

  text-align: center;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.plan-card .btn-primary:hover {
  transform: translateY(-2px);

}


/* Featured CTA */
.plan-card--featured .btn-primary {
  background: #075cff;
  color: #ffffff;
}

.plan-card--featured .btn-primary::before {
  content: "✓";
  margin-right: 9px;
  font-weight: 800;
}


/* =====================================================
   NOTES
   ===================================================== */

.plan-cards-section .section-note,
.plan-comparison .section-note {
  max-width: 670px;
  margin-top: 1.7rem;
}

.plan-cards-section .section-note {
  color: #64748b;
}

p.section-note {
  padding-top: 2em;
  margin: 0 auto;

  color: #64748b;

  font-size: 13px;
  line-height: 1.6;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1180px) {

  .plan-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card {
    min-height: 540px;
  }
}


@media (max-width: 640px) {

  .plan-cards-section {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }

  .plan-cards__grid,
  .plan-cards__grid_programa {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .plan-card {
    min-height: auto;
    padding: 26px 22px 22px;
    border-radius: 24px;
  }

  .plan-card__description {
    min-height: auto;
  }
}