/* assets/css/contratos.css */
/* Estilos específicos para la página de contratos */

/* ===== HEADER DELGADO COMO telnetworks.com.mx/nosotros.html ===== */
.page-header {
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.05) 0%, rgba(87, 87, 86, 0.03) 100%);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(160, 0, 34, 0.1);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.03) 0%, transparent 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.page-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(160, 0, 34, 0.2);
    border: none;
}

.page-title {
    font-size: 2.2rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.page-title span {
    color: var(--color-primary);
    position: relative;
}

.page-title span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), transparent);
    border-radius: 1.5px;
}

.page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-medium);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
}

/* ===== BOTONES MÁS PEQUEÑOS EN HEADER ===== */
.page-header .btn-telnetworks,
.page-header .btn-telnetworks-outline {
    padding: 10px 24px;
    font-size: 1rem;
}

/* ===== SECCIÓN DE PLANES ===== */
.plans-section {
    padding: 4rem 0;
    position: relative;
    background-color: white;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}

.section-title {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== TARJETAS DE PLANES ===== */
.plan-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    height: 100%;
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(87, 87, 86, 0.08);
    position: relative;
    overflow: hidden;
}

.plan-card.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(160, 0, 34, 0.15);
}

.plan-card.popular::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover::after {
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(87, 87, 86, 0.15);
}

.plan-card.popular:hover {
    transform: translateY(-10px) scale(1.02);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-lighter);
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--gray-medium);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.price-period {
    color: var(--gray-medium);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--gray-medium);
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1rem;
}

.plan-features li.disabled {
    color: var(--gray-light);
    text-decoration: line-through;
}

.plan-features li.disabled::before {
    color: var(--gray-light);
}

/* ===== SECCIÓN DE CARACTERÍSTICAS INCLUIDAS ===== */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-bg) 0%, white 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(87, 87, 86, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(87, 87, 86, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.1), rgba(179, 0, 40, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 2rem;
    border: 2px solid rgba(160, 0, 34, 0.2);
}

/* ===== SECCIÓN FAQ ===== */
.faq-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}

.accordion-button {
    background-color: white;
    border: 1px solid var(--gray-lighter);
    color: var(--gray-dark);
    font-weight: 600;
    padding: 1.5rem;
    border-radius: 8px !important;
    margin-bottom: 1rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(160, 0, 34, 0.05);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(160, 0, 34, 0.25);
    border-color: var(--color-primary);
}

/* ===== BOTONES PERSONALIZADOS ===== */
.btn-telnetworks {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(160, 0, 34, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-telnetworks:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-dark-accent));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(160, 0, 34, 0.35);
}

.btn-telnetworks-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-telnetworks-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(160, 0, 34, 0.2);
}

/* ===== CTA SECTION ESPECÍFICO PARA CONTRATOS ===== */
.cta-contratos {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-accent) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* ===== ALERTA PERSONALIZADA ===== */
.alert-telnetworks {
    border: 1px solid var(--color-primary);
    background: rgba(160, 0, 34, 0.05);
}

/* ===== RESPONSIVE PARA CONTRATOS ===== */
@media (max-width: 1200px) {
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .plan-card.popular {
        transform: scale(1);
    }
    
    .plan-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .plan-card.popular::before {
        font-size: 0.7rem;
        right: -40px;
        padding: 6px 35px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-header::before {
        width: 40%;
        opacity: 0.2;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .page-badge {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .plans-section,
    .features-section,
    .faq-section {
        padding: 3rem 0;
    }
    
    .plan-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .plan-card.popular {
        margin-bottom: 2rem;
    }
    
    .price-amount {
        font-size: 2.8rem;
    }
    
    .feature-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .btn-telnetworks,
    .btn-telnetworks-outline {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .cta-contratos {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 3.5rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .plan-card {
        padding: 1.8rem;
    }
    
    .plan-card.popular::before {
        font-size: 0.6rem;
        right: -45px;
        padding: 5px 30px;
    }
    
    .plans-section,
    .features-section,
    .faq-section {
        padding: 2.5rem 0;
    }
}