/* ==========================================
   Planes Section Styles
   ========================================== */

#planes {
    background-color: #ffffff;
}

/* Aumentar espacio entre tarjetas 50% más que g-5 */
#planes .row {
    --bs-gutter-x: 4.5rem;
    --bs-gutter-y: 4.5rem;
}

/* Forzar ancho de columnas para tarjetas más anchas */
#planes .row > div {
    flex: 0 0 auto !important;
    width: auto !important;
}

/* Pricing Cards */
.pricing-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 525px;
    margin: 0 auto;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 206, 209, 0.2);
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card .price span {
    font-size: 1.2rem;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.pricing-card .btn {
    margin-top: auto;
}

/* Featured Pricing */
.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00b8bb 100%);
    color: var(--light-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 206, 209, 0.3);
}

.pricing-card.featured h3 {
    color: var(--light-color);
}

.pricing-card.featured .price {
    color: var(--light-color);
}

.pricing-card.featured .price span {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured ul li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: var(--light-color);
}

.pricing-card.featured ul li i {
    color: var(--light-color);
}

.pricing-card.featured:hover {
    transform: translateY(-5px);
}

/* Responsive - Tablet: Reducir margen para que quepan 3 tarjetas */
@media (min-width: 768px) and (max-width: 1399px) {
    #planes .row {
        --bs-gutter-x: 1.5rem !important;
        --bs-gutter-y: 1.5rem !important;
    }
    
    #planes .row > div {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: calc(33.333% - 1rem) !important;
    }
    
    .pricing-card {
        max-width: 100% !important;
        width: 100% !important;
    }
}