/* assets/css/contacto.css */
/* Estilos específicos para la página de contacto */

/* ===== HEADER DELGADO COMO TELNETWORKS ===== */
.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 DEL FORMULARIO ===== */
.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 DEL FORMULARIO Y INFO ===== */
.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::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(-5px);
    box-shadow: 0 15px 35px rgba(87, 87, 86, 0.15);
}

.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;
}

/* ===== FORMULARIO ===== */
.form-label {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label.required::after {
    content: ' *';
    color: var(--color-primary);
}

.form-control,
.form-select {
    border: 1px solid var(--gray-lighter);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(160, 0, 34, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== MEJORAS PARA LA INFORMACIÓN DE CONTACTO ===== */
.contact-info-card {
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.02) 0%, rgba(87, 87, 86, 0.01) 100%);
    border: 1px solid rgba(160, 0, 34, 0.15);
}

.contact-info-card .plan-header {
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.08), transparent);
    padding: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(160, 0, 34, 0.1);
}

.contact-info-items {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.contact-info-items li {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.contact-info-items li:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(160, 0, 34, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(160, 0, 34, 0.1), rgba(179, 0, 40, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--color-primary);
    font-size: 1.3rem;
    border: 1px solid rgba(160, 0, 34, 0.2);
}

.contact-content {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-value {
    display: block;
    color: var(--gray-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact-link:hover {
    color: var(--color-dark-accent);
    text-decoration: underline;
}

.contact-link i {
    margin-right: 5px;
    font-size: 0.9rem;
}

/* WhatsApp específico */
.whatsapp-contact {
    border-color: rgba(37, 211, 102, 0.2);
}

.whatsapp-contact .contact-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.1));
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-contact:hover {
    border-color: #25D366;
}

/* ===== HORARIOS MEJORADOS ===== */
.contact-hours {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(160, 0, 34, 0.1);
}

.contact-hours h5 {
    color: var(--gray-dark);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.contact-hours h5 i {
    color: var(--color-primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.hours-list {
    list-style: none;
    padding-left: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-lighter);
    color: var(--gray-medium);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li .day {
    font-weight: 600;
    color: var(--gray-dark);
}

.hours-list li .time {
    color: var(--color-primary);
    font-weight: 600;
}

.hours-list li.closed {
    opacity: 0.6;
}

.hours-list li.closed .time {
    color: var(--gray-light);
    text-decoration: line-through;
}

/* ===== RESPONSIVE PARA LA INFORMACIÓN DE CONTACTO ===== */
@media (max-width: 768px) {
    .contact-info-items li {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-content {
        width: 100%;
    }
    
    .contact-hours h5 {
        justify-content: center;
    }
    
    .hours-list li {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .contact-info-card .plan-header {
        padding: 1.5rem;
    }
    
    .contact-info-items li {
        padding: 0.9rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
    }
}

/* ===== SECCIÓN DE MAPA ===== */
.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);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== 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);
}

/* ===== CTA FINAL ESPECÍFICO PARA CONTACTO ===== */
.cta-contratos {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-accent) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-contratos h2 {
    color: white;
    font-weight: 800;
}

.cta-contratos .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== ALERTAS PERSONALIZADAS ===== */
.alert-telnetworks {
    border: 1px solid var(--color-primary);
    background: rgba(160, 0, 34, 0.05);
    border-radius: 8px;
    padding: 1.25rem;
    color: var(--gray-dark);
}

.alert-telnetworks i {
    color: var(--color-primary);
}

/* ===== ESTILOS PARA reCAPTCHA ===== */
.g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* ===== BOTONES DEL FORMULARIO ===== */
.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);
}

/* ===== RESPONSIVE PARA CONTACTO ===== */
@media (max-width: 1200px) {
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .plan-card {
        margin-bottom: 2rem;
    }
}

@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;
    }
    
    .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;
    }
    
    .form-control,
    .form-select {
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 3.5rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .plan-card {
        padding: 1.8rem;
    }
    
    .plans-section,
    .features-section,
    .faq-section {
        padding: 2.5rem 0;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
}