/* ========================================
   PRICING - DISEÑO MODERNO
   Speck Developers - Paleta Azul y Blanco
   ======================================== */

/* Sección principal */
.pricing-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Header */
.pricing-section .section-header h2 {
  color: #1E5F8C !important;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-align: center;
}

.pricing-section .section-header p {
  color: #555555;
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Row de pricing */
.pricing-row {
  margin-top: 30px;
}

/* Tarjeta de precio */
.pricing-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 35px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid #e0e0e0;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(30, 95, 140, 0.2);
  border-color: #1E5F8C;
}

/* Tarjeta destacada */
.pricing-card.featured {
  border: 3px solid #1E5F8C;
  background: linear-gradient(to bottom, #f0f7fb 0%, #ffffff 100%);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-10px);
}

/* Badge de "Más Popular" */
.badge-popular {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  box-shadow: 0 5px 15px rgba(30, 95, 140, 0.3);
}

/* Header de la tarjeta */
.pricing-header {
  text-align: center;
  margin-bottom: 25px;
}

/* Icono */
.pricing-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon {
  transform: rotate(5deg) scale(1.1);
}

.pricing-card.featured .pricing-icon {
  background: linear-gradient(135deg, #2B7BA9 0%, #1E5F8C 100%);
}

.pricing-icon i {
  font-size: 35px;
  color: #ffffff;
}

/* Título */
.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1E5F8C;
  margin-bottom: 8px;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Subtítulo */
.pricing-subtitle {
  font-size: 14px;
  color: #666666;
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Precio */
.pricing-price {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
}

.pricing-price .currency {
  font-size: 20px;
  color: #1E5F8C;
  font-weight: 600;
  vertical-align: super;
}

.pricing-price .amount {
  font-size: 42px;
  font-weight: 700;
  color: #1E5F8C;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.pricing-price .period {
  font-size: 16px;
  color: #666666;
  font-weight: 500;
  margin-left: 5px;
}

/* Features */
.pricing-features {
  flex: 1;
  margin-bottom: 25px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: #555555;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.pricing-features li i {
  color: #1E5F8C;
  font-size: 18px;
  min-width: 18px;
  margin-top: 2px;
}

.pricing-features li strong {
  color: #1E5F8C;
  font-weight: 600;
}

/* Footer con botón */
.pricing-footer {
  text-align: center;
  margin-top: auto;
}

.btn-pricing {
  display: inline-block;
  width: 100%;
  padding: 14px 30px;
  background: linear-gradient(135deg, #1E5F8C 0%, #2B7BA9 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(30, 95, 140, 0.3);
}

.btn-pricing:hover {
  background: linear-gradient(135deg, #2B7BA9 0%, #1E5F8C 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 95, 140, 0.4);
  color: #ffffff;
}

.pricing-card.featured .btn-pricing {
  background: #ffffff;
  color: #1E5F8C;
  border: 2px solid #1E5F8C;
}

.pricing-card.featured .btn-pricing:hover {
  background: #1E5F8C;
  color: #ffffff;
  border-color: #1E5F8C;
}

/* Nota adicional */
.pricing-note {
  font-size: 15px;
  color: #666666;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  margin-top: 30px;
}

.pricing-note i {
  color: #1E5F8C;
  margin-right: 8px;
}

.pricing-note a {
  color: #1E5F8C;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.pricing-note a:hover {
  border-bottom-color: #1E5F8C;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 991px) {
  .pricing-section {
    padding: 60px 0;
  }

  .pricing-section .section-header h2 {
    font-size: 28px;
  }

  .pricing-section .section-header p {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .pricing-card.featured {
    transform: scale(1);
    margin-bottom: 30px;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

/* Móviles */
@media (max-width: 768px) {
  .pricing-section {
    padding: 50px 0;
  }

  .pricing-section .section-header h2 {
    font-size: 26px;
  }

  .pricing-section .section-header p {
    font-size: 15px;
  }

  .pricing-card {
    padding: 30px 20px;
    margin-bottom: 25px;
  }

  .pricing-icon {
    width: 60px;
    height: 60px;
  }

  .pricing-icon i {
    font-size: 30px;
  }

  .pricing-header h3 {
    font-size: 22px;
  }

  .pricing-price .amount {
    font-size: 36px;
  }

  .pricing-features li {
    font-size: 13px;
  }

  .badge-popular {
    font-size: 11px;
    padding: 6px 15px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .pricing-section .section-header h2 {
    font-size: 24px;
  }

  .pricing-header h3 {
    font-size: 20px;
  }

  .pricing-price .amount {
    font-size: 32px;
  }
}