/* Hereda variables y estilos base del archivo principal */
@import url('styles.css');

/* ===== ESTILOS EXCLUSIVOS DE PAQUETES ===== */
.packages-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    justify-items: center;
}

/* Responsive grid */
@media (min-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

.package-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 300px;
}

.package-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 20px rgba(251, 103, 3, 0.1);
}

.package-card.highlight {
    border: 2px solid var(--primary);
}

/* Badge destacado */
.package-badge {
    position: absolute;
    top: -0.8rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Estilos de precios */
.package-price {
    margin: 1.5rem 0;
}

.promo-price {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
}

.promo-price small {
    font-size: 1rem;
    opacity: 0.8;
}

.regular-price {
    display: block;
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1rem;
}

.promo-period {
    color: var(--primary-dark);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Lista de características */
.package-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    flex-grow: 1;
}

.package-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
}

.package-features li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Botón de contratar */
.cta-button {
    margin-top: auto;
    align-self: center;
    width: 80%;
    max-width: 200px;
    text-align: center;
}

/* Estilos mejorados para el pie de sección */
.package-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(251, 103, 3, 0.2);
}

.footer-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 300px;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card .icon {
    font-size: 2rem;
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-card .content {
    text-align: left;
}

.highlight-card h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-card .price {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.highlight-card .price span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: normal;
}

.highlight-card .contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.highlight-card .phone {
    color: var(--primary);
    font-weight: 500;
}

.highlight-card .email {
    color: var(--text);
}

.highlight-card .separator {
    color: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-card {
        min-width: 100%;
    }
}