/* ==========================================================================
   CSS PARA PÁGINAS SECUNDARIAS IVIA (Soporte, Por qué IVIA, etc.)
   ========================================================================== */

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e3a8a;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

/* =========================================
   1. COMPONENTES GLOBALES Y UTILIDADES
   ========================================= */

/* Íconos vectoriales con fondo */
.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.icon-blue { background: #eff6ff; color: var(--primary-blue); }
.icon-red { background: #fef2f2; color: #dc2626; }
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-green { background: #f0fdf4; color: #16a34a; }

/* Cajas de Alerta (Para soporte y avisos) */
.alert-box {
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.alert-info { background: #eff6ff; border-left: 4px solid var(--primary-blue); color: #1e3a8a; }
.alert-warning { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }

/* =========================================
   2. PÁGINA: ¿POR QUÉ IVIA?
   ========================================= */

/* Tarjetas interactivas de características */
.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #bfdbfe;
}

/* Tabla de comparación premium */
.premium-table-container {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}
.premium-table { width: 100%; border-collapse: collapse; background: white; }
.premium-table th { padding: 1.5rem; text-align: left; background: var(--bg-light); font-weight: 600; color: var(--text-muted); }
.premium-table td { padding: 1.5rem; border-bottom: 1px solid var(--border-color); color: var(--text-main); }
.premium-table tr:last-child td { border-bottom: none; }

.col-highlight {
    background: #eff6ff;
    font-weight: 600;
    color: #1d4ed8;
    border-left: 2px solid #2563eb;
    border-right: 2px solid #2563eb;
}
.th-highlight {
    background: #2563eb !important;
    color: white !important;
    text-align: center !important;
}

/* Cita y Dato Real */
.quote-block {
    border-left: 4px solid var(--primary-blue);
    background: linear-gradient(90deg, #eff6ff 0%, transparent 100%);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-weight: 500;
    color: var(--dark-blue);
}

.stat-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* =========================================
   3. PÁGINA: SOPORTE Y TICKETS
   ========================================= */

.support-header {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
    color: white;
    padding: 9rem 1rem 5rem;
    text-align: center;
}

/* Grilla de base de conocimientos */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: -3rem auto 4rem; 
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.kb-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.kb-card:hover { transform: translateY(-5px); }

.kb-icon {
    background: #eff6ff;
    color: var(--primary-blue);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Canales Directos de Contacto */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.channel-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.channel-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.channel-icon {
    width: 40px; 
    height: 40px;
    border-radius: 8px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
}

.ticket-wrapper { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 1rem; 
}

/* Navbar forzada a blanco en páginas con hero oscuro */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}