/* Precios Section */
.precios {
    padding: 4rem 2rem;
    background-color: white;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem; /* Make the Inscripción heading slightly bigger */
}

.section-subtitle {
    text-align: center;
    color: #2c4a7a;
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.pricing-category {
    text-align: center;
    color: #2c4a7a;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.precios-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    min-height: 350px; /* Adjusted height for each row */
}

/* Top row specific styles */
.precios-top-row {
    margin-bottom: 2rem;
}

/* Explanation text between rows */
.pricing-explanation {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
    padding: 0 1rem;
}

/* Since all cards now have the same styling, this is no longer needed
.precios-top-row .precio-card {
    background-color: #f8fafc;
    border-top: 3px solid #3b82f6;
} */

@media (min-width: 768px) {
    .precios-container {
        grid-template-columns: repeat(3, 1fr);
        align-items: center; /* Center cards vertically */
    }
    
    /* Make top row have only 2 columns */
    .precios-top-row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px; /* Narrower to center the 2 cards */
    }
}

.precio-card {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    border-top: 3px solid #3b82f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 90%;
    margin: 0 auto;
    height: 100%; /* Make all cards the same height within their row */
    justify-content: space-between; /* Better spacing of card elements */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect for all cards */
.precio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

.precio-card.featured {
    border: 1px solid #3b82f6;
    border-top: 3px solid #3b82f6;
    background-color: #edf5ff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
}

/* Special hover effect for featured card */
.precio-card.featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 20px -3px rgba(59, 130, 246, 0.4), 0 8px 10px -2px rgba(59, 130, 246, 0.2);
    background-color: #e6f0ff;
}

.precio-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.precio-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.precio-original {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.precio {
    font-size: 2rem;
    font-weight: 700;
    display: inline;
}

.periodo {
    display: inline;
    font-size: 1rem;
    color: #6b7280;
}

.precio-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.precio-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.precio-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.check-item::before {
    content: '✓';
    color: #10b981;
    margin-right: 0.75rem;
    font-weight: bold;
}

.highlight-item {
    color: #e53e3e;
    font-weight: 600;
}

.precio-btn {
    width: 100%;
    padding: 0.65rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.precio-btn:hover {
    background-color: #2563eb;
    transform: scale(1.03);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: white;
    text-decoration: none;
}

.precio-btn:hover {
    background-color: #2563eb;
}

/* Footer */
.footer {
    background-color: #2c4a7a;
    color: white;
    padding-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #4b7f1c;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-link {
    color: white;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1, .hero h2 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }
    
    .ranking-category {
        min-width: 100%;
    }
    
    .precio-card {
        min-width: 100%;
    }
    
    .precio-card.featured {
        transform: none;
        margin: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}